Skip to content

Merge go1.19 branch to master #1269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 50 commits into from
Feb 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
a0b7135
Update Go version to 1.19.13 to begin work on Go 1.19 support.
nevkontakte Nov 12, 2023
c146af0
updated reflect and reflectlite
grantnelson-wf Nov 14, 2023
5090ba1
Merge pull request #1250 from Workiva/reflectUpdate
nevkontakte Nov 14, 2023
a76a603
Fixing a mistake found in reflect
grantnelson-wf Dec 4, 2023
528f1c8
Merge branch 'master' of github.com:gopherjs/gopherjs into reflectFix
grantnelson-wf Dec 4, 2023
0eb9c04
Merge pull request #1253 from Workiva/reflectFix
nevkontakte Dec 6, 2023
5edefc6
Update FuncKey and fix Http native
grantnelson-wf Dec 18, 2023
17263fa
Broke up parseAndAugment
grantnelson-wf Dec 18, 2023
6e1ec66
Extending Directives
grantnelson-wf Dec 18, 2023
9bcf242
Merge branch 'breakupAugment' of github.com:Workiva/gopherjs into add…
grantnelson-wf Dec 18, 2023
295da69
Merge branch 'extendDirectives' of github.com:Workiva/gopherjs into a…
grantnelson-wf Dec 18, 2023
27e1297
Adding purge directive
grantnelson-wf Dec 18, 2023
022eb64
Merge pull request #1255 from Workiva/updateFuncKey
nevkontakte Dec 19, 2023
f34e28b
Merge pull request #1256 from Workiva/breakupAugment
nevkontakte Dec 19, 2023
84774ae
Changed to use Inspect
grantnelson-wf Dec 19, 2023
b13f4d5
Merge branch 'go1.19' of github.com:gopherjs/gopherjs into addPurgeDi…
grantnelson-wf Dec 19, 2023
40bddb9
Merge branch 'extendDirectives' of github.com:Workiva/gopherjs into a…
grantnelson-wf Dec 19, 2023
7758c0d
Updated to use Inspect and srctesting
grantnelson-wf Dec 19, 2023
8ea6531
Merge pull request #1257 from Workiva/extendDirectives
nevkontakte Dec 21, 2023
bf0e797
Merge branch 'go1.19' of github.com:gopherjs/gopherjs into addPurgeDi…
grantnelson-wf Dec 29, 2023
38b4d3b
Merge pull request #1258 from Workiva/addPurgeDirective
nevkontakte Dec 29, 2023
e03bfea
Update compiler for go1.19
grantnelson-wf Jan 16, 2024
5f9eeb8
Fix Build Issue
grantnelson-wf Jan 16, 2024
a83c5fa
Updating natives for go1.19
grantnelson-wf Jan 16, 2024
cd17b90
Merge pull request #1261 from Workiva/updateCompiler19
nevkontakte Jan 19, 2024
5a98043
Updating documentation for build directives
grantnelson-wf Jan 19, 2024
1faba3b
Merge pull request #1260 from Workiva/fixBuildIssue
nevkontakte Jan 19, 2024
dea4768
Merge pull request #1262 from Workiva/updateNatives19
nevkontakte Jan 19, 2024
12a247d
Fix problem where import is named but source is augmented to only nee…
grantnelson-wf Jan 30, 2024
4b5b077
Fix chocolatey go version
grantnelson-wf Jan 30, 2024
d7abc77
Update known fails list of fixed bugs
grantnelson-wf Jan 30, 2024
95c01fa
Merge pull request #1263 from Workiva/go1.19BuildFix
nevkontakte Jan 30, 2024
91f1d44
Updated crypto natives
grantnelson-wf Jan 31, 2024
f5c911a
Fix natives for debug/pe
grantnelson-wf Jan 31, 2024
ff493e4
Update to go/token/position
grantnelson-wf Jan 31, 2024
cd055c9
Update hash/maphash
grantnelson-wf Jan 31, 2024
5437642
Update to reflect and reflectlite
grantnelson-wf Jan 31, 2024
8151b28
Update for fastrand
grantnelson-wf Jan 31, 2024
014360b
Updated net/netip
grantnelson-wf Jan 31, 2024
db5d7b3
Updating sync/atomic
grantnelson-wf Jan 31, 2024
710fdb7
Merge branch 'go1.19' of github.com:gopherjs/gopherjs into go1.19Nati…
grantnelson-wf Jan 31, 2024
a6b98dd
Update syscall/js
grantnelson-wf Jan 31, 2024
967ffcc
Fixed a copy/paste mistake
grantnelson-wf Jan 31, 2024
9e28c32
Merge pull request #1264 from Workiva/go1.19NativesUpdate
nevkontakte Jan 31, 2024
c08b7bf
Fixed chocolatey go version
grantnelson-wf Feb 13, 2024
02aea33
Limit augmentation and prune imports to natives that need it
grantnelson-wf Feb 13, 2024
c852920
Merge pull request #1266 from Workiva/forceChocolateyGoVersion
nevkontakte Feb 13, 2024
5d25518
Merge branch 'go1.19' of github.com:gopherjs/gopherjs into limitAugme…
grantnelson-wf Feb 13, 2024
a533e78
Merge pull request #1267 from Workiva/limitAugmentation
nevkontakte Feb 13, 2024
1011858
Update GopherJS version to 1.19.0-beta1 in perparation for release.
nevkontakte Feb 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

- uses: actions/setup-go@v3
with:
go-version: "1.18.10"
go-version: "1.19.13"

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/measure-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: '~1.18.10'
go-version: '~1.19.13'
- uses: gopherjs/output-size-action/measure@main
with:
name: jQuery TodoMVC
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ Nearly everything, including Goroutines ([compatibility documentation](https://g

### Installation and Usage

GopherJS [requires Go 1.18 or newer](https://github.com/gopherjs/gopherjs/blob/master/doc/compatibility.md#go-version-compatibility). If you need an older Go
GopherJS [requires Go 1.19 or newer](https://github.com/gopherjs/gopherjs/blob/master/doc/compatibility.md#go-version-compatibility). If you need an older Go
version, you can use an [older GopherJS release](https://github.com/gopherjs/gopherjs/releases).

Install GopherJS with `go install`:

```
go install github.com/gopherjs/gopherjs@v1.18.0-beta3 # Or replace 'v1.18.0-beta3' with another version.
go install github.com/gopherjs/gopherjs@v1.19.0-beta1 # Or replace 'v1.19.0-beta1' with another version.
```

If your local Go distribution as reported by `go version` is newer than Go 1.18, then you need to set the `GOPHERJS_GOROOT` environment variable to a directory that contains a Go 1.18 distribution. For example:
If your local Go distribution as reported by `go version` is newer than Go 1.19, then you need to set the `GOPHERJS_GOROOT` environment variable to a directory that contains a Go 1.19 distribution. For example:

```
go install golang.org/dl/go1.18.10@latest
go1.18.10 download
export GOPHERJS_GOROOT="$(go1.18.10 env GOROOT)" # Also add this line to your .profile or equivalent.
go install golang.org/dl/go1.19.13@latest
go1.19.13 download
export GOPHERJS_GOROOT="$(go1.19.13 env GOROOT)" # Also add this line to your .profile or equivalent.
```

Now you can use `gopherjs build [package]`, `gopherjs build [files]` or `gopherjs install [package]` which behave similar to the `go` tool. For `main` packages, these commands create a `.js` file and `.js.map` source map in the current directory or in `$GOPATH/bin`. The generated JavaScript file can be used as usual in a website. Use `gopherjs help [command]` to get a list of possible command line flags, e.g. for minification and automatically watching for changes.
Expand Down
Loading