## 1.6.3 (2026-04-15)

### Import from Word

#### Bug fixes

* Fixed incorrect handling of footnotes during conversion

### Common changes

* Updated dependencies

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

## 1.6.2 (2026-03-26)

### Bug fixes

* Fixed support for conversion when no secret key is provided

  In the recent release, the possibility of using the converter without a secret key was blocked. This release restores the possibility of using the converter without a secret key set. So now the converter can be configured to be used without the Authorization header back.

### Common changes

* Updated dependencies

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

## 1.6.1 (2026-03-10)

### Common changes

* Updated dependencies

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

### Import from Word

#### Bug fixes

* Fixed missing error details in HTML conversion error responses.

  When submitting an invalid DOCX file for HTML conversion, the error response now correctly includes the errors array in the response data.

* Ignore trailing whitespace.

  In Word, some whitespace characters, including the space character, when placed at the end of a line or a paragraph, do not participate in document layout. However, the converter used to preserve them and only removed certain formatting properties (e.g., background color) from them, leading to issues with horizontal text alignment or table cell width. Now, the converter ignores such characters.

### Export to Word

#### Bug fixes

* Fixed conversion hanging indefinitely when fetching unavailable images.

  The converter now handles network requests through a single HTTP client, preventing situations where unreachable images could cause the conversion to hang or produce squished images.

* Fixed validation of merge fields data.

  Non-array merge field data is now properly rejected upfront, preventing potential serialization issues during conversion.

* Correctly convert line height.

  Export to Word had several bugs in calculations of line height, which led to incorrect line spacing in Word and caused unintentional visual changes in documents that are exported and then imported again. These problems were addressed in this release, and line height converts properly now.

## 1.6.0 (2026-01-15)

### Import from Word

#### Features

* Added support for conversion of footnotes and endnotes.

  The converter is now capable of converting footnotes and endnotes from Word to TinyMCE. Since the editor only supports footnotes, the converter transforms endnotes into footnotes.

### Export to Word

#### Features

* Added support for conversion of HTML footnotes.

  Export for Word now supports converting footnotes from TinyMCE to endnotes in Word.

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

### Common changes

* Updated dependencies

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

## 1.5.6 (2025-11-26)

### Common changes

* Updated dependencies

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

## 1.5.5 (2025-11-19)

### Common changes

* Updated dependencies

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

## 1.5.4 (2025-09-23)

### Common changes

* Updated dependencies

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

## 1.5.3 (2025-09-12)

### Common changes

* Updated dependencies

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

## 1.5.2 (2025-09-02)

### Common changes

* Updated dependencies

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


## 1.5.1 (2025-07-28)

### Export to Word

#### Bug fixes

* Fixed an issue with the incorrect application of CSS in Export to Word conversion

  If camelCase was used in a CSS class ( `.someClass` ), styles were incorrectly applied during Export to Word. The issue has been resolved, and CSS styles are now applied correctly, respecting class name casing.

### Common changes

* Updated dependencies

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


## 1.5.0 (2025-06-03)

### Import from Word

#### Features

* Added support for headers and footers.

  They support the same formatting as the main document content. The converter also supports different types of headers and footers:

    * first page ones,
    * even page ones,
    * odd page ones,
    * and default ones (if the header/footer is the same for all pages).
  
  Page number and total pages fields are also supported. They are outputted as `<span class="pageNumber"></span>` and `<span class="totalPages"></span>`. Thanks to that, imported page numbering is compatible with the one supported by the Export to Word.

  Please note that only headers and footers from the first section in the document are converted.

#### Bug fixes

* Fixed an issue with parsing horizontal lines breaking conversion

  If a horizontal line was followed immediately by a page break without any newline between them, the converter errored. After the fix, such cases are correctly converted.

### Export to Word

#### Features

* Added horizontal padding support

  Prior to this change, only `margin-left` and `margin-right` CSS properties were translated to horizontal margins in Word. This feature also introduced support for indentation applied by `padding-left` and `padding-right` CSS properties. Now, the indentation is the sum of margins and padding, e.g. if the element has `margin-left` of 10px and `padding-left` of 20px, its left margin in Word will be 30px.

### Common changes

* Updated dependencies

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

## 1.4.0 (2025-04-08)

### Import from Word

#### Features

* Added generic font families to fonts imported from MS Word

  MS Word can include many fonts that are not available in the browser, but are part of the user's OS.
  To make sure that fonts rendered by the browser resemble what the user sees in Word, we have introduced generic
  font families in outputted font stacks. For example, instead of setting font-family to `Calibri`, the converter
  now sets it to `Calibri, sans-serif`.

#### Bug fixes

* Fixed an issue with incorrectly recognized multi-level lists

  When a multi-level list definition included other list item types that were not used in the list itself,
  the converter produced a normal list. This optimization makes sure that multi-level lists with unused other
  list type definitions are still treated as multi-level.

### Export to Word

#### Features

* Added table of contents support

  Export for Word now supports the table of contents feature that is converted into a proper MS Word feature.

