What changed in Docs (La Suite) from 5 to 6
6 releases numbered after v5.7.0 up to and including v6.1.0, stable releases only. v5.7.0 and v6.1.0 are the newest stable releases of 5 and 6 we track; this page follows them as new ones ship.
- 2 remove or deprecate something
104 changes across 6 releases
- Mention users in the editor from the "@" dropdown
- Add a dedicated document abilities endpoint in the backend
- Scroll smoothly to a block linked from the same document
- Add a /children block that lists the sub-documents
- Mention users in comments
- Add AI skills for agents
- Improve interlink anchors pointing to the same document
- Show "no access" in a link to a document the user cannot access
- Show the last login of users in the admin
- Filter users sharing an email in the admin
- Show the release in the admin header
- Deactivate the least recently used duplicates in the admin
- Transfer created docs and invitations in reconciliations
- Merge users from the admin
- Transfer documents from a user to another in the admin
- Handle DocSpec 4xx/5xx import errors distinctly
- Add Crowdin translator context
- Open the emoji picker when adding a document emoji
- Add a setting for the HTTP fallback polling interval
- Add a setting to turn off awareness on the HTTP fallback
- Add a setting to send JSON on the HTTP fallback
- Cache authorization verdicts to cut backend calls on connections
- Mention endpoint with cooldown-limited email notification
- Feature flag for Duplicate with Children
- Duplicate with subdocuments option in the frontend
- Markdown download option
- Pasted document links are turned into interlinks
- Ability to disallow search engine indexing per instance via Helm
- Attachment max size exposed in the config endpoint
- Warning before uploading an attachment over the size limit
- Offline support: documents keep a local copy so they open and stay editable offline
- HTTP polling fallback when the websocket cannot be opened
- Configurable version-history granularity through COLLABORATION_VERSION_GRANULARITY_MS
- Opt-in Prometheus metrics on the backend, yhub and worker, protected by a bearer token
- Restore native task checkboxes and dim completed tasks
- Upgrade BlockNote to 0.56.0
- Upgrade BlockNote to 0.57.0
- Replace emoji-mart with the Frimousse emoji picker
- Export PDFs with the Typst engine
- Read abilities from the dedicated backend endpoint
- Reuse cached interlink titles on export
- Remove the unused scope of the document throttles
- Use true italic Inter in the editor
- Build the production image on a distroless base image
- Scan images with Trivy only on release/ branches or when the trivy label is set
- Redesign the 500 error standalone page
- Search users through the trigram indexes instead of a full scan
- Only let creators delete their sub docs without children
- Limit heading choices to levels 1–3
- Replace outdated AGPL mentions of BlockNote XL packages
- Update upload loader and error UI
- Upgrade @y/hub to 0.10.1
- Allow opening the home button in a new tab
- Use 12px for error page home links
- Skip the users/me call for callers without a session cookie
- Allow setting the period and failure threshold of probes in the Helm chart
- Fix the accessibility of the document tree
- Collaboration server migrated from hocuspocus to yhub, a collaboration server built by the creator of Yjs, run through the yhub-server wrapper
- y-provider is now converter-only
- Resource server JWKS endpoint moved from /api/{version}/jwks to /external_api/{version}/jwks
- Users allowed to comment can list each other's accesses
- Development docker stack adapted for the collaboration server
- Development and feature environments run a dedicated Valkey for the backend and one for yhub
- Error 401 standalone page redesigned
- Show no offline banner when a third-party POST fails
- Replace an image that cannot be exported with a message
- Fix the slides PDF export of documents with interlinks
- Reload on a version mismatch only when the frontend is behind
- Hide the source popup in read-only mode
- Duplicate created sub-documents without reloading the page
- Show the doc tree actions of the item under the pointer
- Only index the landing page and send noindex as a header
- Keep the focus on the emoji button of a tree item
- Keep the case of titles and names in email subjects
- Recreate the containers when upgrading a Compose install
- Fix Enter and Space in modals opened from the doc tree
- Require edit rights for creators to delete their sub docs
- Change base image to nginx/nginx-unprivileged
- Upgrade brotli to version 1.2.1
- Log in the active user when several users share an email
- Refresh caches and search index after a user reconciliation
- Prevent a reader's duplicate from being added to the document tree
- Fix confirmation modal for duplicating sub-documents
- Wrap long unbroken document titles
- Wrap long text in the print export
- Fix search highlight hidden inside code blocks
- Enforce resource server action restrictions on the external API
- Mark only the top duplicate as a copy, after its title
- Measure migration durations with a monotonic clock
- Send the mention email when the cache is unreachable
- Give media-auth its own throttle scope
- Remove the vertical line next to nested blocks
- Stop the HTTP fallback when the collaboration server refuses it
- Bypass throttling on the access/me action from yhub
- Switch language when the current one is untranslated
- Keep the loading skeleton until an empty document has synced
- Two versions ending at the same moment are no longer listed
- Calls yhub makes to the backend are bounded by a timeout, YHUB_BACKEND_REQUEST_TIMEOUT_MS, 5s by default
- Hashed /_next/static/ assets are cached while HTML is revalidated
- Minio port and Keycloak realm corrected in the k8s guide
- Bind comment thread to the path document on creation
- Require present document access for thread and comment writes
Original release notes, newest first
The list above is our reading of these notes; the originals from La Suite numérique are here, one fold per release.
v6.1.0
What's Changed
📢 New - Mention members !
From comments or directly from the editor.
Added
- ✨(frontend) mention users in the editor from the "@" dropdown by @AntoLC #2806
- ✨(backend) add a dedicated document abilities endpoint by @RoeeSivan #2885
- ✨(frontend) scroll smoothly to a block linked from the same doc by @AntoLC #2932
- ✨(frontend) add a /children block listing the sub-docs by @MashdorDev #2799
- ✨(frontend) mention users in the comments by @AntoLC #2326
- 🤖(agents) add AI skills by @AntoLC #2746
- ✨(frontend) better interlink anchor on same document by @AntoLC #2932
- ✨(frontend) show "no access" in a link to a doc without access by @AntoLC #2932
Changed
- 💄(frontend) restore native task checkboxes and dim completed tasks by @Manixhor #2857
- ⬆️(frontend) upgrade BlockNote to 0.56.0 by @AntoLC #2936
- ⬆️(frontend) upgrade BlockNote to 0.57.0 by @AntoLC #2964
- ♻️(frontend) replace emoji-mart with the Frimousse emoji picker by @AntoLC #2964
- ♻️(frontend) export PDFs with the Typst engine by @AntoLC #2936
- ⚡️(yhub) read the abilities from the dedicated backend endpoint by @RoeeSivan #2922
- ⚡️(frontend) reuse the cached titles of the interlinks on export by @MashdorDev #2799
- ♻️(backend) remove the unused scope of the document throttles by @RoeeSivan #2951
- 💄(frontend) use true italic Inter in the editor by @harsh472000 #2861
- 🔒️(yhub) build the production image on a distroless base image by @lunika #2985
- 👷(ci) scan images with trivy only on release/ branches or the trivy label by @lunika #2984
- 💄(frontend) redesign 500 error standalone page by @Ovgodd #2801
Fixed
- 🐛(frontend) no offline banner when a third-party POST fails by @AntoLC #2939
- 🐛(frontend) replace an image that cannot be exported by a message by @AntoLC #2936
- 🐛(frontend) fix the slides pdf export of docs with interlinks by @MannXo #2928
- 🐛(frontend) reload on a version mismatch only when frontend behind by @AntoLC #2940
- 🐛(frontend) hide source popup in read-only mode by @atharvasalunke1267 #2908
- 🐛(frontend) duplicate the sub-docs created without reloading the page by @AntoLC #2915
- 🐛(frontend) show the doc tree actions of the item under the pointer by @AntoLC #2942
- 🐛(frontend) only index the landing page, send noindex as a header by @AntoLC #2973
- 🐛(frontend) keep the focus on the emoji button of a tree item by @AntoLC #2964
- 🐛(backend) keep the case of titles and names in email subjects by @RoeeSivan #2792
- 📝(docs) recreate the containers when upgrading a compose install by @lunika #2985
- 🐛(frontend) fix Enter and Space in modals opened from the doc tree by @Ovgodd #2879
Removed
- 🔥(backend) remove easy-thumbnails and Pillow by @RoeeSivan #2909
New Contributors
- @atharvasalunke1267 made their first contribution in https://github.com/suitenumerique/docs/pull/2908
Full Changelog: https://github.com/suitenumerique/docs/compare/v6.0.4...v6.1.0
v6.0.4
Changed
- ⚡️(backend) search users through the trigram indexes instead of a full scan by @lunika #2906
- 🔒️(backend) only let creators delete their sub docs without children by @lunika #2873
Fixed
- 🔒️(backend) require edit rights for creators to delete their sub docs by @lunika #2873
- ♻️(frontend) change base image to nginx/nginx-unprivileged by @lunika #2907
- ⬆️(backend) upgrade brotli to version 1.2.1 by @lunika
New Contributors
- @Nyco made their first contribution in https://github.com/suitenumerique/docs/pull/2886
Full Changelog: https://github.com/suitenumerique/docs/compare/v6.0.3...v6.0.4
v6.0.3
Added
- ✨(backend) show the last login of users in the admin by @lunika #2882
- ✨(backend) filter users sharing an email in the admin by @lunika #2882
- ✨(backend) show the release in the admin header by @lunika #2882
- ✨(backend) deactivate the least recently used duplicates in the admin by @lunika #2882
- ✨(backend) transfer created docs and invitations in reconciliations by @lunika #2882
- ✨(backend) merge users from the admin by @lunika #2882
- ✨(backend) transfer documents from a user to another in the admin by @lunika #2882
Fixed
- 🐛(backend) log in the active user when several users share an email by @lunika #2882
- 🐛(backend) refresh caches and search index after a user reconciliation by @lunika #2882
Full Changelog: https://github.com/suitenumerique/docs/compare/v6.0.2...v6.0.3
v6.0.2
Added
- ✨(docspec) handle DocSpec 4xx/5xx import errors distinctly by @AntoLC #2552
- 🌐(frontend) add Crowdin translator context by @AntoLC #2785
- ✨(frontend) open the emoji picker when adding a document emoji by @Ovgodd #2777
Changed
- 💄(frontend) limit heading choices to levels 1–3 by @Manixhor #2856
- ♻️(frontend) replace outdated AGPL mentions of BlockNote XL packages by @RoeeSivan #2775
- 💄(frontend) update upload loader and error ui by @AntoLC #2784
- ⬆️(yhub) upgrade @y/hub to 0.10.1 by @lunika #2853
- ♿️(frontend) allow opening the home button in a new tab by @Jul11us #2839
- 💄(frontend) use 12px for error page home links by @Ovgodd #2809
Fixed
- 🐛(frontend) don't add a reader's duplicate to the doc tree by @AntoLC #2860
- 🐛(frontend) fix confirmation modal for duplicating sub-docs by @AntoLC #2860
- 🐛(frontend) wrap long unbroken document titles by @YousefKurchaloy #2852
- 🐛(frontend) wrap long text in the print export by @MannXo #2813
- 🔒️(backend) bind comment thread to the path document on creation by @lunika #2838
- 🐛(frontend) fix search highlight hidden inside code blocks by @harsh472000 in #2810
- 🔒️(backend) require present document access for thread and comment writes by @lunika #2840
- 🐛(backend) enforce resource server action restrictions on the external API by @Manixhor #2745
- 🐛(backend) mark only the top duplicate as a copy, after its title by @DevKaurav-14 #2855
- 🐛(yhub) measure migration durations with a monotonic clock by @MashdorDev #2814
- 🐛(backend) send the mention email when the cache is unreachable by @maboukerfa #2803
- 🐛(backend) give media-auth its own throttle scope by @AntoLC #2866
- 💄(frontend) remove the vertical line next to nested blocks by @Ovgodd #2825
New Contributors
- @Jul11us made their first contribution in https://github.com/suitenumerique/docs/pull/2841
- @harsh472000 made their first contribution in https://github.com/suitenumerique/docs/pull/2810
- @MannXo made their first contribution in https://github.com/suitenumerique/docs/pull/2813
- @DevKaurav-14 made their first contribution in https://github.com/suitenumerique/docs/pull/2855
- @Yosr-Bejaoui made their first contribution in https://github.com/suitenumerique/docs/pull/2820
- @YousefKurchaloy made their first contribution in https://github.com/suitenumerique/docs/pull/2852
Full Changelog: https://github.com/suitenumerique/docs/compare/v6.0.1...v6.0.2
v6.0.1
Added
- ✨(backend) add a setting for the http fallback polling interval by @AntoLC #2827
- ✨(backend) add a setting to turn off awareness on the http fallback by @AntoLC #2827
- ✨(backend) add a setting to send json on the http fallback by @AntoLC #2829
- ⚡️(yhub) cache authz verdicts to cut backend calls on connections by @lunika #2832
Changed
- ⚡️(yhub) skip the
users/mecall for callers without a session cookie by @lunika #2830 - 🔧(helm) allow to set the period and failure threshold of probes by @lunika #2828
- ♿️(frontend) fix the accessibility of the document tree by @Ovgodd #2769
Fixed
- 🐛(frontend) stop the http fallback when the collaboration server refuses it by @AntoLC #2827
- 🐛(backend) bypass throttling on access/me action from yhub by @lunika #2811
- 🐛(frontend) switch language when the current one is untranslated by @AntoLC #2790
- 🐛(frontend) keep the loading skeleton until an empty doc has synced by @MashdorDev #2817
Removed
- 🔥(backend) remove
ForceSessionMiddleware, an orphan of the removed non-websocket save safeguard by @lunika #2830
New Contributors
- @MashdorDev made their first contribution in https://github.com/suitenumerique/docs/pull/2817
Full Changelog: https://github.com/suitenumerique/docs/compare/v6.0.0...v6.0.1
v6.0.0
🚀 Docs 6.0: welcome yhub
With this release, the collaboration server moves to yhub. This is a significant change of stack, so please read the upgrade guide before updating your instance.
yhub is a collaboration server made by @dmonad, the creator of Yjs itself, and Docs now runs on it through yhub-server, a thin wrapper tailored for Docs. It should bring better stability, and it opens the door to some amazing features that we will be able to ship soon!
A huge thank you to Kevin (@dmonad) for building it with us and for the time and care he put into this migration. 🙏
Let's ship! 🚢
Added
- 👷(ci) lint, typecheck, build and test the collaboration server (yhub) by @lunika #2757
- 👷(ci) check the load-test tooling: swarm, canary, k6 and dashboards by @lunika #2757
- 👷(ci) cancel the superseded runs of a pull request by @lunika #2757
- ✨(backend) add mention endpoint with cooldown-limited email notification by @maboukerfa #2447
- 🚩(setting) add feature flag on Duplicate with Children by @AntoLC #2721
- 💄(frontend) redesign 404 error standalone page by @Ovgodd #2696
- 💄(frontend) redesign 403 access denied page by @Ovgodd #2720
- ✨(frontend) duplicate with subdocuments by @AntoLC #2584
- ✨(frontend) add markdown download option by @gokul-debugger #2608
- ✨(frontend) turn pasted doc links into interlinks by @AntoLC #2713
- ✨(helm) allow disallowing search engine indexing per instance by @AntoLC #2694
- ✨(backend) expose the attachment max size in the config endpoint by @RISK-alt #2577
- ✨(frontend) warn before uploading an attachment over the size limit by @RISK-alt #2577
- ✨(loadtest) add a websocket load generator for the collaboration server by @lunika #2556
- ✨(loadtest) add k6 scenarios for the page-open sequence and the heavy endpoints by @lunika #2556
- ✨(loadtest) add browser canaries measuring what a user feels under load by @lunika #2556
- ✨(loadtest) add the grafana dashboards of the load-test campaign, valkey included by @lunika #2556
- 📝(documentation) add the load-testing guide by @lunika #2556
- 🔧(helm) run grafana with those dashboards in the dev cluster, in place of the prometheus console by @lunika #2556
- ✨(backend) measure the calls to yhub and to the converters, the database pool and the celery queue by @lunika #2556
- ✨(backend) add a
LoadTestconfiguration and itsloadtestapplication, minting sessions for load tests by @lunika #2556 - ✨(collaboration) add opt-in prometheus metrics to yhub, server and worker, protected by a bearer token by @lunika #2556
- ✨(collaboration) report yhub errors to sentry, configured through
SENTRY_*by @lunika #2556 - ✨(backend) add opt-in prometheus metrics on
/metrics, protected by a bearer token by @lunika #2556 - ✨(helm) add a dedicated ingress for the prometheus metrics of the backend and of yhub by @lunika #2556
- ✨(helm) add a ServiceMonitor and a PodMonitor per component whose metrics are enabled, and
backend.metrics.enabledby @lunika #2556 - 🔧(helm) scrape the metrics of the dev cluster with a trimmed kube-prometheus-stack and the ServiceMonitors of the chart by @lunika #2556
- 🔧(helm) serve the example console of django-prometheus on the dev Prometheus by @lunika #2556
- ✨(backend) add a service generating cached RS256 JWT tokens by @lunika #2556
- ✨(backend) publish the JWT public key on a JWKS endpoint by @lunika #2556
- 🔧(dev) generate the JWT signing key when bootstrapping the dev stack by @lunika #2556
- ✨(collaboration) add an admin reset-connections endpoint on yhub by @dmonad #2556
- ✨(collaboration) add a create-ydoc endpoint on yhub by @dmonad #2556
- ✨(collaboration) soft-migrate legacy S3 documents into yhub by @dmonad #2556
- ✨(collaboration) replay legacy s3 version history into yhub by @dmonad #2556
- ✨(backend) add a service to call the yhub REST API by @lunika #2556
- ✨(backend) call YHubService to seed initial document content by @lunika #2556
- ✨(collaboration) add a get-ydoc endpoint on yhub by @lunika #2556
- ✨(backend) duplicate a document through the collaboration server by @lunika #2556
- ✨(backend) serve
documents/{id}/formatted-content/from yhub by @lunika #2556 - ✨(collaboration) notify the backend when the worker persists new content by @lunika #2556
- ✨(collaboration) let a user read the document's editing history by @dmonad #2556
- ✨(frontend) fall back to http polling when the websocket cannot be opened. by @dmonad #2556
- 🔧(collaboration) make the version-history granularity configurable through
COLLABORATION_VERSION_GRANULARITY_MSby @AntoLC #2556 - ✨(frontend) keep a local copy of documents, so they open and stay editable offline by @AntoLC #2556
Changed
- 🛂(backend) let users allowed to comment list each other's accesses by @maboukerfa #2447
- ♻️(collaboration) migrate the collaboration server from hocuspocus to yhub by @dmonad #2556
- 💥(y-provider) y-provider becomes converter-only by @dmonad #2556
- 💥(backend) move the resource server JWKS from
/api/{version}/jwksto/external_api/{version}/jwksby @lunika #2556 - 🔧(collaboration) adapt docker stack for development purpose by @lunika #2556
- 🔧(helm) run a valkey for the backend and one for yhub in dev and feature by @lunika #2556
- 💄(frontend) redesign 401 error standalone page by @Ovgodd #2716
Fixed
- 🐛(frontend) never list two versions ending at the same moment by @AntoLC #2781
- 🐛(documentation) fix minio port and keycloak realm in the k8s guide by @berlewis #2751
- 🐛(collaboration) bound the calls yhub makes to the backend with a timeout,
YHUB_BACKEND_REQUEST_TIMEOUT_MS, 5s by default by @Marrrrrrrrry #2753 - 🐛(frontend) cache hashed
/_next/static/assets and revalidate HTML by @AntoLC #2770 - 🐛(backend) compensate document duplication failures by @Marrrrrrrrry #2755
- 🐛(frontend) open search results in a new tab with ctrl/cmd+click by @armandParser #2719
- 🐛(docker) pull minio images from pgsty by @AntoLC #2739
- 🐛(backend) retry the duplicate of a document on a tree path collision by @lunika #2726
- 🐛(frontend) keep caption and alignment when replacing an image by @Ovgodd #2730
- 🐛(backend) reset the collaboration connections on every access change by @lunika #2725
- ⚡️(backend) coalesce and pace the resets of collaboration connections by @lunika #2725
- 🐛(frontend) clear callout background on Backspace by @Manixhor #2052
- 🐛(export) keep image aspect ratio in PDF columns by @Ovgodd #2670
- 🐛(frontend) fix redirect after deleting a document by @AntoLC #2706
- 🐛(frontend) keep documents draggable with a mouse when zoomed by @Ovgodd #2727
- 📝(docs) fix markdown typo in installation README by @gene1wood #2766
- 🐛(i18n) export locale correctly by @Marrrrrrrrry #2750
- 🐛(frontend) keep login and logout out of the service worker cache by @RoeeSivan #2771
- 🐛(frontend) reduce PostHog volume from web vitals and opt_in spam by @AntoLC #2701
- 🐛(frontend) stop reconnecting to the websocket based on the status code by @lunika #2556
- 🐛(frontend) stop the service worker from caching the collaboration server's rest api by @AntoLC #2556
Removed
- 🔥(backend) remove the unused
CollaborationServiceby @lunika #2556 - 💥(backend) remove the
documents/{id}/can-edit/endpoint by @lunika #2556 - 💥(backend) remove the
documents/{id}/content/endpoint by @lunika #2556 - 🔥(backend) remove the document version endpoints. by @lunika #2556
- 🔥(backend) remove
Document.contentby @lunika #2556
Security
- 🔒️(collaboration) stop read-only users from sharing their cursor by @dmonad #2556
- 🔒️(backend) fix race conditions between actions updating a docs by @lunika #2781
New Contributors
- @anveetpal01 made their first contribution in https://github.com/suitenumerique/docs/pull/2697
- @gokul-debugger made their first contribution in https://github.com/suitenumerique/docs/pull/2608
- @Manixhor made their first contribution in https://github.com/suitenumerique/docs/pull/2708
- @dmonad made their first contribution in https://github.com/suitenumerique/docs/pull/2556
- @armandParser made their first contribution in https://github.com/suitenumerique/docs/pull/2719
- @berlewis made their first contribution in https://github.com/suitenumerique/docs/pull/2751
- @Marrrrrrrrry made their first contribution in https://github.com/suitenumerique/docs/pull/2753
- @gene1wood made their first contribution in https://github.com/suitenumerique/docs/pull/2766
- @sneko made their first contribution in https://github.com/suitenumerique/docs/pull/2682
- @RoeeSivan made their first contribution in https://github.com/suitenumerique/docs/pull/2771
Full Changelog: https://github.com/suitenumerique/docs/compare/v5.7.0...v6.0.0