Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Changelog


# v0.6.0 May 30th, 2026

## Changelog

- [#508](https://github.com/nevware21/ts-async/pull/508) [Bug] Fix `IPromise.finally()` to await returned promises per ES2018 spec
- `Promise.finally()` was ignoring the return value of the `onFinally` callback. Per the ES2018 specification (ECMA-262 §27.2.5.3), if `onFinally` returns a promise/thenable, the resulting promise must wait for it to settle before propagating the original value or reason. If the returned promise rejects, that rejection takes precedence.
- [#488](https://github.com/nevware21/ts-async/issues/488) [CHORE] Drop Node.js 16 from CI matrix and add Node.js 24
Expand All @@ -10,6 +15,14 @@
- Add `/// <reference lib="es2018" />` directive to published declaration file so consumers no longer need to manually add ES2018 libs to their tsconfig
- Add `"lib": ["es2018", "dom"]` to build and test tsconfig files
- Add post-processing script to restore reference directive stripped by api-extractor
- [#509](https://github.com/nevware21/ts-async/pull/509) [BUG] Fix `Promise.then()` behavior to ignore non-function handlers per Promises/A+ 2.2.1
- [#511](https://github.com/nevware21/ts-async/pull/511) [BUG] Fix `doFinally` fallback to await thenables returned by `onFinally`
- [#505](https://github.com/nevware21/ts-async/pull/505) [BUG] Ensure settled tasks are removed from scheduler queues when stale timeout is disabled
- [#514](https://github.com/nevware21/ts-async/pull/514) [REFACTOR] Use `setTimeout` instead of microtask queue for promise resolution behavior changes from [#503](https://github.com/nevware21/ts-async/issues/503)
- [#450](https://github.com/nevware21/ts-async/pull/450) [CHORE] Bump `@nevware21` components to latest recommended versions
- [#430](https://github.com/nevware21/ts-async/pull/430) [TEST] Replace `chai` with `@nevware21/tripwire` for assertion testing

For full details see [v0.5.5...v0.6.0](https://github.com/nevware21/ts-async/compare/v0.5.5...v0.6.0)

# v0.5.5 Jan 5th, 2026

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Install the npm packare: `npm install @nevware21/ts-async --save`
> It is suggested / recommended that you use the following definition in your `package.json` so that you are compatible with any future releases as they become available
> we do not intend to make ANY known breaking changes moving forward until v2.x
> ```json
> "@nevware21/ts-async": ">= 0.5.5 < 2.x"
> "@nevware21/ts-async": ">= 0.6.0 < 2.x"
> ```

And then just import the helpers and use them.
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nevware21/ts-async",
"description": "support for asynchronous development with a Promise based task Scheduler, several different Promise implementations (synchronous, idle, asynchronous and native runtime wrappers), await helpers, and aliases all built and tested using TypeScript.",
"version": "0.5.5",
"version": "0.6.0",
"homepage": "https://github.com/nevware21/ts-async",
"funding": [
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nevware21/ts-async",
"description": "support for asynchronous development with a Promise based task Scheduler, several different Promise implementations (synchronous, idle, asynchronous and native runtime wrappers), await helpers, and aliases all built and tested using TypeScript.",
"version": "0.5.5",
"version": "0.6.0",
"homepage": "https://github.com/nevware21/ts-async",
"funding": [
{
Expand Down