Skip to content

Releases: hashicorp/go-plugin

v1.6.0

14 Nov 12:50
v1.6.0
586d14f
Compare
Choose a tag to compare

CHANGES:

  • plugin: Plugins written in other languages can optionally start to advertise whether they support gRPC broker multiplexing.
    If the environment variable PLUGIN_MULTIPLEX_GRPC is set, it is safe to include a seventh field containing a boolean
    value in the |-separated protocol negotiation line.

ENHANCEMENTS:

  • Support muxing gRPC broker connections over a single listener [GH-288]
  • client: Configurable buffer size for reading plugin log lines [GH-265]
  • Use buf for proto generation [GH-286]
  • deps: bump golang.org/x/net to v0.17.0 [GH-285]
  • deps: bump golang.org/x/sys to v0.13.0 [GH-285]
  • deps: bump golang.org/x/text to v0.13.0 [GH-285]

v1.5.2

22 Sep 10:32
v1.5.2
303d84f
Compare
Choose a tag to compare

ENHANCEMENTS:

client: New UnixSocketConfig.TempDir option allows setting the directory to use when creating plugin-specific Unix socket directories [GH-282]

v1.5.1

22 Sep 10:31
v1.5.1
2caaccb
Compare
Choose a tag to compare

BUGS:

  • server: PLUGIN_UNIX_SOCKET_DIR is consistently used for gRPC broker sockets as well as the initial socket [GH-277]

ENHANCEMENTS:

  • client: New UnixSocketConfig option in ClientConfig to support making the client's Unix sockets group-writable [GH-277]

v1.5.0

29 Aug 21:26
c1fefa8
Compare
Choose a tag to compare

ENHANCEMENTS

  • client: New runner.Runner interface to support clients providing custom plugin command runner implementations [GH-270]
    • Accessible via new ClientConfig field RunnerFunc, which is mutually exclusive with Cmd and Reattach
    • Reattaching support via ReattachConfig field ReattachFunc
  • client: New ClientConfig field SkipHostEnv allows omitting the client process' own environment variables from the plugin command's environment [GH-270]
  • client: Add ID() method to Client for retrieving the pid or other unique ID of a running plugin [GH-272]
  • server: Support setting the directory to create Unix sockets in with the env var PLUGIN_UNIX_SOCKET_DIR [GH-270]
  • server: Support setting group write permission and a custom group name or gid owner with the env var PLUGIN_UNIX_SOCKET_GROUP [GH-270]

v1.4.11-rc1

11 Aug 23:33
c578839
Compare
Choose a tag to compare
v1.4.11-rc1 Pre-release
Pre-release

ENHANCEMENTS:

  • deps: bump protoreflect to v1.15.1 GH-264

v1.4.10

02 Jun 16:26
a88a423
Compare
Choose a tag to compare

BUG FIXES:

  • additional notes: ensure to close files GH-241]

ENHANCEMENTS:

  • deps: Remove direct dependency on golang.org/x/net GH-240]

v1.4.9

02 Mar 17:12
a4df04d
Compare
Choose a tag to compare

ENHANCEMENTS:

  • client: Remove log warning introduced in 1.4.5 when SecureConfig is nil. [GH-238]

v1.4.8

07 Dec 19:51
5a212b5
Compare
Choose a tag to compare

BUG FIXES:

v1.4.7

06 Dec 22:14
e8d389f
Compare
Choose a tag to compare

ENHANCEMENTS:

  • More detailed error message on plugin start failure: [GH-223]

v1.4.6

08 Nov 18:56
b60690f
Compare
Choose a tag to compare

BUG FIXES:

  • server: Prevent gRPC broker goroutine leak when using GRPCServer type GracefulStop() or Stop() methods [GH-220]