-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RELEASE 2.0.0 #243
RELEASE 2.0.0 #243
Conversation
* remove pointers type on KuzzleError
…o KZL-70-cpp-e2e-tests
[bugfix] Fix document.validate unmarshalling
…cationResult to NotifcicationContent (#228)
## What does this PR do? Since users are now able to write their own protocol implemetation we check if the notifications channel are not nil before closing them. ### How should this be manually tested? See travis. :arrow_right: https://github.com/kuzzleio/sdk-cpp
fix collection.searchSpecifications by adding the missing query parameter.
Fix cancelSubs which was checking if notificationChannel was null before closing onReconnectChannel ... Bad copy paste I guess :p
#233 introduced a bug, making the SDK crashes when WebSocket is invoked without HTTP headers/with nil headers, since we try to dereference a nil value. This PR fixes the problem by adding a guard against nil HTTP headers. * [websocket] allow passing HTTP headers to the ctor * [bugfix] do not dereference a nil value
Fix websocket closing
…tion-links doc: updated docs links to doc v2
This PR fixes a segfault case occuring when closing an unconnected WebSocket instance.
## What does this PR do? Move the offline queue from the `Protocol` and `Websocket` to `Kuzzle`.
What does this PR do? This PR add to Travis: Linux: amd64, i386, arm64 and armhf. MacOS: amd64 and i386. Windows: amd64 and i386. And enable Nightly Builds using cron jobs. * [ci] Add cache, multiple Go version for Linux * [ci] Add MacOS amd64 and Linux i386 builds * [ci] Add windows amd64 build * [ci] Add more and more environment * [ci] Add ARM64 Linux build * [ci] Add more ARMVx Linux builds * [ci] Clean scripts * [ci] Force execution on one core for arm builds * [ci] Add conditions to builds * [ci] Make latest Go version to 1.12.x * [ci] Enable multi os builds for release PRs * [ci] Add Slack notifications * [review] Apply @benoitvidis suggestions
Make the SDK Go README looks like the SDK JS one. * [readme] Make README looks pretty * [review] Apply suggestions from @scottinet Co-Authored-By: alexandrebouthinon <bouthinon.alexandre@gmail.com>
The protocol.Connect method is supposed to return a boolean telling if this is a first connection, or a reconnection. Problem is, that status is computed at the beginning of that Connect method, and then set to true if this is a first connection, meaning that the status detection flag cannot be used. As a result, the event.Connected event is never triggered. Also, the event.Reconnected event is never triggered if no jwt is set.
Codecov Report
@@ Coverage Diff @@
## master #243 +/- ##
==========================================
- Coverage 89% 88.86% -0.14%
==========================================
Files 243 244 +1
Lines 4364 4463 +99
==========================================
+ Hits 3884 3966 +82
+ Misses 453 443 -10
- Partials 27 54 +27
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #243 +/- ##
==========================================
- Coverage 89% 88.86% -0.14%
==========================================
Files 243 244 +1
Lines 4364 4463 +99
==========================================
+ Hits 3884 3966 +82
+ Misses 453 443 -10
- Partials 27 54 +27
Continue to review full report at Codecov.
|
2.0.0 (2019-06-05)
Breaking changes
Bug fixes
New features
Enhancements
Others
Optimizations