Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@trappitsch trappitsch released this 30 Aug 12:51
· 7 commits to main since this release
7009d26

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 env in order to manage environmental variables.
    • Add box env --set KEY=VALUE to add string variables.
    • Add box env --set-int KEY=VALUE to add integer variables.
    • Add box env --set-bool KEY=VALUE to add boolean variables.
    • Add box env --get VAR_NAME to get the value of a variable.
    • Add box env --unset VAR_NAME to remove a variable.
    • Add box env --list to list all variables.
  • Bug fix for box uninit: Will throw a useful error if not in a box project.

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

Full Changelog: v0.3.0...v0.4.0