The minimalistic document archiving platform.
chore(release): update versions (#812)
Corentin Thomasset1228c1c36d30
diff --git a/.changeset/afraid-eagles-wear.md b/.changeset/afraid-eagles-wear.mddeleted file mode 100644index 2e51833f..00000000--- a/.changeset/afraid-eagles-wear.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Added a "Open with..." button for documents along with a complete PDF viewer page with standard features such as thumbnails, outline, attachments, and document properties.diff --git a/.changeset/chilly-plums-strive.md b/.changeset/chilly-plums-strive.mddeleted file mode 100644index 31703975..00000000--- a/.changeset/chilly-plums-strive.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Replaced `date-fns` functions with in-house implementations to avoid pulling the 30MB lib (mainly due to locale data).diff --git a/.changeset/cool-cougars-stop.md b/.changeset/cool-cougars-stop.mddeleted file mode 100644index 082d1cab..00000000--- a/.changeset/cool-cougars-stop.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Added explicit error when trying to update a tag with a name that already existsdiff --git a/.changeset/cruel-bugs-sip.md b/.changeset/cruel-bugs-sip.mddeleted file mode 100644index 23367651..00000000--- a/.changeset/cruel-bugs-sip.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------In the search queries, tag filters are now case-insensitive, so `tag:Important` and `tag:important` will match the same tag (as tags names are case-insensitive).diff --git a/.changeset/cuddly-olives-press.md b/.changeset/cuddly-olives-press.mddeleted file mode 100644index 0d7884ce..00000000--- a/.changeset/cuddly-olives-press.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Synchronized pagination state in the URL on the documents list page.\ No newline at end of filediff --git a/.changeset/curvy-bags-follow.md b/.changeset/curvy-bags-follow.mddeleted file mode 100644index 8e4dea76..00000000--- a/.changeset/curvy-bags-follow.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Trim tag names and descriptions on creation and update to avoid leading/trailing spaces.diff --git a/.changeset/cyan-animals-post.md b/.changeset/cyan-animals-post.mddeleted file mode 100644index db8d2ad8..00000000--- a/.changeset/cyan-animals-post.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Added a button to generate a random color in the tag creation/edition modal.diff --git a/.changeset/dry-rooms-reply.md b/.changeset/dry-rooms-reply.mddeleted file mode 100644index cb043340..00000000--- a/.changeset/dry-rooms-reply.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Significantly reduced the size of the rootless docker image by preventing file duplications due to `chown` operations, gaining ~230MB, more than 30% reduction in size.diff --git a/.changeset/famous-pears-play.md b/.changeset/famous-pears-play.mddeleted file mode 100644index fe95ba29..00000000--- a/.changeset/famous-pears-play.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Added an option to limit the number of tags that can be created in an organization, defaulting to 200. Configurable via the `MAX_TAGS_PER_ORGANIZATION` environment variable.\ No newline at end of filediff --git a/.changeset/five-planes-teach.md b/.changeset/five-planes-teach.mddeleted file mode 100644index 2d9cc320..00000000--- a/.changeset/five-planes-teach.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Excluded Synology specific files for the ingestion folderdiff --git a/.changeset/full-trams-unite.md b/.changeset/full-trams-unite.mddeleted file mode 100644index 0617439e..00000000--- a/.changeset/full-trams-unite.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Coerce MIME type of intake email attachments when declared as `application/octet-stream` or empty, using magic bytes detection with extension-based fallback.diff --git a/.changeset/heavy-bears-study.md b/.changeset/heavy-bears-study.mddeleted file mode 100644index c9f33de4..00000000--- a/.changeset/heavy-bears-study.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Fixed a race condition that could incorrectly show the "Email verified" page after successful login, even when email verification had not been completed or was not required.\ No newline at end of filediff --git a/.changeset/heavy-teeth-roll.md b/.changeset/heavy-teeth-roll.mddeleted file mode 100644index 7f27a9ba..00000000--- a/.changeset/heavy-teeth-roll.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Improved the document tag picker UI and UX, allowing tags to be managed from the document list.\ No newline at end of filediff --git a/.changeset/light-lands-talk.md b/.changeset/light-lands-talk.mddeleted file mode 100644index 796727f6..00000000--- a/.changeset/light-lands-talk.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Added tagging rules creation/update loading statesdiff --git a/.changeset/lovely-cars-worry.md b/.changeset/lovely-cars-worry.mddeleted file mode 100644index 3364bf8f..00000000--- a/.changeset/lovely-cars-worry.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Removed misleading "git missing" error log on app startup when git isn't available, like in Docker env.diff --git a/.changeset/open-pears-send.md b/.changeset/open-pears-send.mddeleted file mode 100644index f8a3bbc7..00000000--- a/.changeset/open-pears-send.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Tag names uniqueness enforced with case insensitivity per organization. Migration will ensure deduplication by appending prefixes in case of existing collisions.\ No newline at end of filediff --git a/.changeset/orange-icons-hug.md b/.changeset/orange-icons-hug.mddeleted file mode 100644index eecd47f0..00000000--- a/.changeset/orange-icons-hug.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Added small header in organization creation page to quickly access the invitations when first organization is being createddiff --git a/.changeset/pink-vans-eat.md b/.changeset/pink-vans-eat.mddeleted file mode 100644index 5db0022f..00000000--- a/.changeset/pink-vans-eat.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------The command palette state no longer resets when opening it, allowing to keep the search query and results when closing and reopening it.diff --git a/.changeset/polite-windows-heal.md b/.changeset/polite-windows-heal.mddeleted file mode 100644index fb487819..00000000--- a/.changeset/polite-windows-heal.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Added tag creation/update button loading statediff --git a/.changeset/poor-planes-enjoy.md b/.changeset/poor-planes-enjoy.mddeleted file mode 100644index 50eead86..00000000--- a/.changeset/poor-planes-enjoy.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Enforced the length of the intake email webhook secret (`INTAKE_EMAILS_WEBHOOK_SECRET`) to be between 16 and 128 characters to match the OwlRelay API validation requirements.diff --git a/.changeset/ripe-rocks-carry.md b/.changeset/ripe-rocks-carry.mddeleted file mode 100644index b37d0762..00000000--- a/.changeset/ripe-rocks-carry.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Prevented multiple tagging-rules creation attempts when clicking the create button quickly.diff --git a/.changeset/shy-waves-drive.md b/.changeset/shy-waves-drive.mddeleted file mode 100644index 4346038e..00000000--- a/.changeset/shy-waves-drive.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Prevented multiple tag creation attempts when clicking the create button quickly.\ No newline at end of filediff --git a/.changeset/upset-ears-invite.md b/.changeset/upset-ears-invite.mddeleted file mode 100644index 44691dd7..00000000--- a/.changeset/upset-ears-invite.md+++ /dev/null@@ -1,33 +0,0 @@-----"@papra/app": minor------Api breaking change: removed the `/api/organizations/:organizationId/documents/search` endpoint in favor of the existing `/api/organizations/:organizationId/documents` with an optional `searchQuery` query parameter.-The new `/api/organizations/:organizationId/documents` endpoint now behave as the old `/search` endpoint, with all documents being returned when `searchQuery` is empty. Note that the response field `totalCount` of the old `/search` endpoint has been renamed to `documentsCount` in the new endpoint.--Before:--```-GET /api/organizations/:organizationId/documents/search?searchQuery=invoice&pageIndex=1&pageSize=20-Response: {- documents: Document[];- totalCount: number;-}--GET /api/organizations/:organizationId/documents?pageIndex=1&pageSize=20-Response: {- documents: Document[];- documentsCount: number;-}-```--After:--```-GET /api/organizations/:organizationId/documents?searchQuery=invoice&pageIndex=1&pageSize=20-Response: {- documents: Document[];- documentsCount: number;-}-```-diff --git a/.changeset/wise-animals-repair.md b/.changeset/wise-animals-repair.mddeleted file mode 100644index e1083dd1..00000000--- a/.changeset/wise-animals-repair.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/app": minor------Security fix: prevented unauthorized listing to organization tags and webhooks. An authenticated user could list the tags and webhooks of an organization they are not a member of by sending requests to the corresponding endpoints by knowing the organization ID. Credit to [Sergio Cabrera](https://www.linkedin.com/in/sergio-cabrera-878766239), security researcher, for responsibly disclosing this vulnerability.\ No newline at end of filediff --git a/packages/app/CHANGELOG.md b/packages/app/CHANGELOG.mdindex 683c3e26..04139ba2 100644--- a/packages/app/CHANGELOG.md+++ b/packages/app/CHANGELOG.md@@ -1,5 +1,84 @@# @papra/app+## 26.2.0++### Minor Changes++- [#894](https://github.com/papra-hq/papra/pull/894) [`77186da`](https://github.com/papra-hq/papra/commit/77186da42cff7fff1d13fcb706aa96b17e2c6a23) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added a "Open with..." button for documents along with a complete PDF viewer page with standard features such as thumbnails, outline, attachments, and document properties.++- [#820](https://github.com/papra-hq/papra/pull/820) [`3fa398c`](https://github.com/papra-hq/papra/commit/3fa398c92851e6f0c767bd66e8cc2f0e523577ef) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Replaced `date-fns` functions with in-house implementations to avoid pulling the 30MB lib (mainly due to locale data).++- [#852](https://github.com/papra-hq/papra/pull/852) [`71872db`](https://github.com/papra-hq/papra/commit/71872db3678307de6e1b15a9b63653bd949e0202) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added explicit error when trying to update a tag with a name that already exists++- [#827](https://github.com/papra-hq/papra/pull/827) [`ca2ef28`](https://github.com/papra-hq/papra/commit/ca2ef2866bfb54abaed26c4c748b4ec5fadf6170) Thanks [@CorentinTh](https://github.com/CorentinTh)! - In the search queries, tag filters are now case-insensitive, so `tag:Important` and `tag:important` will match the same tag (as tags names are case-insensitive).++- [#883](https://github.com/papra-hq/papra/pull/883) [`63ddecf`](https://github.com/papra-hq/papra/commit/63ddecf4899d582db1f8a2dbe623346499a5677a) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Synchronized pagination state in the URL on the documents list page.++- [#826](https://github.com/papra-hq/papra/pull/826) [`494aa5b`](https://github.com/papra-hq/papra/commit/494aa5b882315fb55ab84f78259d899e5e2d5355) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Trim tag names and descriptions on creation and update to avoid leading/trailing spaces.++- [#829](https://github.com/papra-hq/papra/pull/829) [`393a155`](https://github.com/papra-hq/papra/commit/393a15593fdc60ebd11dcf82c29ae95159122f25) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added a button to generate a random color in the tag creation/edition modal.++- [#810](https://github.com/papra-hq/papra/pull/810) [`1d5ada8`](https://github.com/papra-hq/papra/commit/1d5ada85223f4227f3e42220db85faaa943f3c11) Thanks [@What-is-water93](https://github.com/What-is-water93)! - Significantly reduced the size of the rootless docker image by preventing file duplications due to `chown` operations, gaining ~230MB, more than 30% reduction in size.++- [#900](https://github.com/papra-hq/papra/pull/900) [`9058f9e`](https://github.com/papra-hq/papra/commit/9058f9e08c8321c7d03b4525fec7c2701f01bec5) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added an option to limit the number of tags that can be created in an organization, defaulting to 200. Configurable via the `MAX_TAGS_PER_ORGANIZATION` environment variable.++- [#884](https://github.com/papra-hq/papra/pull/884) [`4c7da4b`](https://github.com/papra-hq/papra/commit/4c7da4b6747ed1d8631812aa8aad69d0fa9a97ca) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Excluded Synology specific files for the ingestion folder++- [#896](https://github.com/papra-hq/papra/pull/896) [`fdd955e`](https://github.com/papra-hq/papra/commit/fdd955e20c7bf7732ee39aad216636bc1a88fd6b) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Coerce MIME type of intake email attachments when declared as `application/octet-stream` or empty, using magic bytes detection with extension-based fallback.++- [#859](https://github.com/papra-hq/papra/pull/859) [`afcfcf7`](https://github.com/papra-hq/papra/commit/afcfcf75cb69661f0e9df0cbbd139b00441d92d3) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Fixed a race condition that could incorrectly show the "Email verified" page after successful login, even when email verification had not been completed or was not required.++- [#870](https://github.com/papra-hq/papra/pull/870) [`69633fb`](https://github.com/papra-hq/papra/commit/69633fb9ea3c0ef82abf5b1d5903058e66895bbe) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Improved the document tag picker UI and UX, allowing tags to be managed from the document list.++- [#855](https://github.com/papra-hq/papra/pull/855) [`3f4ca07`](https://github.com/papra-hq/papra/commit/3f4ca07a5d339542d80100d172f27590341f4469) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added tagging rules creation/update loading states++- [#880](https://github.com/papra-hq/papra/pull/880) [`4f5b29b`](https://github.com/papra-hq/papra/commit/4f5b29b7edc108f0793b09f94bdb248fcba2ddba) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Removed misleading "git missing" error log on app startup when git isn't available, like in Docker env.++- [#822](https://github.com/papra-hq/papra/pull/822) [`b6951ea`](https://github.com/papra-hq/papra/commit/b6951ea05a01820095a8caf83ba1c35b215eafe6) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Tag names uniqueness enforced with case insensitivity per organization. Migration will ensure deduplication by appending prefixes in case of existing collisions.++- [#811](https://github.com/papra-hq/papra/pull/811) [`1eeb3df`](https://github.com/papra-hq/papra/commit/1eeb3df4a282d93bb71c8f34cf086fa0babfb40e) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added small header in organization creation page to quickly access the invitations when first organization is being created++- [#903](https://github.com/papra-hq/papra/pull/903) [`d13c74f`](https://github.com/papra-hq/papra/commit/d13c74f0dbe564b7afe4a8da1c653ad84565ab78) Thanks [@CorentinTh](https://github.com/CorentinTh)! - The command palette state no longer resets when opening it, allowing to keep the search query and results when closing and reopening it.++- [#851](https://github.com/papra-hq/papra/pull/851) [`316a8c2`](https://github.com/papra-hq/papra/commit/316a8c2f9c326695c5a943556c2b97e99a58c0a4) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added tag creation/update button loading state++- [#892](https://github.com/papra-hq/papra/pull/892) [`1c1d273`](https://github.com/papra-hq/papra/commit/1c1d273fbdd7dc433ff18fcb7ae546e4c2197cf9) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Enforced the length of the intake email webhook secret (`INTAKE_EMAILS_WEBHOOK_SECRET`) to be between 16 and 128 characters to match the OwlRelay API validation requirements.++- [#855](https://github.com/papra-hq/papra/pull/855) [`3f4ca07`](https://github.com/papra-hq/papra/commit/3f4ca07a5d339542d80100d172f27590341f4469) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Prevented multiple tagging-rules creation attempts when clicking the create button quickly.++- [#851](https://github.com/papra-hq/papra/pull/851) [`316a8c2`](https://github.com/papra-hq/papra/commit/316a8c2f9c326695c5a943556c2b97e99a58c0a4) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Prevented multiple tag creation attempts when clicking the create button quickly.++- [#899](https://github.com/papra-hq/papra/pull/899) [`d1eae05`](https://github.com/papra-hq/papra/commit/d1eae05dd3cade1f30ec947982a21f87f0ccffb0) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Api breaking change: removed the `/api/organizations/:organizationId/documents/search` endpoint in favor of the existing `/api/organizations/:organizationId/documents` with an optional `searchQuery` query parameter.+ The new `/api/organizations/:organizationId/documents` endpoint now behave as the old `/search` endpoint, with all documents being returned when `searchQuery` is empty. Note that the response field `totalCount` of the old `/search` endpoint has been renamed to `documentsCount` in the new endpoint.++ Before:++ ```+ GET /api/organizations/:organizationId/documents/search?searchQuery=invoice&pageIndex=1&pageSize=20+ Response: {+ documents: Document[];+ totalCount: number;+ }++ GET /api/organizations/:organizationId/documents?pageIndex=1&pageSize=20+ Response: {+ documents: Document[];+ documentsCount: number;+ }+ ```++ After:++ ```+ GET /api/organizations/:organizationId/documents?searchQuery=invoice&pageIndex=1&pageSize=20+ Response: {+ documents: Document[];+ documentsCount: number;+ }+ ```++- [#893](https://github.com/papra-hq/papra/pull/893) [`0c62716`](https://github.com/papra-hq/papra/commit/0c62716e5d67f67e1f76ccaab6385fb932894325) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Security fix: prevented unauthorized listing to organization tags and webhooks. An authenticated user could list the tags and webhooks of an organization they are not a member of by sending requests to the corresponding endpoints by knowing the organization ID. Credit to [Sergio Cabrera](https://www.linkedin.com/in/sergio-cabrera-878766239), security researcher, for responsibly disclosing this vulnerability.+## 26.1.0### Minor Changes@@ -24,7 +103,6 @@- [#798](https://github.com/papra-hq/papra/pull/798) [`c27d85f`](https://github.com/papra-hq/papra/commit/c27d85fea41eaf6ba0d87890d4952e502aeec864) Thanks [@cergmin](https://github.com/cergmin)! - Added Russian language support-## 26.0.0### Major Changesdiff --git a/packages/app/package.json b/packages/app/package.jsonindex f9e45bf3..16d09cef 100644--- a/packages/app/package.json+++ b/packages/app/package.json@@ -1,6 +1,6 @@{"name": "@papra/app",- "version": "26.1.0",+ "version": "26.2.0","private": true,"description": "Papra application package - document management system (CalVer versioned).","repository": {