github.com/hashicorp/go-plugin@v1.6.0/CHANGELOG.md (about) 1 ## v1.6.0 2 3 CHANGES: 4 5 * plugin: Plugins written in other languages can optionally start to advertise whether they support gRPC broker multiplexing. 6 If the environment variable `PLUGIN_MULTIPLEX_GRPC` is set, it is safe to include a seventh field containing a boolean 7 value in the `|`-separated protocol negotiation line. 8 9 ENHANCEMENTS: 10 11 * Support muxing gRPC broker connections over a single listener [[GH-288](https://github.com/hashicorp/go-plugin/pull/288)] 12 * client: Configurable buffer size for reading plugin log lines [[GH-265](https://github.com/hashicorp/go-plugin/pull/265)] 13 * Use `buf` for proto generation [[GH-286](https://github.com/hashicorp/go-plugin/pull/286)] 14 * deps: bump golang.org/x/net to v0.17.0 [[GH-285](https://github.com/hashicorp/go-plugin/pull/285)] 15 * deps: bump golang.org/x/sys to v0.13.0 [[GH-285](https://github.com/hashicorp/go-plugin/pull/285)] 16 * deps: bump golang.org/x/text to v0.13.0 [[GH-285](https://github.com/hashicorp/go-plugin/pull/285)] 17 18 ## v1.5.2 19 20 ENHANCEMENTS: 21 22 client: New `UnixSocketConfig.TempDir` option allows setting the directory to use when creating plugin-specific Unix socket directories [[GH-282](https://github.com/hashicorp/go-plugin/pull/282)] 23 24 ## v1.5.1 25 26 BUGS: 27 28 * server: `PLUGIN_UNIX_SOCKET_DIR` is consistently used for gRPC broker sockets as well as the initial socket [[GH-277](https://github.com/hashicorp/go-plugin/pull/277)] 29 30 ENHANCEMENTS: 31 32 * client: New `UnixSocketConfig` option in `ClientConfig` to support making the client's Unix sockets group-writable [[GH-277](https://github.com/hashicorp/go-plugin/pull/277)] 33 34 ## v1.5.0 35 36 ENHANCEMENTS: 37 38 * client: New `runner.Runner` interface to support clients providing custom plugin command runner implementations [[GH-270](https://github.com/hashicorp/go-plugin/pull/270)] 39 * Accessible via new `ClientConfig` field `RunnerFunc`, which is mutually exclusive with `Cmd` and `Reattach` 40 * Reattaching support via `ReattachConfig` field `ReattachFunc` 41 * client: New `ClientConfig` field `SkipHostEnv` allows omitting the client process' own environment variables from the plugin command's environment [[GH-270](https://github.com/hashicorp/go-plugin/pull/270)] 42 * client: Add `ID()` method to `Client` for retrieving the pid or other unique ID of a running plugin [[GH-272](https://github.com/hashicorp/go-plugin/pull/272)] 43 * server: Support setting the directory to create Unix sockets in with the env var `PLUGIN_UNIX_SOCKET_DIR` [[GH-270](https://github.com/hashicorp/go-plugin/pull/270)] 44 * server: Support setting group write permission and a custom group name or gid owner with the env var `PLUGIN_UNIX_SOCKET_GROUP` [[GH-270](https://github.com/hashicorp/go-plugin/pull/270)] 45 46 ## v1.4.11-rc1 47 48 ENHANCEMENTS: 49 50 * deps: bump protoreflect to v1.15.1 [[GH-264](https://github.com/hashicorp/go-plugin/pull/264)] 51 52 ## v1.4.10 53 54 BUG FIXES: 55 56 * additional notes: ensure to close files [[GH-241](https://github.com/hashicorp/go-plugin/pull/241)] 57 58 ENHANCEMENTS: 59 60 * deps: Remove direct dependency on golang.org/x/net [[GH-240](https://github.com/hashicorp/go-plugin/pull/240)] 61 62 ## v1.4.9 63 64 ENHANCEMENTS: 65 66 * client: Remove log warning introduced in 1.4.5 when SecureConfig is nil. [[GH-238](https://github.com/hashicorp/go-plugin/pull/238)] 67 68 ## v1.4.8 69 70 BUG FIXES: 71 72 * Fix windows build: [[GH-227](https://github.com/hashicorp/go-plugin/pull/227)] 73 74 ## v1.4.7 75 76 ENHANCEMENTS: 77 78 * More detailed error message on plugin start failure: [[GH-223](https://github.com/hashicorp/go-plugin/pull/223)] 79 80 ## v1.4.6 81 82 BUG FIXES: 83 84 * server: Prevent gRPC broker goroutine leak when using `GRPCServer` type `GracefulStop()` or `Stop()` methods [[GH-220](https://github.com/hashicorp/go-plugin/pull/220)] 85 86 ## v1.4.5 87 88 ENHANCEMENTS: 89 90 * client: log warning when SecureConfig is nil [[GH-207](https://github.com/hashicorp/go-plugin/pull/207)] 91 92 93 ## v1.4.4 94 95 ENHANCEMENTS: 96 97 * client: increase level of plugin exit logs [[GH-195](https://github.com/hashicorp/go-plugin/pull/195)] 98 99 BUG FIXES: 100 101 * Bidirectional communication: fix bidirectional communication when AutoMTLS is enabled [[GH-193](https://github.com/hashicorp/go-plugin/pull/193)] 102 * RPC: Trim a spurious log message for plugins using RPC [[GH-186](https://github.com/hashicorp/go-plugin/pull/186)]