# Export to PDF On-Premises

<a id="2010-2026-09-29">

## 2.0.10 (2026-09-29)

<a id="other-changes">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="209-2026-08-12">

## 2.0.9 (2026-08-12)

<a id="other-changes-2">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="208-2026-08-04">

## 2.0.8 (2026-08-04)

<a id="other-changes-3">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="207-2026-08-03">

## 2.0.7 (2026-08-03)

<a id="bug-fixes">

### Bug fixes

* Restricted resources loaded during conversion

  Submitted content could cause the converter to read files from its own container filesystem and include them in the generated PDF. Any caller authorized to request a conversion could trigger this; access was limited to files readable by the non-root converter process.

  Resources must now be served over HTTP(S); use the `base_url` option for relative paths.

  The issue was found by Simeon Krastev and reported by [neoshare AG](https://neoshare.de/). Thank you!

<a id="other-changes-4">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="206-2026-07-06">

## 2.0.6 (2026-07-06)

<a id="other-changes-5">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="205-2026-06-09">

## 2.0.5 (2026-06-09)

<a id="other-changes-6">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="204-2026-05-21">

## 2.0.4 (2026-05-21)

<a id="other-changes-7">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="203-2026-04-29">

## 2.0.3 (2026-04-29)

<a id="bug-fixes-2">

### Bug fixes

* Fixed unclear error response for invalid PDF margin and page size settings

  Conversion requests with invalid page settings, such as margins exceeding the page size, now return a 400 response with a clear message instead of a generic 500 error.

<a id="other-changes-8">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="202-2026-04-22">

## 2.0.2 (2026-04-22)

<a id="bug-fixes-3">

### Bug fixes

* Fixed broken internal links in multi-page documents with headers and footers

  Internal href links were incorrectly resolved in multi-page PDFs that used header and footer variants.

* Fixed whitespace handling in PDF conversion

  Resolved an issue where certain whitespace patterns were not rendered correctly in the output PDF.

* Fixed an issue where raw CSS could appear in the PDF content for large payloads

  In certain cases, when converting large HTML payloads, raw CSS content could leak into the generated PDF output. This is now fixed.

<a id="other-changes-9">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="201-2026-03-10">

## 2.0.1 (2026-03-10)

<a id="other-changes-10">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="200-2026-02-12">

## 2.0.0 (2026-02-12)

<a id="features">

### Features

\*\*\* Note: \*\*\*\
The `/v2/convert/html-pdf` endpoint has been introduced with this version.\
The `v2` provides a number of new features and optimizations to the Export to PDF feature. All changes mentioned in the changelog apply to the `v2` version.\
In case of any problem or regression, we encourage you to use the previous version and report the discovered problems through the support channel.

* Added header and footer variants for first, odd, and even pages

  Header and footer variants now support images as well.

* Added support for custom page sizes

  The page size can be set to a predefined format or a custom width/height object.

* Added mirror margins

  This allows book-like margins where left and right margins swap between pages.

* Added metadata, password protection, and digital signatures

  You can now set PDF metadata, protect documents with a password, and sign PDFs using a PKCS 12 certificate.

* Enabled PDF compression by default

  Compression can be disabled via `config.disable_compression`.

* Enabled stream processing by default

  This allows for larger payloads compared to v1.

* Reworked request payload shape for v2

  The API is now unified with Export to Word v2, with features grouped by purpose for a tidier, more structured payload. See the migration guide in `/v2/convert/docs#section/Export-to-PDF-(v2)/Migration-guide-from-v1-to-v2`.

<a id="other-changes-11">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="1106-2026-01-15">

## 1.10.6 (2026-01-15)

<a id="bug-fixes-4">

### Bug fixes

* Fixed Base URL feature in Stream Processing

  The Base URL feature has been fixed when used with enabled Stream Processing.

<a id="other-changes-12">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="1105-2025-12-03">

## 1.10.5 (2025-12-03)

<a id="bug-fixes-5">

### Bug fixes

* Fixed broken REST API documentation

  An incomplete endpoint definition caused the documentation to fail when accessing `/docs`.\
  The REST API documentation is now available again at `/docs`.

<a id="other-changes-13">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="1104-2025-11-19">

## 1.10.4 (2025-11-19)

<a id="other-changes-14">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="1103-2025-09-23">

## 1.10.3 (2025-09-23)

<a id="other-changes-15">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="1102-2025-07-28">

## 1.10.2 (2025-07-28)

<a id="other-changes-16">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="1101-2025-06-03">

## 1.10.1 (2025-06-03)

<a id="other-changes-17">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="1100-2025-04-08">

## 1.10.0 (2025-04-08)

<a id="features-2">

### Features

* Added support for non-https resource requests

  The converter now allows to request resources over http.\
  To enable this feature, the `ALLOW_INSECURE_RESOURCES` environment variable must be set to `true`.\
  It is disabled by default for security reasons.

<a id="other-changes-18">

### Other changes

* Improved memory consumption

  The converter now consumes less memory while processing large documents.

* Updated node version to 22.14.0

  The node version has been updated to 22.14.0 improving the security, reliability\
  and performance of the application.

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="190-2025-02-11">

## 1.9.0 (2025-02-11)

<a id="features-3">

### Features

* Added STIX Two Math Fonts by default

  The font improves converter’s MathML compliance.

<a id="other-changes-19">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="180-2024-12-17">

## 1.8.0 (2024-12-17)

<a id="features-4">

### Features

* Added support for image merge fields

  Added support for the merge fields within image source attributes, allowing dynamic image references when field values are provided. Note: due to Word limitations, this cannot generate new image fields in the document on its own, you have to provide merge field value via the `merge_fields.data` configuration option.

<a id="other-changes-20">

### Other changes

* Updated format field in PDF converter’s options

  Format field in PDF converter’s options is now case insensitive for user’s convenience. For example, from now on both “A4” and “a4” formats will be accepted.

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="171-2024-10-01">

## 1.7.1 (2024-10-01)

<a id="other-changes-21">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="170-2024-08-06">

## 1.7.0 (2024-08-06)

<a id="features-5">

### Features

* Added Merge fields support

  The feature allows to provide HTML with placeholders, which will be replaced during conversion with provided options value.\
  You can read more in the documentation `/docs#section/PDF-options/Merge-fields`.

* Added support for safe version of Extra HTTP Headers

  The `options.extra_http_headers` allow now to define extra http headers for selected domains.\
  The old approach is still supported however it is considered as deprecated.\
  You can read more in the documentation `/docs#section/PDF-options/Extra-HTTP-headers`.

<a id="other-changes-22">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="166-2024-06-19">

## 1.6.6 (2024-06-19)

<a id="other-changes-23">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="165-2024-04-30">

## 1.6.5 (2024-04-30)

<a id="other-changes-24">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="164-2024-03-05">

## 1.6.4 (2024-03-05)

<a id="other-changes-25">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="163-2024-01-09">

## 1.6.3 (2024-01-09)

<a id="other-changes-26">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="162-2023-11-14">

## 1.6.2 (2023-11-14)

<a id="other-changes-27">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="161-2023-10-05">

## 1.6.1 (2023-10-05)

<a id="other-changes-28">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

  The above update patches the security vulnerability related to the heap buffer overflow risk.

<a id="160-2023-09-19">

## 1.6.0 (2023-09-19)

<a id="features-6">

### Features

* Added the `base_url` conversion option

  This option allows setting the base URL for resolving images’ and links’ relative URLs in the content, e.g. setting the `base_url` option to https\://ckeditor.com will result in resolving a /docs link as https\://ckeditor.com/docs.

<a id="other-changes-29">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="150-2023-07-25">

## 1.5.0 (2023-07-25)

<a id="features-7">

### Features

* Added support for custom headers while fetching external resources

  Custom headers can now be added to every request which fetches external resources.\
  It can be used e.g. to authorize access to external resource.\
  You will find more information in our documentation.

<a id="other-changes-30">

### Other changes

* Improved mechanism of conversion

  The conversion mechanism has been reworked. It will allow to handle bigger payloads and to generate bigger PDFs.\
  The mechanism can be enabled by setting the environmental variable.\
  To see more details please check our PDF converter On-premises documentation.

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="146-2023-05-30">

## 1.4.6 (2023-05-30)

<a id="other-changes-31">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="145-2023-04-04">

## 1.4.5 (2023-04-04)

<a id="other-changes-32">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="144-2023-02-07">

## 1.4.4 (2023-02-07)

<a id="other-changes-33">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="143-2022-11-29">

## 1.4.3 (2022-11-29)

<a id="other-changes-34">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="142-2022-10-18">

## 1.4.2 (2022-10-18)

<a id="other-changes-35">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="141-2022-09-06">

## 1.4.1 (2022-09-06)

<a id="other-changes-36">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="140-2022-07-26">

## 1.4.0 (2022-07-26)

<a id="features-8">

### Features

* Added possibility to set the origin of external requests

  The change allows configuring CORS for external resources in a proper way.\
  To set custom request origin use the `CUSTOM_REQUEST_ORIGIN` environment variable while running Export to PDF On-Premises.

<a id="other-changes-37">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="131-2022-06-14">

## 1.3.1 (2022-06-14)

<a id="other-changes-38">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="130-2022-05-05">

## 1.3.0 (2022-05-05)

<a id="features-9">

### Features

* Added support for ARM64v8 CPU architecture

  The Export to PDF On-Premises Server can now be run on machines with the ARM64v8 CPU architecture.

<a id="other-changes-39">

### Other changes

* Updated dependencies

  Selected dependencies have been updated to the latest versions, improving performance and security.

<a id="125-2022-03-22">

## 1.2.5 (2022-03-22)

<a id="other-changes-40">

### Other changes

* Updated dependencies

  Updated selected dependencies to the latest versions - improved the performance and security.

* Cleaned up dependencies

<a id="124-2022-02-08">

## 1.2.4 (2022-02-08)

<a id="other-changes-41">

### Other changes

* Updated dependencies

  Updated part of the dependencies to the latest versions - improved the performance and security.

<a id="123-2022-01-18">

## 1.2.3 (2022-01-18)

<a id="other-changes-42">

### Other changes

* Update Node.js to version 16

* Updated dependencies

  Updated part of the dependencies to the latest versions - improved the performance and security.

<a id="122-2021-11-16">

## 1.2.2 (2021-11-16)

<a id="other-changes-43">

### Other changes

* Updated dependencies

  Updated part of the dependencies to the latest versions - improved the performance and security.\
  From this version, the Docker Engine 20.10 or higher is recommended.

* Updated base docker image (Alpine Linux) from version 3.12 to 3.14

<a id="121-2021-10-05">

## 1.2.1 (2021-10-05)

<a id="other-changes-44">

### Other changes

* Updated dependencies

  Updated part of the dependencies to the latest versions - improved the performance and security.

<a id="120-2021-08-24">

## 1.2.0 (2021-08-24)

<a id="features-10">

### Features

* Increased maximum size of the HTML

  The service allows converting HTML with a maximum size of the content being 70 MB.

<a id="other-changes-45">

### Other changes

* Improved logs readability

* Updated dependencies

  Updated a part of the dependencies to the latest versions - improved the performance and security.

<a id="110-2021-02-25">

## 1.1.0 (2021-02-25)

<a id="bug-fixes-6">

### Bug fixes

* Handled the case when an invalid external resource link provided

  If the service will not be able to fetch an external resource, the timeout error will be returned.

<a id="documentation">

### Documentation

* Added the documentation for the `Authorization` HTTP header

  The documentation explains how to use the `Authorization` HTTP header and includes a sample application.

<a id="other-changes-46">

### Other changes

* Improved the demo page

  The demo page UI and the example document content have been improved.

<a id="100-2020-07-24">

## 1.0.0 (2020-07-24)

<a id="features-11">

### Features

* Added On-Premises version of PDF Converter

  The service allows to convert HTML into PDF documents via the REST API.

* Added authorization

  JWT authorization can be set with the `SECRET_KEY` environment variable.

---

Full index of the Cloud Services documentation: [llms.txt](../../../llms.txt)
