-
Notifications
You must be signed in to change notification settings - Fork 493
Comparing changes
Open a pull request
base repository: hashicorp/go-plugin
base: v1.4.10
head repository: hashicorp/go-plugin
compare: v1.5.2
- 12 commits
- 32 files changed
- 3 contributors
Commits on Aug 11, 2023
-
deps: bump protoreflect to v1.15.1 (#264)
This bumps protoreflect to v1.15.1, which should correct some long-running issues WRT downstream dependencies and protoreflect's use of grpc_testing, unblocking downstream dependencies from upgrading the grpc package again.
Configuration menu - View commit details
-
Copy full SHA for d61bc34 - Browse repository at this point
Copy the full SHA d61bc34View commit details -
Configuration menu - View commit details
-
Copy full SHA for c578839 - Browse repository at this point
Copy the full SHA c578839View commit details
Commits on Aug 22, 2023
-
Update docs for creating managed clients (#271)
As far as I know, there is no method `NewManagedClient`, but managed clients are created using `NewClient` with `ClientConfig.Managed = true`
Configuration menu - View commit details
-
Copy full SHA for f31f0fb - Browse repository at this point
Copy the full SHA f31f0fbView commit details -
Expose Runner interface to allow custom command runner implementations (
#270) * Adds a new set of interfaces in a `runner` package to allow custom implementations for running plugins. * Adds 3 new client-facing config options: * `RunnerFunc` can be supplied to customise how a plugin is run, with `*exec.Cmd` treated as the spec. * `SkipHostEnv` tells go-plugin not to add the host process' environment variables to the command spec * `ReattachConfig.ReattachFunc` can be supplied to hook into running plugins that are identified by something other than a process ID * From a server (plugin) point of view; Adds optional environment variables to control the plugin's listener unix sockets * Adds `CmdRunner` as the default `Runner` implementation, maintaining existing functionality and backwards compatibility
Configuration menu - View commit details
-
Copy full SHA for de19819 - Browse repository at this point
Copy the full SHA de19819View commit details
Commits on Aug 25, 2023
-
Make config.Cmd and config.RunnerFunc mutually exclusive (#272)
A set of small follow-ups to #270: * Make `ClientConfig.Cmd` and `ClientConfig.RunnerFunc` mutually exclusive * Clients setting `RunnerFunc` can call `ReattachConfig()` but need to supply their own `ReattachFunc` as it can't necessarily be derived from `RunnerFunc`. Exercise `ReattachConfig()` in tests in a way that previously panicked. * Improve 1 logger line for non-cmd implementations. * Add `ID()` function to client; accommodates creating a `ReattachFunc` and also useful for client's debug log information.
Configuration menu - View commit details
-
Copy full SHA for 8b178aa - Browse repository at this point
Copy the full SHA 8b178aaView commit details -
Add context argument to runner methods that do work (#273)
* Allows us to properly respect the start timeout for implementations that do long-running work in the Start method. * Adding context.Context to Wait and Kill makes them more consistent with Start, but is also a bit of a hedge, allowing room in the interface for future features without having to break the API.
Configuration menu - View commit details
-
Copy full SHA for 80216d7 - Browse repository at this point
Copy the full SHA 80216d7View commit details
Commits on Aug 29, 2023
-
Add Diagnose to runner.Runner interface (#275)
* Interface change but non-breaking as `runner.Runner` has not yet been tagged * Differentiate between empty line and closed channel * Maintain the previous first line of the error message just in case of consumers depending on it
Configuration menu - View commit details
-
Copy full SHA for f73a498 - Browse repository at this point
Copy the full SHA f73a498View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1fefa8 - Browse repository at this point
Copy the full SHA c1fefa8View commit details
Commits on Sep 5, 2023
-
Consistently apply Unix socket settings (#277)
Previously, we only supported setting the group for the server-side socket. This change makes it possible to set it on the client side as well. Also fixes a bug where the gRPC broker on the server side would previously not consume the directory/group environment variables.
Configuration menu - View commit details
-
Copy full SHA for b8dba49 - Browse repository at this point
Copy the full SHA b8dba49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2caaccb - Browse repository at this point
Copy the full SHA 2caaccbView commit details
Commits on Sep 21, 2023
-
Add TempDir option to UnixSocketConfig (#282)
* Add TempDir option to UnixSocketConfig. Allows clients to specify a folder where plugin-specific Unix socket directories should be created. Still defaults to $TMPDIR (if set) or /tmp. * Improve UnixSocketConfig field names and comments * Document exported Unix socket environment variables
Configuration menu - View commit details
-
Copy full SHA for 2f6e0c5 - Browse repository at this point
Copy the full SHA 2f6e0c5View commit details
Commits on Sep 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 303d84f - Browse repository at this point
Copy the full SHA 303d84fView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.4.10...v1.5.2