6.1.13

AIPentest/CyberStrikeAI6.1.13Sep 16, 2026by hand-dot

Upgrading?

AI Summary

Adds Traditional Chinese language support and fixes critical PDF rendering issues including table layout overflow and placeholder handling.

Key Highlights

  • Added Traditional Chinese (`zh-TW`) support for UI and playground
  • Fixed table layout overflow by accounting for padding and borders
  • Fixed placeholder handling to keep unmatched braces as literal text
  • Fixed TypeScript declaration imports for NodeNext consumers

Breaking Changes

  • Table layouts may change height, affecting page breaks
  • Empty text fields no longer draw backgrounds or borders

New Features

  • Localization for Chinese language users
  • Improved PDF rendering stability
  • TypeScript compatibility improvements

Full Release Notes

This release adds Traditional Chinese support and fixes table layout, text rendering, placeholder handling, and TypeScript compatibility.

## New

- Add Traditional Chinese (`lang: 'zh-TW'`) support for UI options, translations, date formatting, and the playground language selector. (#1605)

## Fixes

- **Tables:** Account for cell padding and borders when measuring wrapped text and row height, preventing text from overflowing into or being hidden by the next row. (#1602)
- **Tables:** Preserve default styles when optional properties such as padding or border width are omitted. (#1597)
- **Dynamic layout:** Prevent PDF generation from failing when a shrinking table shifts overlapping content above the page content area. (#1599)
- **Multi-variable text:** Render the text correctly after the last variable is removed, and preserve line breaks while editing. (#1564)
- **Placeholders:** Keep unmatched braces as literal text instead of throwing and interrupting rendering. For example, `ok {1+1} bad {{1}` becomes `ok 2 bad {{1}`. (#1604)
- **Empty text:** Skip background and border decoration for empty text values in generated PDFs. (#1554)
- **TypeScript:** Fix `@pdfme/pdf-lib` declaration imports for NodeNext and Node16 consumers, including projects with `skipLibCheck: false`. Add packed-package consumer checks to CI and publishing. (#1603)
- **Playground:** Fix Monaco 0.56 imports and editor service initialization. (#1600)

## Dependencies and tooling

- Upgrade pako from 2.1.0 to 3.0.1 and update compression imports. (#1582)
- Upgrade development tooling to TypeScript 7, jsdom 30, and Testing Library jest-dom 7. (#1583, #1588, #1589, #1581, #1594)
- Update Node.js type definitions and grouped runtime/development dependencies. (#1593, #1580, #1592)

## Upgrade notes

- **Table layouts may change:** Corrected row heights can make tables taller and change page breaks or page counts. Check templates with tightly positioned content below tables, large padding, or thick borders.
- **Empty text no longer draws its background or border in generated PDFs.** If a template uses an empty text field for decoration, use a shape field instead.

**Full changelog:** https://github.com/pdfme/pdfme/compare/6.1.12...6.1.13

Related Repositories