diff --git a/.changeset/clever-seals-begin.md b/.changeset/clever-seals-begin.md deleted file mode 100644 index c94a4fb014e2..000000000000 --- a/.changeset/clever-seals-begin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -chore: Bump Miniflare v2 in Wrangler v2 diff --git a/.github/workflows/create-pullrequest-prerelease.yml b/.github/workflows/create-pullrequest-prerelease.yml deleted file mode 100644 index 7e7175bb7fe8..000000000000 --- a/.github/workflows/create-pullrequest-prerelease.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: Create Pull Request Prerelease - -on: pull_request - -jobs: - build: - if: ${{ github.repository_owner == 'cloudflare' }} - name: Build & Publish a Prerelease to the Adhoc Registry - runs-on: ubuntu-latest - - steps: - - name: Checkout Repo - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Use Node.js 16.13 - uses: actions/setup-node@v3 - with: - node-version: 16.13 - cache: "npm" # cache ~/.npm in case 'npm ci' needs to run - - - name: Install workerd Dependencies - if: ${{ runner.os == 'Linux' }} - run: | - export DEBIAN_FRONTEND=noninteractive - sudo apt-get update - sudo apt-get install -y libc++1 - - - name: Install NPM Dependencies - run: npm ci - - - name: Modify package.json version - run: node .github/version-script.js - - - name: Build - run: npm run build - env: - NODE_ENV: "production" - ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }} - ALGOLIA_PUBLIC_KEY: ${{ secrets.ALGOLIA_PUBLIC_KEY }} - - - name: Pack wrangler - run: npm pack - working-directory: packages/wrangler - - - name: Pack @cloudflare/pages-shared - run: npm pack - working-directory: packages/pages-shared - - - name: Upload packaged wrangler artifact - uses: actions/upload-artifact@v2 - with: - name: npm-package-wrangler-${{ github.event.number }} # encode the PR number into the artifact name - path: packages/wrangler/wrangler-*.tgz - - - name: Upload packaged @cloudflare/pages-shared artifact - uses: actions/upload-artifact@v2 - with: - name: npm-package-cloudflare-pages-shared-${{ github.event.number }} # encode the PR number into the artifact name - path: packages/pages-shared/cloudflare-pages-shared-*.tgz diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 26921b30b842..be536c6fe3d9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,10 @@ jobs: node-version: 16.13 cache: "npm" # cache ~/.npm in case 'npm ci' needs to run + - name: Fix node-gyp + if: runner.os == 'macOS' + run: brew install python-setuptools + - name: Install workerd Dependencies if: ${{ runner.os == 'Linux' }} run: | diff --git a/.github/workflows/prereleases.yml b/.github/workflows/prereleases.yml index 68bf137b54dc..bd383d15cbcf 100644 --- a/.github/workflows/prereleases.yml +++ b/.github/workflows/prereleases.yml @@ -56,5 +56,5 @@ jobs: working-directory: packages/wrangler - name: Get Package Version - run: echo "WRANGLER_VERSION=$(npm view wrangler@beta version)" >> $GITHUB_ENV + run: echo "WRANGLER_VERSION=$(npm view wrangler@legacy-beta version)" >> $GITHUB_ENV working-directory: packages/wrangler diff --git a/.github/workflows/test-old-node-error.yml b/.github/workflows/test-old-node-error.yml index 91dd7d3dd940..1202dd6ec2b4 100644 --- a/.github/workflows/test-old-node-error.yml +++ b/.github/workflows/test-old-node-error.yml @@ -1,22 +1,26 @@ name: Test old Node.js version -on: pull_request +on: + push: + branches: + - changeset-release/main jobs: check: name: "Checks" - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - runs-on: ${{ matrix.os }} + timeout-minutes: 10 + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Use Node.js v10 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 10.24.1 diff --git a/fixtures/worker-ts/package.json b/fixtures/worker-ts/package.json index 2cd6295a7649..30aa1ef4021e 100644 --- a/fixtures/worker-ts/package.json +++ b/fixtures/worker-ts/package.json @@ -8,6 +8,6 @@ }, "devDependencies": { "@cloudflare/workers-types": "^4.20230419.0", - "wrangler": "2.21.1" + "wrangler": "2.21.2" } } diff --git a/package-lock.json b/package-lock.json index ccfb4df9d0c7..cb43de2719fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -406,7 +406,7 @@ "version": "0.0.0", "devDependencies": { "@cloudflare/workers-types": "^4.20230419.0", - "wrangler": "2.21.1" + "wrangler": "2.21.2" } }, "fixtures/worker-ts/node_modules/@cloudflare/workers-types": { @@ -7673,9 +7673,9 @@ "dev": true }, "node_modules/@popperjs/core": { - "version": "2.11.6", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz", - "integrity": "sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==", + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", "funding": { "type": "opencollective", "url": "https://opencollective.com/popperjs" @@ -45609,7 +45609,7 @@ "dev": true }, "packages/wrangler": { - "version": "2.21.1", + "version": "2.21.2", "license": "MIT OR Apache-2.0", "dependencies": { "@cloudflare/kv-asset-handler": "^0.2.0", @@ -61987,9 +61987,9 @@ } }, "@popperjs/core": { - "version": "2.11.6", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz", - "integrity": "sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==" + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==" }, "@remix-run/dev": { "version": "1.8.2", @@ -93828,7 +93828,7 @@ "version": "file:fixtures/worker-ts", "requires": { "@cloudflare/workers-types": "^4.20230419.0", - "wrangler": "2.21.1" + "wrangler": "2.21.2" }, "dependencies": { "@cloudflare/workers-types": { diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index d7c2721ad78b..085f4b075960 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,11 @@ # wrangler +## 2.21.2 + +### Patch Changes + +- [#6915](https://github.com/cloudflare/workers-sdk/pull/6915) [`e9a45766c`](https://github.com/cloudflare/workers-sdk/commit/e9a45766c60422d168b50b0c4ab81fd58ef31987) Thanks [@penalosa](https://github.com/penalosa)! - chore: Bump Miniflare v2 in Wrangler v2 + ## 2.21.1 ### Patch Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 4982f69eaa3c..2e030475e2ee 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "2.21.1", + "version": "2.21.2", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",