Skip to content

v2.0.0rc1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Nov 15:23
· 65 commits to main since this release
8efc590

djust 2.0.0rc1 is the first release candidate of djust 2.0. In 2.0 a view exposes to its template and the browser only what it explicitly supplies, and a LiveView behaves the same way over WebSocket, SSE and the HTTP fallback. View state survives across server processes, and pages can run under a strict Content Security Policy.

pip install --pre djust==2.0.0rc1

A plain pip install djust still installs 1.3.x. Before upgrading an app, read the migration guide. The full list of changes is in the CHANGELOG.

Known issues in this release candidate

  • The legacy exposure mode (exposure_policy = "legacy") and the legacy event parameter mode are still present. They will be removed before 2.0.0 final (#4171).
  • When a disconnect interrupts background work, it is not yet deterministic whether that work's session writes are kept (#4211).
  • View state is saved on every turn. The save interval (DJUST_STATE_SAVE_INTERVAL) is off by default (#4164).

Further fixes, including security fixes, will ship in the next release candidate.