Skip to content

Releases: kibertoad/toad-contracts

@toad-contracts/valibot@0.5.0

Choose a tag to compare

@kibertoad kibertoad released this 27 Jun 10:17
e426c4c

Minor Changes

  • 0674fb3: Unify object-key introspection on a single StandardObjectKeysV1 surface across API and message
    contracts. Core now ships StandardObjectKeysV1 (a local copy of the proposed @standard-schema/spec
    object-keys extension, exposed at schema["~standard"].objectKeys.input()/output()), replacing the
    old ObjectKeysCarrier/getObjectKeys() interface. @toad-contracts/messages drops
    MessageTypeCarrier/getMessageType() and routes on the same surface: RoutableMessageSchema is now
    StandardSchemaV1 & StandardObjectKeysV1. The valibot and zod adapters each expose a single
    withObjectKeys() (zod gains it; both drop withMessageType()) that satisfies both path-param schemas
    and message schemas, so every adapter implements one introspection surface instead of two.

    Breaking: ObjectKeysCarrier, MessageTypeCarrier, getObjectKeys, getMessageType, and
    withMessageType are removed; withObjectKeys now attaches ~standard.objectKeys rather than a
    top-level getObjectKeys.

Patch Changes

  • Updated dependencies [0674fb3]
    • @toad-contracts/core@0.4.0

@toad-contracts/valibot@0.4.0

Choose a tag to compare

@kibertoad kibertoad released this 27 Jun 08:42
2f9d9f2

Minor Changes

  • 13703fe: Add withMessageType, which attaches @toad-contracts/messages' MessageTypeCarrier to a valibot
    object schema by reading a field's literal() value through .entries. Composes with
    withObjectKeys on the same schema.

Patch Changes

  • Updated dependencies [13703fe]
    • @toad-contracts/messages@0.1.0

@toad-contracts/valibot@0.3.1

Choose a tag to compare

@kibertoad kibertoad released this 27 Jun 00:55
7126ee7

Patch Changes

  • ef2489a: Remove the per-package prepublishOnly build. ci:publish already runs turbo run build in dependency order before changeset publish, so the prepublishOnly re-build (rimraf dist && tsc) was redundant and raced with concurrent publishing: when @toad-contracts/core ran its own rimraf dist, dependent packages' tsc failed with TS2307, leaving valibot, frontend-http-client, and hono unpublished.
  • Updated dependencies [ef2489a]
    • @toad-contracts/core@0.3.1

@toad-contracts/testing@0.3.2

Choose a tag to compare

@kibertoad kibertoad released this 27 Jun 10:17
e426c4c

Patch Changes

  • Updated dependencies [0674fb3]
    • @toad-contracts/core@0.4.0

@toad-contracts/testing@0.3.1

Choose a tag to compare

@kibertoad kibertoad released this 27 Jun 00:55
7126ee7

Patch Changes

  • ef2489a: Remove the per-package prepublishOnly build. ci:publish already runs turbo run build in dependency order before changeset publish, so the prepublishOnly re-build (rimraf dist && tsc) was redundant and raced with concurrent publishing: when @toad-contracts/core ran its own rimraf dist, dependent packages' tsc failed with TS2307, leaving valibot, frontend-http-client, and hono unpublished.
  • Updated dependencies [ef2489a]
    • @toad-contracts/core@0.3.1

@toad-contracts/testing@0.3.0

Choose a tag to compare

@kibertoad kibertoad released this 27 Jun 00:47
67bccae

Minor Changes

  • 2a49408: Bump all packages a minor version.

Patch Changes

  • Updated dependencies [2a49408]
    • @toad-contracts/core@0.3.0

@toad-contracts/hono@0.3.2

Choose a tag to compare

@kibertoad kibertoad released this 27 Jun 10:16
e426c4c

Patch Changes

  • Updated dependencies [0674fb3]
    • @toad-contracts/core@0.4.0

@toad-contracts/hono@0.3.1

Choose a tag to compare

@kibertoad kibertoad released this 27 Jun 00:55
7126ee7

Patch Changes

  • ef2489a: Remove the per-package prepublishOnly build. ci:publish already runs turbo run build in dependency order before changeset publish, so the prepublishOnly re-build (rimraf dist && tsc) was redundant and raced with concurrent publishing: when @toad-contracts/core ran its own rimraf dist, dependent packages' tsc failed with TS2307, leaving valibot, frontend-http-client, and hono unpublished.
  • Updated dependencies [ef2489a]
    • @toad-contracts/core@0.3.1

@toad-contracts/frontend-http-client@0.3.2

Choose a tag to compare

@kibertoad kibertoad released this 27 Jun 10:17
e426c4c

Patch Changes

  • Updated dependencies [0674fb3]
    • @toad-contracts/core@0.4.0

@toad-contracts/frontend-http-client@0.3.1

Choose a tag to compare

@kibertoad kibertoad released this 27 Jun 00:55
7126ee7

Patch Changes

  • ef2489a: Remove the per-package prepublishOnly build. ci:publish already runs turbo run build in dependency order before changeset publish, so the prepublishOnly re-build (rimraf dist && tsc) was redundant and raced with concurrent publishing: when @toad-contracts/core ran its own rimraf dist, dependent packages' tsc failed with TS2307, leaving valibot, frontend-http-client, and hono unpublished.
  • Updated dependencies [ef2489a]
    • @toad-contracts/core@0.3.1