Release/v2.1.0#29
Merged
Merged
Conversation
Co-authored-by: jEnbuska <11061511+jEnbuska@users.noreply.github.com>
…h try/finally Co-authored-by: jEnbuska <11061511+jEnbuska@users.noreply.github.com>
…nk workflow Co-authored-by: jEnbuska <11061511+jEnbuska@users.noreply.github.com>
Co-authored-by: jEnbuska <11061511+jEnbuska@users.noreply.github.com>
…olve types correctly Co-authored-by: jEnbuska <11061511+jEnbuska@users.noreply.github.com>
…ests Co-authored-by: jEnbuska <11061511+jEnbuska@users.noreply.github.com>
…fari), Edge Co-authored-by: jEnbuska <11061511+jEnbuska@users.noreply.github.com>
…lease notes Co-authored-by: jEnbuska <11061511+jEnbuska@users.noreply.github.com>
Co-authored-by: jEnbuska <11061511+jEnbuska@users.noreply.github.com>
…ript Co-authored-by: jEnbuska <11061511+jEnbuska@users.noreply.github.com>
…or node-ts example Co-authored-by: jEnbuska <11061511+jEnbuska@users.noreply.github.com>
…idance Co-authored-by: jEnbuska <11061511+jEnbuska@users.noreply.github.com>
…tsconfig guidance to README Co-authored-by: jEnbuska <11061511+jEnbuska@users.noreply.github.com>
… docs Co-authored-by: jEnbuska <11061511+jEnbuska@users.noreply.github.com>
…ta docs Co-authored-by: jEnbuska <11061511+jEnbuska@users.noreply.github.com>
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.
A collection of build pipeline, type distribution, integration testing, and release tooling improvements.
Bundle size −57% (55 KB → 23 KB)
minify: trueintsup.config.tsusingkeyword withtry/finallyin resolver classes — eliminates the__knownSymbol/__using/__callDisposepolyfill block tsup was injecting for ES2022 targetsConsumer TypeScript types fixed
tsc --emitDeclarationOnly+verbatimModuleSyntax: truepreserved raw.tsextensions in emitted.d.tsimport paths, breaking any consumer withoutallowImportingTsExtensions. Switched to tsupdts: true— all declarations bundled into a singledist/index.d.ts.tsconfig.build.jsondeleted.Node.js minimum lowered to 20.4.0
Removing
usingeliminates the 20.5.0 requirement. Only hard runtime dependency isSymbol.dispose/Symbol.asyncDispose(Node 20.4.0+). Added"engines": { "node": ">=20.4.0" }.Example projects & cross-browser tests
examples/node-ts— bare Node.js TypeScript consumer; builds withtscagainst the local packageexamples/react-vite— Vite 7 + React 19 app with a Playwright test suite covering Chromium, Firefox, WebKit (Safari ✅), and Edgenpm testinexamples/react-viteauto-installs Playwright browser binaries so it works out of the box afternpm ciCI
test-example-node: matrix over Node 20 × 22 × 24,fail-fast: falsetest-example-react: Playwright suite; uploads report artifact on failuretsconfig.jsonexcludesexamples/— preventstsc --noEmitwalking sub-projects whose deps aren't installed at rootvitest.config.tsscopes test discovery totests/**/*.test.ts— prevents Vitest picking up Playwright spec filesprettierandcheck-allextended to cover./examplesRelease tooling & docs
publish:betascript (npm publish --tag beta --access public) + abstract "Beta / Pre-release Process" section inCONTRIBUTING.mdDOM.Iterableis not required by this library — documented with a minimallibconfig table🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.