Skip to content

Commit 11d3196

Browse files
committed
fix #3902: update go 1.22.5 => 1.23.1
1 parent 2de2f74 commit 11d3196

File tree

4 files changed

+25
-6
lines changed

4 files changed

+25
-6
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Go 1.x
2121
uses: actions/setup-go@v3
2222
with:
23-
go-version: 1.22.5
23+
go-version: 1.23.1
2424
id: go
2525

2626
- name: Setup Node.js environment
@@ -50,7 +50,7 @@ jobs:
5050
- name: Set up Go 1.x
5151
uses: actions/setup-go@v3
5252
with:
53-
go-version: 1.22.5
53+
go-version: 1.23.1
5454
id: go
5555

5656
- name: Setup Node.js environment
@@ -82,7 +82,7 @@ jobs:
8282
- name: Set up Go 1.x
8383
uses: actions/setup-go@v3
8484
with:
85-
go-version: 1.22.5
85+
go-version: 1.23.1
8686
id: go
8787

8888
- name: Setup Node.js environment
@@ -274,7 +274,7 @@ jobs:
274274
- name: Set up Go 1.x
275275
uses: actions/setup-go@v3
276276
with:
277-
go-version: 1.22.5
277+
go-version: 1.23.1
278278
id: go
279279

280280
# Make sure esbuild works with old versions of Deno. Note: It's important

.github/workflows/validate.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Go 1.x
1919
uses: actions/setup-go@v3
2020
with:
21-
go-version: 1.22.5
21+
go-version: 1.23.1
2222
id: go
2323

2424
- name: Validation checks

CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
* Drop support for older platforms ([#3902](https://github.com/evanw/esbuild/pull/3902))
6+
7+
This release drops support for the following operating system:
8+
9+
* macOS 10.15 Catalina
10+
11+
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.
12+
13+
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:
14+
15+
```
16+
git clone https://github.com/evanw/esbuild.git
17+
cd esbuild
18+
go build ./cmd/esbuild
19+
./esbuild --version
20+
```
21+
322
## 0.23.1
423
524
* Allow using the `node:` import prefix with `es*` targets ([#3821](https://github.com/evanw/esbuild/issues/3821))

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test-all:
2020
@$(MAKE) --no-print-directory -j6 test-common test-deno ts-type-tests test-wasm-node test-wasm-browser lib-typecheck test-yarnpnp
2121

2222
check-go-version:
23-
@go version | grep ' go1\.22\.5 ' || (echo 'Please install Go version 1.22.5' && false)
23+
@go version | grep ' go1\.23\.1 ' || (echo 'Please install Go version 1.23.1' && false)
2424

2525
# Note: Don't add "-race" here by default. The Go race detector is currently
2626
# only supported on the following configurations:

0 commit comments

Comments
 (0)