Skip to content

v0.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Nov 03:44
· 25 commits to main since this release
55122e4

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.