Skip to content

2.2.0

Latest

Choose a tag to compare

@zak-nuccio zak-nuccio released this 27 May 08:50
· 345 commits to main since this release
8ec4169

Spade 2.2.0

New Features

  • Added GET /api/processes/latest_runs/ endpoint to fetch the latest run for a set of processes in a single batched, cached request
  • Added caching for external history provider results (configurable via SPADE_HISTORY_PROVIDER_CACHE_TIMEOUT)
  • Added get_variables_for_process_instance / get_variables_for_file_instance to avoid redundant DB lookups on prefetched objects

Fixes

  • Fixed password reset emails to link to the frontend URL instead of the API endpoint
  • Fixed N+1 queries in FileViewSet, FileUploadViewSet, ProcessViewSet, and ProcessRunViewSet using select_related/prefetch_related
  • History provider import failures now fall back to local ProcessRun records instead of raising an unhandled error
  • Process run parse errors now correctly set status = ERROR as well as result = FAILED
  • Pandera frictionless import is now lazy — missing optional dependency no longer crashes on startup

Upgrades

  • Python 3.13 → 3.14
  • PostgreSQL 16 → 18
  • spadesdk 0.4.0 → 0.5.0
  • Django 6.0.2 → 6.0.5
  • cryptography ≥ 48.0.0
  • pandera ≥ 0.31.1
  • djangorestframework 3.16.1 → 3.17.1
  • dj-rest-auth 7.1.1 → 7.2.0
  • gunicorn 25.0.1 → 26.0.0
  • django-anymail 14.0 → 15.0
  • Updated GitHub Actions to latest major versions