Skip to content

Releases: xhd2015/xgo

v1.0.40

07 Jun 02:18
44923c7
Compare
Choose a tag to compare

Release summary:

  • make xgo e opens test-explorer, this simplifies xgo's usage for daily work
  • fixed a bug that prevent user from using sonic with xgo, see #202 and #194, thanks to @GaoHaHa-IronMan for reporting the problem
  • make test-explorer listen on public IP address via --bind flag, see #163, thansk to @tiezhuli001 , @ccoVeille
  • make cmd debug output quoted so user can copy paste and execute it in terminal directly

To install xgo v1.0.40:

# update xgo
go install github.com/xhd2015/xgo/cmd/xgo@v1.0.40

# update dependency
go get github.com/xhd2015/xgo/runtime@v1.0.40

For documentation, see https://github.com/xhd2015/xgo.

What's Changed (Autogenerated)

Full Changelog: v1.0.39...v1.0.40

Xgo v1.0.39

02 Jun 08:34
4d63b2e
Compare
Choose a tag to compare

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 calling recover(),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

30 May 04:20
d939407
Compare
Choose a tag to compare

Release summary:

  • add debug button to xgo tool test-explorer, see #152
  • make --trap-stdlib the default when running xgo 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: image

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)

Full Changelog: v1.0.37...v1.0.38

Xgo v1.0.37

23 May 01:53
Compare
Choose a tag to compare

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:
image

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

20 May 02:05
Compare
Choose a tag to compare

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

16 May 02:12
Compare
Choose a tag to compare

Release summary:

  • fix xgo tool trace #110

To install xgo v1.0.35:

# update xgo
go install github.com/xhd2015/xgo/cmd/xgo@v1.0.35

# update dependency
go get github.com/xhd2015/xgo/runtime@v1.0.35

For documentation, see https://github.com/xhd2015/xgo.

v1.0.34

14 May 13:58
Compare
Choose a tag to compare

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

14 May 10:08
Compare
Choose a tag to compare

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

14 May 08:39
Compare
Choose a tag to compare

Release summary:

  • add xgo tool coverage serve to serve incremental coverage, see #106
    • here is q quick look output by xgo tool coverage serve cover.out:
      image

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

09 May 02:59
Compare
Choose a tag to compare

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.