Skip to content

Commit

Permalink
fix #3902: update go 1.22.5 => 1.23.1
Browse files Browse the repository at this point in the history
  • Loading branch information
evanw committed Sep 21, 2024
1 parent 2de2f74 commit 11d3196
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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))
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 11d3196

Please sign in to comment.