Skip to content

v1.60.4

Choose a tag to compare

@akashc777 akashc777 released this 24 Oct 16:55
· 76 commits to main since this release

Deleted blocks stay deleted, and no edit is lost: update now

This update fixes a bug in docs that every release since 12 October has had, and it closes a security hole that is open today. With a doc open in two tabs, by one person or by two, deleting a page block, an image or a divider at the end of the doc while the other tab had it selected left that tab behind: it stopped taking changes, and the next thing that happened in it, even a click, put the block back for everyone and undid the edits it had missed. Deleted blocks now stay deleted, and nobody's edits are lost. And someone signed in to a workspace could make a message carry files that weren't theirs to share. A message can now only carry files its sender can share. Update now.

  • Deleted blocks stay deleted when a doc is open twice. When one tab deletes a page block, an image or a divider at the end of a doc while another tab has it selected, the other tab keeps taking changes, its caret moves to the nearest text, and every edit made in either tab is kept.

Fixes

  • A message could carry files that weren't its sender's to share; fixed.
  • When a block in the middle of a doc was deleted in one tab while another tab had it selected, that tab's selection moved onto the next block, which its own Delete would then remove. Its caret now moves to the nearest text, and a block that is still there stays selected.

What this update doesn't fix

  • This update doesn't change access to files sent before it: anyone who could open one before can still open it.

Before you update
No database migrations. Re-run the install command you installed with, then make update; it rebuilds the server and the web app, so the install is unavailable for a short while. Everyone stays signed in.

The docs fix is in the web app, so update the web app with the server, as make update does. Anyone with OneCamp open in a browser should reload it once the update is done: a tab that isn't reloaded can still bring a deleted block back.

For scripts and integrations: a post, reply, message or forward sent through the API keeps only the files its sender uploaded to that conversation; any other file it names is left out.