v5.2.4 — Prism polish
Fixed
CryptoPortBase.sha256()type —index.d.tsdeclaration corrected fromstring | Promise<string>toPromise<string>, matching the async implementation since v5.2.3.keyLengthpassthrough —KeyResolver.#resolveKeyFromPassphraseandderiveKekFromKdfnow forwardkdf.keyLengthtoderiveKey(), fixing a latent bug for vaults configured with non-default key lengths.- Deno test compatibility —
createCryptoAdapter.test.jsno longer crashes on Deno by guarding immutableglobalThis.Denorestoration with try/catch and skipping Node-only tests on non-Node runtimes. - README wording — "no public API changes" corrected to "no breaking API changes" in the v5.2.3 summary.
- Barrel re-export description — README and CHANGELOG now show the correct
export { default as X } from '...'syntax. - Vestigial
lastchat.txtremoved fromjsr.jsonexclude list.
Changed
keyResolveris now private —CasService.keyResolverchanged to#keyResolver, preventing external access to an internal implementation detail.VaultPassphraseRotator.js→rotateVaultPassphrase.js— renamed to follow camelCase convention for files that export a function (PascalCase is reserved for classes).resolveChunkervalidation —chunkSizenow validated as a finite positive number before constructingFixedChunker; invalid values fall through to CasService default.@fileoverviewJSDoc added toFileIOHelper.js,createCryptoAdapter.js, andresolveChunker.js.KeyResolverdesign note — class JSDoc now documents the directCryptoPort.deriveKey()call (bypassesCasService.deriveKey()).- Long function signature wrapped —
rotateVaultPassphrase()export signature broken across multiple lines. - Test hardening — salt assertion in
KeyResolver.resolveForStore,keyLengthround-trip test,resolveChunkeredge-case tests, guardedrmSyncteardown inFileIOHelper.test.js.
Full Changelog: https://github.com/git-stunts/git-cas/blob/main/CHANGELOG.md
What's Changed
- chore: JSDoc total coverage + strict checkJs by @flyingrobots in #14
- chore: deterministic fuzz, DRY chunk verify, DRY KDF metadata by @flyingrobots in #15
- refactor: extract helpers from facade + cleanup by @flyingrobots in #16
Full Changelog: v5.2.1...v5.2.4