Skip to content

Orlo 0.4

Latest
Compare
Choose a tag to compare
@al4 al4 released this 04 Apr 13:28
· 56 commits to master since this release

As always, but particularly in this case, please backup your database before installing this version.

Quite a few changes in this release, but few breaking. The headline feature is database migrations, courtesy of Flask-Alembic.

  • The logging “file” configuration option is now “directory” and should point to a directory rather than a file. The default has accordingly been updated from /var/log/orlo/app.log to /var/log/orlo.
  • The “propagate_exceptions” option has been moved from [main] to a new [flask] section.
  • The planned deployment functionality has been removed, this was an overreach in terms of scope.
  • Database migrations have been added. As the state of any existing database is somewhat unpredictable, Orlo will attempt an initial migration, and if it fails with a “table already exists” error it will stamp it with the initial database revision. This could cause problems down the line if the database state does not match what is expected, but hopefully this won’t be the case!
  • The environment variables ORLO_LOGDIR and ORLO_CONFIG will now override the logdir and config file options respectively. This is currently only used for tests.
  • Release_id has been added to the output of packages.
  • The default sort order of releases has been reversed. Previously by default we returned releases in ascending order, with the option to reverse this by setting desc=true. The desc option has now been removed in favour of ‘asc’.
  • /releases now has a default limit of 100, rather than prompting you to set a filter if called with no parameters.
  • There is a new /internal/version endpoint so you can see what version of Orlo is running.

This release has been uploaded to pypi.