Skip to content

Releases: cipherstash/protectjs

@cipherstash/protect@9.3.0

16 Jun 06:46
9008990
Compare
Choose a tag to compare

Minor Changes

  • 01fed9e: Added audit support for all protect and protect-dynamodb interfaces.

@cipherstash/protect-dynamodb@1.0.0

16 Jun 06:46
9008990
Compare
Choose a tag to compare

Minor Changes

  • 01fed9e: Added audit support for all protect and protect-dynamodb interfaces.

Patch Changes

  • Updated dependencies [01fed9e]
    • @cipherstash/protect@9.3.0

@cipherstash/protect-dynamodb@0.3.0

12 Jun 02:09
18e5eec
Compare
Choose a tag to compare

Minor Changes

  • 2b63ee1: Support nested protect schema in dynamodb helper functions.
  • e33fbaf: Fixed bug when handling schema definitions without an equality flag.

@cipherstash/protect@9.2.0

11 Jun 19:12
9d49155
Compare
Choose a tag to compare

Minor Changes

  • 587f222: Added support for deeply nested protect schemas to support more complex model objects.

@cipherstash/protect-dynamodb@0.2.0

05 Jun 03:07
08bc22f
Compare
Choose a tag to compare

Minor Changes

@cipherstash/protect@9.0.0

04 Jun 02:05
d003709
Compare
Choose a tag to compare

Major Changes

  • 1bc55a0: Implemented a more configurable pattern for the Protect client.

    This release introduces a new ProtectClientConfig type that can be used to configure the Protect client.
    This is useful if you want to configure the Protect client specific to your application, and will future proof any additional configuration options that are added in the future.

    import { protect, type ProtectClientConfig } from "@cipherstash/protect";
    
    const config: ProtectClientConfig = {
      schemas: [users, orders],
      workspaceCrn: "your-workspace-crn",
      accessKey: "your-access-key",
      clientId: "your-client-id",
      clientKey: "your-client-key",
    };
    
    const protectClient = await protect(config);

    The now deprecated method of passing your tables to the protect client is no longer supported.

    import { protect, type ProtectClientConfig } from "@cipherstash/protect";
    
    // old method (no longer supported)
    const protectClient = await protect(users, orders);
    
    // required method
    const config: ProtectClientConfig = {
      schemas: [users, orders],
    };
    
    const protectClient = await protect(config);

@cipherstash/protect@8.4.0

02 Jun 22:52
74d7c41
Compare
Choose a tag to compare

Minor Changes

  • a471821: Fixed a bug in the model interface to correctly handle undefined and null values.

@cipherstash/protect@8.3.0

28 May 15:31
a335391
Compare
Choose a tag to compare

Minor Changes

  • 628acdc: Implemented createSearchTerms for a streamlined way of working with encrypted search terms.

@cipherstash/protect@8.2.0

28 May 04:55
46de84e
Compare
Choose a tag to compare

Minor Changes

  • 0883e16: Fix cipherstash.toml and cipherstash.secret.toml file loading by bumping to @cipherstash/protect-ffi v0.14.2

@cipherstash/protect@8.1.0

23 May 15:33
2248373
Compare
Choose a tag to compare

Minor Changes

  • 95c891d: Implemented CipherStash CRN in favor of workspace ID.

    • Replaces the environment variable CS_WORKSPACE_ID with CS_WORKSPACE_CRN
    • Replaces workspace_id with workspace_crn in the cipherstash.toml file
  • 18d3653: Fixed handling composite types for EQL v2.