From 11d3196156b12b11a3dc68f9d00a4a9982b907c0 Mon Sep 17 00:00:00 2001 From: Evan Wallace Date: Tue, 17 Sep 2024 08:20:18 -0400 Subject: [PATCH] fix #3902: update go 1.22.5 => 1.23.1 --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/validate.yml | 2 +- CHANGELOG.md | 19 +++++++++++++++++++ Makefile | 2 +- 4 files changed, 25 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a43a21e69c..527f0840c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: 1.22.5 + go-version: 1.23.1 id: go - name: Setup Node.js environment @@ -50,7 +50,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: 1.22.5 + go-version: 1.23.1 id: go - name: Setup Node.js environment @@ -82,7 +82,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: 1.22.5 + go-version: 1.23.1 id: go - name: Setup Node.js environment @@ -274,7 +274,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: 1.22.5 + go-version: 1.23.1 id: go # Make sure esbuild works with old versions of Deno. Note: It's important diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index d0438bd5fa..13afe9e734 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: 1.22.5 + go-version: 1.23.1 id: go - name: Validation checks diff --git a/CHANGELOG.md b/CHANGELOG.md index d004b5dfee..1d86d5d48c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## Unreleased + +* Drop support for older platforms ([#3902](https://github.com/evanw/esbuild/pull/3902)) + + This release drops support for the following operating system: + + * macOS 10.15 Catalina + + This is because the Go programming language dropped support for this operating system version in Go 1.23, and this release updates esbuild from Go 1.22 to Go 1.23. Go 1.23 now requires macOS 11 Big Sur or later. + + Note that this only affects the binary esbuild executables that are published to the esbuild npm package. It's still possible to compile esbuild's source code for these older operating systems. If you need to, you can compile esbuild for yourself using an older version of the Go compiler (before Go version 1.23). That might look something like this: + + ``` + git clone https://github.com/evanw/esbuild.git + cd esbuild + go build ./cmd/esbuild + ./esbuild --version + ``` + ## 0.23.1 * Allow using the `node:` import prefix with `es*` targets ([#3821](https://github.com/evanw/esbuild/issues/3821)) diff --git a/Makefile b/Makefile index 7647328651..672053ca06 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ test-all: @$(MAKE) --no-print-directory -j6 test-common test-deno ts-type-tests test-wasm-node test-wasm-browser lib-typecheck test-yarnpnp check-go-version: - @go version | grep ' go1\.22\.5 ' || (echo 'Please install Go version 1.22.5' && false) + @go version | grep ' go1\.23\.1 ' || (echo 'Please install Go version 1.23.1' && false) # Note: Don't add "-race" here by default. The Go race detector is currently # only supported on the following configurations: