Skip to content

Conversation

Aschen
Copy link
Contributor

@Aschen Aschen commented Nov 5, 2019

7.0.0-beta.2 (2019-11-05)

Bug fixes

Enhancements

  • [ #450 ] Remove local checks for arguments (Aschen)

Aschen and others added 18 commits September 20, 2019 12:07
# Description

The current [SearchResult](https://docs.kuzzle.io/sdk/js/6/core-classes/search-result) documentation contains inconsistencies, spelling errors, and the comments in the snippet examples are off.
Also, the introduction page seems overkill for that class.

This PR rewrites most of that documentation.
## What does this PR do?

The `kuzzle.connected` property which delegate to the protocol was testing a wrong `protocol.state` value (`'online'` instead of `'connected'`).
# Description

Import #431 and #436 to v7: commits were cherry-picked, then the getting started directories were moved to the `doc/7` documentation directory. Finally, the `test-doc` script has been adapted to run tests on the v7 version of the getting started.

Those are the only changes made, there should be no need to review the full content of this PR (but you may do it if you want to)
## What does this PR do?

Remove the local check of the arguments since now we have specifics errors code sent by Kuzzle.

### Other changes

 - Add `id` and `code` properties to `KuzzleError`
 - Allow custom `sdkName` and `sdkInstanceId` in the volatile
@Aschen Aschen self-assigned this Nov 5, 2019
@codecov
Copy link

codecov bot commented Nov 5, 2019

Codecov Report

❗ No coverage uploaded for pull request base (7-beta@64806e7). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##             7-beta   #458   +/-   ##
=======================================
  Coverage          ?    96%           
=======================================
  Files             ?     33           
  Lines             ?   1350           
  Branches          ?      0           
=======================================
  Hits              ?   1296           
  Misses            ?     54           
  Partials          ?      0
Impacted Files Coverage Δ
src/controllers/collection.js 100% <ø> (ø)
src/controllers/security/index.js 99.25% <ø> (ø)
src/controllers/memoryStorage.js 96.25% <ø> (ø)
src/controllers/index.js 100% <ø> (ø)
src/controllers/realtime/index.js 97.77% <ø> (ø)
src/protocols/abstract/common.js 93.87% <100%> (ø)
src/Kuzzle.js 94.46% <100%> (ø)
src/KuzzleError.js 100% <100%> (ø)
src/controllers/document.js 96% <100%> (ø)
src/controllers/auth.js 92.59% <100%> (ø)

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 64806e7...f31c3cc. Read the comment docs.

@Aschen Aschen merged commit 3534957 into 7-beta Nov 5, 2019
@Aschen Aschen deleted the 7.0.0-beta.2-proposal branch November 5, 2019 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants