## 2.0.0 (2026-02-12)

### 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`.

### Other changes

* Updated dependencies

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

## 1.3.9 (2026-01-15)

### Bug fixes

* Fixed Base URL feature in Stream Processing

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

### Other changes

* Updated dependencies

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

## 1.3.8 (2025-12-03)

### 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`.

### Other changes

* Updated dependencies

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

## 1.3.7 (2025-11-26)

### Other changes

* Updated dependencies

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

## 1.3.6 (2025-11-19)

### Other changes

* Updated dependencies

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

## 1.3.5 (2025-09-23)

### Other changes

* Updated dependencies

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

## 1.3.4 (2025-09-12)

### Other changes

* Updated dependencies

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

## 1.3.3 (2025-09-02)

### Other changes

* Updated dependencies

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

## 1.3.2 (2025-07-28)

### Other changes

* Updated dependencies

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

## 1.3.1 (2025-06-03)

### Other changes

* Updated dependencies

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

## 1.3.0 (2025-04-08)

### 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.

### 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.

## 1.2.0 (2025-02-11)

### Features

* Added STIX Two Math Fonts by default

  The font improves converter's MathML compliance.

### Other changes

* Updated dependencies

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

## 1.1.2 (2024-12-17)

### 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.

## 1.1.1 (2024-10-01)

### Other changes

* Updated dependencies

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

## 1.1.0 (2024-08-06)

### Features

* Added support for the safe version of Extra HTTP Headers

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

### Other changes

* Updated dependencies

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

## 1.0.0 (2024-06-19)
* Initial release