Skip to content

v1.19.0 - TypeScript Error Fixes

Choose a tag to compare

@ItMeDiaTech ItMeDiaTech released this 13 Nov 16:55
· 200 commits to main since this release

Critical Fixes

This release resolves 12 TypeScript compilation errors that were blocking test execution in src/elements/Paragraph.ts.

Changes

TypeScript Error Fixes:

  • Fixed ParagraphFormatting property access in revision tracking code
  • Updated indentation properties to use nested structure (prev.indentation.left) instead of flat properties (prev.indentLeft)
  • Updated spacing properties to use nested structure (prev.spacing.before) instead of flat properties (prev.spaceBefore)

Improvements:

  • Enhanced .gitignore with additional document patterns: *.doc, *.pdf, *.rtf
  • Removed duplicate pattern: indentation-test.docx (already covered by *.docx)

Testing

  • Test Results: All 1,216 tests passing across 55 test suites
  • Compilation: TypeScript compiles successfully with no errors
  • Backward Compatibility: No breaking changes to public API

Impact

  • Unblocks development and testing workflows
  • Maintains full compatibility with Template_UI and other consumers
  • No changes required in downstream projects

Installation

```bash
npm install docxmlater@1.19.0
```

Full Changelog

v1.18.0...v1.19.0