Skip to content

Releases: xhd2015/xgo

Xgo v1.0.45

Choose a tag to compare

@xhd2015 xhd2015 released this 10 Jul 10:49
dda3d72

Release summary:

  • allow filter trace args and results when collecting trace
  • update test-explorer

To install xgo v1.0.45:

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

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

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

What's Changed (Autogenerated)

  • test-explorer: read test.config.json when invoked from sub dir by @xhd2015 in #233
  • test-explorer: allow set args via test.config.json by @xhd2015 in #234
  • Allow bypass shadow by @xhd2015 in #236
  • doc: add description for test-explorer's test.config.json by @xhd2015 in #237
  • add --mock-rules option by @xhd2015 in #239
  • test explorer: fix run path on windows by @xhd2015 in #241
  • shadow: add support for windows by @xhd2015 in #242
  • add xgo_integration test by @xhd2015 in #243
  • allow ignore args and results when collecting trace by @xhd2015 in #246

Full Changelog: v1.0.44...v1.0.45

Xgo v1.0.44

Choose a tag to compare

@xhd2015 xhd2015 released this 05 Jul 09:36
7e2fe08

Release summary:

  • add xgo shadow command to integrate with IDEs without extra effort, see #229

To install xgo v1.0.44:

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

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

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

What's Changed (Autogenerated)

Full Changelog: v1.0.43...v1.0.44

Xgo v1.0.43

Choose a tag to compare

@xhd2015 xhd2015 released this 05 Jul 01:47
7afca25

Release summary:

  • fixed a bug related to exported method in stdlib, thanks to @shubham-dogra-s1, see #225
  • add --debug flag to easily launch a debug session

To install xgo v1.0.43:

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

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

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

What's Changed (Autogenerated)

Full Changelog: v1.0.42...v1.0.43

Xgo v1.0.42

Choose a tag to compare

@xhd2015 xhd2015 released this 25 Jun 04:05
990335b

Release summary:

  • fix trace interceptor cancelling ,see #222
  • test explorer: sort case by index, not name
  • update doc, adding gif and video reference

To install xgo v1.0.42:

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

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

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

What's Changed (Autogenerated)

Full Changelog: v1.0.41...v1.0.42

Xgo v1.0.41

Choose a tag to compare

@xhd2015 xhd2015 released this 23 Jun 06:55
e1e4daf

Release summary:

  • redesigned xgo e, user experience improved dramatically, see #213
  • enable headless mode via xgo e test, see #219
  • add xgo core version to invalidate build caches less frequently, see #217
  • fixed a bug related to mocking generic method, see #211, thanks to @hong-ke

To install xgo v1.0.41:

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

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

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

What's Changed (Autogenerated)

New Contributors

Full Changelog: v1.0.40...v1.0.41

v1.0.40

Choose a tag to compare

@xhd2015 xhd2015 released this 07 Jun 02:18
44923c7

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

Choose a tag to compare

@xhd2015 xhd2015 released this 02 Jun 08:34
4d63b2e

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

Choose a tag to compare

@xhd2015 xhd2015 released this 30 May 04:20
d939407

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

Choose a tag to compare

@xhd2015 xhd2015 released this 23 May 01:53

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

Choose a tag to compare

@xhd2015 xhd2015 released this 20 May 02:05

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.