What's Changed
If you are setting PyApp variables, this is a breaking change!
- Move environmental variables to their own table in
pyproject.toml. They are now in[tool.box.env-vars]. - Remove PyApp Variables from initialization and put them into their own command.
- Add a new command
box envin order to manage environmental variables.- Add
box env --set KEY=VALUEto add string variables. - Add
box env --set-int KEY=VALUEto add integer variables. - Add
box env --set-bool KEY=VALUEto add boolean variables. - Add
box env --get VAR_NAMEto get the value of a variable. - Add
box env --unset VAR_NAMEto remove a variable. - Add
box env --listto list all variables.
- Add
- Bug fix for
box uninit: Will throw a useful error if not in aboxproject.
If this breaks your project, you can either run box uninit followed by box init and re-enter the variables, or you can manually edit the pyproject.toml file.
PRs
- Environment variable management by @trappitsch in #53
- Dev environment enhancements by @trappitsch in #54
Full Changelog: v0.3.0...v0.4.0