Skip to content

Releases: xhd2015/xgo

Xgo v1.0.22

10 Apr 10:38
Compare
Choose a tag to compare

Release summary:

  • make trace collector the highest priority to ensure everything is collected

To install xgo v1.0.22:

# update xgo
go install github.com/xhd2015/xgo/cmd/[email protected]

# update dependency
go get github.com/xhd2015/xgo/[email protected]

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

Xgo v1.0.21

10 Apr 07:01
Compare
Choose a tag to compare

Release summary:

  • add tls package

To install xgo v1.0.21:

# update xgo
go install github.com/xhd2015/xgo/cmd/[email protected]

# update dependency
go get github.com/xhd2015/xgo/[email protected]

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

Xgo v1.0.20

10 Apr 06:09
Compare
Choose a tag to compare

Release summary:

  • make trace generally available,
  • refactored interceptor internals,
  • fix variable mock outside xgo,
  • remove deprecated API.

To install xgo v1.0.20:

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

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

Xgo v1.0.19

08 Apr 07:53
Compare
Choose a tag to compare

Release summary:

  • support mocking variables,
  • support mocking constants.

See https://github.com/xhd2015/xgo/blob/master/runtime/mock/MOCK_VAR_CONST.md for more details.

To install xgo v1.0.19:

# install with go
go install github.com/xhd2015/xgo/cmd/xgo@latest

# install from binary
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

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

Xgo v1.0.18

06 Apr 16:13
Compare
Choose a tag to compare

To install xgo v1.0.18:

# install with go
go install github.com/xhd2015/xgo/cmd/xgo@latest

# install from binary
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:

  • optimize debug experience
  • reduce GOROOT copy time

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

Xgo v1.0.17

03 Apr 11:09
Compare
Choose a tag to compare

To install xgo v1.0.17:

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

  • make xgo/runtime build with go1.14

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

Xgo v1.0.16

03 Apr 08:42
Compare
Choose a tag to compare

To install xgo v1.0.16:

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

  • support mocking time.Sleep, ioutil.ReadAll
  • add trap.Direct to call the original function directly, without any mock

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

Xgo v1.0.15

02 Apr 10:47
Compare
Choose a tag to compare

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

02 Apr 10:11
Compare
Choose a tag to compare

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

02 Apr 09:43
Compare
Choose a tag to compare

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.