v0.25.0
This release focuses on improving the performance of Docmost. It includes significant infrastructure improvements, performance enhancements, and new features.
Highlights
- Page history diff changes
- Improved media/attachment upload experience in the editor
- Cursor pagination for better performance with large datasets
- Stream file serving - files are now streamed instead of loaded entirely into memory
- Large file upload support for content imports
- IPv6 support via configurable HOST binding
- Metadata preservation - page icons and hierarchy are now preserved during Docmost->Docmost space import/export
- New "Copy as Markdown" option in the page menu
- Security fixes
- Other bug security fixes and enhancements
If you are using the recommended compose setup, you can upgrade with:
docker pull docmost/docmost:0.25.0
docker compose up --force-recreate --build docmost -d
[!WARNING] - The API now uses cursor-based pagination instead of offset pagination. If you rely on the API directly and use pagination, make changes accordingly. See https://github.com/docmost/docmost/pull/1884#issue-3873094562 - Also the Search API endpoints will now return data.items[] instead of data[].
What's Changed
- fix: increase max length for groups and spaces by @Philipinho in https://github.com/docmost/docmost/pull/1840
- feat: anchor scroll in same page by @Philipinho in https://github.com/docmost/docmost/pull/1834
- fix: space query improvements by @Philipinho in https://github.com/docmost/docmost/pull/1833
- fix: public sharing performance improvements by @Philipinho in https://github.com/docmost/docmost/pull/1841
- New Crowdin updates by @Philipinho in https://github.com/docmost/docmost/pull/1830
- fix: update dependencies by @Philipinho in https://github.com/docmost/docmost/pull/1843
- feat: switch to pino for logs by @Philipinho in https://github.com/docmost/docmost/pull/1855
- refactor(db): migrate from node-postgres to postgres.js by @Philipinho in https://github.com/docmost/docmost/pull/1846
- feat: allow upload of large files by @gpapp in https://github.com/docmost/docmost/pull/1862
- feat: stream file serving by @Philipinho in https://github.com/docmost/docmost/pull/1865
- feat: Tiptap V3 migration by @areknawo, @Philipinho in https://github.com/docmost/docmost/pull/1854
- feat(export): add export loading state and copy as markdown by @Philipinho in https://github.com/docmost/docmost/pull/1867
- New Crowdin updates by @Philipinho in https://github.com/docmost/docmost/pull/1866
- fix: handle malformed URLs gracefully during import/export by @gpapp in https://github.com/docmost/docmost/pull/1868
- fix(tree): update sidebar-pages cache directly instead of refetching on page move by @Philipinho in https://github.com/docmost/docmost/pull/1870
- New Crowdin updates by @Philipinho in https://github.com/docmost/docmost/pull/1869
- feat(export): add metadata file to preserve page icons and ordering on import by @Philipinho in https://github.com/docmost/docmost/pull/1877
- feat: collab redis extension with server affinity by @Philipinho in https://github.com/docmost/docmost/pull/1873
- fix: missing logs on
OnApplicationBootstraphook by @Philipinho in https://github.com/docmost/docmost/pull/1882 - feat: add IPv6 support via configurable HOST binding by @Philipinho in https://github.com/docmost/docmost/pull/1885
- feat: switch to cursor pagination by @Philipinho in https://github.com/docmost/docmost/pull/1884
- fix: handle empty replace term in search and replace functionality by @Pleasurecruise in https://github.com/docmost/docmost/pull/1562
- feat: page history diff by @Philipinho in https://github.com/docmost/docmost/pull/1891
- fix(deps): update dependencies by @Philipinho in https://github.com/docmost/docmost/pull/1898
- New Crowdin updates by @Philipinho in https://github.com/docmost/docmost/pull/1896
- fix(deps): update dependencies by @Philipinho in https://github.com/docmost/docmost/pull/1902
Full Changelog: https://github.com/docmost/docmost/compare/v0.24.1...v0.25.0