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]
Full diff: https://github.com/hashicorp/go-plugin/compare/v1.4.11-rc1...f73a4982b4e3f499c0cd629998b9243f841822c3?expand=1
v1.5.0
Enhancements
runner.Runner
interface to support clients providing custom plugin command runner implementations [GH-270]ClientConfig
fieldRunnerFunc
, which is mutually exclusive withCmd
andReattach
ReattachConfig
fieldReattachFunc
ClientConfig
fieldSkipHostEnv
allows omitting the client process' own environment variables from the plugin command's environment [GH-270]ID()
method toClient
for retrieving the pid or other unique ID of a running plugin [GH-272]PLUGIN_UNIX_SOCKET_DIR
[GH-270]PLUGIN_UNIX_SOCKET_GROUP
[GH-270]