Version Packages#519
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
679b76f to
8ab3368
Compare
ad6332a to
df9c8e3
Compare
7649740 to
93fc5f9
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.
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.Existing credential / env behaviour is preserved when
config.strategyis omitted.@cipherstash/prisma-next@0.3.2
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