From: Jérôme Benoit Date: Mon, 3 Apr 2023 18:07:24 +0000 (+0200) Subject: build: fix npm registry publication with pnpm X-Git-Tag: v2.4.0-1~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5b301c281eee394274c0df19ffd56b0f1c0aa7ff;p=poolifier.git build: fix npm registry publication with pnpm Signed-off-by: Jérôme Benoit --- 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