chore: release#21
Merged
Merged
Conversation
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
trashlytics@0.4.0
Minor Changes
1d00282: Redesign the SDK: scoped Effect core, non-blocking track, Standard Schema support. Breaking changes:
track()only validates and enqueues, never waits on the sinktrashlytics/effect:makereplacescreateTrackerand returns a scoped Effect; closing the scope stops the worker and flushes remaining events (replacesshutdown)close()replacesshutdown(), trackers supportawait using(Symbol.asyncDispose), and pending events auto-flush on page hide/unload in browsers (flushOnHide)event()accepts Effect schemas,Schema.Structfields, any Standard Schema v1 validator (zod/valibot/arktype), or no schema for payload-less eventsEventValidationError,UnknownEventError,TrackerClosedError,QueueFullError,SinkError(replacesSinkDeliveryError)context(meta enrichment),retry.jitter,deliveryTimeout(bounds each sink call, default 30s),maxQueueSize(renamed frombufferSize);retriesrenamed toretryhttpSinkdefaults tokeepalive: true; newbeaconSinkfor browsersSummary by cubic
Release
trashlytics0.4.0 with a redesigned SDK that makes tracking non-blocking and adds a scoped Effect core. Includes breaking API changes, Standard Schema support, and a new browserbeaconSink.New Features
trashlytics/effectmake) with auto-flush on page hide/unload andawait usingsupport.httpSinknow defaults tokeepalive: true; addedbeaconSinkfor browsers.Migration
createTrackerwithmakeintrashlytics/effect; close the scope to stop the worker and flush; root now usesclose()instead ofshutdown.track()to block for delivery; remove any waits tied to sink calls.retries->retry,bufferSize->maxQueueSize; adddeliveryTimeout,retry.jitter, and optionalcontext.event()usage to the new validator inputs or omit it for payload-less events.Written for commit ec1f984. Summary will update on new commits.