From 5b301c281eee394274c0df19ffd56b0f1c0aa7ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 3 Apr 2023 20:07:24 +0200 Subject: [PATCH] build: fix npm registry publication with pnpm MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/npmpublish.yml | 5 ++++- CHANGELOG.md | 17 +++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index cf68a7ae..0fea6aae 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -53,7 +53,10 @@ jobs: uses: jaywcjlove/github-action-package@main - name: Install - run: pnpm install + run: | + corepack enable + corepack prepare pnpm@latest --activate + pnpm install - name: Publish Release if: ${{ contains(steps.package-version.outputs.version, '-') == false }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 37e97b1d..17917714 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Add `LESS_BUSY` worker choice strategy. + +### Changed + +- Optimize worker storage in pool. +- Optimize worker alive status check. +- BREAKING CHANGE: Rename worker choice strategy `LESS_RECENTLY_USED` to `LESS_USED`. +- Optimize `LESS_USED` worker choice strategy. + +### Fixed + +- Ensure trimmable characters are checked at pool initialization. +- Fix message id integer overflow. +- Fix pool worker removal in worker choice strategy internals. + ## [2.4.0-0] - 2023-04-03 ### Added -- 2.34.1