chore: release - #4
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
July 21, 2026 10:28
903361b to
cfc7a73
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
July 21, 2026 10:37
cfc7a73 to
1eb400a
Compare
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
@youneed/cli-plugin-otel@0.2.0
Minor Changes
@youneed/otelis the shared core — env-aware config (OTEL_*env vars), Node (startNodeOtel) and Web (startWebOtel) SDK wiring with OTLP/HTTP trace + metric export, W3Ctraceparentpropagation helpers and aninstrumentedFetchfor client spans (plugs straight into@youneed/http-client). On top of it:@youneed/server-plugin-otel(SERVER span per request with remote-parent extraction,http.server.*metrics,ctx.state.spanfacade for logger correlation),@youneed/cli-plugin-otel(span + metrics per command, flushed before exit),@youneed/dom-provider-otel(render/effect/event spans in the browser, flush on pagehide),@youneed/test-plugin-otel(a span per test with steps and failure status,test.*metrics) and@youneed/logger-plugin-otel(trace_id/span_id/trace_flagsstamped on every log record). The zero-dep@youneed/server-middleware-trace+@youneed/server-plugin-otlpremain as the SDK-free alternative.@youneed/otelgainscreateOtelApi()— the shared contributed surface (span/spanAsyncchild spans +counter/histogramdelegating to the process-wide global metrics). New integrations: serverotelProvider()(aControllerProvidergiving controllers a typedthis.otelwith per-requesttraceId/spanIdread from the ambient request, working for HTTP handlers and WS JSON-RPC alike), testOtelFixture(@Test.use(OtelFixture)orotel = OtelFixture.get()— child spans nesting under the test span, process-wide metrics shared across all tests), and the new package@youneed/ssr-plugin-otel(otelModule()— anSsrModuleproducingssr.render <url>spans +ssr.render.*metrics for static page renders, nesting under@youneed/server-plugin-otelwhen present). The cli (otelCommand) and dom (otelProvider) contributed apis also gaincounter(name)/histogram(name)— additive, no breaking changes.Patch Changes
@youneed/dom-provider-otel@0.2.0
Minor Changes
@youneed/otelis the shared core — env-aware config (OTEL_*env vars), Node (startNodeOtel) and Web (startWebOtel) SDK wiring with OTLP/HTTP trace + metric export, W3Ctraceparentpropagation helpers and aninstrumentedFetchfor client spans (plugs straight into@youneed/http-client). On top of it:@youneed/server-plugin-otel(SERVER span per request with remote-parent extraction,http.server.*metrics,ctx.state.spanfacade for logger correlation),@youneed/cli-plugin-otel(span + metrics per command, flushed before exit),@youneed/dom-provider-otel(render/effect/event spans in the browser, flush on pagehide),@youneed/test-plugin-otel(a span per test with steps and failure status,test.*metrics) and@youneed/logger-plugin-otel(trace_id/span_id/trace_flagsstamped on every log record). The zero-dep@youneed/server-middleware-trace+@youneed/server-plugin-otlpremain as the SDK-free alternative.@youneed/otelgainscreateOtelApi()— the shared contributed surface (span/spanAsyncchild spans +counter/histogramdelegating to the process-wide global metrics). New integrations: serverotelProvider()(aControllerProvidergiving controllers a typedthis.otelwith per-requesttraceId/spanIdread from the ambient request, working for HTTP handlers and WS JSON-RPC alike), testOtelFixture(@Test.use(OtelFixture)orotel = OtelFixture.get()— child spans nesting under the test span, process-wide metrics shared across all tests), and the new package@youneed/ssr-plugin-otel(otelModule()— anSsrModuleproducingssr.render <url>spans +ssr.render.*metrics for static page renders, nesting under@youneed/server-plugin-otelwhen present). The cli (otelCommand) and dom (otelProvider) contributed apis also gaincounter(name)/histogram(name)— additive, no breaking changes.Patch Changes
@youneed/logger-plugin-otel@0.2.0
Minor Changes
@youneed/otelis the shared core — env-aware config (OTEL_*env vars), Node (startNodeOtel) and Web (startWebOtel) SDK wiring with OTLP/HTTP trace + metric export, W3Ctraceparentpropagation helpers and aninstrumentedFetchfor client spans (plugs straight into@youneed/http-client). On top of it:@youneed/server-plugin-otel(SERVER span per request with remote-parent extraction,http.server.*metrics,ctx.state.spanfacade for logger correlation),@youneed/cli-plugin-otel(span + metrics per command, flushed before exit),@youneed/dom-provider-otel(render/effect/event spans in the browser, flush on pagehide),@youneed/test-plugin-otel(a span per test with steps and failure status,test.*metrics) and@youneed/logger-plugin-otel(trace_id/span_id/trace_flagsstamped on every log record). The zero-dep@youneed/server-middleware-trace+@youneed/server-plugin-otlpremain as the SDK-free alternative.Patch Changes
@youneed/otel@0.2.0
Minor Changes
useGlobalCounter(name, opts?)anduseGlobalHistogram(name, opts?)return process-wide shared instruments — the same name always yields the same underlying metric, so a metric likeurl_callscan be declared once (e.g. at the top of a test file) and reused by app code, middleware and every test instead of being re-created per test. In@youneed/otelthe OTEL instrument is created lazily on first use afterstartNodeOtel/startWebOtel(the metrics api has no late binding) and stays a no-op without an SDK; in@youneed/server-middleware-metricsthe series render in everyGET /metricsexposition next to the built-ins. Also fixes a pre-existing double-counting bug in the Prometheus histogram buckets (per-bucket counts were stored cumulatively AND rendered cumulatively, inflating everyleabove the first) —http_request_duration_seconds_bucketvalues are now correct.@youneed/otelis the shared core — env-aware config (OTEL_*env vars), Node (startNodeOtel) and Web (startWebOtel) SDK wiring with OTLP/HTTP trace + metric export, W3Ctraceparentpropagation helpers and aninstrumentedFetchfor client spans (plugs straight into@youneed/http-client). On top of it:@youneed/server-plugin-otel(SERVER span per request with remote-parent extraction,http.server.*metrics,ctx.state.spanfacade for logger correlation),@youneed/cli-plugin-otel(span + metrics per command, flushed before exit),@youneed/dom-provider-otel(render/effect/event spans in the browser, flush on pagehide),@youneed/test-plugin-otel(a span per test with steps and failure status,test.*metrics) and@youneed/logger-plugin-otel(trace_id/span_id/trace_flagsstamped on every log record). The zero-dep@youneed/server-middleware-trace+@youneed/server-plugin-otlpremain as the SDK-free alternative.@youneed/otelgainscreateOtelApi()— the shared contributed surface (span/spanAsyncchild spans +counter/histogramdelegating to the process-wide global metrics). New integrations: serverotelProvider()(aControllerProvidergiving controllers a typedthis.otelwith per-requesttraceId/spanIdread from the ambient request, working for HTTP handlers and WS JSON-RPC alike), testOtelFixture(@Test.use(OtelFixture)orotel = OtelFixture.get()— child spans nesting under the test span, process-wide metrics shared across all tests), and the new package@youneed/ssr-plugin-otel(otelModule()— anSsrModuleproducingssr.render <url>spans +ssr.render.*metrics for static page renders, nesting under@youneed/server-plugin-otelwhen present). The cli (otelCommand) and dom (otelProvider) contributed apis also gaincounter(name)/histogram(name)— additive, no breaking changes.@youneed/server-middleware-metrics@0.2.0
Minor Changes
useGlobalCounter(name, opts?)anduseGlobalHistogram(name, opts?)return process-wide shared instruments — the same name always yields the same underlying metric, so a metric likeurl_callscan be declared once (e.g. at the top of a test file) and reused by app code, middleware and every test instead of being re-created per test. In@youneed/otelthe OTEL instrument is created lazily on first use afterstartNodeOtel/startWebOtel(the metrics api has no late binding) and stays a no-op without an SDK; in@youneed/server-middleware-metricsthe series render in everyGET /metricsexposition next to the built-ins. Also fixes a pre-existing double-counting bug in the Prometheus histogram buckets (per-bucket counts were stored cumulatively AND rendered cumulatively, inflating everyleabove the first) —http_request_duration_seconds_bucketvalues are now correct.@youneed/server-middleware-rate-limit@0.2.0
Minor Changes
8bd5bb6: New
LeakyBucketrate-limit strategy (+"leaky-bucket"shorthand): requests pour into a bucket that drains atleakPerSec— an instant burst up tocapacity, then a strict one-per-interval pace. Implemented in the GCRA form (theoretical arrival time with burst tolerance(capacity - 1) · interval), the classic Nginxlimit_reqmodel — stable rejection boundaries where a naive water-level check flaps. The full built-in set is now:FixedWindow("fixed"),SlidingWindowLog("sliding"),TokenBucket("token-bucket"),LeakyBucket("leaky-bucket"),ExponentialBackoff("exponential").Also new: factory functions for every strategy —
fixedWindow(),slidingWindow(),tokenBucket(),leakyBucket(),exponentialBackoff(),kvFixedWindow(kv)— matching the middleware-family convention (cors(),helmet(),metrics(),tracing()).rateLimit({ strategy: tokenBucket({ capacity: 50, refillPerSec: 5 }) })is now the primary documented form; the classes (for subclassing) and the string shorthands keep working unchanged.Per-strategy deep imports —
@youneed/server-middleware-rate-limit/strategies/fixedWindow.js(plusslidingWindow.js,tokenBucket.js,leakyBucket.js,exponentialBackoff.js,kvFixedWindow.js) — each subpath exports the class, the factory and the config type.And the provider form:
rateLimitProvider()— aControllerProviderinjectingthis.rateLimitso controllers can drive the limiter themselves:check(key?)(verdict +X-RateLimit-*headers) andenforce(key?)(+Retry-Afterand a 429HttpErrorwhen limited), keyed off the ambient request like the middleware. For per-endpoint limits, conditional limiting, and multiple checks per request.@youneed/server-plugin-otel@0.2.0
Minor Changes
@youneed/otelis the shared core — env-aware config (OTEL_*env vars), Node (startNodeOtel) and Web (startWebOtel) SDK wiring with OTLP/HTTP trace + metric export, W3Ctraceparentpropagation helpers and aninstrumentedFetchfor client spans (plugs straight into@youneed/http-client). On top of it:@youneed/server-plugin-otel(SERVER span per request with remote-parent extraction,http.server.*metrics,ctx.state.spanfacade for logger correlation),@youneed/cli-plugin-otel(span + metrics per command, flushed before exit),@youneed/dom-provider-otel(render/effect/event spans in the browser, flush on pagehide),@youneed/test-plugin-otel(a span per test with steps and failure status,test.*metrics) and@youneed/logger-plugin-otel(trace_id/span_id/trace_flagsstamped on every log record). The zero-dep@youneed/server-middleware-trace+@youneed/server-plugin-otlpremain as the SDK-free alternative.@youneed/otelgainscreateOtelApi()— the shared contributed surface (span/spanAsyncchild spans +counter/histogramdelegating to the process-wide global metrics). New integrations: serverotelProvider()(aControllerProvidergiving controllers a typedthis.otelwith per-requesttraceId/spanIdread from the ambient request, working for HTTP handlers and WS JSON-RPC alike), testOtelFixture(@Test.use(OtelFixture)orotel = OtelFixture.get()— child spans nesting under the test span, process-wide metrics shared across all tests), and the new package@youneed/ssr-plugin-otel(otelModule()— anSsrModuleproducingssr.render <url>spans +ssr.render.*metrics for static page renders, nesting under@youneed/server-plugin-otelwhen present). The cli (otelCommand) and dom (otelProvider) contributed apis also gaincounter(name)/histogram(name)— additive, no breaking changes.Patch Changes
@youneed/ssr-plugin-otel@0.2.0
Minor Changes
@youneed/otelgainscreateOtelApi()— the shared contributed surface (span/spanAsyncchild spans +counter/histogramdelegating to the process-wide global metrics). New integrations: serverotelProvider()(aControllerProvidergiving controllers a typedthis.otelwith per-requesttraceId/spanIdread from the ambient request, working for HTTP handlers and WS JSON-RPC alike), testOtelFixture(@Test.use(OtelFixture)orotel = OtelFixture.get()— child spans nesting under the test span, process-wide metrics shared across all tests), and the new package@youneed/ssr-plugin-otel(otelModule()— anSsrModuleproducingssr.render <url>spans +ssr.render.*metrics for static page renders, nesting under@youneed/server-plugin-otelwhen present). The cli (otelCommand) and dom (otelProvider) contributed apis also gaincounter(name)/histogram(name)— additive, no breaking changes.Patch Changes
@youneed/test-plugin-otel@0.2.0
Minor Changes
@youneed/otelis the shared core — env-aware config (OTEL_*env vars), Node (startNodeOtel) and Web (startWebOtel) SDK wiring with OTLP/HTTP trace + metric export, W3Ctraceparentpropagation helpers and aninstrumentedFetchfor client spans (plugs straight into@youneed/http-client). On top of it:@youneed/server-plugin-otel(SERVER span per request with remote-parent extraction,http.server.*metrics,ctx.state.spanfacade for logger correlation),@youneed/cli-plugin-otel(span + metrics per command, flushed before exit),@youneed/dom-provider-otel(render/effect/event spans in the browser, flush on pagehide),@youneed/test-plugin-otel(a span per test with steps and failure status,test.*metrics) and@youneed/logger-plugin-otel(trace_id/span_id/trace_flagsstamped on every log record). The zero-dep@youneed/server-middleware-trace+@youneed/server-plugin-otlpremain as the SDK-free alternative.@youneed/otelgainscreateOtelApi()— the shared contributed surface (span/spanAsyncchild spans +counter/histogramdelegating to the process-wide global metrics). New integrations: serverotelProvider()(aControllerProvidergiving controllers a typedthis.otelwith per-requesttraceId/spanIdread from the ambient request, working for HTTP handlers and WS JSON-RPC alike), testOtelFixture(@Test.use(OtelFixture)orotel = OtelFixture.get()— child spans nesting under the test span, process-wide metrics shared across all tests), and the new package@youneed/ssr-plugin-otel(otelModule()— anSsrModuleproducingssr.render <url>spans +ssr.render.*metrics for static page renders, nesting under@youneed/server-plugin-otelwhen present). The cli (otelCommand) and dom (otelProvider) contributed apis also gaincounter(name)/histogram(name)— additive, no breaking changes.Patch Changes