Repository navigation
v3.0.0-beta.4
Pre-release
Pre-release
3.0.0
- Fixed high CPU usage of the frontend process caused by the extension config watcher
- Fixed high CPU usage of the backend process by only watching the steps of attached extensions
- Updated to chokidar 5, which no longer needs the native fsevents module on macOS
- Fixed
backend startfailing when a previous session ended unexpectedly — leftover hooks are now cleaned up automatically before connecting and on shutdown - Added
context.encryptfor backend extension steps, encrypting payloads locally with the application's public keys so plaintext never leaves the development machine - Encryption keys are loaded once during
backend start; the available key aliases are listed in the start log backend startkeeps working when the application's backend does not support encryption keys yet —context.encryptthen reports why no key is available instead of blaming the key alias- Errors returned by extension steps (callback error or rejected promise) are now logged as a warning in the SDK console, including the error's stack trace (or message as fallback); previously they were only visible in the pipeline response
- Added
context.user.login(userId)andcontext.user.logout()for backend extension steps — they behave exactly like the platform's auth step: the user is logged in or out on the current pipeline request, and steps running afterwards see the new session (e.g.context.storage.userbecomes available after a login).loginonly works in trusted pipelines and rejects elsewhere;logoutis always available context.user.login()/logout()return a promise and reject with a clear error when the login/logout fails or the application's backend does not support it yet- Failing calls of
context.app.getInfo,context.device.getInfoandcontext.user.*now report the actual error to the step; previously the step silently hung until it ran into the step timeout - Added
extension version [extension] [tag]command: sets the version inextension-config.json, commits it and creates a git tag with avprefix (e.g.v1.2.3) — likenpm version. Without arguments it asks for the extension and the new version interactively. If the extension is not a git repository, the version is still written toextension-config.jsonand the git step is skipped with a warning; a dirty working tree, an existing tag or a version lower than the current one aborts the command
Breaking Change
- Node 20.19 or newer, or 22.12 or newer, is now required