env-select
v0.7.0
v0.7.0
Jul 13 2023 at 10:55 UTC
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 toapplications
- Add new
profiles
andvariables
subfields - Overall, this means
apps.app1.profile1.VARIABLE1
will now beapplications.app1.profiles.profile1.variables.VARIABLE1
- This is more tedious, but allows for current and future features to fit into the config
- Renamed
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 theenv-select
binary rather than relying onPATH
- This eliminates the need to add
env-select
to thePATH
, and also guarantees that the copy ofenv-select
that is being executed byes
is the one that generated thates
definition in the first place
- This eliminates the need to add