Skip to content

Release v4.2.0

Choose a tag to compare

@github-actions github-actions released this 24 Apr 16:19
· 69 commits to main since this release
f0d99ca

Added

  • api-bones-progenitor (new crate, 0.1.0): SdkBuilder build-time helper for
    progenitor-based Rust SDKs. Handles OpenAPI
    3.1 → 3.0.3 downgrade, nullable-array normalisation, ApiResponse<T> envelope schema
    unwrap, and transparent HTTP-level envelope stripping via an injected ClientHooks::exec
    override. A service's entire build.rs collapses to five lines.
  • @brefwiz/api-bones-axios (new npm package, 0.1.0): transport-agnostic Axios
    interceptor for TypeScript SDKs. addEnvelopeUnwrapInterceptor(instance) strips the
    ApiResponse<T> envelope and stashes meta / links on response.config for retrieval
    via getEnvelopeMeta() / getEnvelopeLinks(). Published to GitHub Packages.
  • api-bones-sdk-gen (new binary crate, 0.1.0): CLI that generates complete Rust +
    TypeScript SDK trees with default-on envelope handling. Subcommands: schema, rust, ts,
    all, makefile. Installed in the shared-ci-workflows CI image; services include
    api-bones-sdk.mk to get codegen-all with zero per-service wiring.