Install
Works with Drupal: ^11.3 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
63.31 KB
MD5: 71bea9447e36cf3b259aadf30a83d5d4
SHA-1: f5ac40d1f0eef746b11a3d0a964efe77f209135e
SHA-256: ac2a3fd121efe47918f1957d5b73348eac8413fdf5a1921957f83a8a8b15324d
Download zip
94.57 KB
MD5: 5399105992756ce4dd836f834aed4677
SHA-1: 258771f1430f3dc2946e8ae287054b2e3a4c4ffa
SHA-256: b1355afd3b3a6521e0bbe747c885db0b4f0c7bf745e2181308e271c94822e956
Release notes
Added
Hub\Notice::draft(),records(),updates()andnotifications(): the bundle's notices, each naming its channel and no content.
Changed
- Clearing notifications takes a CSRF token (
collaborate-notification-clear, the settings'clearToken, asX-CSRF-Tokenor a_tokenfield): a forged request could delete every notification of the user who sent it. Reading and unreading still take none. A host that posts clear requests itself sends the token. - A Save no longer reads and re-encodes the whole draft journal to count its bytes: it adds what it records.
CollaborateFormExtensiontakes theFormDraftservice, the draft of the root form, in place of the five services it built its own from (DraftSave, the router, the CSRF token manager, the translator, the logger).- A second Save of a new record's draft throws
Draft\RecordAlreadyCreatedException, aConflictHttpExceptionas before: the save tells it from other conflicts by its class, not its message. - The presence avatars stay as they are when a peer moves to another record or popup: only the menu shows where peers are. The marks still follow.
- The hub's error messages name the hub, not cursors: "Hub request is too large.", "Invalid hub CSRF token.", "Hub rate limit exceeded.", "Invalid hub session drafts.". The hub's guard, sessions and Mercure transport, the draft controller,
FormDraftand the Twig extension read the time from theclockservice. - Mago formats, lints and analyzes the Drupal module too, in its CI job against the test site's Drupal (
make drupal-quality,mago.drupal.toml); the analyzer's known issues in the module are kept inmago.drupal-baseline.toml, and new ones fail. - CI keeps Composer's downloads, Chromium and the FrankenPHP binary between runs; FrankenPHP's version and checksum live in the browser setup action alone, and its download is checked against the release's SHA-256.
Fixed
- The notification and web push actions accept exactly the actions their routes name. Drupal matches paths whatever their case, so another spelling reached them and was taken for another action:
UNSUBSCRIBEsubscribed,CLEARcleared. It now answers 404. - A saved view no longer reloads over a navigation under way when a save is heard meanwhile, follows the page a host entered without loading, takes an untouched range or colour input for no typed text, keeps an embedded list with text typed in it when another window takes the focus, and still refreshes when the browser refuses to store its scroll position. A stored view of another shape is ignored.
- Peers no longer see a focused button as the field someone is in.
- A page opened while another editor's Save was under way could show a collection entry that Save added twice, and save it twice: it named the saved entry by its record before the Save recorded the draft's key for it. A page now waits for a Save of its draft under way, as long as a Save may hold the draft, before it reads the keys of the entries Saves created.
- Release notes broke their lines where the changelog wraps them: GitHub keeps a release body's line breaks. The release tool joins each wrapped paragraph and list item onto one line in the notes; the changelog keeps its wrapping.