The minimalistic document archiving platform.
@papra/app
26.7.1
Patch Changes
#1577
5c308ccThanks @CorentinTh! - Updated Node.js to 26.12.1 to include the latest security fixes.#1556
b5763bbThanks @CorentinTh! - API breaking change: PUT /api/users/me now returns only id, email, name, createdAt, updatedAt, and twoFactorEnabled instead of the full user object.#1552
e7acb46Thanks @CorentinTh! - Search across all pages in the advanced PDF viewer using Ctrl+F / Cmd+F, with match highlighting and previous/next navigation.
26.7.0
Minor Changes
#1474
aa26524Thanks @CorentinTh! - API breaking change: The route to trash a documentDELETE /api/organizations/:organizationId/documents/:documentIdnow returns a 204 No Content status code instead of{ success: true }JSON body.#1513
1f1a9adThanks @CorentinTh! - Added an API endpoint to reprocess existing documentsPOST /api/organizations/:organizationId/documents/:documentId/reprocess. This endpoint allows re-running content extraction + auto tagging and tagging rules on existing documents.
Patch Changes
#1531
4ac1d68Thanks @CorentinTh! - Added Hungarian translation#1468
4fef955Thanks @CorentinTh! - Fonts are now bundled with the app, so that it can be used offline, and no longer depends on Bunny Fonts. A step towards making Papra fully air-gapped.#1461
5d3063bThanks @bartdenhoed! - Fixed missing refresh of the updatedAt db attribute.#1529
1c993e4Thanks @CorentinTh! - Add support for{{organization.name}}in document storage key patterns to organize files into folders named after your organizations.#1469
347029dThanks @CorentinTh! - Fixed OCR extraction for images whose rotation is stored in EXIF metadata.#1525
7c9a96fThanks @CorentinTh! - Added optional storage key synchronization so document renames are reflected in the underlying storage. Enable it withDOCUMENT_STORAGE_KEY_SYNC_ENABLED=truewhen using pattern-based storage keys.#1519
82778dfThanks @CorentinTh! - Fixed document action menus wrapping longer translations by allowing the menu to expand.#1532
50cbe2cThanks @CorentinTh! - You can now configure Docling OCR languages and other conversion options withDOCLING_OPTIONS, using a JSON object such as{"ocr_lang":["en","fr"]}.#1503
2993c6eThanks @CorentinTh! - Security fix: Prevent custom OAuth providers from creating new accounts when registration is disabled, while allowing existing users to sign in.Thanks to 白墨 for the responsible disclosure of this issue.
#1528
13a6d4aThanks @CorentinTh! - Addeddocument.dateanddocument.createdAtto storage key patterns, so you can organize files by document date or creation date. Documents without a date useno-date(and can be configured with thedefaulttransformer).#1517
956684cThanks @CorentinTh! - Added a button to reprocess a document in the documents content tab.#1428
76c4501Thanks @jakubM817! - Add Slovak (sk) translation for the app.#1511
71fdd27Thanks @CorentinTh! - Fully disabled AI credit accounting by default for self-hosted instances to silence "Failed to register AI credit usage" logs.#1470
a58b4f0Thanks @CorentinTh! - Silenced the content extraction warning about DPI.#1534
a03dc5aThanks @CorentinTh! - Fix an issue that prevented reinviting users who left or were removed from an organisation.#1545
193d860Thanks @CorentinTh! - Added an option to restrict registration to specific email domains usingAUTH_ALLOWED_EMAIL_DOMAINS. Forbidden domains still take precedence.#1502
c16661eThanks @CorentinTh! - Removed the default value for the intake email webhook validation secret to prevent ingestion of documents from untrusted sources when no secret is provided. Users must now explicitly set a secret usingINTAKE_EMAILS_WEBHOOK_SECRET.Thanks to 白墨 for the responsible disclosure of this issue.
26.6.2
Patch Changes
#1324
8a3653cThanks @CorentinTh! - Collapse the mobile menu sheet when navigating to a new page.#1453
a64cbbaThanks @CorentinTh! - Fixed an issue where settingAUTH_IS_REGISTRATION_ENABLED=falsehid the sign-up interface but did not block email and password registrations made directly through the authentication API.#1442
03f4ad4Thanks @sp71! - Include the tag name in the tag deletion confirmation message.#1407
30760f5Thanks @CorentinTh! - Added a deletion confirmation modal when deleting a tagging rule, to prevent accidental deletion of tagging rules.#1326
0247a7aThanks @CorentinTh! - Added some database indexes for better performances.#1416
5d43402Thanks @ybizeul! - Fix PDF content preview rendering issue after navigation#1420
510c162Thanks @qmarlats! - Fixed the batch document selection remaining in "select all matching documents" mode after unselecting documents.#1365
881796eThanks @CorentinTh! - Increased and made configurable the timeout of content extraction external service. Docling, Mistral OCR, and Azure DI can now take up to 5 minutes to process a document, instead of the previous 30 seconds, configurable viaDOCLING_REQUEST_TIMEOUT_MS,MISTRAL_OCR_REQUEST_TIMEOUT_MSandAZURE_DI_REQUEST_TIMEOUT_MSrespectively.#1432
a0ce312Thanks @CorentinTh! - Prevent stripe webhook forgery for apps with unconfigured webhooks secrets.Thank you to Andrew Gonzalez (@bruhdev1290) for the responsible disclosure of this issue.
#1362
8adb16dThanks @CorentinTh! - Fix mistral ocr replacing tables with external references, no more[tbl-0.md](tbl-0.md)in extracted content, the tables are now properly extracted and included in the content.#1357
bad01b7Thanks @CorentinTh! - Added a skeleton loader in the sidenav organization picker when fetching organizations#1375
88f1d86Thanks @CorentinTh! - Added Catalan language#1348
12e1d4bThanks @CorentinTh! - Security fix: document share links belonging to a soft-deleted organization were still publicly accessible. Public access (document metadata, file download, and password verification) now stops with a 410 Gone as soon as the organization is deleted, and resumes automatically if the organization is restored during the grace period.Thank you to Thammachart Sittharod for the responsible disclosure of this issue.
#1406
d178643Thanks @CorentinTh! - Security fix: revoke all user sessions on password reset.Thank you to MMartinez for the responsible disclosure of this issue.
26.6.1
Patch Changes
#1312
aded832Thanks @CorentinTh! - Greatly improved the performances when updating and deleting document from the sezarch index, avoiding unnecessary table scans. Noticeable improvement on large document collections (10k+ documents).#1313
94f2a68Thanks @CorentinTh! - Added visual loading state to the rename document modal.#1317
35ce235Thanks @CorentinTh! - Fix the coercion ofAUTO_TAGGING_DEFAULT_MAX_TAGSthat caused a validation error when the value is a string instead of a number. Now correctly converts the string to a number, preventing the validation error.#1320
2ef3148Thanks @CorentinTh! - Fix auto tagging schema definition for some ai providers (notably OpenAI and Anthropic), as they do not support all JSON schema features. It's really nice to have a common spec, if only all providers respected it...#1323
74d98b2Thanks @CorentinTh! - Added better logging when an error occurs during the structured data generation.
26.6.0
Minor Changes
#1200
68fbacbThanks @CorentinTh! - Added AI auto-tagging. When document content is extracted, it can now be automatically tagged using AI. The system uses tag names and descriptions to determine the most relevant tags for the document, and can optionally create new tags if they don't already exist.#1283
62ae3a0Thanks @CorentinTh! - Add support for external document content extraction/ocr, with multiple provider, and support for combining providers using document type filtering and fallback. Currently supported providers are:- Mistral OCR
- Azure Document Intelligence
- Docling server
- Custom HTTP endpoint (configurable)
- Internal Papra extraction engine (default)
Patch Changes
#1179
63ec093Thanks @CorentinTh! - Replace the AWS S3 SDK (@aws-sdk/client-s3+@aws-sdk/lib-storage) with the zero-dependencys3minifor document S3 storage. This removes 97 transitive packages (~23 MB unpacked) from the server, replacing them with a single more performant and dependency-free package.#1246
677f81eThanks @CorentinTh! - Extracted and translated remaining hard coded texts, improving localization for non-English languages.#1240
874354fThanks @CorentinTh! - Added mobile friendly hamburger menu in account settings.#1172
0e970aaThanks @CorentinTh! - Set S3 checksum verification headers to "when required" to fix Backblaze B2 storage issues.#1219
aef57ceThanks @CorentinTh! - Pined the Dockerfile node version sha to reduce supply chain attack surface.#1152
632ac0fThanks @CorentinTh! - Fix the document preview being shrunk by very long document name not containing common break characters (spaces, dashes, ...)#1184
e2c3aa6Thanks @CorentinTh! - Updated tesseract.js to v7 which should increase extraction performance by 15 to 35% on images, source.#1235
ae42102Thanks @CorentinTh! - Added mobile friendly hamburger menu in organization settings.#1196
4250141Thanks @CorentinTh! - Added missing translations in all non-English languages.#1201
167fb8cThanks @CorentinTh! - Auto tagging can be configured per organization, with a dedicated page in organization settings. Owners can manage the following settings:- Enable or disable auto tagging for their organization.
- Enable the creation of new tags if relevant tags do not exist.
- Configure the maximum number of tags that can be automatically added to a document.
#1173
c541b1fThanks @CorentinTh! - Added the possibility to configure the file size polling interval for ingestion folder watchers.INGESTION_FOLDER_WATCHER_FILE_STABILITY_THRESHOLD_MS: The amount of time in milliseconds for a file size to remain constant before being consumed. This helps to avoid processing files that are still being written to (e.g., scanners, cameras, network shares, etc.).INGESTION_FOLDER_WATCHER_FILE_STABILITY_POLL_INTERVAL_MS: The interval in milliseconds at which the file size is polled while waiting for write to finish.
#1292
923e27aThanks @CorentinTh! - Document sort order fallback to the importation date when the sort order is set to other sort orders.#1192
edbd368Thanks @Pallavikumarimdb! - Sort documents by document date instead of the created date.#1296
df9f6c6Thanks @CorentinTh! - Fixed the inline tag picker lowercasing the typed name when suggesting a new tag, so newly created tags now keep their original casing (e.g. typing "Invoices" no longer suggests "invoices").#1232
e853d09Thanks @CorentinTh! - Make the top navigation bar mobile-friendly: the search, import, and admin buttons now collapse to icon-only on small screens, and the user settings dropdown is now available on mobile devices.#1155
e6de1eeThanks @CorentinTh! - Fix the displayed max organization count on the user admin page
26.5.0
Minor Changes
#960
f4b361eThanks @anbraten! - Added the ability to save search queries as views, allowing quick access to frequently used searches. Saved views can be accessed from the sidebar.#1130
4fc4f68Thanks @CorentinTh! - Added document sharing by link: generate a public link to share a document with anyone, without requiring a Papra account. Links can optionally be password-protected and given an expiration date, can be disabled/re-enabled, and are all manageable from a new organization-level "Share links" page.
Patch Changes
#1111
1ecd2c8Thanks @CorentinTh! - Fix admin layout pushing the sidenav out of view when page content is long.#1130
4fc4f68Thanks @CorentinTh! - Laid out the base for the rate limit system.#1121
3a67507Thanks @CorentinTh! - Added the possibility to disable the initial startup execution of all scheduled tasks by setting theRUN_SCHEDULED_TASKS_ON_STARTUP_DEFAULT=falseenvironment variable, mainly usefull for instance that reboot often, dev environments or fast startup requirements (few ms gained). Each task startup configuration remain individually configurable with their dedicated environment variable.#1135
d73933aThanks @CorentinTh! - Added api-key permissions for managing custom properties#1141
f93d6e1Thanks @CorentinTh! - Custom property definition deletion endpoint (DELETE /api/organizations/:organizationId/custom-properties/:propertyDefinitionId) now returns a 204 with no body instead of a 200 with an empty object.#1133
a0f2455Thanks @CorentinTh! - Added the possibility to add notes to documents, which can be used to add additional information or context to a document.#1109
d9bc129Thanks @CorentinTh! - Added the possibility to delete a user in the admin user details page.#996
2a8bdecThanks @magic0whi! - Fix preview of pdfs without embedded fonts by packaging cmaps and custom fonts in the app assets. Increasing the bundle size by ~2mb, but it's worth it for the improved UX and compatibility with a wider range of pdfs.
26.4.2
Patch Changes
- #1105
afb5fe3Thanks @CorentinTh! - Fixed a regression issue breaking the two factor authentication after updatingbetter-auth.
26.4.1
Patch Changes
#1080
47d44e0Thanks @CorentinTh! - Fixed an authorization issue where tag updates and deletions were not scoped to the organization in the URL. Tag mutation endpoints are now correctly scoped to the requested organization.Addressing GHSA-wrx4-3vff-jm94, credit to @TinkAnet for the responsible disclosure.
#1074
e2e7fd4Thanks @CorentinTh! - Limited search query to 1024 characters#1099
086dccbThanks @CorentinTh! - Webhooks no longer follow http redirects (3xx responses) when sending requests.Addressing GHSA-5g86-85rp-f9hx, credit to @FredrikEV for the responsible disclosure.
#1061
93c369dThanks @CorentinTh! - Html-ish characters in email templates are now escaped instead of sanitized-out#1067
79d4cacThanks @CorentinTh! - Increased default max file size from 10MB to 25MB (can still be customized usingDOCUMENT_STORAGE_MAX_UPLOAD_SIZE, disable by setting it to 0).#1010
927c7d6Thanks @CorentinTh! - Removed logging of a polluting empty error cause (with stack trace) when an error is thrown without a cause.#1082
e8d19afThanks @CorentinTh! - Added batch selection in the document page, allowing to select multiple documents (or all matching the current search) and either manage tags or delete them in one go.#1080
47d44e0Thanks @CorentinTh! - Tag deletion endpoint now returns a204 No Contentstatus code instead of200 OKwith an empty JSON object, and a404 Not Foundstatus code is returned when trying to delete a tag that does not exists for the organization.#1015
5bdf0daThanks @JohnCuba! - Synchronized the document pagination of the home page in query params to permit sharing and navigation.#1096
2bb75ceThanks @CorentinTh! - Updated some critical dependencies (better-auth, drizzle-orm, hono, ...) to fix transitive vulnerabilities. Please do not hesitate to report any regression you may encounter, especially if it is related to authentication or database access. Thanks!#1034
c5ccac5Thanks @CorentinTh! - Added content preview for yaml files#1027
b154d2fThanks @CorentinTh! - Removed weird shadows on ui components in light mode#1091
4ab0f32Thanks @CorentinTh! - The documents page content now uses the whole width of the page#1082
e8d19afThanks @CorentinTh! - Added a batch document tag management API endpoint.#1097
928ffc3Thanks @CorentinTh! - Switched docker image pnpm installation from corepack to npm global installation, as Node.js 26 image no longer ships corepack.#1090
5ea8ca3Thanks @CorentinTh! - Added sorting option in the documents list, allowing to sort documents by name, or creation date, in ascending or descending order.#1098
7acca43Thanks @CorentinTh! - Updated pnpm to v11#1020
015bb53Thanks @CorentinTh! - Added some size limits on the webhooks creation and update API endpoints parameters.- Names are limited to 128 characters.
- Secret keys are limited to 256 characters.
- URLs are limited to 2048 characters.
#1025
9c6985bThanks @CorentinTh! - When reopening the quick search modal with existing query, the input content is automatically selected to allow easy replacement or editing.#1033
5d55e41Thanks @CorentinTh! - Changed the server endpoint validation library fromzodtovalibot, and improved some validation schemas in the process.#1097
928ffc3Thanks @CorentinTh! - Updated to Node.js 26#1016
07d7109Thanks @JohnCuba! - Removed native clear button of search bar in safari.#1072
71d093fThanks @mvlanga! - Added a download file option in document list action menu#1089
aef3ef2Thanks @CorentinTh! - AddedsortFieldandsortOrderquery parameters to the document list/search endpoint (GET /api/organizations/:organizationId/documents), allowing documents to be sorted bycreatedAt,updatedAt,name, ordocumentDatein ascending or descending order.#1074
e2e7fd4Thanks @CorentinTh! - Add batch document trash API endpoint.#1099
086dccbThanks @CorentinTh! - Webhooks ssrf validation is now enforced when sending webhook requests, preventing potential TOCTOU dns rebinding attacks (the exploitation window was very small and only theoretical though).#1003
ad5e42dThanks @JohnCuba! - Increased the sidebar collapsing breakpoint to improve the UX on tablets and small laptops.#1016
07d7109Thanks @JohnCuba! - Removed useless close button in the small-screen sidebar sheet.#1003
ad5e42dThanks @JohnCuba! - Prevented the users and organizations tables from forcing horizontal scrolling in the admin panels.#1021
133d235Thanks @CorentinTh! - Prevented long documents name from pushing the right columns out of the container.
26.4.0
Minor Changes
#993
17b501aThanks @CorentinTh! - Breaking change regarding webhook URLsAdded SSRF protection for webhook URLs. Webhook URLs are now validated to ensure they do not point to private or reserved IP addresses, preventing potential server-side request forgery attacks. So webhooks pointing to private IPs (e.g.
http://192.168.0.1/some/stuff), or with domains resolving to private IPs (e.g.http://myservice.local/some/stuff) will be blocked unless explicitly allowed.Two new configuration options are available:
WEBHOOK_SSRF_PROTECTION_ENABLEDSet tofalseto fully disable SSRF protection. This is not recommended, prefer using the allowlist below instead.WEBHOOK_URL_ALLOWED_HOSTNAMESA comma-separated list of hostnames (IP addresses or domain names) that are explicitly trusted and exempt from SSRF checks (e.g. internal services you control).
Addressing GHSA-cjw7-qg95-58mq, credit to @Toothless5143 for the responsible disclosure.
Patch Changes
#986
884d470Thanks @CorentinTh! - Removed currently unusedexpiresAtplaceholder fields in the internal API key creation endpoint to avoid confusions, as non-ui (so non-standard) creation of API keys can set an expiration date, which is not currently enforced by the system.Addressing GHSA-866c-mc22-wvv5, credit to @Toothless5143 for the responsible disclosure.
#992
9039b48Thanks @CorentinTh! - Properly return a "document already has tag" error when trying to add a tag to a document that already has it, instead of a generic 500 error when using an hosted Turso db.#992
9039b48Thanks @CorentinTh! - Api now returns a 409 status code instead of a 400 when either creating a tag that already exists or adding a tag to a document that already has it.#995
327eda0Thanks @CorentinTh! - Properly sanitize user name before including it in the email content to prevent potential XSS or html injection attacks.Addressing GHSA-6f8x-2rc9-vgh4, credit to @Toothless5143 for the responsible disclosure.
#981
f336b84Thanks @CorentinTh! - Moved the theme picker to the user settings dropdown#984
8fe222bThanks @CorentinTh! - App environment configuration validation is now a bit stricter, with slightly different error messages. And the following specific changes:- Boolean env variables previously considered non-truthy values as
false. Now they will throw a validation error if the value is not a valid boolean-ish value AUTH_PROVIDERS_CUSTOMSjson parsing now accepts only valid boolean values for thepkceproperty, while before it accepted any non-true value asfalse- Stricter
AUTH_FORBIDDEN_EMAIL_DOMAINSdomain validation
- Boolean env variables previously considered non-truthy values as
26.3.0
Minor Changes
#956
7c2b2d2Thanks @CorentinTh! - Introduced custom properties! Define custom properties on your organization and set them on documents. Custom properties can be of different types, including text, number, select, multi-select and document or organization members relations.#948
725eaffThanks @CorentinTh! - When extracting text from PDF documents, if neither text nor images suitable for OCR are found, the pages are rendered as images and processed with OCR. Adding support for vectorized text.
Patch Changes
#970
5900674Thanks @CorentinTh! - Added support for quoted search filters, like"warranty date":>2026#969
812e7c3Thanks @CorentinTh! - Added sort actions in the tags list page#939
87a94abThanks @CorentinTh! - Removed useless corepack installation in Dockerfiles#949
ec740edThanks @CorentinTh! - Added document content extraction support for .xlsx and .ods files.#916
65c2beaThanks @CorentinTh! - Added low-level safeguards in the document storage service to prevent overwriting existing files#943
a7b18ceThanks @CorentinTh! - Add the document date property.#921
6be6beaThanks @CorentinTh! - Added the possibility to customize the document storage path#935
62e9e66Thanks @CorentinTh! - Add a document storage migration script to migrate documents from one storage service to another or update storage key or configuration.#930
41e9f33Thanks @CorentinTh! - Added an option to fully disable the content extraction feature.#968
74828e8Thanks @AntonPalmqvist! - Added Swedish language support#945
31e27d5Thanks @CorentinTh! - Added thedatesearch filter, allowing to filter by document dates, likedate:>2026, andhas:date.#953
db6badbThanks @CorentinTh! - Added content extraction support for scanned PDFs images in 1-bit-per-pixel grayscale format.#965
87d80afThanks @CorentinTh! - Added support for searching by custom properties. For example, given a custom propertystatusof typeselectwith optionstodo,in progressanddone, you could search forstatus:todoto find all documents with the status set to todo, orhas:statusto find all documents with a status set (and-has:statusfor documents without a status).
26.2.2
Patch Changes
#911
548608bThanks @CorentinTh! - In the advanced PDF viewer, added empty placeholders for thumbnails to prevent layout shifts.#911
548608bThanks @CorentinTh! - Fix an issue in the advanced PDF that caused the outline panel to appear empty
26.2.1
Patch Changes
- #908
2143728Thanks @CorentinTh! - Fixed an issue preventing the "about Papra" dialog from opening.
26.2.0
Minor Changes
#894
77186daThanks @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
3fa398cThanks @CorentinTh! - Replaceddate-fnsfunctions with in-house implementations to avoid pulling the 30MB lib (mainly due to locale data).#852
71872dbThanks @CorentinTh! - Added explicit error when trying to update a tag with a name that already exists#827
ca2ef28Thanks @CorentinTh! - In the search queries, tag filters are now case-insensitive, sotag:Importantandtag:importantwill match the same tag (as tags names are case-insensitive).#883
63ddecfThanks @CorentinTh! - Synchronized pagination state in the URL on the documents list page.#826
494aa5bThanks @CorentinTh! - Trim tag names and descriptions on creation and update to avoid leading/trailing spaces.#829
393a155Thanks @CorentinTh! - Added a button to generate a random color in the tag creation/edition modal.#810
1d5ada8Thanks @What-is-water93! - Significantly reduced the size of the rootless docker image by preventing file duplications due tochownoperations, gaining ~230MB, more than 30% reduction in size.#900
9058f9eThanks @CorentinTh! - Added an option to limit the number of tags that can be created in an organization, defaulting to 200. Configurable via theMAX_TAGS_PER_ORGANIZATIONenvironment variable.#884
4c7da4bThanks @CorentinTh! - Excluded Synology specific files for the ingestion folder#896
fdd955eThanks @CorentinTh! - Coerce MIME type of intake email attachments when declared asapplication/octet-streamor empty, using magic bytes detection with extension-based fallback.#859
afcfcf7Thanks @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
69633fbThanks @CorentinTh! - Improved the document tag picker UI and UX, allowing tags to be managed from the document list.#855
3f4ca07Thanks @CorentinTh! - Added tagging rules creation/update loading states#880
4f5b29bThanks @CorentinTh! - Removed misleading "git missing" error log on app startup when git isn't available, like in Docker env.#822
b6951eaThanks @CorentinTh! - Tag names uniqueness enforced with case insensitivity per organization. Migration will ensure deduplication by appending prefixes in case of existing collisions.#811
1eeb3dfThanks @CorentinTh! - Added small header in organization creation page to quickly access the invitations when first organization is being created#903
d13c74fThanks @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
316a8c2Thanks @CorentinTh! - Added tag creation/update button loading state#892
1c1d273Thanks @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
3f4ca07Thanks @CorentinTh! - Prevented multiple tagging-rules creation attempts when clicking the create button quickly.#851
316a8c2Thanks @CorentinTh! - Prevented multiple tag creation attempts when clicking the create button quickly.#899
d1eae05Thanks @CorentinTh! - Api breaking change: removed the/api/organizations/:organizationId/documents/searchendpoint in favor of the existing/api/organizations/:organizationId/documentswith an optionalsearchQueryquery parameter. The new/api/organizations/:organizationId/documentsendpoint now behave as the old/searchendpoint, with all documents being returned whensearchQueryis empty. Note that the response fieldtotalCountof the old/searchendpoint has been renamed todocumentsCountin 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
0c62716Thanks @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, security researcher, for responsibly disclosing this vulnerability.
26.1.0
Minor Changes
- #796
aaa05a8Thanks @CorentinTh! - Renamed the internal distribution package from@papra/dockerto@papra/app. New release tags will use the format@papra/[email protected]instead of@papra/[email protected].
Patch Changes
#784
2c078e2Thanks @CorentinTh! - Tag list: order tags by creation date descending (newest on top)#781
7c5e68fThanks @CorentinTh! - When navigating to / and having only one organization, get redirected to that organization#783
ad575bfThanks @CorentinTh! - Fix tag automatic search link issue when tags have spaces, beforetag:my tagwould not work, now generatetag:"my tag"to fix it.#795
3a41531Thanks @CorentinTh! - Hide the "Don't have an account? Register" link on the login page when new account registration is disabled.#785
45534a0Thanks @CorentinTh! - Added thehas:tagssearch filter to check for the presence or absence (-has:tagsorNOT has:tags) of tags on documents.#777
42e401cThanks @CorentinTh! - Properly tree-shake all demo assets to reduce the size of production non-demo build. Reducing the bundle assets by70kB (55kB on main chunk + removed demo chunk of ~15kB).#794
0485701Thanks @ktsourdinis! - Added Greek language support#798
c27d85fThanks @cergmin! - Added Russian language support
26.0.0
Major Changes
#758
a2a2061Thanks @CorentinTh! - API Breaking Change: Document search endpoint now returns complete documents along with total count matching the search query, and no longer nests results undersearchResults.Before:
// 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:
// 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
2e46c08Thanks @CorentinTh! - Added a "Show more results" option in quick search when there is more document not displayed#733
848671bThanks @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
a2a2061Thanks @CorentinTh! - The documents page can now be used with advanced search queries#723
68d848eThanks @CorentinTh! - Auto assign admin role to the first user registering#726
e8f6217Thanks @CorentinTh! - Added about page and modal with version informations#707
a213f06Thanks @CorentinTh! - Added a dedicated increased timeout for the document upload route#712
b8c14d0Thanks @CorentinTh! - Added a feedback message upon request timeout#717
f3fb5ffThanks @CorentinTh! - Added support for two factor authentication#702
ec34cf1Thanks @CorentinTh! - Organizations listing and details in the admin dashboard#746
685f03cThanks @CorentinTh! - Added advanced search syntax support#715
7448a17Thanks @kirarpit! - Properly cleanup orphan file when the same document exists in trash#758
a2a2061Thanks @CorentinTh! - Added query params sync for the search query in the documents search page for deep linking and browser state navigation#758
a2a2061Thanks @CorentinTh! - Removed the possibility to filter by tag in the/api/organizations/:organizationId/documentsroute, use the/api/organizations/:organizationId/documents/searchroute instead.# Before: GET /api/organizations/:organizationId/documents?tags=yourTagId # After: GET /api/organizations/:organizationId/documents/search?query=tag:yourTagNameOrId#707
a213f06Thanks @CorentinTh! - Changed config keyconfig.server.routeTimeoutMstoconfig.server.defaultRouteTimeoutMs(env variable remains the same)#718
8d70a7bThanks @CorentinTh! - Added api endpoint to check current API key (GET /api/api-keys/current)
25.12.0
Minor Changes
#685
cf91515Thanks @CorentinTh! - Document search indexing and synchronization is now asynchronous, and no longer relies on database triggers. This significantly improves the responsiveness of the application when adding, updating, trashing, restoring, or deleting documents. It's even more noticeable when dealing with a large number of documents or on low-end hardware.#686
95662d0Thanks @CorentinTh! - Enforcing the auth secret to be at least 32 characters long for security reasons#686
95662d0Thanks @CorentinTh! - Now throw an error if AUTH_SECRET is not set in production mode#689
d795798Thanks @CorentinTh! - Added a platform administration dashboard#675
17d6e9aThanks @CorentinTh! - Added support for Simplified Chinese language#679
6f38659Thanks @CorentinTh! - Fixed an issue where the document icon didn't load for unknown file types
25.11.0
Minor Changes
#638
ae3abe9Thanks @CorentinTh! - Added the possibility to filter out some email domain names for new registration#633
d267605Thanks @CorentinTh! - Lazy load some demo-mode specific code to reduce production client bundle#618
868281bThanks @CorentinTh! - Added translations for document table headers#653
ca80806Thanks @CorentinTh! - Added some logging context when an intake email is received#650
dc6ee5bThanks @CorentinTh! - Api breaking change: the document search endpoint return format changed, impacting any custom clients consuming it.Before
// Get /api/organizations/:organizationId/documents/search { documents: { id: string; name: string; mimeType: string; // ... other document fields } []; }After
// Get /api/organizations/:organizationId/documents/search { searchResults: { documents: { id: string; name: string; } []; } }#619
5b5ce85Thanks @CorentinTh! - Limit concurrent browser upload to avoid network crashes#609
cb1f1b5Thanks @dbarenholz! - Made the tags clickable in the tag list#655
08f4a1cThanks @CorentinTh! - Intake email edge case: use original destination addresses when available for intake emails when forwarded#660
9b43bafThanks @bkwi! - Removed the possibility for unauthorized upload to another organization you're not member of#616
1922f24Thanks @CorentinTh! - Upgraded to node v24#607
abc463fThanks @dbarenholz! - Added Dutch translation#625
ee9eff4Thanks @CorentinTh! - Improved server authentication logging#623
b087764Thanks @CorentinTh! - Improved unique constraints error when dealing with hosted libsql db#637
479a603Thanks @CorentinTh! - Fix tags table overflow for long tag descriptions: added some text wrapping for the description#657
96403c0Thanks @CorentinTh! - Fix environment variableDOCUMENT_STORAGE_S3_FORCE_PATH_STYLEvalidation schema to account for boolean string
25.10.2
Patch Changes
#602
79e9bb1Thanks @CorentinTh! - Added an email verification confirmation/expiration page#577
bd3e321Thanks @CorentinTh! - Improved graceful shutdown#584
f4740baThanks @CorentinTh! - Reduced client bundle size by removing date-fns#598
377c11cThanks @CorentinTh! - Fix client redirection issue on non-existent organization#580
1228486Thanks @CorentinTh! - Added text extraction support for.docx,.odt,.rtf,.pptxand.odp#591
0aad884Thanks @CorentinTh! - Updated pnpm version#575
be25de7Thanks @CorentinTh! - Added global errors handlers#601
16ae461Thanks @CorentinTh! - Added missing translations in the tagging rule form#601
16ae461Thanks @CorentinTh! - Choose betweenAll conditions must matchandAny condition must matchin tagging rules#582
182ccbbThanks @CorentinTh! - Fixed the webhook last triggered date always showing "never" in the webhook list.#583
b0abf7fThanks @CorentinTh! - Improved the translation of dates and relative time#577
bd3e321Thanks @CorentinTh! - Added the possibility to start either just the api, just the workers, or both (default)#585
a857370Thanks @CorentinTh! - Fix webhook creation form preventing to create webhooks without secrets#540
75340f0Thanks @jodli! - Added button to reapply a tagging rule#589
e9a719dThanks @CorentinTh! - Fixed wrongly formatted [object Object] feedback message in auth pages
25.10.1
Patch Changes
#567
d7df2f0Thanks @CorentinTh! - Removed unnecessary left icon navbar#556
f66a9f5Thanks @CorentinTh! - Added deleted and total document counts and sizes in the/api/organizations/:organizationId/documents/statisticsroute#570
c3ffa83Thanks @CorentinTh! - Added server hostname configuration#552
8aabd28Thanks @CorentinTh! - Lighten the client bundle by removing lodash dep#550
1a7a14bThanks @CorentinTh! - Fix weird navigation freeze when direct navigation to organizations#548
17cebdeThanks @CorentinTh! - Made the validation more permissive for incoming intake email webhook addresses, allowing RFC 5322 compliant email addresses instead of just simple emails.#565
e4295e1Thanks @CorentinTh! - Prevent small flash of wrong theme on initial load for slower connections#566
92daaa3Thanks @CorentinTh! - Redacted webhook signing secret in api update response#560
54cc140Thanks @CorentinTh! - Reduced the client bundle size by switching to posthog-lite#555
c5b337fThanks @CorentinTh! - Use organization max file size limit for pre-upload validation#567
d7df2f0Thanks @CorentinTh! - Redesigned the organization picker in the sidenav
25.10.0
Minor Changes
- #544
9c6f14fThanks @CorentinTh! - Use calendar based versioning for docker images
Patch Changes
#532
9a6e822Thanks @CorentinTh! - Drop docker armv7 support#542
c434d87Thanks @CorentinTh! - Added soft deletion with grace period for organizations#534
624ad62Thanks @CorentinTh! - Added a page to view organization usage#538
73ab9e8Thanks @CorentinTh! - Save document activity log when auto tagging rule is applied#538
73ab9e8Thanks @CorentinTh! - Trigger tag-added webhooks when auto tagging rule is applied
0.9.6
Patch Changes
#531
2e2bb6fThanks @CorentinTh! - Added env variable to configure ip header for rate limit#524
c84a921Thanks @CorentinTh! - Fixed the api validation of tag colors to make it case incensitive
0.9.5
Patch Changes
#521
b287723Thanks @CorentinTh! - Properly handle file names encoding (utf8 instead of latin1) to support non-ASCII characters.#517
a3f9f05Thanks @CorentinTh! - Prevented organization deletion by non-organization owner
0.9.4
Patch Changes
#508
782f70fThanks @CorentinTh! - Added an option to disable PRAGMA statements from sqlite task service migrations#510
ab6fd6aThanks @CorentinTh! - Added fallbacks env variables for the task worker id#512
cb3ce6bThanks @CorentinTh! - Added organizations permissions for api keys
0.9.3
Patch Changes
#506
6bcb2a7Thanks @CorentinTh! - Added the possibility to define patterns for email intake username generation#504
936bc2bThanks @CorentinTh! - Split the intake-email username generation from the email address creation, some changes regarding the configuration when using therandomdriver.# Old configuration INTAKE_EMAILS_DRIVER=random-username INTAKE_EMAILS_EMAIL_GENERATION_DOMAIN=mydomain.com # New configuration INTAKE_EMAILS_DRIVER=catch-all INTAKE_EMAILS_CATCH_ALL_DOMAIN=mydomain.com INTAKE_EMAILS_USERNAME_DRIVER=random#504
936bc2bThanks @CorentinTh! - Added the possibility to configure OwlRelay domain
0.9.2
Patch Changes
#493
ed4d7e4Thanks @CorentinTh! - Fix to allow cross docker volume file moving when consumption is done#500
208a561Thanks @CorentinTh! - Added the possibility to define a Libsql/Sqlite driver for the tasks service#499
40cb1d7Thanks @CorentinTh! - Enhanced security by serving files as attachement and with an octet-stream content type#501
b5bf0ccThanks @CorentinTh! - Fix an issue preventing to disable the max upload size#498
3da13f7Thanks @CorentinTh! - Removed the "open in new tab" button for security improvement (xss prevention)
0.9.1
Patch Changes
#491
bb9d555Thanks @CorentinTh! - Fix cleanup state when a too-big-file is uploaded#492
54514e1Thanks @CorentinTh! - Added a client side guard for rejecting too-big files#488
83e943cThanks @CorentinTh! - Fix favicons display issues on firefox#492
54514e1Thanks @CorentinTh! - Fix i18n messages when a file-too-big error happens#492
54514e1Thanks @CorentinTh! - Clean all upload method to happen through the import status modal
0.9.0
Minor Changes
#472
b08241fThanks @CorentinTh! - Dropped support for the dedicated backblaze b2 storage driver as b2 now fully support s3 client#480
0a03f42Thanks @CorentinTh! - Added documents encryption layer#472
b08241fThanks @CorentinTh! - Stream file upload instead of full in-memory loading
Patch Changes
#483
ec0a437Thanks @CorentinTh! - Fix a bug where the ingestion folder was not working when the done or error destination folder path (INGESTION_FOLDER_POST_PROCESSING_MOVE_FOLDER_PATHandINGESTION_FOLDER_ERROR_FOLDER_PATH) were absolute.#475
ea9d90dThanks @CorentinTh! - Use node file streams in ingestion folder for smaller RAM footprint#477
a62d376Thanks @CorentinTh! - Fixed an issue where tags assigned to only deleted documents won't show up in the tag list#472
b08241fThanks @CorentinTh! - Properly handle missing files errors in storage drivers#471
e77a42fThanks @CorentinTh! - Lazy load the PDF viewer to reduce the main chunk size#481
1606310Thanks @CorentinTh! - Allow for more complex intake-email origin adresses#470
d488efeThanks @CorentinTh! - Simplified i18n tooling + improved performances#468
14c3587Thanks @CorentinTh! - Prevent infinit loading in search modal when an error occure#468
14c3587Thanks @CorentinTh! - Improved the UX of the document content edition panel#468
14c3587Thanks @CorentinTh! - Added content edition support in demo mode
0.8.2
Patch Changes
- #461
c085b9dThanks @CorentinTh! - Fix a regression bug that executed tagging rules before the file content was extracted
0.8.1
Patch Changes
- #459
f20559eThanks @CorentinTh! - Removed dev-dependency needed in production build
0.8.0
Minor Changes
#452
7f7e5bfThanks @CorentinTh! - Completely rewrote the migration mechanism#447
b5ccc13Thanks @CorentinTh! - The file content extraction (like OCR) is now done asynchronously by the task runner#448
5868800Thanks @CorentinTh! - Fixed the impossibility to delete a tag that has been assigned to a document#432
6723bafThanks @CorentinTh! - Added new webhook events: document:updated, document:tag:added, document:tag:removed#432
6723bafThanks @CorentinTh! - Webhooks invocation is now defered
Patch Changes
#419
7768840Thanks @Edward205! - Added diacritics and improved wording for Romanian translation#448
5868800Thanks @CorentinTh! - Added feedback when an error occurs while deleting a tag#412
ffdae8dThanks @OsafAliSayed! - Simplified the organization intake email list#441
5e46bb9Thanks @Zavy86! - Added Italian (it) language support#455
b33fde3Thanks @CorentinTh! - Improved feedback message in case of invalid origin configuration
0.7.0
Minor Changes
- #417
a82ff3aThanks @CorentinTh! - v0.7 release
0.6.4
Patch Changes
#392
21a5cccThanks @CorentinTh! - Fix permission issue for non 1000:1000 rootless user#387
73b8d08Thanks @CorentinTh! - Added configuration for the ocr language using DOCUMENTS_OCR_LANGUAGES#377
205c6cfThanks @CorentinTh! - Improve file preview for text-like files (.env, yaml, extension-less text files,...)#393
aad36f3Thanks @CorentinTh! - Fix weird centering in document page for long filenames#394
f28d824Thanks @CorentinTh! - Added the possibility to disable login via email, to support sso-only auth#405
3401cfbThanks @CorentinTh! - Introduce APP_BASE_URL to mutualize server and client base url#346
c54a71dThanks @blstmo! - Fixes 400 error when submitting tags with uppercase hex colour codes.#408
09e3bc5Thanks @CorentinTh! - Added Romanian (ro) translation#383
0b276eeThanks @LMArantes! - Added Brazilian Portuguese (pt-BR) language support#399
47b69b1Thanks @CorentinTh! - Fix back to organization link in organization settings#403
1711ef8Thanks @Icikowski! - Added Polish (pl) language support#379
6cedc30Thanks @CorentinTh! - Updated dependencies#411
2601566Thanks @4DRIAN0RTIZ! - Added Spanish (es) translation#391
40a1f91Thanks @itsjuoum! - Added European Portuguese (pt) translation#378
f1e1b40Thanks @CorentinTh! - Added tag color swatches and picker
0.6.3
Patch Changes
#357
585c53cThanks @CorentinTh! - Added a /llms.txt on main website#366
b8c2bd7Thanks @CorentinTh! - Allow for adding/removing tags to document using api keys
0.6.2
Patch Changes
#337
1c574b8Thanks @CorentinTh! - Ensure database directory exists when running scripts (like migrations)#333
ff830c2Thanks @CorentinTh! - Fixed version release link
0.6.1
Patch Changes
- #326
17ca8f8Thanks @CorentinTh! - Fix content disposition header to support non-ascii filenames
0.6.0
Minor Changes
#320
8ccdb74Thanks @CorentinTh! - Set CLIENT_BASE_URL default value to http://localhost:1221 in Dockerfiles#317
79c1d32Thanks @CorentinTh! - Added document activity log#319
60059c8Thanks @CorentinTh! - Added pending invitation management page#306
f0876fdThanks @CorentinTh! - Added support for classic SMTP client for email sending#304
cb38d66Thanks @CorentinTh! - Reworked the email sending system to be more flexible and allow for different drivers to be used.EMAILS_DRY_RUNhas been removed and you can now useEMAILS_DRIVER=loggerconfig option to log emails instead of sending them.
Patch Changes
#309
d4f72e8Thanks @CorentinTh! - Disable "Manage subscription" from organization setting by default#308
759a3ffThanks @CorentinTh! - I18n: full support for French language#312
e5ef40fThanks @CorentinTh! - Fixed an issue with the reset-password page navigation guard that prevented reset
0.5.1
Patch Changes
- #302
b62ddf2Thanks @CorentinTh! - Set email setting to dry-run by default in docker
0.5.0
Minor Changes
#295
438a311Thanks @CorentinTh! - Added support for custom oauth2 providers#294
b400b3fThanks @CorentinTh! - Ensure local database directory en boot#291
0627ec2Thanks @CorentinTh! - Added invitation system to add users to an organization
Patch Changes
- #296
0ddc234Thanks @CorentinTh! - Fix register page description
0.4.0
Minor Changes
#280
85fa5c4Thanks @CorentinTh! - Properly hard delete files in storage driver#280
85fa5c4Thanks @CorentinTh! - Added support for b2 document storage#280
85fa5c4Thanks @CorentinTh! - Added support for azure blob document storage#280
85fa5c4Thanks @CorentinTh! - Added webhook management#280
85fa5c4Thanks @CorentinTh! - Added API keys support#280
85fa5c4Thanks @CorentinTh! - Added document searchable content edit
Patch Changes
#280
85fa5c4Thanks @CorentinTh! - Fix ingestion config coercion#280
85fa5c4Thanks @CorentinTh! - Added tag creation button in document page#280
85fa5c4Thanks @CorentinTh! - Improved tag selector input wrapping#280
85fa5c4Thanks @CorentinTh! - Properly handle file names without extensions#280
85fa5c4Thanks @CorentinTh! - Wrap text in document preview#280
85fa5c4Thanks @CorentinTh! - Excluded deleted documents from doc count