Version Packages#2080
Merged
Merged
Conversation
d71f276 to
a89eb81
Compare
auto-merge was automatically disabled
May 22, 2026 23:28
Pull request was closed
8ac7530 to
00cffc5
Compare
00cffc5 to
3297d9e
Compare
auto-merge was automatically disabled
May 24, 2026 03:40
Pull request was closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm 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
counterfact@2.13.0
Minor Changes
999e331: Add support for OpenAPI 3.2
querystringparameter location: generates a typed$.querystringproperty on the route handler argument and populates it at runtime with the full parsed query stringf301764: Add support for OpenAPI Overlays (v1.0.0). Overlays allow you to apply targeted modifications to an OpenAPI document without editing the original file.
--overlay <path>CLI flag (repeatable) applies overlay files in order before code generation and server startup.SpecConfignow accepts anoverlays?: string[]field for programmatic use and multi-spec config files.overlayversion field and anactionsarray. Each action targets nodes with a JSONPath expression and either merges anupdateobject or removes matched nodes.Specification.fromFile) and the runtime server pipeline (OpenApiDocument.load).applyOverlays/applyOverlayActions/loadOverlayutilities are exported fromsrc/util/apply-overlay.ts.Example overlay file (
my-overlay.yaml):Usage:
999e331: Add support for OpenAPI 3.2 streaming responses and Server-Sent Events (SSE) via
itemSchema.SchemaTypeCodernow recognisesitemSchemain a schema object and emitsAsyncIterable<T>.ResponseTypeCoderandOperationTypeCoderdetectitemSchemaon streaming content types (text/event-stream,application/jsonl,application/x-ndjson,application/ndjson,application/json-seq) and emitAsyncIterable<T>as the body type instead of a plain schema type.CounterfactResponseObject.bodynow acceptsAsyncIterable<unknown>in addition toUint8Array | string.$.response[200].stream(iterable, contentType?)) exposes astream()helper that returns a response with the async iterable as the body. The content type defaults totext/event-stream.routes-middlewareconvertsAsyncIterableresponse bodies into Node.jsReadablestreams, serialising each item in the appropriate wire format:text/event-stream→data: <json>\n\napplication/json-seq→\x1e<json>\n<json>\nCache-Control: no-cacheandX-Accel-Buffering: noheaders automatically.create-koa-appnow skips Node.jsReadablestream bodies so they are piped directly to the client.Patch Changes
@jest/globalsto30.4.0.Updated dependency
jestto30.4.0.precinctto13.0.0.precinctto12.3.2.eslint-plugin-nto18.0.1.astroto6.3.5.tsxto4.22.0.tsxto4.22.3.posthog-nodeto5.33.4.astroto^6.3.0.astroto6.3.2.astroto6.3.6.posthog-nodeto5.33.3.tsxto4.22.2.@typescript-eslint/eslint-pluginto8.59.4.Updated dependency
@typescript-eslint/parserto8.59.4.posthog-nodeto5.34.2.@types/koato3.0.3.@jest/globalsto30.4.1.Updated dependency
jestto30.4.1.astroto6.3.3.eslintto10.4.0.tsxto4.22.1.posthog-nodeto5.34.6.fs-extrato11.3.5.@typescript-eslint/eslint-pluginto8.59.2.Updated dependency
@typescript-eslint/parserto8.59.2.