#### Bug fixes

* Fixed missing support for Windows/DOS line endings

  Added support for Windows/DOS line endings, i.e. `\r\n`.

* Fixed failing conversion when converting unsupported drawings

  In rare cases when an unsupported type of drawing was added to the document as a suggestion, the import suggestion failed.

### Common 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.3.0 (2025-02-11)

### Export to Word

#### Features

* Added watermark support

  A semi-transparent image watermark can be added now to each page of an exported Word document, ideal for branding, copyright protection, or decorative purposes. This feature is particularly useful for professional documents such as reports, contracts, or marketing materials. For more details, see the API watermark configuration option.

### Import from Word

#### Bug fixes

* Fixed incorrect indentation in paragraphs with disabled numbering

  When a paragraph inherited a numbering definition containing paragraph indentation from a style definition, but had that numbering explicitly disabled in direct formatting, the indentation was still being applied. In this release, this bug was fixed, and such paragraphs no longer include the indentation inherited from a numbering definition.

* Fixed an exception thrown in documents containing references to non-existent abstract numbering definitions

### Common changes

* Updated dependencies

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

## 1.2.0 (2024-12-17)

### Import from Word

#### Features

* Added document lists

  Paragraphs that follow list items with equal or greater indentation are now automatically included as part of the list item, preserving complex list structures from Word documents.

#### Bug fixes

* Fixed an issue with incorrectly numbered list items

  Fixed Word list import to properly handle custom number overrides, ensuring that lists with manually adjusted numbering sequences are accurately preserved in the resulting HTML output.

* Fixed HTML encoding for selected attributes

  Some attributes could generate invalid HTML if not properly encoded. This bugfix ensures that the produced HTML is fully HTML 5 compliant.

* Updated URL protocol validation

  Updated protocol handling to omit specific non-web protocols that could produce non-compliant HTML.

#### Other changes

* Improved file validation in Import from Word

  In case of incompatible file import a proper error message will be returned.
  
### Export to Word

#### Features

* Added document lists

  List items containing block elements are now automatically flattened when exporting to Word, with nested content converted into properly indented paragraphs following their respective list items.

#### Other changes

* Improved image spacing

  Export to Word is now capable of recognizing image margins for float elements (CSS `float` property), maintaining proper spacing between floating images and surrounding text.

### Common changes

* Updated dependencies

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


## 1.1.0 (2024-10-01)

### Import form Word

#### Features

* Added support for detecting text content language

  The text content language is now preserved by the converter and output as the appropriate lang attribute.

### Export to Word

#### Features

* Added bookmarks support

  The converter now transforms elements with the id attribute into Word document bookmarks, enabling quick navigation within the document.

* Added support for detecting text content language

  Text content language is now retained in exported Word documents.

#### Bug fixes

* Fixed table rendering across multiple pages

  Fixed an issue where tables spanning multiple pages had incorrect break points if the CSS did not specify a parent element font size.
  Table height is now calculated only when explicitly defined in CSS, allowing Word’s rendering engine to handle table pagination more accurately.

* Fixed issue with empty documents not preserving document language

  Empty documents now retain the specified content language in the exported Word document, ensuring a better editing
  experience even when no initial content is present.

* Fixed issue with images and links pointing to the same resource

  Documents containing the same src attribute for images and href for links are now correctly generated without breaking
  the document structure.

* Fixed attribute suggestions breaking the conversion ( EtW v1 version )

  The unsupported attribute suggestions are removed from the document.

#### Other changes

* Improved spacing between adjacent tables and block quotes

  When HTML contains two adjacent tables or block quotes, we insert a paragraph in-between to prevent Word from merging these elements.
  These paragraphs now use the "No Spacing" style, reducing formatting discrepancies.

### Common changes

* Updated dependencies

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

## 1.0.1 (2024-08-06)

### Import form Word

#### Bug fixes

* Improved table border resolution

  In some cases, imported table borders were incorrectly applied or missing.

* Changed the `japaneseDigitalTenThousand` (Japanese Digital Ten Thousand Counting System) list style type to CSS `cjk-decimal`.

  Originally, that style was converted to `japanese-informal`, which did not properly match this list style type.

### Export to Word

#### Features

* Added complete support form table borders formatting

  Now a change of table border color, style, and width, as well as create tables with hidden borders to layout the content are supported.

#### Bug fixes

* Fixed an issue with images positioned incorrectly with text wrap

  Images with wrap text or side image alignment in the document list were positioned incorrectly. After the fix, image positioning for these types of images is more precise.

* Fixed image caption positioning.

  A recent update in MS Word caused an issue where image captions would occupy the entire height of the image. This problem has now been addressed. After the fix, image captions are correctly positioned at the bottom of the image.

* Fixed incorrect background color inheriting.

  The background color defined for the `body` element could, in some cases, incorrectly impact the table header background color. This issue has been patched.

#### Other changes

* Improved performance and memory consumption of the converter, making it even faster

### Common changes

* Updated dependencies

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


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