Skip to content

Release v0.8.0

Choose a tag to compare

@xsedla1o xsedla1o released this 23 Oct 13:21
· 170 commits to master since this release

This release brings improved performance, new callbacks for modules and many other improvements and bugfixes.

Database Optimizations

This release brings a significant jump in DP³ performance, as many database operations have been optimized through batching. With scalability in mind, there have been some breaking changes to the DB schema, which may require your attention. To update a your DP³ instance to this release, please refer to the Database Optimizations PR for further instructions on how to migrate.

Updater

We discovered a need for a new type of periodic callback that would not fit to the established snapshot mechanism. The main use-case is keep your application up-to-date with data from external systems while avoiding any rate limits or other restrictions by the remote API. For these (and other "slow update") cases, two new module callbacks have been exposed, periodic_update_hook and periodic_eid_update_hook.

API

There is a new endpoint to get distinct value counts for an attribute, mainly aimed at simplifying filtering UIs.

Scripts - A New dp3-script executable

For a while now, DP³ has included multiple scripts that are helpful for various tasks around running your applications. However, using those scripts previously required downloading all source code, and the packages required only by those scripts (namely pandas), were included in the main requirements. This change allows you to execute all included DP³ scripts from the installed package, and in case you are not using them, the dependencies have been moved to a separate group for a lighter installation.

Full Changelog: v0.7.0...v0.8.0