Skip to content

Conversation

Aschen
Copy link
Contributor

@Aschen Aschen commented Apr 28, 2020

7.2.0 (2020-04-28)

Bug fixes

New features

Enhancements

  • [ #509 ] Add the rate limit property to Profile objects (scottinet)

Leodau and others added 10 commits April 20, 2020 10:58
* Allow to passe options to collection:getMapping

* remove debug snippets

* update gitignore

* fix dead link
Add the rate limit property to Profile objects
Adds the refresh method of the security controller.
## What does this PR do?

:warning: Depends on kuzzleio/kuzzle#1600

Fix few bugs on the `SearchResult` pagination with `sort` and `size`.  

The SDK now support every kind of ES sort:
 - string value
 - array of string
 - array of object

Errors are now thrown when:
 - the sort is invalid
 - the sort combination does not identify one item only

### Other changes

 - the `next` method now return rejected promises instead of throwing (inconsistent behavior that can lead to unhandled rejection)
 - change `_uid` by `_id` because this field does not longer exists in ES 7.x
@Aschen Aschen added the release label Apr 28, 2020
@codecov
Copy link

codecov bot commented Apr 28, 2020

Codecov Report

Merging #513 into master will decrease coverage by 0.16%.
The diff coverage is 95.65%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #513      +/-   ##
==========================================
- Coverage   95.79%   95.63%   -0.17%     
==========================================
  Files          32       32              
  Lines        1308     1305       -3     
==========================================
- Hits         1253     1248       -5     
- Misses         55       57       +2     
Impacted Files Coverage Δ
src/Kuzzle.js 93.91% <ø> (-0.06%) ⬇️
src/core/searchResult/SearchResultBase.js 90.19% <86.66%> (-2.67%) ⬇️
src/controllers/Auth.js 93.75% <100.00%> (+0.20%) ⬆️
src/controllers/Collection.js 100.00% <100.00%> (ø)
src/controllers/Document.js 94.91% <100.00%> (-0.33%) ⬇️
src/controllers/Realtime.js 97.82% <100.00%> (+0.04%) ⬆️
src/controllers/Security.js 97.05% <100.00%> (-0.03%) ⬇️
src/controllers/Server.js 100.00% <100.00%> (ø)
src/core/searchResult/Profile.js 100.00% <100.00%> (ø)
src/core/searchResult/Role.js 100.00% <100.00%> (ø)
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b2b075...55dc347. Read the comment docs.

@Aschen Aschen merged commit f28cf33 into master Apr 28, 2020
@Aschen Aschen deleted the 7.2.0-proposal branch April 28, 2020 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants