Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Go1.20 update to master#1397

Merged
grantnelson-wf merged 21 commits intogopherjs:go1.20from
Workiva:go1.20update
Jan 6, 2026
Merged

Go1.20 update to master#1397
grantnelson-wf merged 21 commits intogopherjs:go1.20from
Workiva:go1.20update

Conversation

@grantnelson-wf
Copy link
Collaborator

Updating the go1.20 branch with master

nevkontakte and others added 20 commits May 9, 2025 21:43
The main change in this commit is an ability to use identifier name
mapping, which we use to show original function names in the source map.

This addresses the long-standing gopherjs#1085,
where GopherJS call stacks were somewhat difficult to interpret due to
function name mangling, especially in minified form. Now we emit an
additional source map hit with the original function name, which Node is
able to pick up.

While at it, I moved source map hinting logic into its own package with
tests and added some documentation on how it works. Now it should be
easy to extend this mechanism for even richer source maps if we want to.
The tests that were previously failing should work again with the new
function name source maps. There are only two caveats at this point:

 - For some reasons a function that's currently executing deferrals
   doesn't map to its original name.
 - Synthetic names for literal functions differ in format slightly from
   vanilla Go, which still breaks the test in net/http. The difference
   is minor enough it's not forth fixing though.
Fixing a problem with reserved words being used in labels
Update caching to use serialization of sources
Include original function names into GopherJS source maps.
Adding JS writer to source map filter
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.8.1 to 1.8.3.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](sirupsen/logrus@v1.8.1...v1.8.3)

---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
  dependency-version: 1.8.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
…github.com/sirupsen/logrus-1.8.3

Bump github.com/sirupsen/logrus from 1.8.1 to 1.8.3
@grantnelson-wf grantnelson-wf self-assigned this Jan 5, 2026
@grantnelson-wf grantnelson-wf marked this pull request as ready for review January 6, 2026 15:42
@grantnelson-wf grantnelson-wf merged commit 33de2a5 into gopherjs:go1.20 Jan 6, 2026
10 checks passed
@grantnelson-wf grantnelson-wf deleted the go1.20update branch January 6, 2026 17:09
@grantnelson-wf
Copy link
Collaborator Author

Thank you @flimzy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants