The minimalistic document archiving platform.
chore(release): update versions (#703)
Corentin Thomasset315f608240ac
diff --git a/.changeset/cute-vans-fly.md b/.changeset/cute-vans-fly.mddeleted file mode 100644index a7c9ecc0..00000000--- a/.changeset/cute-vans-fly.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/docker": patch------Added a "Show more results" option in quick search when there is more document not displayeddiff --git a/.changeset/cyan-apples-wink.md b/.changeset/cyan-apples-wink.mddeleted file mode 100644index d470f415..00000000--- a/.changeset/cyan-apples-wink.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/api-sdk": minor------Added `getCurrentApiKey` method in clientdiff --git a/.changeset/eager-grapes-raise.md b/.changeset/eager-grapes-raise.mddeleted file mode 100644index 5259ac1d..00000000--- a/.changeset/eager-grapes-raise.md+++ /dev/null@@ -1,6 +0,0 @@-----"@papra/docker": patch------Improved search speed by using document and organization ids in index-The first restart after updating may take up to few minutes as the search index is rebuiltdiff --git a/.changeset/fast-candles-look.md b/.changeset/fast-candles-look.mddeleted file mode 100644index f73043bd..00000000--- a/.changeset/fast-candles-look.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/docker": patch------The documents page can now be used with advanced search queriesdiff --git a/.changeset/fine-aliens-jump.md b/.changeset/fine-aliens-jump.mddeleted file mode 100644index 059048cc..00000000--- a/.changeset/fine-aliens-jump.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/docker": patch------Auto assign admin role to the first user registeringdiff --git a/.changeset/fluffy-dots-dress.md b/.changeset/fluffy-dots-dress.mddeleted file mode 100644index 3673e51b..00000000--- a/.changeset/fluffy-dots-dress.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/docker": patch------Added about page and modal with version informationsdiff --git a/.changeset/khaki-glasses-draw.md b/.changeset/khaki-glasses-draw.mddeleted file mode 100644index 218f73fd..00000000--- a/.changeset/khaki-glasses-draw.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/docker": patch------Added a dedicated increased timeout for the document upload routediff --git a/.changeset/many-lies-crash.md b/.changeset/many-lies-crash.mddeleted file mode 100644index 15e53632..00000000--- a/.changeset/many-lies-crash.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/search-parser": minor------AST optimization is activated by defaultdiff --git a/.changeset/metal-buttons-mate.md b/.changeset/metal-buttons-mate.mddeleted file mode 100644index 25f95e12..00000000--- a/.changeset/metal-buttons-mate.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/docker": patch------Added a feedback message upon request timeoutdiff --git a/.changeset/metal-laws-chew.md b/.changeset/metal-laws-chew.mddeleted file mode 100644index 59cb82a2..00000000--- a/.changeset/metal-laws-chew.md+++ /dev/null@@ -1,30 +0,0 @@-----"@papra/docker": major-----API Breaking Change:-Document search endpoint now returns complete documents along with total count matching the search query, and no longer nests results under `searchResults`.--Before:-```ts-// GET /api/organizations/:organizationId/documents/search?searchQuery=foobar-{- searchResults: {- documents: [- { id: 'doc_1', name: 'Document 1.pdf' },- { id: 'doc_2', name: 'Document 2.pdf' },- ],- },-}-```--After:-```ts-// GET /api/organizations/:organizationId/documents/search?searchQuery=foobar-{- documents: [- { id: 'doc_1', name: 'Document 1.pdf', mimeType: 'application/pdf' /* ...otherProps */ },- { id: 'doc_2', name: 'Document 2.pdf', mimeType: 'application/pdf' /* ...otherProps */ },- ],- totalCount: 42,-}-```diff --git a/.changeset/old-jars-fix.md b/.changeset/old-jars-fix.mddeleted file mode 100644index c00f21ac..00000000--- a/.changeset/old-jars-fix.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/docker": patch------Added support for two factor authenticationdiff --git a/.changeset/proud-rivers-film.md b/.changeset/proud-rivers-film.mddeleted file mode 100644index 1ac8889e..00000000--- a/.changeset/proud-rivers-film.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/docker": patch------Organizations listing and details in the admin dashboarddiff --git a/.changeset/real-onions-jog.md b/.changeset/real-onions-jog.mddeleted file mode 100644index 5f0ea52c..00000000--- a/.changeset/real-onions-jog.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/docker": patch------Added advanced search syntax supportdiff --git a/.changeset/silent-gifts-enjoy.md b/.changeset/silent-gifts-enjoy.mddeleted file mode 100644index fae04c58..00000000--- a/.changeset/silent-gifts-enjoy.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/docker": patch------Properly cleanup orphan file when the same document exists in trashdiff --git a/.changeset/small-grapes-enter.md b/.changeset/small-grapes-enter.mddeleted file mode 100644index 76e151fe..00000000--- a/.changeset/small-grapes-enter.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/search-parser": patch------Fix tokenization issue for negated filters with quoted valuediff --git a/.changeset/sour-meals-find.md b/.changeset/sour-meals-find.mddeleted file mode 100644index beea0c49..00000000--- a/.changeset/sour-meals-find.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/docker": patch------Added query params sync for the search query in the documents search page for deep linking and browser state navigationdiff --git a/.changeset/sweet-yaks-kiss.md b/.changeset/sweet-yaks-kiss.mddeleted file mode 100644index 08fef81a..00000000--- a/.changeset/sweet-yaks-kiss.md+++ /dev/null@@ -1,13 +0,0 @@-----"@papra/docker": patch------Removed the possibility to filter by tag in the `/api/organizations/:organizationId/documents` route, use the `/api/organizations/:organizationId/documents/search` route instead.--```bash-# Before:-GET /api/organizations/:organizationId/documents?tags=yourTagId--# After:-GET /api/organizations/:organizationId/documents/search?query=tag:yourTagNameOrId-```diff --git a/.changeset/ten-friends-shine.md b/.changeset/ten-friends-shine.mddeleted file mode 100644index a4df9f06..00000000--- a/.changeset/ten-friends-shine.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/docker": patch------Changed config key `config.server.routeTimeoutMs` to `config.server.defaultRouteTimeoutMs` (env variable remains the same)diff --git a/.changeset/true-olives-beam.md b/.changeset/true-olives-beam.mddeleted file mode 100644index e7f3c274..00000000--- a/.changeset/true-olives-beam.md+++ /dev/null@@ -1,5 +0,0 @@-----"@papra/docker": patch------Added api endpoint to check current API key (GET /api/api-keys/current)diff --git a/packages/api-sdk/CHANGELOG.md b/packages/api-sdk/CHANGELOG.mdindex 7401e9b7..f5bef470 100644--- a/packages/api-sdk/CHANGELOG.md+++ b/packages/api-sdk/CHANGELOG.md@@ -1,5 +1,11 @@# @papra/api-sdk+## 1.2.0++### Minor Changes++- [#741](https://github.com/papra-hq/papra/pull/741) [`ae03c76`](https://github.com/papra-hq/papra/commit/ae03c765bf495c63db53d5b60f429f3881887f5a) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added `getCurrentApiKey` method in client+## 1.1.3### Patch Changesdiff --git a/packages/api-sdk/package.json b/packages/api-sdk/package.jsonindex 0054c8f2..83b662c7 100644--- a/packages/api-sdk/package.json+++ b/packages/api-sdk/package.json@@ -1,7 +1,7 @@{"name": "@papra/api-sdk","type": "module",- "version": "1.1.3",+ "version": "1.2.0","description": "Api SDK for Papra, the document archiving platform.","author": "Corentin Thomasset <[email protected]> (https://corentin.tech)","license": "AGPL-3.0-or-later",diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.mdindex 69a726ba..3f688277 100644--- a/packages/cli/CHANGELOG.md+++ b/packages/cli/CHANGELOG.md@@ -1,5 +1,12 @@# @papra/cli+## 0.2.3++### Patch Changes++- Updated dependencies [[`ae03c76`](https://github.com/papra-hq/papra/commit/ae03c765bf495c63db53d5b60f429f3881887f5a)]:+ - @papra/[email protected]+## 0.2.2### Patch Changesdiff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 4af16bcf..6826cf4e 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,7 +1,7 @@{"name": "@papra/cli","type": "module",- "version": "0.2.2",+ "version": "0.2.3","description": "Command line interface for Papra, the document archiving platform.","author": "Corentin Thomasset <[email protected]> (https://corentin.tech)","license": "AGPL-3.0-or-later",diff --git a/packages/docker/CHANGELOG.md b/packages/docker/CHANGELOG.mdindex 3c4cecf2..c1b15b72 100644--- a/packages/docker/CHANGELOG.md+++ b/packages/docker/CHANGELOG.md@@ -1,5 +1,80 @@# @papra/docker+## 26.0.0++### Major Changes++- [#758](https://github.com/papra-hq/papra/pull/758) [`a2a2061`](https://github.com/papra-hq/papra/commit/a2a2061a63bd6c8c2b865ab9c31de2cca438a3cb) Thanks [@CorentinTh](https://github.com/CorentinTh)! - API Breaking Change:+ Document search endpoint now returns complete documents along with total count matching the search query, and no longer nests results under `searchResults`.++ Before:++ ```ts+ // GET /api/organizations/:organizationId/documents/search?searchQuery=foobar+ {+ searchResults: {+ documents: [+ { id: 'doc_1', name: 'Document 1.pdf' },+ { id: 'doc_2', name: 'Document 2.pdf' },+ ],+ },+ }+ ```++ After:++ ```ts+ // GET /api/organizations/:organizationId/documents/search?searchQuery=foobar+ {+ documents: [+ { id: 'doc_1', name: 'Document 1.pdf', mimeType: 'application/pdf' /* ...otherProps */ },+ { id: 'doc_2', name: 'Document 2.pdf', mimeType: 'application/pdf' /* ...otherProps */ },+ ],+ totalCount: 42,+ }+ ```++### Patch Changes++- [#761](https://github.com/papra-hq/papra/pull/761) [`2e46c08`](https://github.com/papra-hq/papra/commit/2e46c08de330ec61fbd7f106bc39d533b87220a7) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added a "Show more results" option in quick search when there is more document not displayed++- [#733](https://github.com/papra-hq/papra/pull/733) [`848671b`](https://github.com/papra-hq/papra/commit/848671b982379ef6ebe26aeb7b1b8ccde89f3b8d) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Improved search speed by using document and organization ids in index+ The first restart after updating may take up to few minutes as the search index is rebuilt++- [#758](https://github.com/papra-hq/papra/pull/758) [`a2a2061`](https://github.com/papra-hq/papra/commit/a2a2061a63bd6c8c2b865ab9c31de2cca438a3cb) Thanks [@CorentinTh](https://github.com/CorentinTh)! - The documents page can now be used with advanced search queries++- [#723](https://github.com/papra-hq/papra/pull/723) [`68d848e`](https://github.com/papra-hq/papra/commit/68d848e622f862ced34ff055819b4af7d171d727) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Auto assign admin role to the first user registering++- [#726](https://github.com/papra-hq/papra/pull/726) [`e8f6217`](https://github.com/papra-hq/papra/commit/e8f6217e351a6b3c5197dae41ea0f12b3d8534b3) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added about page and modal with version informations++- [#707](https://github.com/papra-hq/papra/pull/707) [`a213f06`](https://github.com/papra-hq/papra/commit/a213f0683baebd6546bf38ba9e719c31b60064ed) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added a dedicated increased timeout for the document upload route++- [#712](https://github.com/papra-hq/papra/pull/712) [`b8c14d0`](https://github.com/papra-hq/papra/commit/b8c14d0f44628843c7a682f84f7215fecc50f426) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added a feedback message upon request timeout++- [#717](https://github.com/papra-hq/papra/pull/717) [`f3fb5ff`](https://github.com/papra-hq/papra/commit/f3fb5ff46a02d9ded9baaa0161d96fdb3ab5649d) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added support for two factor authentication++- [#702](https://github.com/papra-hq/papra/pull/702) [`ec34cf1`](https://github.com/papra-hq/papra/commit/ec34cf17880682369d1ecf2957c2d7e0eed9f499) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Organizations listing and details in the admin dashboard++- [#746](https://github.com/papra-hq/papra/pull/746) [`685f03c`](https://github.com/papra-hq/papra/commit/685f03c2fcbba134f108fb0b536f32b0597c60c6) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added advanced search syntax support++- [#715](https://github.com/papra-hq/papra/pull/715) [`7448a17`](https://github.com/papra-hq/papra/commit/7448a170afc9f0038a7b8ac086d4d14aac3b0c3a) Thanks [@kirarpit](https://github.com/kirarpit)! - Properly cleanup orphan file when the same document exists in trash++- [#758](https://github.com/papra-hq/papra/pull/758) [`a2a2061`](https://github.com/papra-hq/papra/commit/a2a2061a63bd6c8c2b865ab9c31de2cca438a3cb) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added query params sync for the search query in the documents search page for deep linking and browser state navigation++- [#758](https://github.com/papra-hq/papra/pull/758) [`a2a2061`](https://github.com/papra-hq/papra/commit/a2a2061a63bd6c8c2b865ab9c31de2cca438a3cb) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Removed the possibility to filter by tag in the `/api/organizations/:organizationId/documents` route, use the `/api/organizations/:organizationId/documents/search` route instead.++ ```bash+ # Before:+ GET /api/organizations/:organizationId/documents?tags=yourTagId++ # After:+ GET /api/organizations/:organizationId/documents/search?query=tag:yourTagNameOrId+ ```++- [#707](https://github.com/papra-hq/papra/pull/707) [`a213f06`](https://github.com/papra-hq/papra/commit/a213f0683baebd6546bf38ba9e719c31b60064ed) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Changed config key `config.server.routeTimeoutMs` to `config.server.defaultRouteTimeoutMs` (env variable remains the same)++- [#718](https://github.com/papra-hq/papra/pull/718) [`8d70a7b`](https://github.com/papra-hq/papra/commit/8d70a7b3c36bcf3f49a27e2c4e92d3b974b552c2) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added api endpoint to check current API key (GET /api/api-keys/current)+## 25.12.0### Minor Changesdiff --git a/packages/docker/package.json b/packages/docker/package.jsonindex 545b61aa..8cd5ab24 100644--- a/packages/docker/package.json+++ b/packages/docker/package.json@@ -1,6 +1,6 @@{"name": "@papra/docker",- "version": "25.12.0",+ "version": "26.0.0","private": true,"description": "Docker image version tracker for Papra, calver-ish versioned.","repository": {diff --git a/packages/search-parser/CHANGELOG.md b/packages/search-parser/CHANGELOG.mdnew file mode 100644index 00000000..5c261680--- /dev/null+++ b/packages/search-parser/CHANGELOG.md@@ -0,0 +1,11 @@+# @papra/search-parser++## 0.1.0++### Minor Changes++- [#773](https://github.com/papra-hq/papra/pull/773) [`78eb1d8`](https://github.com/papra-hq/papra/commit/78eb1d83c71cd8e66ffbce5a4abccb39209dcda6) Thanks [@CorentinTh](https://github.com/CorentinTh)! - AST optimization is activated by default++### Patch Changes++- [#768](https://github.com/papra-hq/papra/pull/768) [`37c3aa9`](https://github.com/papra-hq/papra/commit/37c3aa93acd0a718c0daa6704803a1f555480502) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Fix tokenization issue for negated filters with quoted valuediff --git a/packages/search-parser/package.json b/packages/search-parser/package.jsonindex 7949b3cd..c2c3c1a0 100644--- a/packages/search-parser/package.json+++ b/packages/search-parser/package.json@@ -1,7 +1,7 @@{"name": "@papra/search-parser","type": "module",- "version": "0.0.1",+ "version": "0.1.0","description": "A typesafe, dependency-free, error-resilient AST-based search query parser for TypeScript. Supports logical operators, grouping, filters, and more.","author": "Corentin Thomasset <[email protected]> (https://corentin.tech)","license": "MIT",