Releases: microsoft/tslib
tslib 2.0.0
This release changes __exportStar
and __importStar
to use __createBinding
which is incompatible with versions of TypeScript older than 3.9 (i.e. 3.8 and below).
tslib 1.13.0
This release reverts breaking changes in tslib that were not compatible with versions of TypeScript prior to 3.9. The behavior slightly diverges from that of TypeScript 3.9, but generally is compatible with previous versions of TypeScript-authored code.
The new behavior of TypeScript 3.9 will be available in tslib 2.0.0.
See this pull request for more details.
tslib 1.12.0
This release adds the __createBinding
helper function which is used by non-ECMAScript module emit in TypeScript 3.9.
tslib 1.11.2
This release relicenses tslib to the 0BSD license which should allow projects that embed or bundle tslib to omit its license header.
tslib 1.11.1
This release updates tslib's declaration files so that users don't have to include declarations for WeakMap
in their compilation.
tslib 1.11.0
This release provides the __classPrivateFieldGet
and __classPrivateFieldSet
helper functions to power ECMAScript private fields in TypeScript 3.8.
tslib 1.10.0
This release fixes enumerability in object rest's __rest
helper (see details here) and adds a new __spreadArrays
helper (done as part of a change for more accurate array spreads).
tslib 1.9.3
This release changes the __extends
and __assign
helper functions so that certain tools may more easily analyze them. Details are available on microsoft/TypeScript#24244.
tslib 1.9.2
Fixes issues in the __generator
helper regarding return
-ing and throw
-ing. Details are available on microsoft/TypeScript#24463
tslib 1.9.1
Updates __asyncValues
to more correctly align with CreateAsyncFromSyncIterator, and updates __asyncDelegator
to ensure throw
is correctly propagated.