Releases: dg/texy
Releases · dg/texy
Released version 3.1.1
- big refactoring
- class alias are loaded on demand
- TexyMacro: update for Latte >= 2.5
- TableModule: removed $linemode (what it was?) (BC break)
- ScriptModule: removed $handler used by Texy v1
- Texy::
stringToText()
uses $lineWrap - Helpers::
unescapeHtml()
decodes ' - Modifier: ensures 'style' & 'class' are arrays II.
For the details you can have a look at the diff.
Released version 3.1.0
- full HTML5 support
- removed support for XHTML, default output mode is HTML5 (BC break)
- EmoticonModule: supports and by default uses emoji, files are marked as deprecated (BC break)
- Texy::$nontextParagraph can be HtmlElement
- Texy::$tabWidth = 0 disables replacing tabs with spaces
- EmoticonModule: supports and by default uses emoji, files are deprecated
- HtmlOutputModule: deprecated $removeOptional
- FigureModule: $widthDelta sets 'max-width' instead of 'width'
- ImageModule: removed autodetection for $fileRoot (BC break)
- HtmlElement: added setAttribute() & getAttribute()
For the details you can have a look at the diff.
Released version 3.0.1
- supports PHP 7.4
For the details you can have a look at the diff.
Released version 2.9.3
- supports PHP 7.4
For the details you can have a look at the diff.
Released version 3.0.0
Code is cool
- requires PHP 7.1
- used PHP 7.1 syntax
- added PHP 7.1 scalar and return type hints
- added declare(strict_types=1);
- uses only Composer's autoloader
- updated historic examples
- improved phpDoc
Removed some historical relics
- LinkModule: removed $imageOnClick, $popupOnClick and support for pseudoclass
[popup]
- ImageModule: removed support for onmouseover state in images
[* image | over | link *]
- changed HTML tag ACRONYM -> ABBR
- Texy: removed $styleSheet
- only UTF-8 encoding is now supported
Changes
- returning type of handlers changed from
false
tonull
bf014fe
Released version 2.9.2
Please make a donation at https://nette.org/make-donation?to=texy
- improved coding style
For the details you can have a look at the diff
Released version 2.9.1
Please make a donation at https://nette.org/make-donation?to=texy
- Added underscores support to element attributes (#43)
- tests: added new HTML5 test
- $widthDelta can also be FALSE
- improved support for data-attributes via .{data-attr: val}
- HeadingModule: fixed TOC
For the details you can have a look at the diff
Released version 2.9.0
Released version 2.8.2
- ScriptModule: $args is always array
- Helpers::outdent() - used old strategy for /--div (changed in Texy 2.5)
- HtmlModule: fixed trimming spaces around src and href
- Strict::getSuggestion() better balance
For the details you can have a look at the diff and release notes for 2.8.
Released version 2.8.1
- fixed class loading, added preload for TexyHtml, TexyLink and TexyImage
- internal code improvements
- HtmlElement: added and used constructor
For the details you can have a look at the diff and release notes for 2.8.