Skip to content

Releases: microsoft/tslib

tslib 2.0.0

13 May 23:08
2d12014
Compare
Choose a tag to compare

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

13 May 22:55
b7e9c51
Compare
Choose a tag to compare

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

12 May 18:07
Compare
Choose a tag to compare

This release adds the __createBinding helper function which is used by non-ECMAScript module emit in TypeScript 3.9.

tslib 1.11.2

05 May 23:22
Compare
Choose a tag to compare

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

27 Feb 19:32
Compare
Choose a tag to compare

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

20 Feb 21:24
19d1e0a
Compare
Choose a tag to compare

This release provides the __classPrivateFieldGet and __classPrivateFieldSet helper functions to power ECMAScript private fields in TypeScript 3.8.

tslib 1.10.0

10 Jun 22:29
Compare
Choose a tag to compare

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

22 Jun 07:50
Compare
Choose a tag to compare

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

29 May 23:50
Compare
Choose a tag to compare

Fixes issues in the __generator helper regarding return-ing and throw-ing. Details are available on microsoft/TypeScript#24463

tslib 1.9.1

14 May 18:15
Compare
Choose a tag to compare

Updates __asyncValues to more correctly align with CreateAsyncFromSyncIterator, and updates __asyncDelegator to ensure throw is correctly propagated.