Skip to content

chore: release - #69

Merged
eliahilse merged 1 commit into
mainfrom
changeset-release/main
Oct 21, 2026
Merged

eliahilse merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

hyperfly@1.0.0

Major Changes

  • 6880138: First stable release of the TypeScript codec, Zod adapter (hyperfly/zod) and HTTP helpers (hyperfly/http). The public API and wire format stay compatible throughout 1.x per STABILITY.md.

Minor Changes

  • 57ef0a3: NegotiateOptions.accept is now httpAccept, WellKnownResponse is now ArtifactResponse, FetchHandlerOptions is now RespondOptions, and onFallback moves to EncodeOptions with (error, "encoder-limit"). JSON negotiations and readBody refusals carry a reason (FallbackReason, RequestRefusal), and CodecRegistry<T> types its codecs.
  • 1508d69: JSON fallback preserves bytes as canonical padded base64 and decodes values using the first registered codec, with consistent request and response failures. Artifact loading reports unreadable responses and malformed JSON with the artifact error code.
  • c9565d7: DecodeLimits is renamed to Limits, since the same bounds apply to encoding and decoding.
  • f9863e0: Requires Node.js 22 or later. The hyperfly, hyperfly/zod and hyperfly/http entry points no longer support Node.js 18 or 20.
  • fc9d2ca: train now rejects invalid minOccurrences, maxEntries and options values with a HyperflyError of code options, and clamps minOccurrences 0 to 1 and maxEntries above 16383 to 16383.

Patch Changes

  • 9a33ecb: A struct value must be an object tagged "[object Object]", class instances included, so a typed array, Map, Set, Date or boxed primitive fails with type as in Python and Rust. A bytes value may come from another realm.
  • de7f289: respond and discovery answer HEAD, 204, 205 and 304 without a body; HTTP helpers, deflate hooks and serializeArtifact throw coded HyperflyErrors. readBody answers bad bodies with 400, 413 or 415 and rejects only invalid options, validate: true checks apply once, and hyperfly/package.json is exported.
  • ef98f2a: Packed string columns of any size now decode in browsers and edge runtimes without node:zlib, matching node:zlib when maxByteLength is raised past 512 MiB.
  • fa55ea3: Schemas nested up to the 512-level artifact limit now compile on every entry point, and deeper schemas are rejected with code ir instead of exhausting the stack.
  • ba9d30f: Every public export now has JSDoc, including defaults, error codes and spec references. The README links the stability and security policies.
  • a11cc63: readBody and fetchArtifact now read bodies correctly from streams that reuse one buffer across chunks.

@hyperfly/python@1.0.0

Major Changes

  • 6880138: First stable release of the Python codec, Pydantic adapter and HTTP helpers. The public API and wire format stay compatible throughout 1.x per STABILITY.md.

Patch Changes

  • fd2998a: Codec is generic, hyperfly.pydantic.compile returns a ModelCodec that works anywhere a Codec does, and PackHooks and validate_profile are exported. Codec(...) now takes keyword arguments checked like compile_ir, and train raises options for invalid samples or thresholds.
  • 99535ed: Nested integer bounds follow field validation, so values changed by field validators encode safely; affected fingerprints change. Unvalidated defaults keep declared bounds and can raise range; unsupported schemas, recursive models and wire field names raise UnsupportedSchemaError.
  • 54eaaf4: JSON bodies decoded under a codec are converted and checked against its schema. JSON fallback writes bytes at declared bytes positions and in plain containers as standard padded base64; offer="" suppresses the offer.
  • eb7c7f8: Integral floats such as 1.0 now encode in int fields and int literals as they do in TypeScript. Schemas nested up to the 512-level artifact limit compile, deeper ones raise code ir instead of hitting Python's recursion limit, and a profile must be JSON data.
  • 13d0583: HTTP JSON fallback now encodes declared bytes beneath field validators as standard padded base64, so binary payloads round trip reliably, including non-UTF-8 data. Custom serializers keep their existing output.
  • f41b658: The README documents the pydantic type mapping and int bound rules, a raw IR example, the client helpers, JSON conversion under a codec and the public API.
  • 76d97f7: Columnar bodies with arrays of empty fixed-length arrays now decode the same as in the TypeScript and Rust implementations. Python now accepts the bodies its own encoder writes and rejects truncated ones with truncated.

@hyperfly/rust@1.0.0

Major Changes

  • f2e9f68: Codec::compile takes a CompileOptions value, errors are read through Error::code() and Error::message(), and option structs and enums are #[non_exhaustive] so 1.x can extend them without breaking callers.
  • 6880138: First stable release of hyperfly-core, the Rust codec for row and columnar encoding with optional trained profiles. The public API and wire format stay compatible throughout 1.x per STABILITY.md.

Minor Changes

  • e4c7200: Integer fields and integer literals accept an integral Value::Float such as 1.0, matching the TypeScript package.

Patch Changes

  • e2d0e87: When a columnar array has several invalid values, encoding now reports the first one in value order, matching the TypeScript and Python packages.
  • 609a58a: Decoding grammar-coded string columns allocates less per value and runs faster.
  • 9737c8f: Compiling an IR whose artifact nests deeper than 512 levels fails with ir instead of risking a stack overflow, as the wire format requires.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 30 times, most recently from 201501c to 22e0a8d Compare October 21, 2026 15:30
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 22e0a8d to 1d4fc61 Compare October 21, 2026 15:40
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 1d4fc61 to a6f957b Compare October 21, 2026 15:49
@github-actions github-actions Bot changed the title chore: release (alpha) chore: release Oct 21, 2026
@eliahilse
eliahilse merged commit 22cf2a9 into main Oct 21, 2026
50 checks passed
@eliahilse
eliahilse deleted the changeset-release/main branch October 21, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant