Releases: kibertoad/toad-contracts
Release list
@toad-contracts/valibot@0.5.0
Minor Changes
-
0674fb3: Unify object-key introspection on a single
StandardObjectKeysV1surface across API and message
contracts. Core now shipsStandardObjectKeysV1(a local copy of the proposed@standard-schema/spec
object-keys extension, exposed atschema["~standard"].objectKeys.input()/output()), replacing the
oldObjectKeysCarrier/getObjectKeys()interface.@toad-contracts/messagesdrops
MessageTypeCarrier/getMessageType()and routes on the same surface:RoutableMessageSchemais now
StandardSchemaV1 & StandardObjectKeysV1. The valibot and zod adapters each expose a single
withObjectKeys()(zod gains it; both dropwithMessageType()) 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
withMessageTypeare removed;withObjectKeysnow attaches~standard.objectKeysrather than a
top-levelgetObjectKeys.
Patch Changes
- Updated dependencies [0674fb3]
- @toad-contracts/core@0.4.0
@toad-contracts/valibot@0.4.0
Minor Changes
- 13703fe: Add
withMessageType, which attaches@toad-contracts/messages'MessageTypeCarrierto a valibot
object schema by reading a field'sliteral()value through.entries. Composes with
withObjectKeyson the same schema.
Patch Changes
- Updated dependencies [13703fe]
- @toad-contracts/messages@0.1.0
@toad-contracts/valibot@0.3.1
Patch Changes
- ef2489a: Remove the per-package
prepublishOnlybuild.ci:publishalready runsturbo run buildin dependency order beforechangeset publish, so theprepublishOnlyre-build (rimraf dist && tsc) was redundant and raced with concurrent publishing: when@toad-contracts/coreran its ownrimraf dist, dependent packages'tscfailed with TS2307, leavingvalibot,frontend-http-client, andhonounpublished. - Updated dependencies [ef2489a]
- @toad-contracts/core@0.3.1
@toad-contracts/testing@0.3.2
Patch Changes
- Updated dependencies [0674fb3]
- @toad-contracts/core@0.4.0
@toad-contracts/testing@0.3.1
Patch Changes
- ef2489a: Remove the per-package
prepublishOnlybuild.ci:publishalready runsturbo run buildin dependency order beforechangeset publish, so theprepublishOnlyre-build (rimraf dist && tsc) was redundant and raced with concurrent publishing: when@toad-contracts/coreran its ownrimraf dist, dependent packages'tscfailed with TS2307, leavingvalibot,frontend-http-client, andhonounpublished. - Updated dependencies [ef2489a]
- @toad-contracts/core@0.3.1
@toad-contracts/testing@0.3.0
@toad-contracts/hono@0.3.2
Patch Changes
- Updated dependencies [0674fb3]
- @toad-contracts/core@0.4.0
@toad-contracts/hono@0.3.1
Patch Changes
- ef2489a: Remove the per-package
prepublishOnlybuild.ci:publishalready runsturbo run buildin dependency order beforechangeset publish, so theprepublishOnlyre-build (rimraf dist && tsc) was redundant and raced with concurrent publishing: when@toad-contracts/coreran its ownrimraf dist, dependent packages'tscfailed with TS2307, leavingvalibot,frontend-http-client, andhonounpublished. - Updated dependencies [ef2489a]
- @toad-contracts/core@0.3.1
@toad-contracts/frontend-http-client@0.3.2
Patch Changes
- Updated dependencies [0674fb3]
- @toad-contracts/core@0.4.0
@toad-contracts/frontend-http-client@0.3.1
Patch Changes
- ef2489a: Remove the per-package
prepublishOnlybuild.ci:publishalready runsturbo run buildin dependency order beforechangeset publish, so theprepublishOnlyre-build (rimraf dist && tsc) was redundant and raced with concurrent publishing: when@toad-contracts/coreran its ownrimraf dist, dependent packages'tscfailed with TS2307, leavingvalibot,frontend-http-client, andhonounpublished. - Updated dependencies [ef2489a]
- @toad-contracts/core@0.3.1