diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 4c504596f..ce995ed46 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -6,14 +6,22 @@ on: # Run once a week at 00:05 UTC on Friday. - cron: 5 0 * * 5 +permissions: + contents: read + jobs: fetch-latest-versions: + runs-on: ubuntu-latest permissions: contents: write - runs-on: ubuntu-latest + pull-requests: write + env: + HEAD_BRANCH: actions/tools-update-config.json steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - name: Install Node uses: actions/setup-node@v4 @@ -46,13 +54,84 @@ jobs: }, }" > config.json - - uses: gr2m/create-or-update-pull-request-action@77596e3166f328b24613f7082ab30bf2d93079d5 # v1.9.2 - # Creates a PR or update the Action's existing PR, or - # no-op if the base branch is already up-to-date. + - name: Check if there have been changes + id: check-for-changes + run: | + if git fetch origin "$HEAD_BRANCH"; then + git diff --exit-code --quiet FETCH_HEAD config.json || echo "CONTAINS_CHANGES=true" >> "$GITHUB_OUTPUT" + else + git diff --exit-code --quiet HEAD config.json || echo "CONTAINS_CHANGES=true" >> "$GITHUB_OUTPUT" + fi + + - run: corepack yarn install --immutable + if: steps.check-for-changes.outputs.CONTAINS_CHANGES == 'true' + - run: corepack yarn build # We need the stubs to run the tests + if: steps.check-for-changes.outputs.CONTAINS_CHANGES == 'true' + + - name: Remove old Nock files to avoid conflicts + if: steps.check-for-changes.outputs.CONTAINS_CHANGES == 'true' + run: rm tests/nocks.db + + - run: corepack yarn test + if: steps.check-for-changes.outputs.CONTAINS_CHANGES == 'true' + env: + NOCK_ENV: record + + - name: Push changes + if: steps.check-for-changes.outputs.CONTAINS_CHANGES == 'true' + run: | + HEAD_SHA= + if git fetch origin "$HEAD_BRANCH"; then + HEAD_SHA="$(git rev-parse FETCH_HEAD)" + else + # The branch does not exist yet, creating it. + gh api \ + --method POST \ + -H "Accept: application/vnd.github+json" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + "/repos/${GITHUB_REPOSITORY}/git/refs" \ + -f "ref=refs/heads/$HEAD_BRANCH" -f "sha=$GITHUB_SHA" + fi + gh api graphql \ + -F repo="$GITHUB_REPOSITORY" -F branch='actions/tools-update-config.json' \ + -F parentCommitSha="${HEAD_SHA:-$GITHUB_SHA}" \ + -F commit_title="$COMMIT_MESSAGE" \ + -F changes="$(node -p 'JSON.stringify({ + additions: ["config.json", "tests/nocks.db"].map(path => ({ path, contents: fs.readFileSync(path).toString("base64") })), + deletions: [], + })')" + -f query='mutation ($repo: String! $branch: String!, $parentCommitSha: GitObjectID!, $changes: FileChanges!, $commit_title: String!, $commit_body: String) { + createCommitOnBranch(input: { + branch: { + repositoryNameWithOwner: $repo, + branchName: $branch + }, + message: { + headline: $commit_title, + body: $commit_body + }, + expectedHeadOid: $parentCommitSha, + fileChanges: $changes + }) { + commit { + url + } + } + }' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - body: This is an automated update of package manager versions - branch: actions/tools-update-config.json - commit-message: "feat: update package manager versions" - title: "feat: update package manager versions" + COMMIT_MESSAGE: "feat: update package manager versions" + + - name: Create PR if it does not exist + if: steps.check-for-changes.outputs.CONTAINS_CHANGES == 'true' + run: | + gh api \ + --method POST \ + -H "Accept: application/vnd.github+json" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + "/repos/${GITHUB_REPOSITORY}/pulls" \ + -f "title=$TITLE" -f "body=$BODY" -f "head=$HEAD_BRANCH" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BODY: This is an automated update of package manager versions + TITLE: "feat: update package manager versions" diff --git a/CHANGELOG.md b/CHANGELOG.md index 941d0b6b7..097c19498 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,145 @@ # Changelog +## [0.31.0](https://github.com/aduh95/corepack/compare/v0.30.0...v0.31.0) (2025-01-13) + + +### ⚠ BREAKING CHANGES + +* call `executePackageManagerRequest` directly ([#430](https://github.com/aduh95/corepack/issues/430)) +* attempting to download a version from the npm registry (or a mirror) that was published using the now deprecated PGP signature without providing a hash will trigger an error. Users can disable the signature verification using a environment variable. +* remove `--all` flag ([#351](https://github.com/aduh95/corepack/issues/351)) +* remove Node.js 19.x from the range of supported versions ([#375](https://github.com/aduh95/corepack/issues/375)) +* use `fetch` ([#365](https://github.com/aduh95/corepack/issues/365)) +* remove old install folder migration ([#373](https://github.com/aduh95/corepack/issues/373)) +* prompt user before downloading software ([#360](https://github.com/aduh95/corepack/issues/360)) +* remove support for Node.js 16.x +* remove support for Node.js 14.x +* add `"exports"` to the `package.json` ([#239](https://github.com/aduh95/corepack/issues/239)) + +### Features + +* add `corepack cache` command ([#363](https://github.com/aduh95/corepack/issues/363)) ([f442366](https://github.com/aduh95/corepack/commit/f442366c1c00d0c3f388b757c3797504f9a6b62e)) +* add `COREPACK_ENABLE_STRICT` env variable ([#167](https://github.com/aduh95/corepack/issues/167)) ([92b52f6](https://github.com/aduh95/corepack/commit/92b52f6b4918aff968c0942b89fc722ebf57bce2)) +* add support for `COREPACK_INTEGRITY_KEYS=0` ([#470](https://github.com/aduh95/corepack/issues/470)) ([f15ebc2](https://github.com/aduh95/corepack/commit/f15ebc289ebcd6a86580f15ae3c4ef0e1be37c4b)) +* add support for configurable registries and applicable auth options ([#186](https://github.com/aduh95/corepack/issues/186)) ([662ae90](https://github.com/aduh95/corepack/commit/662ae9057c7360cb05e9476914e611a9bf0074db)) +* add support for hash checking ([#133](https://github.com/aduh95/corepack/issues/133)) ([6a480a7](https://github.com/aduh95/corepack/commit/6a480a72c2e9fc6725f2ab6dfaf4c52e4d3d2ade)) +* add support for HTTP redirect ([#341](https://github.com/aduh95/corepack/issues/341)) ([6df5063](https://github.com/aduh95/corepack/commit/6df5063b14868ff21499a051e5122fa7211be6ed)) +* add support for rangeless commands ([#338](https://github.com/aduh95/corepack/issues/338)) ([9bee415](https://github.com/aduh95/corepack/commit/9bee4150815113d97f0bd77d62c8d999cfd68ad3)) +* add support for tags and ranges in `prepare` command ([#136](https://github.com/aduh95/corepack/issues/136)) ([29da06c](https://github.com/aduh95/corepack/commit/29da06c515e917829e5ffbedb34284a6597e9d56)) +* add support for URL in `"packageManager"` ([#359](https://github.com/aduh95/corepack/issues/359)) ([4a8ce6d](https://github.com/aduh95/corepack/commit/4a8ce6d42f081047a341f36067696346c9f3e1ea)) +* allow fallback to application/json for custom registries ([#314](https://github.com/aduh95/corepack/issues/314)) ([92f8e71](https://github.com/aduh95/corepack/commit/92f8e71f8c97c44f404ce9b7df8787a4292e6830)) +* auto setup proxy for http requests ([#69](https://github.com/aduh95/corepack/issues/69)) ([876ce02](https://github.com/aduh95/corepack/commit/876ce02fe7385ea5bc896b2dc93d1fb320361c64)) +* bump Known Good Release when downloading new version ([#364](https://github.com/aduh95/corepack/issues/364)) ([a56c13b](https://github.com/aduh95/corepack/commit/a56c13bd0b1c11e50361b8b4b6f8a53571e3981a)) +* do not use `~/.node` as default value for `COREPACK_HOME` ([#152](https://github.com/aduh95/corepack/issues/152)) ([09e24cf](https://github.com/aduh95/corepack/commit/09e24cf497de27fe92668cf0a8e555f2c7e2530d)) +* download the latest version instead of a pinned one ([#134](https://github.com/aduh95/corepack/issues/134)) ([055b928](https://github.com/aduh95/corepack/commit/055b92807f711b5c8c8be6e62b8d3ce83e1ff002)) +* parallelize linking, unlinking and installing ([#524](https://github.com/aduh95/corepack/issues/524)) ([f0734e6](https://github.com/aduh95/corepack/commit/f0734e6e8023ff361dac179c0d8656740d550c27)) +* Pins the package manager as it's used for the first time ([#413](https://github.com/aduh95/corepack/issues/413)) ([8b6c6d4](https://github.com/aduh95/corepack/commit/8b6c6d4b2b7a9d61ae6c33c07e12354bd5afc2ba)) +* prompt user before downloading software ([#360](https://github.com/aduh95/corepack/issues/360)) ([6b8d87f](https://github.com/aduh95/corepack/commit/6b8d87f2374f79855b24d659f2a2579d6b39f54f)) +* remove `--all` flag ([#351](https://github.com/aduh95/corepack/issues/351)) ([d9c70b9](https://github.com/aduh95/corepack/commit/d9c70b91f698787d693406626a73dc95cb18bc1d)) +* remove old install folder migration ([#373](https://github.com/aduh95/corepack/issues/373)) ([54e9510](https://github.com/aduh95/corepack/commit/54e9510cdaf6ed08c9dea1ed3999fa65116cb4c7)) +* separate read and write operations on lastKnownGood.json ([#446](https://github.com/aduh95/corepack/issues/446)) ([c449adc](https://github.com/aduh95/corepack/commit/c449adc81822a604ee8f00ae2b53fc411535f96d)) +* support ESM ([#270](https://github.com/aduh95/corepack/issues/270)) ([be2489c](https://github.com/aduh95/corepack/commit/be2489cd0aaabf26a019e1c089a3c8bcc329e94a)) +* update package manager versions ([#129](https://github.com/aduh95/corepack/issues/129)) ([2470f58](https://github.com/aduh95/corepack/commit/2470f58b74491a1301221df643c55be5adf1d349)) +* update package manager versions ([#139](https://github.com/aduh95/corepack/issues/139)) ([cd0dcad](https://github.com/aduh95/corepack/commit/cd0dcade85621199048d7ca30dfc3efce11e1f37)) +* update package manager versions ([#154](https://github.com/aduh95/corepack/issues/154)) ([4b95fd3](https://github.com/aduh95/corepack/commit/4b95fd3b926659855970a887c893c10db0b98e5d)) +* update package manager versions ([#160](https://github.com/aduh95/corepack/issues/160)) ([ad092a7](https://github.com/aduh95/corepack/commit/ad092a7fb4296143fa5224c04dbd628451b3c158)) +* update package manager versions ([#163](https://github.com/aduh95/corepack/issues/163)) ([af38d5a](https://github.com/aduh95/corepack/commit/af38d5afbbc10d61265b2f4687c5cc498b059b41)) +* update package manager versions ([#170](https://github.com/aduh95/corepack/issues/170)) ([6f70bfc](https://github.com/aduh95/corepack/commit/6f70bfc4b6a8a57cccb1ff9cbf2f49240648f1ed)) +* update package manager versions ([#179](https://github.com/aduh95/corepack/issues/179)) ([0b88dcb](https://github.com/aduh95/corepack/commit/0b88dcbaaf190117c6f407b6632a4b3b10da8ad9)) +* update package manager versions ([#184](https://github.com/aduh95/corepack/issues/184)) ([84ae313](https://github.com/aduh95/corepack/commit/84ae3139e4b9a86d97465e36b50beb9201fda732)) +* update package manager versions ([#193](https://github.com/aduh95/corepack/issues/193)) ([0ec3a73](https://github.com/aduh95/corepack/commit/0ec3a7384729c5cf4ac566d91f1a4bb74e08a64f)) +* update package manager versions ([#205](https://github.com/aduh95/corepack/issues/205)) ([5bfac11](https://github.com/aduh95/corepack/commit/5bfac11715474a4318c67fc806fd1ff4252c683a)) +* update package manager versions ([#211](https://github.com/aduh95/corepack/issues/211)) ([c536c0c](https://github.com/aduh95/corepack/commit/c536c0c27c137c87a14487a2c2a63a1fe6bf88ec)) +* update package manager versions ([#215](https://github.com/aduh95/corepack/issues/215)) ([f84cfcb](https://github.com/aduh95/corepack/commit/f84cfcb00ffb985d44b6aa0b563b2b4056a8f0d0)) +* update package manager versions ([#228](https://github.com/aduh95/corepack/issues/228)) ([bb000f9](https://github.com/aduh95/corepack/commit/bb000f9c10a1fbd85f2c15a90218d90b42473130)) +* update package manager versions ([#242](https://github.com/aduh95/corepack/issues/242)) ([5141639](https://github.com/aduh95/corepack/commit/5141639af8198a343105be1e98a74f7c9e152472)) +* update package manager versions ([#245](https://github.com/aduh95/corepack/issues/245)) ([673f3b7](https://github.com/aduh95/corepack/commit/673f3b7f18421a49da1e2c55656666a74ce94474)) +* update package manager versions ([#249](https://github.com/aduh95/corepack/issues/249)) ([2507e9b](https://github.com/aduh95/corepack/commit/2507e9b317eacdeb939aee086de5711218ebd794)) +* update package manager versions ([#256](https://github.com/aduh95/corepack/issues/256)) ([7b61ff6](https://github.com/aduh95/corepack/commit/7b61ff6bc797ec4ed50c2ba1e1f1689264cbf4fc)) +* update package manager versions ([#272](https://github.com/aduh95/corepack/issues/272)) ([5345774](https://github.com/aduh95/corepack/commit/53457747a26a5de3debbd0d9282b338186bbd7c3)) +* update package manager versions ([#280](https://github.com/aduh95/corepack/issues/280)) ([4188f2b](https://github.com/aduh95/corepack/commit/4188f2b4671228339fe16f9f566e7bac0c2c4f6d)) +* update package manager versions ([#282](https://github.com/aduh95/corepack/issues/282)) ([b8a4a52](https://github.com/aduh95/corepack/commit/b8a4a529319eed50983f9f2c527490d07806b1bc)) +* update package manager versions ([#292](https://github.com/aduh95/corepack/issues/292)) ([be9c286](https://github.com/aduh95/corepack/commit/be9c286846443ff03081e736fdf4a0ff031fbd38)) +* update package manager versions ([#297](https://github.com/aduh95/corepack/issues/297)) ([503e135](https://github.com/aduh95/corepack/commit/503e135878935cc881ebd94b48d5eca94ec4c27b)) +* update package manager versions ([#318](https://github.com/aduh95/corepack/issues/318)) ([0bd2577](https://github.com/aduh95/corepack/commit/0bd2577bb4c6c3a5a33ecdb3b6ca2ff244c54f28)) +* update package manager versions ([#325](https://github.com/aduh95/corepack/issues/325)) ([450cd33](https://github.com/aduh95/corepack/commit/450cd332d00d3428f49ed09a4235bd12139931c9)) +* update package manager versions ([#330](https://github.com/aduh95/corepack/issues/330)) ([cfcc280](https://github.com/aduh95/corepack/commit/cfcc28047a788daeef2c0b15ee35a8b1a8149bb6)) +* update package manager versions ([#348](https://github.com/aduh95/corepack/issues/348)) ([cc3ada7](https://github.com/aduh95/corepack/commit/cc3ada73bccd0a5b0ff16834e518efa521c9eea4)) +* update package manager versions ([#362](https://github.com/aduh95/corepack/issues/362)) ([1423312](https://github.com/aduh95/corepack/commit/1423312a0eb7844dcdd43ae8a63cf12dcacedb2b)) +* update package manager versions ([#415](https://github.com/aduh95/corepack/issues/415)) ([e8edba7](https://github.com/aduh95/corepack/commit/e8edba771bca6fb10c855c04eee8102ffa792d58)) +* update package manager versions ([#425](https://github.com/aduh95/corepack/issues/425)) ([1423190](https://github.com/aduh95/corepack/commit/142319056424b1e0da2bdbe801c52c5910023707)) +* update package manager versions ([#462](https://github.com/aduh95/corepack/issues/462)) ([56816c2](https://github.com/aduh95/corepack/commit/56816c2b7ebc9926f07048b0ec4ff6025bb4e293)) +* update package manager versions ([#469](https://github.com/aduh95/corepack/issues/469)) ([985895b](https://github.com/aduh95/corepack/commit/985895bccb5ec68b3645c540d8500c572e1ccadb)) +* update package manager versions ([#481](https://github.com/aduh95/corepack/issues/481)) ([e1abb83](https://github.com/aduh95/corepack/commit/e1abb832416a793b490b2b51b4082fe822fc932c)) +* update package manager versions ([#492](https://github.com/aduh95/corepack/issues/492)) ([3e3b046](https://github.com/aduh95/corepack/commit/3e3b04619cb4a91f207a72fb450f6fc4e2f01aec)) +* update package manager versions ([#543](https://github.com/aduh95/corepack/issues/543)) ([b819e40](https://github.com/aduh95/corepack/commit/b819e404dbb23c4ae3d5dbe55e21de74d714ee9c)) +* update package manager versions ([#578](https://github.com/aduh95/corepack/issues/578)) ([a286c8f](https://github.com/aduh95/corepack/commit/a286c8f5537ea9ecf9b6ff53c7bc3e8da4e3c8bb)) +* use `fetch` ([#365](https://github.com/aduh95/corepack/issues/365)) ([fe6a307](https://github.com/aduh95/corepack/commit/fe6a3072f64efa810b90e4ee52e0b3ff14c63184)) +* verify integrity signature when downloading from npm registry ([#432](https://github.com/aduh95/corepack/issues/432)) ([e561dd0](https://github.com/aduh95/corepack/commit/e561dd00bbacc5bc15a492fc36574fa0e37bff7b)) +* when strict checking is off, treat like transparent ([#197](https://github.com/aduh95/corepack/issues/197)) ([5eadc50](https://github.com/aduh95/corepack/commit/5eadc50192e205c60bfb1cad91854e9014a747b8)) +* **yarn:** fallback to npm when `COREPACK_NPM_REGISTRY` is set ([#339](https://github.com/aduh95/corepack/issues/339)) ([0717c6a](https://github.com/aduh95/corepack/commit/0717c6af898e075f57c5694d699a3c51e79a024c)) + + +### Bug Fixes + +* add `"exports"` to the `package.json` ([#239](https://github.com/aduh95/corepack/issues/239)) ([8e12d08](https://github.com/aduh95/corepack/commit/8e12d088dec171c03e90f623895a1fbf867130e6)) +* add path to `package.json` in error message ([#456](https://github.com/aduh95/corepack/issues/456)) ([32a93ea](https://github.com/aduh95/corepack/commit/32a93ea4f51eb7db7dc95a16c5719695edf4b53e)) +* avoid symlinks to work on Windows ([#13](https://github.com/aduh95/corepack/issues/13)) ([b56df30](https://github.com/aduh95/corepack/commit/b56df30796da9c7cb0ba5e1bb7152c81582abba6)) +* avoid using eval to get the corepack version ([#45](https://github.com/aduh95/corepack/issues/45)) ([78d94eb](https://github.com/aduh95/corepack/commit/78d94eb297444d7558e8b4395f0108c97117f8ab)) +* bin file name for pnpm >=6.0 ([#35](https://github.com/aduh95/corepack/issues/35)) ([8ff2499](https://github.com/aduh95/corepack/commit/8ff2499e831c8cf2dea604ea985d830afc8a479e)) +* call `executePackageManagerRequest` directly ([#430](https://github.com/aduh95/corepack/issues/430)) ([0f9b748](https://github.com/aduh95/corepack/commit/0f9b74864048d5dc150a63cc582966af0c5f363f)) +* **ci:** YAML formatting in publish workflow ([#124](https://github.com/aduh95/corepack/issues/124)) ([01c7d63](https://github.com/aduh95/corepack/commit/01c7d638b04a1340b3939a7985e24b586e344995)) +* clarify `EACCES` errors ([#343](https://github.com/aduh95/corepack/issues/343)) ([518bed8](https://github.com/aduh95/corepack/commit/518bed8b7d7c313163c79d31cb9bbc023dba6560)) +* COREPACK_NPM_REGISTRY should allow for username/password auth ([#466](https://github.com/aduh95/corepack/issues/466)) ([6efa349](https://github.com/aduh95/corepack/commit/6efa34988229918debe6e881d45ba6715282f283)) +* correctly set `Dispatcher` prototype for `ProxyAgent` ([#451](https://github.com/aduh95/corepack/issues/451)) ([73d9a1e](https://github.com/aduh95/corepack/commit/73d9a1e2d2f84906bf01952f1dca8adab576b7bf)) +* disable `v8-compile-cache` when using `npm@>=9.7.0` ([#276](https://github.com/aduh95/corepack/issues/276)) ([2f3678c](https://github.com/aduh95/corepack/commit/2f3678cd7915978f4e2ce7a32cbe5db58e9d0b8d)) +* do not hard fail if Corepack home folder cannot be created ([#382](https://github.com/aduh95/corepack/issues/382)) ([9834f57](https://github.com/aduh95/corepack/commit/9834f5790a99ce2c6c283321bb38b02e5561b7ca)) +* do not show download prompt when downloading JSON ([#383](https://github.com/aduh95/corepack/issues/383)) ([bc137a0](https://github.com/aduh95/corepack/commit/bc137a0073c3343ce2d552b6e13bfd2a48f08351)) +* **doc:** add a note about troubleshooting network errors ([#259](https://github.com/aduh95/corepack/issues/259)) ([aa3cbdb](https://github.com/aduh95/corepack/commit/aa3cbdb54fb21b8e0adde96dc781cdf750932843)) +* **doc:** add package configuration instruction to readme ([#188](https://github.com/aduh95/corepack/issues/188)) ([0b7abb9](https://github.com/aduh95/corepack/commit/0b7abb9833d332bad97902260d31652482c274a0)) +* **doc:** update DESIGN.md s/engines.pm/packageManager/ ([#141](https://github.com/aduh95/corepack/issues/141)) ([d6039c5](https://github.com/aduh95/corepack/commit/d6039c5b16cdddb33069b9aa864854ed16d17e4e)) +* don't override `process.exitCode` ([#268](https://github.com/aduh95/corepack/issues/268)) ([17d1f3d](https://github.com/aduh95/corepack/commit/17d1f3dd41ef6127228d427fd5cca373d6c97f0f)) +* download fewer metadata from npm registry ([#436](https://github.com/aduh95/corepack/issues/436)) ([082fabf](https://github.com/aduh95/corepack/commit/082fabf8b15658e69e4fb62bb854fe9aace78b70)) +* fallback to `shasum` when `integrity` is not defined ([#542](https://github.com/aduh95/corepack/issues/542)) ([eb63873](https://github.com/aduh95/corepack/commit/eb63873c6c617a2f8ac7106e26ccfe8aa3ae1fb9)) +* generate cmd shim files ([a900b4d](https://github.com/aduh95/corepack/commit/a900b4db12fcd4d99c0a4d011b426cdc6485d323)) +* group the download prompt together ([#391](https://github.com/aduh95/corepack/issues/391)) ([00506b2](https://github.com/aduh95/corepack/commit/00506b2a15dd87ec03240578077a35b7980e00c1)) +* handle package managers with a bin array correctly ([#20](https://github.com/aduh95/corepack/issues/20)) ([1836d17](https://github.com/aduh95/corepack/commit/1836d17b4fc4c0164df2fe1ccaca4d2f16f6f2d1)) +* handle parallel installs ([#84](https://github.com/aduh95/corepack/issues/84)) ([5cfc6c9](https://github.com/aduh95/corepack/commit/5cfc6c9df0dbec8e4de4324be37aa0a54a300552)) +* handle prereleases ([#32](https://github.com/aduh95/corepack/issues/32)) ([2a46b6d](https://github.com/aduh95/corepack/commit/2a46b6d13adae139141012254ef670d6ddcb5d11)) +* handle tags including numbers in `prepare` command ([#165](https://github.com/aduh95/corepack/issues/165)) ([5a0727b](https://github.com/aduh95/corepack/commit/5a0727b43976e0dc299151876c0dde2c4a85174d)) +* hash check when downloading Yarn Berry from npm ([#439](https://github.com/aduh95/corepack/issues/439)) ([4672162](https://github.com/aduh95/corepack/commit/467216281e1719a739d0eeea370b335adfb37b8d)) +* ignore `EROFS` errors ([#421](https://github.com/aduh95/corepack/issues/421)) ([b7ec137](https://github.com/aduh95/corepack/commit/b7ec137210efd35c3461321b6434e3e13a87d42f)) +* improve support for `COREPACK_NPM_REGISTRY` with Yarn Berry ([#396](https://github.com/aduh95/corepack/issues/396)) ([47be27c](https://github.com/aduh95/corepack/commit/47be27c9db988e10f651d23b3f53bcf55318a894)) +* Incorrect authorization prefix for basic auth, and undocumented env var ([#454](https://github.com/aduh95/corepack/issues/454)) ([2d63536](https://github.com/aduh95/corepack/commit/2d63536413971d43f570deb035845aa0bd5202f0)) +* make `DEBUG=corepack` more useful ([#538](https://github.com/aduh95/corepack/issues/538)) ([6019d7b](https://github.com/aduh95/corepack/commit/6019d7b56e85bd8b7b58a1a487922c707e70e30e)) +* npm registry override ([#219](https://github.com/aduh95/corepack/issues/219)) ([1b35362](https://github.com/aduh95/corepack/commit/1b353624e644874d9ef6c9acaf6d1254bff3015a)) +* only set bins on pack ([#127](https://github.com/aduh95/corepack/issues/127)) ([7ae489a](https://github.com/aduh95/corepack/commit/7ae489a86c3fe584b9915f4ec57deb7c316c1a25)) +* re-add support for custom registries with auth ([#397](https://github.com/aduh95/corepack/issues/397)) ([d267753](https://github.com/aduh95/corepack/commit/d2677538cdb613fcab6d2a45bb07f349bdc65c2b)) +* recreate cache folder if necessary ([#200](https://github.com/aduh95/corepack/issues/200)) ([7b5f2f9](https://github.com/aduh95/corepack/commit/7b5f2f9fcb24fe3fe517a96deaac7f32854f3124)) +* remove unsafe remove of install folder ([#372](https://github.com/aduh95/corepack/issues/372)) ([65880ca](https://github.com/aduh95/corepack/commit/65880cafed5f4195f8e7656ca9af4cbcbb7682d3)) +* replace npm registry domain in tarball URL ([#502](https://github.com/aduh95/corepack/issues/502)) ([db6fae5](https://github.com/aduh95/corepack/commit/db6fae50cf44884d1e9a6f7e99402e7e807ba3ca)) +* selectively import required semver functions ([#511](https://github.com/aduh95/corepack/issues/511)) ([e7ad533](https://github.com/aduh95/corepack/commit/e7ad533d43dc9495493f0d883c3cbbb94caa1d41)) +* streamline the cache exploration ([#135](https://github.com/aduh95/corepack/issues/135)) ([185da44](https://github.com/aduh95/corepack/commit/185da44078fd1ca34aec2e4e6f8a52ecffcf3c11)) +* trigger release after 0.29.0 failed to publish ([e6ba066](https://github.com/aduh95/corepack/commit/e6ba06657b0985c112f288932ca39c0562129566)) +* trigger release after 0.29.1 failed to publish ([18e29ce](https://github.com/aduh95/corepack/commit/18e29ce3c465b64d48ccf3feef7cd1be94da70b0)) +* update package manager versions ([#146](https://github.com/aduh95/corepack/issues/146)) ([fdb187a](https://github.com/aduh95/corepack/commit/fdb187a640de77df9b3688623ba510bdafda8702)) +* use valid semver range for `engines.node` ([#378](https://github.com/aduh95/corepack/issues/378)) ([f2185fe](https://github.com/aduh95/corepack/commit/f2185fefa145cc75fca082acc169f8aaef637ca2)) +* **use:** create `package.json` when calling `corepack use` on empty dir ([#350](https://github.com/aduh95/corepack/issues/350)) ([2950a8a](https://github.com/aduh95/corepack/commit/2950a8a30b64b4598abc354e45400e83d56e541b)) +* Windows malicious file analysis waiting problem ([#398](https://github.com/aduh95/corepack/issues/398)) ([295a1cd](https://github.com/aduh95/corepack/commit/295a1cdb9cbbbce8434e8d82b96eb63e57c46c1a)) + + +### Performance Improvements + +* load binaries in the same process ([#97](https://github.com/aduh95/corepack/issues/97)) ([5ff6e82](https://github.com/aduh95/corepack/commit/5ff6e82028e58448ba5ba986854b61ecdc69885b)) +* prefer `module.enableCompileCache` over `v8-compile-cache` ([#574](https://github.com/aduh95/corepack/issues/574)) ([cba6905](https://github.com/aduh95/corepack/commit/cba690575bd606faeee54bd512ccb8797d49055f)) + + +### Miscellaneous Chores + +* remove Node.js 19.x from the range of supported versions ([#375](https://github.com/aduh95/corepack/issues/375)) ([9a1cb38](https://github.com/aduh95/corepack/commit/9a1cb385bba9ade8e9fbf5517c2bdff60295f9ed)) +* update supported Node.js versions ([#258](https://github.com/aduh95/corepack/issues/258)) ([74f679d](https://github.com/aduh95/corepack/commit/74f679d8a72cc10a3720fc679b95e9bd086d95be)) +* update supported Node.js versions ([#309](https://github.com/aduh95/corepack/issues/309)) ([787e24d](https://github.com/aduh95/corepack/commit/787e24df609513702eafcd8c6a5f03544d7d45cc)) + ## [0.30.0](https://github.com/nodejs/corepack/compare/v0.29.4...v0.30.0) (2024-11-23) diff --git a/package.json b/package.json index cbd6218e2..1e5d6f16f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "corepack", - "version": "0.30.0", + "version": "0.31.0", "homepage": "https://github.com/nodejs/corepack#readme", "bugs": { "url": "https://github.com/nodejs/corepack/issues"