Releases: dg/texy
Releases · dg/texy
Released version 3.2.8
Texy 3.2.8 is a housekeeping release focused on type safety and code quality. The entire codebase now uses strict comparisons and proper native type declarations, static analysis is mandatory, and the test suite has been completely reorganized for better clarity.
⚠️ Deprecations
FigureModule::$widthDeltaandFigureModule::$requireCaption– these properties will be removed in a future versionImageModule::$linkedRootandImageModule::$defaultAlt– no longer recommended for useLinkModule::$imageClass– scheduled for removal- HTML4 constants (
HTML4_TRANSITIONAL,HTML4_STRICT, etc.) now use the native#[\Deprecated]attribute
♻️ Code Refactoring
- Native type declarations added across the entire codebase – return types, parameter types, and property types are now fully specified
✅ Tests
- Test suite completely reorganized – tests renamed for clarity (e.g.,
smileys.phpt→emoticon.phpt,typo.phpt→typography.phpt) and split into focused, granular test files covering blocks, images, links, tables, headings, and more
📝 Documentation
- Examples overhauled with proper documentation, a new readme, and polished styling
- Examples now use a global Composer autoloader instead of per-example setup
Released version 3.2.7
- fixed PHP 8.5 compatibility
Released version 3.2.6
- support for PHP 8.5
- optimized global function calls
- removed support for Latte 2
Released version 3.2.5
- updated DTD
Released version 3.2.4
- FigureModule: added $tagName & $requireCaption
Released version 3.2.3
- support for PHP 8.4
- removed deprecated stuff
Released version 3.2.1
- TexyNode: fixed compatibility with Latte 3.0.14
Released version 3.1.8 (end of support)
- TexyNode: fixed compatibility with Latte 3.0.14
- root can be null
Released version 3.2.0
- requires PHP 8.1
- used PHP 8.1 typehints & features
- BlockQuoteModule, PhraseModule: removed support for 'cite' (BC break)
- Helpers::toAscii() uses Nette\Utils\Strings::toAscii() if possible
Released version 3.1.6
- support for Latte 3
- coding style