Skip to content

23.11.02

Pre-release
Pre-release
Compare
Choose a tag to compare
@adRn-s adRn-s released this 02 Nov 10:31
· 344 commits to develop since this release

This is marked as a pre-release because we haven't actually deployed it to production. Yet, between the reasons for this delay, there aren't any concerns to the current codebase. Please file an issue if you find any.

Breaking changes:

  • <URL>/api/requests/<id>/get_email/ was renamed to get_contact_details, and the JSON Response now includes more data from the user.
  • Removed the [broken] import and export functionality at IndexPairs. Instead, we have a custom bulk import button now that works exclusively with plate coordinates. This may be a temporal solution until we work out the rough edges with the extension custom import (foreingkeywidget)
  • Removed DJANGO_SETTINGS_MODULE from misc/parkour.env, given that it's implemented as part of the Docker build stages. To be clear, if you don't remove it there, the hardcoded value will overrule over the docker-compose switch that we are using for makefile rules dev, etc.
  • Breaking changes for backup locations! ./rsnapshot was moved under ./misc, so the config files will be there.. that's not much of an issue. Yet, the backups subfolder (or symlink) will need to be adjusted manually.
  • /media_dump is no longer a symbolic link. We're now actually using it for each update (the docker volume recycling trick we were relying on stopped working in latest docker versions). EDIT: seems like it does work, but we're keeping this change; at least for now.

Non-breaking changes:

  • Updated our core dependency, Django, to version 4.2 (LTS). The previous LTS release 3.2 reached end of extended support in April. We thank the Django core team that kept releasing security fixes even after.
  • New dependency added, navigate to <URL>/openapi/schema/redoc or <URL>/openapi/schema/swagger-ui to enjoy either ReDoc or Swagger UI over the automagically generated OpenAPI 3.0 schema.
  • New dependency added, navigate to <URL>/schema-viewer to enjoy it (installed on dev settings only). Remember: use models rule if you'd like to have these in static print-friendly PDF docs.
  • Added a new Django management command: list_templates
  • Added filepaths JSONField to Request model. We'd like to track the location of, for example, delivered FASTQ files and QC reports.
  • Deprecated and removed bpython. shell_plus now uses ipython. This was to avoid runtime errors while compiling the requirements.txt files, given that greenlet dependecy would be pinned under contradicted version numbers (testing.txt has playwright that asks for greenlet v2, meanwhile bpython in dev.txt asked for v3..)
  • Email address displayed next to User (its string representation) now skips the email host if it's the same as in EMAIL_HOST settings (parkour.env) and instead displays <user>@~.
  • Added Phone next to email address for User display (if available).
  • Added 'archival' feature to CostUnit(s).
  • Renamed rules import-migras to put-old-migras, export-migras to tar-old-migras, and restore-migras to put-new-migras. This is to avoid confusion with import-pgdb, where importing means bringing file from prod VM.
  • Rule import-pgdb now brings migration files (to reproduce database schema) by default (if available).
  • The <URL>/api/samples/<id> doesn't fail anymore if no pk was given.
  • Added an EmailField to PrincipalInvestigator. This field is going to be used in the 'paperless approval' feature (see next release.)
  • Added new endpoint, <URL>/api/requests/<id>/get_poolpaths/, returns a dictionary with records' barcode as keys and pool names as values.