6.1.13

FoundationAgents/MetaGPT6.1.13Sep 16, 2026by hand-dot

Upgrading?

AI Summary

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

Key Highlights

  • Added Traditional Chinese (`zh-TW`) support for UI, translations, and playground language selector.
  • Fixed table cell padding and border handling to prevent text overflow and row height issues.
  • Improved dynamic layout to prevent PDF generation failures when content shifts.
  • Fixed placeholder handling to keep unmatched braces as literal text instead of throwing errors.
  • Fixed TypeScript imports for `@pdfme/pdf-lib` and updated development tooling.

Breaking Changes

  • Table layouts may change: Corrected row heights can make tables taller and alter page breaks.
  • Empty text no longer draws its background or border in generated PDFs; use a shape field for decoration.

New Features

  • Traditional Chinese language support
  • Table cell padding and border fixes
  • Dynamic layout fixes
  • Placeholder literal text handling
  • Empty text rendering fixes
  • TypeScript compatibility fixes
  • Monaco editor fixes

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