Skip to content

Commit 0fbfadb

Browse files
Version Packages
1 parent a80cb6b commit 0fbfadb

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.changeset/internal-disposer-shims.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# tryharder
22

3+
## 0.1.1
4+
5+
### Patch Changes
6+
7+
- aa8dd93: Replace the native `DisposableStack` and `AsyncDisposableStack` runtime dependency with internal private shims.
8+
9+
`tryharder` now provides its own cleanup runtime through `dispose()` and task-local `$disposer`, so consumers no longer need native disposable-stack globals or an external polyfill to use the library in unsupported runtimes.
10+
11+
The public cleanup helper type is now `AsyncDisposer` instead of ambient `AsyncDisposableStack`.
12+
313
## 0.1.0
414

515
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tryharder",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "A better try/catch for TypeScript",
55
"keywords": [
66
"abort-signal",

0 commit comments

Comments
 (0)