Version Packages#551
Closed
github-actions[bot] wants to merge 0 commit into
Closed
Conversation
079eb1c to
7535a18
Compare
244b8b5 to
29eb0ee
Compare
66eea4e to
b405a54
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
stash@0.17.0
Minor Changes
optional dependency (a known npm bug), stash now prints actionable fix
guidance instead of a raw
MODULE_NOT_FOUNDstack trace. Adds a newstash doctorcommand that diagnoses the runtime and native modules and workseven when a binary is missing.
stash db install,stash db upgrade, andstash db statustostash eql install,stash eql upgrade, andstash eql status. Thesecommands manage the EQL extension itself, so they now live under a dedicated
eqlcommand group. The olddbspellings keep working as deprecatedaliases that print a warning pointing at the new names. All help text,
hints, generated migration headers, and wizard steps now reference the
eqlcommands.Patch Changes
@cipherstash/stack@0.19.0
Minor Changes
35b9ed6: Bump
@cipherstash/protect-ffito0.26.0and@cipherstash/authto0.40.0, and replace the lock-context token ceremony with a strategy-based approach for identity-bound encryption.protect-ffi
0.26.0supersedes0.25.0. The public API is unchanged from0.25(internal fixes only). As in0.25,serviceTokenis gone from the encrypt / decrypt / query option types; auth flows through the client's strategy / credentials, and lock contexts travel aslockContext.identityClaim. The WASM-inline path takes a single options object with the auth strategy nested understrategy, andEncryption()config usesworkspaceCrn(CS_WORKSPACE_CRN) as the single source of truth —CS_REGIONis no longer consulted. On that pathworkspaceCrnis required only alongside anaccessKey(it derives the region); with a pre-builtstrategyit is optional, since the strategy already carries the CRN.Strategy-based, identity-bound encryption.
OidcFederationStrategyfederates an end user's third-party OIDC JWT (Clerk, Supabase, Auth0, …) into a CTS service token. As of@cipherstash/auth0.40it takes aworkspaceCrn(region derived from the CRN), matchingAccessKeyStrategy. Pass it asconfig.strategyso every ZeroKMS request authenticates as that user, then bind the data key to a claim with.withLockContext({ identityClaim }):This replaces the old ceremony (
new LockContext()→await lc.identify(jwt)→.withLockContext(lc)), which relied on a per-operation CTS token that protect-ffi removed in0.25..withLockContext()now accepts a plain{ identityClaim }object (as well as aLockContext) and no longer requires a CTS token or anidentify()call — it carries the identity claim only.LockContext.identify()/getLockContext()are deprecated (kept for backwards compatibility); the strategy handles token acquisition.@cipherstash/stack(OidcFederationStrategy,AccessKeyStrategy,AutoStrategy,DeviceSessionStrategy) and from@cipherstash/stack/wasm-inline(OidcFederationStrategy,AccessKeyStrategy) so integrators don't need a separate@cipherstash/authinstall.AuthStrategyremains re-exported for the structural type.Migrating
region→workspaceCrn(WASM-inline). If you previously passedregion(or relied onCS_REGION) to the WASM-inlineEncryption()path, replace it with your workspace CRN: setworkspaceCrnin config (orCS_WORKSPACE_CRNin the environment) to the value shown in the CipherStash dashboard (crn:<region>.aws:<workspace-id>— it embeds the region, which is now derived from it).regionis ignored if passed.Lock-context enforcement is now server-side only. Because the client no longer resolves a per-user CTS token at
withLockContexttime, it also cannot fail fast there: a wrong or missing identity claim surfaces as a ZeroKMS decryption failure (the data key simply doesn't unlock), not as a client-side error before the request. The cryptographic guarantee is unchanged — enforcement happens in ZeroKMS — but anyone relying on the old client-side throw for early feedback should assert on the operation'sfailureresult instead.Existing credential / env behaviour is preserved when
config.strategyis omitted.Patch Changes
@cipherstash/wizard@0.4.0
Minor Changes
stash db install,stash db upgrade, andstash db statustostash eql install,stash eql upgrade, andstash eql status. Thesecommands manage the EQL extension itself, so they now live under a dedicated
eqlcommand group. The olddbspellings keep working as deprecatedaliases that print a warning pointing at the new names. All help text,
hints, generated migration headers, and wizard steps now reference the
eqlcommands.@cipherstash/drizzle@3.0.3
Patch Changes
@cipherstash/nextjs@4.1.1
Patch Changes
@cipherstash/prisma-next@0.3.2
Patch Changes
@cipherstash/protect@12.0.1
Patch Changes
@cipherstash/protect-dynamodb@12.0.1
Patch Changes
@cipherstash/schema@3.0.1
Patch Changes
@cipherstash/basic-example@1.2.13
Patch Changes
@cipherstash/prisma-next-example@0.0.5
Patch Changes
@cipherstash/bench@0.0.4
Patch Changes