Skip to content

Releases: knqyf263/go-plugin

v0.8.0

25 Jun 23:46
b72bd22
Compare
Choose a tag to compare

go-plugin v0.8.0 improves safety and performance of host functions that unmarshal a result from the guest. This change centers around freeing memory and was introduced by @lburgazzoli and optimized by @dmvolod. Thanks very much for keeping the project performing.

This also updates dependencies. Notably now that TinyGo 0.28.1 is out, we no longer test 0.25.0. Regardless, TinyGo only supports the most recent version.

v0.7.0

29 Mar 04:41
58c988b
Compare
Choose a tag to compare

Changelog

  • 58c988b deps: updates wazero to 1.0.1 (#44)
  • f89dce6 Generate host functions for using as exportable library or SDK (#35)
  • 3dba01c deps: updates wazero to 1.0.0 (#43)
  • d0f68a6 Able to specify plugin version on local build (#42)

v0.6.1

17 Mar 11:40
3c6317f
Compare
Choose a tag to compare

Changelog

  • 3c6317f Fix protoc-gen-go-plugin generated version in release (#40)

v0.6.0

17 Mar 07:26
adf8f78
Compare
Choose a tag to compare

go-plugin v0.6.0 notably generates configuration options to modify the wazero Runtime and ModuleConfig, as well returns errors from plugin functions. Thanks very much to @dmvolod for this work and other supporting changes!

v0.5.0

18 Jan 13:50
e0c3a93
Compare
Choose a tag to compare

Changelog

  • e0c3a93 deps: updates wazero to 1.0.0-pre.7 (#18)

v0.4.0

01 Dec 23:32
f7d9444
Compare
Choose a tag to compare

v0.4.0 fixes a bug where a plugin returned no result when it should have. Thanks @anxuanzi for the investigation and @mathetake for the fix. This also updates to the latest wazero 1.0.0-pre.4 release thanks to @codefromthecrypt. You should re-generate your source to take advantage of these improvements.

v0.3.0

21 Nov 03:44
55122e4
Compare
Choose a tag to compare

go-plugin supports TinyGo 0.26.0 and also adds the ability to close a plugin.

Thanks to @anxuanzi for noticing the problem with TinyGo 0.26.0 and @mathetake for fixing it.
You do not need to do anything except upgrade and re-generate your source with protoc.

You should now defer closing a plugin after creating one. For example:

p, err := greeting.NewGreeterPlugin(ctx, greeting.GreeterPluginOption{})
if err != nil {...}
defer p.Close(ctx) // <-- here

Thanks to @codefromthecrypt and @mathetake for implementing Close.

v0.2.0

05 Nov 09:47
708a56d
Compare
Choose a tag to compare

Changelog

  • 708a56d Merge pull request #6 from codefromthecrypt/reflection-free
  • 5ac6117 Changes generator to not use reflection for host functions
  • 145881b dep: updates wazero to 1.0.0-pre.3 (#5)
  • 522c85e dep: updates wazero to the latest (#3)
  • a375473 Merge pull request #1 from mathetake/wazerobeta
  • 431d064 Update wazero to the latest

v0.1.0

29 Aug 12:15
Compare
Choose a tag to compare

Changelog