-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGELOG
146 lines (86 loc) · 2.61 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.8.0-alpha] - 2021-12-2
### Added
- A ratelimit handler
- Custom ratelimit handling for friends API
- The `Client.joinGame` method
### Changed
- Dependencies dump
## [0.7.1-alpha] - 2021-11-27
### Added
- The `User.getFriendFromId` method
### Fixed
- The `Friend` constructor
### Changed
- The event emitters to support typed events
## [0.7.0-alpha] - 2021-11-27
### Added
- Complete support for the badge API
- The `Client.getBadge` method for retrieving badges
### Fixed
- The error handling from `utils.getUserFromId`
## [0.6.3-alpha] - 2021-11-27
### Fixed
- The `Presence.fetchUser` method
- The missing client property in creation of users in `utils.getUserFromId`
## [0.6.1-alpha] - 2021-11-26
### Added
- The presence API coverage
- An alpha preview of Group coverage
### Fixed
- Minor bug fixes
## [0.4.1-alpha] - 2021-11-13
### Changed
- The constructor of `Conversation` to resolve properties in a cleaner way
### Fixed
- The error handling of `Friend.remove`
- The `getFriends` that would return `User[]` instead of `Friend[]`
- The `Conversation.send` method
## [0.4.0-alpha] - 2021-11-13
### Added
- The `Base` class
- Better `User` properties resolver
- Better Axios error handling
- Automatic error when cookie becomes invalid
- Avatar retriever things like `Avatar` and `User.getAvatar`
- The `Friend` class
- The `BaseClient` class
- Automatic CSRF token retrieval
- The `ClientUser` class
### Changed
- `declineAll` from `Client` to `ClientUser`
- The extended class of `Client` from `EventEmitter` to `BaseClient`
- The user property is now `ClientUser` instead of `User`
- Migrate specific friend related functions from `User` to the new class `Friend`
- The code style to a less strict one
- The user agent
- Now each util function has a first parameter that is of type `Client`
### Removed
- Manual CSRF token retrieval
## [0.3.1] - 2021-11-11
### Added
- The `BaseClient` class
- This changelog
- Error handling at `User.addFriend`
### Changed
- Client extends from `EventEmitter` to `BaseClient`
## [0.3.0] - 2021-11-10
### Added
- The `newFriend` event
- The `friendDestroy` event
## [0.2.1] - 2021-11-10
### Added
- The Google eslint
### Changed
- The whole codebase with eslint
### Removed
- The deprecated `Self` class
## [0.2.0] - 2021-11-10
### Deprecated
- The `Self` class
## [0.1.0] - 2021-11-06
### Added
- The whole base code