Skip to content

Releases: xhd2015/xgo

Xgo v1.0.15

Choose a tag to compare

@xhd2015 xhd2015 released this 02 Apr 10:47

To install xgo v1.0.15:

# fresh install
curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bash

# or upgrade
xgo upgrade

Also update xgo/runtime:

go get github.com/xhd2015/xgo/runtime@latest

Release 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

Choose a tag to compare

@xhd2015 xhd2015 released this 02 Apr 10:11

To install xgo v1.0.14:

# fresh install
curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bash

# or upgrade
xgo upgrade

Also update xgo/runtime:

go get github.com/xhd2015/xgo/runtime@latest

Release summary:

  • fixes err mock

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

Xgo v1.0.13

Choose a tag to compare

@xhd2015 xhd2015 released this 02 Apr 09:43

To install xgo v1.0.13:

curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bash

Also update xgo/runtime:

go get github.com/xhd2015/xgo/runtime@latest

Release summary:

  • fixes type method patching

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

Xgo v1.0.12

Choose a tag to compare

@xhd2015 xhd2015 released this 02 Apr 04:20

To install xgo v1.0.12:

curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bash

Also update xgo/runtime:

go get github.com/xhd2015/xgo/runtime@latest

Release summary:

  • new mock.Patch API, addressing #17
  • inherit trap interceptors when starting new goroutine, addressing #18 (comment)

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

Xgo v1.0.11

Choose a tag to compare

@xhd2015 xhd2015 released this 30 Mar 05:00

To install xgo v1.0.11:

curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bash

Also update xgo/runtime:

go get github.com/xhd2015/xgo/runtime@latest

Release summary:

  • fix mocking closures with a if false guard, see #13

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

Xgo v1.0.10

Choose a tag to compare

@xhd2015 xhd2015 released this 29 Mar 15:35

To install xgo v1.0.10:

curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bash

Also update xgo/runtime:

go get github.com/xhd2015/xgo/runtime@latest

Release summary:

  • add support for mocking generic functions and methods
  • check xgo's version against xgo/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

Choose a tag to compare

@xhd2015 xhd2015 released this 29 Mar 15:11

To install xgo v1.0.9:

curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bash

Also update xgo/runtime:

go get github.com/xhd2015/xgo/runtime@latest

Release summary:

  • add support for mocking generic functions and methods
  • check xgo's version against xgo/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

Choose a tag to compare

@xhd2015 xhd2015 released this 28 Mar 16:44

To install xgo v1.0.8:

curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bash

Also update xgo/runtime:

go get github.com/xhd2015/xgo/runtime@latest

Release 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

Choose a tag to compare

@xhd2015 xhd2015 released this 26 Mar 15:52

To install xgo v1.0.7:

curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bash

Also update xgo/runtime:

go get github.com/xhd2015/xgo/runtime@latest

Release summary:

  • add support for mocking interface method,
  • add -trimpath flag 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

Choose a tag to compare

@xhd2015 xhd2015 released this 24 Mar 14:47

To install xgo v1.0.6:

curl -fsSL https://github.com/xhd2015/xgo/raw/master/install.sh | bash

Also update xgo/runtime:

go get github.com/xhd2015/xgo/runtime@latest

Release 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.