You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command value source is effectively gone, and the shell value source type has to renamed to command to replace the old one
In other words, the shell type is gone and the command field for the command type now takes a string instead of a string[]
Side effects can now only be shell commands (string literals)
This is to reduce the overall complexity of the tool. I don't thi
nk there's a strong use case for native commands, where you can't just use shell commands
New Features
Add cwd option to command value source type, to force the command to execute in a particular directory
Modifications to the PATH variable will be prepended to the existing value, rather than replacing it
This special behavior is based on the variable name, and only applies to PATH
Cascading config files are now only merged down to the profile level
New Features
Added side effects. See usage docs for more. Imperative environment configuration!
Other
Sourceable output from es set is now written to a temporary file instead of stdout. This difference is handled by the shell functions, so no change to behavior for users
This should be the last release with major breaking changes. The config layout has changed dramatically in order to support planned (and unplanned) future features.
Breaking Changes
Removed vars config section. You can no longer provide mappings for single variables. Instead, define a set of profiles with single variables
This feature didn't provide any additional functionality, it was just a slight convenience at the cost of complexity both for users and code
Restructured profile config:
Renamed apps field to applications
Add new profiles and variables subfields
Overall, this means apps.app1.profile1.VARIABLE1 will now be applications.app1.profiles.profile1.variables.VARIABLE1
This is more tedious, but allows for current and future features to fit into the config
New Features
Profile inheritance - profiles can now extend other profiles, eliminating the need to copy-paste a bunch of common content between profiles
Other
es shell function definitions now use the full path to the env-select binary rather than relying on PATH
This eliminates the need to add env-select to the PATH, and also guarantees that the copy of env-select that is being executed by es is the one that generated that es definition in the first place