Skip to content

0.22.0

@br3ndonland br3ndonland tagged this 06 Mar 17:52
Changes:

Add Docker tags for minor version numbers (a547b68)

- The inboard version in the Python package doesn't automatically
  stay in sync with the inboard version in the Docker container.
  Some users may install the inboard Python package with a
  minor version constraint, like `inboard==0.22.*` for requirements.txt
  or `inboard = "^0.22"` for pyproject.toml with Poetry.
  The Docker images previously only offered exact version numbers.
- This commit will add support for minor version numbers, so the
  Docker images can be specified with something like
  `br3ndonland/inboard:fastapi-0.22`.

Check pre-start script exit code (1a27553) (breaking change)

- inboard optionally runs a pre-start script before starting the server.
  The path to a pre-start script can be specified with the environment
  variable `PRE_START_PATH`. If the environment variable is set to a
  nonzero value, inboard will run the script at the provided path, using
  the `subprocess` standard library package.
- Previously, if the script exited with an error, inboard would continue
  starting the server. However, it may be preferable to stop the server
  if the pre-start script fails.
- This commit will update the subprocess call to include `check=True`.
  If the pre-start script exits with an error, inboard will not start
  the server.
- The behavior of successful pre-start script runs will not change.
  However, failed pre-start script runs will now exit with error codes,
  and prevent the server from starting.

This is a minor release to account for the potentially breaking change.

Commits:

- Bump version from 0.21.0 to 0.22.0 (39b644a)
- Add Docker tags for minor version numbers (a547b68)
- Check pre-start script exit code (1a27553)
Assets 2
Loading