Skip to content

Release 7.18.0-beta.1 - #773

Merged
rolljee merged 7 commits into
betafrom
7-dev
Sep 30, 2026
Merged

rolljee merged 7 commits into
betafrom
7-dev

Conversation

@rolljee

@rolljee rolljee commented Sep 30, 2026

Copy link
Copy Markdown
Member

Beta of the SDK with its API contract types taken from kuzzle-types 1.0.0 (Kuzzle ADR-0002 step 03).

Once validated, straight to the stable release (beta → master).

🤖 Generated with Claude Code

rolljee and others added 7 commits September 18, 2026 16:53
The React getting started pages were removed in 2e439ab because they
were outdated, which left /sdk/js/7/getting-started/react/* answering a
404 to every inbound link (#590).

They are restored here, rewritten against a current stack:

- Vite instead of create-react-app, Node 20 instead of Node 8
- function components and hooks instead of class components
- Redux Toolkit instead of hand-written actions/reducers + redux-saga
- the realtime subscription is opened before the history is fetched and
  is closed on unmount, so no message is lost and Strict Mode does not
  leak a room

Snippets are plain files, like the node-js and raw-web pages, instead of
symlinks into a full CRA application with its own Cypress suite.

react-native is deliberately left out.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…started

docs(getting-started): restore the React getting started, modernized
The types of src/types (JSONObject, KDocument*, RequestPayload / ResponsePayload, Notification, mappings, security definitions, m* requests and responses...) now come from kuzzle-types, the types-only package the server and the SDK share (Kuzzle ADR-0002 step 03). Every file of src/types stays, as a type re-export under the same names, so deep imports keep working.

Document stays here: it is a class, a runtime value, which kuzzle-types declares as an interface. DocumentHit, which extends it, stays too.

Not breaking: the 139 exported names and their kinds are unchanged, the 27 runtime exports are unchanged, and each contract type is identical to kuzzle-sdk 7.17.1's (Document included).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…anged

test/types/kuzzle-types.ts, type-checked in strict mode against the built declarations by `npm run test:types` (run in the unit-tests CI action after the build): every contract type is still exported, identical to kuzzle-types' — which asserts they are kuzzle-sdk 7.17.1's. Checked it bites.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat: take the API contract types from kuzzle-types
kuzzle-types 1.0.0 is published (kuzzleio/types#3): no prerelease runtime dependency in the SDK's next stable release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
build: depend on the stable kuzzle-types ^1.0.0
@rolljee
rolljee merged commit 4e82450 into beta Sep 30, 2026
14 checks passed
@kuzzle

kuzzle commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 7.18.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@kuzzle

kuzzle commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 7.18.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants