UNPKG

10.7 kBMarkdownView Raw
1# [5.0.6](https://github.com/kuzzleio/sdk-javascript/releases/tag/5.0.6) (2017-07-19)
2
3### Compatibility
4
5| Kuzzle | Proxy |
6|--------|-------|
7| 1.0.0 | 1.0.0 |
8
9#### Bug fixes
10
11- [ [#238](https://github.com/kuzzleio/sdk-javascript/pull/238) ] Login: move "expiresIn" option from request.body to request root attribute ([ballinette](https://github.com/ballinette))
12
13#### Enhancements
14
15- [ [#233](https://github.com/kuzzleio/sdk-javascript/pull/233) ] Allow paginated search using ES's search_after in SearchResult:fetchNext ([samniisan](https://github.com/samniisan))
16- [ [#236](https://github.com/kuzzleio/sdk-javascript/pull/236) ] Add meta to Security documents (User, Profile, Role) ([samniisan](https://github.com/samniisan))
17- [ [#229](https://github.com/kuzzleio/sdk-javascript/pull/229) ] Allow creating a user without specifying the id ([xbill82](https://github.com/xbill82))
18- [ [#232](https://github.com/kuzzleio/sdk-javascript/pull/232) ] Add SDK version into volatile ([samniisan](https://github.com/samniisan))
19
20#### Others
21
22- [ [#240](https://github.com/kuzzleio/sdk-javascript/pull/240) ] Fixed User Notification response format ([samniisan](https://github.com/samniisan))
23---
24
25
26# [5.0.5](https://github.com/kuzzleio/sdk-javascript/releases/tag/5.0.5) (2017-06-30)
27
28### Compatibility
29
30| Kuzzle | Proxy |
31|--------|-------|
32| 1.0.0 | 1.0.0 |
33
34#### Enhancements
35
36- [ [#232](https://github.com/kuzzleio/sdk-javascript/pull/232) ] Add SDK version into volatile ([samniisan](https://github.com/samniisan))
37---
38
39
40
41# [5.0.4](https://github.com/kuzzleio/sdk-javascript/releases/tag/5.0.4) (2017-06-20)
42
43### Compatibility
44
45| Kuzzle | Proxy |
46|--------|-------|
47| 1.0.0 | 1.0.0 |
48
49#### Breaking changes
50
51- [ [#234](https://github.com/kuzzleio/sdk-javascript/pull/234) ] Update to new notifications format & event rename ([scottinet](https://github.com/scottinet))
52- [ [#230](https://github.com/kuzzleio/sdk-javascript/pull/230) ] Fix createProfile and updateProfile method signatures ([scottinet](https://github.com/scottinet))
53- [ [#228](https://github.com/kuzzleio/sdk-javascript/pull/228) ] Remove fetchAllDocuments method ([benoitvidis](https://github.com/benoitvidis))
54- [ [#227](https://github.com/kuzzleio/sdk-javascript/pull/227) ] Update MemoryStorage.*scan return value format ([scottinet](https://github.com/scottinet))
55- [ [#225](https://github.com/kuzzleio/sdk-javascript/pull/225) ] Rename getProfiles to getProfileIds and add a proper getProfiles method ([scottinet](https://github.com/scottinet))
56- [ [#218](https://github.com/kuzzleio/sdk-javascript/pull/218) ] Login reshape ([xbill82](https://github.com/xbill82))
57- [ [#215](https://github.com/kuzzleio/sdk-javascript/pull/215) ] Restructure User to be able to store both content and credentials ([dbengsch](https://github.com/dbengsch))
58- [ [#210](https://github.com/kuzzleio/sdk-javascript/pull/210) ] Harmonize event emitters implementation ([ballinette](https://github.com/ballinette))
59
60#### Bug fixes
61
62- [ [#226](https://github.com/kuzzleio/sdk-javascript/pull/226) ] Protocol error handling ([stafyniaksacha](https://github.com/stafyniaksacha))
63- [ [#222](https://github.com/kuzzleio/sdk-javascript/pull/222) ] NetworkError payload should be an Error object ([scottinet](https://github.com/scottinet))
64- [ [#214](https://github.com/kuzzleio/sdk-javascript/pull/214) ] createIndex should only return response.result ([ballinette](https://github.com/ballinette))
65
66#### New features
67
68- [ [#231](https://github.com/kuzzleio/sdk-javascript/pull/231) ] Add specification CRUDL routes ([samniisan](https://github.com/samniisan))
69- [ [#224](https://github.com/kuzzleio/sdk-javascript/pull/224) ] Add support for Document:m* methods ([samniisan](https://github.com/samniisan))
70- [ [#219](https://github.com/kuzzleio/sdk-javascript/pull/219) ] Add scrollProfile & scrollUsers support ([samniisan](https://github.com/samniisan))
71- [ [#217](https://github.com/kuzzleio/sdk-javascript/pull/217) ] Added all new credential related routes ([jenow](https://github.com/jenow))
72- [ [#209](https://github.com/kuzzleio/sdk-javascript/pull/209) ] Add Collection:documentExists & Document:exists methods ([samniisan](https://github.com/samniisan))
73- [ [#208](https://github.com/kuzzleio/sdk-javascript/pull/208) ] Adds a new replaceUser method to Security ([samniisan](https://github.com/samniisan))
74
75#### Enhancements
76
77- [ [#210](https://github.com/kuzzleio/sdk-javascript/pull/210) ] Harmonize event emitters implementation ([ballinette](https://github.com/ballinette))
78
79---
80
81
82# [4.0.1](https://github.com/kuzzleio/sdk-javascript/releases/tag/4.0.1) (2017-05-9)
83
84[Full Changelog](https://github.com/kuzzleio/sdk-javascript/compare/4.0.1...4.0.1)
85
86### Compatibility
87
88| Kuzzle | Proxy |
89|--------|-------|
90| 1.0.0-RC10 | 1.0.0-RC10 |
91
92#### Enhancements
93
94- [ [#200](https://github.com/kuzzleio/sdk-javascript/pull/200) ] Add kuzzle info in Document object ([AnthonySendra](https://github.com/AnthonySendra))
95
96# [4.0.0](https://github.com/kuzzleio/sdk-javascript/releases/tag/4.0.0) (2017-04-10)
97
98[Full Changelog](https://github.com/kuzzleio/sdk-javascript/compare/4.0.0...4.0.0)
99
100### Compatibility
101
102| Kuzzle | Proxy |
103|--------|-------|
104| 1.0.0-RC9.6 | 1.0.0-RC9 |
105
106#### Breaking changes
107
108- [ [#201](https://github.com/kuzzleio/sdk-javascript/pull/201) ] Rename metadata into volatile ([AnthonySendra](https://github.com/AnthonySendra))
109
110#### Bug fixes
111
112- [ [#194](https://github.com/kuzzleio/sdk-javascript/pull/194) ] Stop calling onClientError when disconnect is called ([jenow](https://github.com/jenow))
113- [ [#193](https://github.com/kuzzleio/sdk-javascript/pull/193) ] Wrap filter in query for deleteDocument ([jenow](https://github.com/jenow))
114
115#### Enhancements
116
117- [ [#199](https://github.com/kuzzleio/sdk-javascript/pull/199) ] Add support for the new retryOnConflict option ([scottinet](https://github.com/scottinet))
118- [ [#191](https://github.com/kuzzleio/sdk-javascript/pull/191) ] Standardize memory storage object ([scottinet](https://github.com/scottinet))
119
120#### Exclude
121
122- [ [#196](https://github.com/kuzzleio/sdk-javascript/pull/196) ] Fix ms.hgetall return value interpretation ([scottinet](https://github.com/scottinet))
123- [ [#198](https://github.com/kuzzleio/sdk-javascript/pull/198) ] Fix ms.zscore return value type ([scottinet](https://github.com/scottinet))
124
125#### Others
126
127- [ [#195](https://github.com/kuzzleio/sdk-javascript/pull/195) ] Moved bufferutil and utf-8-validate to peerDependencies ([jenow](https://github.com/jenow))
128- [ [#190](https://github.com/kuzzleio/sdk-javascript/pull/190) ] Align SearchResult and scroll with other SDKs ([dbengsch](https://github.com/dbengsch))
129- [ [#182](https://github.com/kuzzleio/sdk-javascript/pull/182) ] Collection.createDocument: rename the updateIfExist option ([scottinet](https://github.com/scottinet))
130- [ [#188](https://github.com/kuzzleio/sdk-javascript/pull/188) ] Make all options given to kuzzle constructor writable ([benoitvidis](https://github.com/benoitvidis))
131- [ [#177](https://github.com/kuzzleio/sdk-javascript/pull/177) ] Remove previous and next cache in SearchResult ([dbengsch](https://github.com/dbengsch))
132- [ [#177](https://github.com/kuzzleio/sdk-javascript/pull/177) ] Remove previous and next cache in SearchResult ([dbengsch](https://github.com/dbengsch))
133- [ [#184](https://github.com/kuzzleio/sdk-javascript/pull/184) ] Browsers compatibility fix ([scottinet](https://github.com/scottinet))
134
135---
136
137# 3.4.0
138
139Fill changes list: https://github.com/kuzzleio/sdk-javascript/releases/tag/3.4.0
140
141# 3.1.0
142
143* Fill changes list: https://github.com/kuzzleio/sdk-javascript/releases/tag/3.1.0
144
145## Breaking Changes
146
147* Align notification responses format #147
148
149# 2.2.0
150
151* https://github.com/kuzzleio/sdk-javascript/releases/tag/2.2.0
152
153# 2.1.5
154
155* Hotfixed a bug when recovering from a websocket connection error created an exponential number of clients #122
156
157# 2.1.4
158
159* https://github.com/kuzzleio/sdk-javascript/releases/tag/2.1.4
160
161# 2.1.3
162
163* https://github.com/kuzzleio/sdk-javascript/releases/tag/2.1.3
164
165# 2.1.2
166
167* https://github.com/kuzzleio/sdk-javascript/releases/tag/2.1.2
168
169# 2.1.0
170
171* Full changes list: https://github.com/kuzzleio/sdk-javascript/releases/tag/2.1.0
172
173## Breaking Changes
174
175* `KuzzleDataCollection` constructor signature has been changed from:
176`KuzzleDataCollection(kuzzle, index, collection)`
177 to:
178`KuzzleDataCollection(kuzzle, collection, index)`
179This has been done to make it on par with the `Kuzzle.dataCollectionFactory` method #109
180* Subscription changes: #112
181 * `KuzzleDataCollection.subscribe` and `KuzzleDocument.subscribe` now both return an object containing an `onDone` method, allowing to chain callback registrations. These callbacks are called once the subscription is done, with the following arguments: `callback(error, kuzzleRoomObject)`.
182 * `KuzzleRoom.renew` now accepts an optional callback as its last argument. This callback is invoked with the subscription result (the first callback argument is still only invoked whenever a notification is received)
183
184
185# 2.0.3
186
187* https://github.com/kuzzleio/sdk-javascript/releases/tag/2.0.3
188
189# 2.0.2
190
191* https://github.com/kuzzleio/sdk-javascript/releases/tag/2.0.2
192
193# 2.0.0
194
195* https://github.com/kuzzleio/sdk-javascript/releases/tag/2.0.0
196
197# 1.9.2
198
199* Reinforce unit tests on the `security.getProfile` method #94
200* Remove jshint as it overlapped with eslint #93
201* Fix #95: handle empty mappings #96
202
203# 1.9.1
204
205* Fix issue #91
206
207# 1.9.0
208
209## Features
210* Implement new roles functionalities (`KuzzleSecurity.isActionAllowed`, `KuzzleSecurity.getMyRights`, `KuzzleSecurity.getUserRights`)
211* Implement the elasticsearch autorefresh features (`Kuzzle.refreshIndex`, `Kuzzle.getAutoRefresh`, `Kuzzle.setAutoRefresh`)
212* Implement the `Kuzzle.updateSelf` method that allow to update current user
213* Fix issues #81, #82, #73 & #76
214
215## List of merged PR
216* Merge pull request #88 from kuzzleio/KUZ-574-getRights-methods - _Sébastien Cottinet_
217* Merge pull request #90 from kuzzleio/rename-policies - _Kévin Blondel_
218* Merge pull request #85 from kuzzleio/fix-rc-83-update-and-delete-consistency - _Sébastien Cottinet_
219* Merge pull request #87 from kuzzleio/KUZ-480-isActionAllowed - _Sébastien Cottinet_
220* Merge pull request #86 from kuzzleio/fix-rc-81-refactor-factory-signature - _Kévin Blondel_
221* Merge pull request #84 from kuzzleio/fix-rc-73-paginate-fetchAll - _Sébastien Cottinet_
222* Merge pull request #83 from kuzzleio/fix-rc-76-secure-dataCollectionFactory - _Kévin Blondel_
223* Merge pull request #80 from kuzzleio/kuz-463-es-autorefresh - _Sébastien Cottinet_