Skip to content

Releases: octue/django-twined

Reinstate fieldsets for admin and make test server boot

07 Feb 14:42
d8fb6c8
Compare
Choose a tag to compare

Contents (#70)

Enhancements

  • Add duration property to AbstractQuestion model and show it in QuestionAdmin

Fixes

  • Reinstate fieldsets for admin and make test server boot
  • Fix elif statement in event handler

Update devcontainer

07 Feb 10:06
3da8f96
Compare
Choose a tag to compare

Contents (#68)

Operations

  • Update to latest devcontainer spec

Dependencies

  • Add pytest-cov utility

Other

  • Main

Use Octue SDK without answer topics

06 Feb 13:35
1c1bdfc
Compare
Choose a tag to compare

Contents (#57)

IMPORTANT: There are 2 breaking changes.

New features

  • Add question events mixin and use it in Question model
  • Add fields for getting various response types to question admin
  • Add status field to AbstractQuestion model and show status in question admin

Enhancements

  • 💥 BREAKING CHANGE: Remove unused fieldsets module
  • Format question logstreams more efficiently and readably in question admin
  • Only show datetimes of delivery acknowledgement and latest heartbeat
  • Add get_output_values and get_output_manifest methods to question model

Fixes

  • Update "type" to "kind" for octue events in a backwards-compatible way

Refactoring

  • Remove unused ReelMessage and websockets-related code
  • Remove question database storage mixins
  • Remove Question methods overriding identical methods in AbstractQuestion

Operations

  • Use reusable workflows

Dependencies

  • 💥 BREAKING CHANGE: Use octue>=0.52.0

Chores

  • Update pre-commit config
  • Remove DS_Store file

Other

  • Update copyright year in docs

Upgrade instructions

💥 Use `octue>=0.52.0`

Upgrade all Octue services in the network of services called by your instance of django-twined to run on octue>=0.52.0

💥 Remove unused `fieldsets` module

If you imported these for your question admin subclass, simply stop importing them and use the updated QuestionAdmin.

Update django gcp

28 Nov 12:34
e797254
Compare
Choose a tag to compare

Contents (#59)

Operations

  • Work around codecov rate limiting problem by adding token
  • Avoid uploading codecov on error because its too unreliable

Dependencies

  • UPdate django-gcp to latest

Chores

  • Ignore apple cache files

Allow setting of `is_default` during service registration

14 Jul 12:20
878b3c6
Compare
Choose a tag to compare

Contents (#56)

Enhancements

  • Allow setting of is_default during service registration

Other

  • Update docs

Make registry endpoint CSRF-exempt by default

13 Jul 12:04
17196ec
Compare
Choose a tag to compare

Contents (#55)

Fixes

  • Make service revision registry endpoint CSRF-exempt by default

Operations

  • Add workflow to add issues to Octue project

Testing

  • Remove reference to latest tag
  • Remove outdated test

Fix SRUIDs and require namespace and tag

12 Jul 18:31
722051e
Compare
Choose a tag to compare

Contents (#54)

IMPORTANT: There is 1 breaking change.

Fixes

  • 💥 BREAKING CHANGE: Update use of octue and disallow missing namespace and tag

Dependencies

  • Increase minimum version of octue to 0.40.0

Upgrade instructions

💥 Update use of `octue` and disallow missing namespace and tag

Update your octue services to have a namespace and tag and don't use the has_tag and has_namespace properties on ServiceRevision instances.

Extend `octue` version range to avoid locking to old version

10 Jul 14:13
6e55372
Compare
Choose a tag to compare

Contents (#52)

Dependencies

  • Extend octue version range to avoid forcing all apps using django-twined to use the outdated 0.39.0 version

Add service registry endpoints

05 Jul 16:39
86cb902
Compare
Choose a tag to compare

Contents (#50)

New features

  • Add endpoint for getting/registering service revisions

Operations

  • Use octue/check-semantic-version action
  • Use latest pull request description action
  • Use latest Codecov action
  • Fix default argument in workflow

Dependencies

  • Add icecream to dev dependencies

Testing

  • Make test package structure mirror package structure
  • Test that only one revision of a service can be the default

Style

  • Fix pre-commit checks
  • Improve import spacing

Downgrade ConsistencyError to a logger warning

21 Jun 17:09
a426e55
Compare
Choose a tag to compare

Contents (#44)

The purpose of this PR is to avoid a consistency error whenever you create a Datafile, which pathologically occurs in some cases.

Fixes

  • Downgrade ConsistencyError to a logger warning