Releases: xhd2015/xgo
Xgo v1.0.39
Release summary:
- Address the slow building performance issue on quite large projects, now can filter out functions and variables via the new
--options-from-file
flag, to reduce build time significantly, see #174 - Fixed a bunch of bugs related const name trapping, now hugo passes tests with xgo, and kubernetes can fully compile see #183, #182, #176, #172
- Improving DX, adding a tool named go-tool-debug-compile, which makes debugging with go compiler a fun, see in #178
- Optimized the implementation of
--trap-stdlib
, removing the intermediate function introduced when rewritting functions, avoid interfering with functions callingrecover()
,see #171
To install xgo
v1.0.39:
# update xgo
go install github.com/xhd2015/xgo/cmd/xgo@v1.0.39
# update dependency
go get github.com/xhd2015/xgo/runtime@v1.0.39
For documentation, see https://github.com/xhd2015/xgo.
What's Changed (Autogenerated)
- reduce the need to declare new function when --trap-stdlib by @xhd2015 in #171
- bypass type resolution with const operations by @xhd2015 in #173
- add options --options-from-file and cmd/debug-compile by @xhd2015 in #175
- add go-tool-debug-compile --help by @xhd2015 in #178
- fix var index addr trap by @xhd2015 in #179
- fix trap untyped unknown const expr by @xhd2015 in #180
- fix const of selector trap by @xhd2015 in #181
- fix const name collision by @xhd2015 in #184
- remove stale note about recover in runtime/mock/stdlib.md by @xhd2015 in #185
Full Changelog: v1.0.38...v1.0.39
Xgo v1.0.38
Release summary:
- add debug button to
xgo tool test-explorer
, see #152 - make
--trap-stdlib
the default when runningxgo test
, now most stdlib functions can be mocked, see #144 - minor: use local directory as temporary directory when building release
A quick overview of the debugging functionality:
To install xgo
v1.0.38:
# update xgo
go install github.com/xhd2015/xgo/cmd/xgo@v1.0.38
# update dependency
go get github.com/xhd2015/xgo/runtime@v1.0.38
For documentation, see https://github.com/xhd2015/xgo.
What's Changed (Autogenerated)
- add .github/workflows/nightly-test.yml by @xhd2015 in #141
- fix consts type recognition with exprs by @xhd2015 in #145
- test-explorer: add background-color by @xhd2015 in #151
- test-explorer: add debug button by @xhd2015 in #152
- fix test -args processing by @xhd2015 in #155
- test-explorer: support per-test flags by @xhd2015 in #158
- test-explorer: make run streaming output by @xhd2015 in #160
- make --strace and --trap-stdlib persistent by @xhd2015 in #162
- skip trap recover call by @xhd2015 in #165
- Use a local directory to prevent the issue of cross-device links by @tiezhuli001 in #167
- xgo test enables --trap-stdlib by default by @xhd2015 in #166
Full Changelog: v1.0.37...v1.0.38
Xgo v1.0.37
Release summary:
- add
xgo tool test-explorer
, see #99 - fixes a linux issue when go is installed via package manager, see #134
- enhance help messages for xgo tools, see #138
A quick overview of the new test-explorer:
To install xgo
v1.0.37:
# update xgo
go install github.com/xhd2015/xgo/cmd/xgo@v1.0.37
# update dependency
go get github.com/xhd2015/xgo/runtime@v1.0.37
For documentation, see https://github.com/xhd2015/xgo.
Xgo v1.0.36
Release summary:
- add
--trap-stdlib
to allow mocking most stdlib functions, see #117 - update default trace shrink size from 4K to 16K, see #114
- update github workflows to add tests on windows, and merge check, see #122
To install xgo
v1.0.36:
# update xgo
go install github.com/xhd2015/xgo/cmd/xgo@v1.0.36
# update dependency
go get github.com/xhd2015/xgo/runtime@v1.0.36
For documentation, see https://github.com/xhd2015/xgo.
v1.0.35
v1.0.34
Release summary:
- fix failure on windows, see #109
To install xgo
v1.0.34:
# update xgo
go install github.com/xhd2015/xgo/cmd/xgo@v1.0.34
# update dependency
go get github.com/xhd2015/xgo/runtime@v1.0.34
For documentation, see https://github.com/xhd2015/xgo.
Xgo v1.0.33
Release summary:
- fix xgo build under go1.20
To install xgo
v1.0.33:
# update xgo
go install github.com/xhd2015/xgo/cmd/xgo@v1.0.33
# update dependency
go get github.com/xhd2015/xgo/runtime@v1.0.33
For documentation, see https://github.com/xhd2015/xgo.
Xgo v1.0.32
Release summary:
- add
xgo tool coverage serve
to serve incremental coverage, see #106
To install xgo
v1.0.32:
# update xgo
go install github.com/xhd2015/xgo/cmd/xgo@v1.0.32
# update dependency
go get github.com/xhd2015/xgo/runtime@v1.0.32
For documentation, see https://github.com/xhd2015/xgo.
Xgo v1.0.31
Release summary:
- add
xgo tool coverage merge
to merge coverage profiles of multiple runnings
To install xgo
v1.0.31:
# update xgo
go install github.com/xhd2015/xgo/cmd/xgo@v1.0.31
# update dependency
go get github.com/xhd2015/xgo/runtime@v1.0.31
For documentation, see https://github.com/xhd2015/xgo.
Xgo v1.0.30
Release summary:
- avoid locking on system stack, addressing #96
To install xgo
v1.0.30:
# update xgo
go install github.com/xhd2015/xgo/cmd/xgo@v1.0.30
# update dependency
go get github.com/xhd2015/xgo/runtime@v1.0.30
For documentation, see https://github.com/xhd2015/xgo.