-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for SDK compatibility against current Kuzzle version (#1495)
## What does this PR do ? Now Kuzzle will check the `volatile.sdkName` header to ensure that the current SDK is compatible against the current Kuzzle version. For Kuzzle v1 SDKs, the `sdkName` property is not present. So when the property is missing, we assume that the SDK is compatible. For Kuzzle v2 SDKs, a compatibility matrix has been added. It works with simplified semver ranges. Example compat matrix: ``` { "js": "<7" // this version of Kuzzle is compatible with the JS SDKs prior to the 7.x.x version } ``` Example `sdkName` volatile property: `js@7.4.2`
- Loading branch information
Showing
6 changed files
with
195 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"js": { "min": 7 }, | ||
"csharp": { "min": 2 }, | ||
"cpp": { "min": 2 }, | ||
"java": { "min": 3 }, | ||
"android": { "min": 5 }, | ||
"go": { "min": 3 }, | ||
"php": { "min": 4 } | ||
} |
Oops, something went wrong.