Releases: xhd2015/xgo
Release list
Xgo v1.0.15
To install xgo v1.0.15:
# fresh install
curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bash
# or upgrade
xgo upgradeAlso update xgo/runtime:
go get github.com/xhd2015/xgo/runtime@latestRelease summary:
- fix ctx passing while mocking
- skip trap on system stack, which does not allow defer
For documentation, see https://github.com/xhd2015/xgo.
Xgo v1.0.14
To install xgo v1.0.14:
# fresh install
curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bash
# or upgrade
xgo upgradeAlso update xgo/runtime:
go get github.com/xhd2015/xgo/runtime@latestRelease summary:
- fixes err mock
For documentation, see https://github.com/xhd2015/xgo.
Xgo v1.0.13
To install xgo v1.0.13:
curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bashAlso update xgo/runtime:
go get github.com/xhd2015/xgo/runtime@latestRelease summary:
- fixes type method patching
For documentation, see https://github.com/xhd2015/xgo.
Xgo v1.0.12
To install xgo v1.0.12:
curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bashAlso update xgo/runtime:
go get github.com/xhd2015/xgo/runtime@latestRelease summary:
- new
mock.PatchAPI, addressing #17 - inherit trap interceptors when starting new goroutine, addressing #18 (comment)
For documentation, see https://github.com/xhd2015/xgo.
Xgo v1.0.11
To install xgo v1.0.11:
curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bashAlso update xgo/runtime:
go get github.com/xhd2015/xgo/runtime@latestRelease summary:
- fix mocking closures with a
if falseguard, see #13
For documentation, see https://github.com/xhd2015/xgo.
Xgo v1.0.10
To install xgo v1.0.10:
curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bashAlso update xgo/runtime:
go get github.com/xhd2015/xgo/runtime@latestRelease summary:
- add support for mocking generic functions and methods
- check
xgo's version againstxgo/runtime's version to see if an upgrade tip needs to be issued - fix an urgent build issue
For documentation, see https://github.com/xhd2015/xgo.
Xgo v1.0.9
To install xgo v1.0.9:
curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bashAlso update xgo/runtime:
go get github.com/xhd2015/xgo/runtime@latestRelease summary:
- add support for mocking generic functions and methods
- check
xgo's version againstxgo/runtime's version to see if an upgrade tip needs to be issued
For documentation, see https://github.com/xhd2015/xgo.
Xgo v1.0.8
To install xgo v1.0.8:
curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bashAlso update xgo/runtime:
go get github.com/xhd2015/xgo/runtime@latestRelease summary:
- add support for mocking stdlib functions,
- add support for mocking closures,
- add support for mocking unexported functions and methods
- add README_zh_cn.md for CN users
For documentation, see https://github.com/xhd2015/xgo.
Xgo v1.0.7
To install xgo v1.0.7:
curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bashAlso update xgo/runtime:
go get github.com/xhd2015/xgo/runtime@latestRelease summary:
- add support for mocking interface method,
- add
-trimpathflag when building release, - update README.md to add API and comparing with go-monkey
For documentation, see https://github.com/xhd2015/xgo.
Xgo v1.0.6
To install xgo v1.0.6:
curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bashAlso update xgo/runtime:
go get github.com/xhd2015/xgo/runtime@latestRelease summary:
- add binary suffix with ".exe" on windows,
- disable optimization on windows when IR rewrite enabled(i.e.
gcflags=-N, NOTE: this workaround is windows-only) - passes tests on windows with go1.22.1
For documentation, see https://github.com/xhd2015/xgo.