Releases: dg/texy
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.
Released version 2.8
- Texy now uses namespaces API
- minimal required PHP is 5.4.4
- contains loader for former class names, so it should be 100% compatible
- compatible with PHP 7
- minified version is
texy.phar - supports
data-attributes #22
You can continue to use former class names like Texy or TexyConfigurator but at the same time you can use new names:
Texy→Texy\TexyTexyHtml→Texy\HtmlElement(notTexy\Html)TexyConfigurator→Texy\ConfiguratorTexyHandlerInvocation→Texy\HandlerInvocationTexyParser→Texy\ParserTexyBlockParser→Texy\BlockParserTexyLineParser→Texy\LineParserTexyModifier→Texy\ModifierTexyImage→Texy\ImageTexyLink→Texy\LinkTexyModule→Texy\ModuleTexyPatterns→Texy\PatternsTexyUtf→Texy\UtfTexyRegexp→Texy\RegexpTexyBlockModule→Texy\Modules\BlockModuleTexyBlockQuoteModule→Texy\Modules\BlockQuoteModuleTexyEmoticonModule→Texy\Modules\EmoticonModuleTexyFigureModule→Texy\Modules\FigureModuleTexyHeadingModule→Texy\Modules\HeadingModuleTexyHorizLineModule→Texy\Modules\HorizLineModuleTexyHtmlModule→Texy\Modules\HtmlModuleTexyHtmlOutputModule→Texy\Modules\HtmlOutputModuleTexyImageModule→Texy\Modules\ImageModuleTexyLinkModule→Texy\Modules\LinkModuleTexyListModule→Texy\Modules\ListModuleTexyLongWordsModule→Texy\Modules\LongWordsModuleTexyParagraphModule→Texy\Modules\ParagraphModuleTexyPhraseModule→Texy\Modules\PhraseModuleTexyScriptModule→Texy\Modules\ScriptModuleTexyTableCellElement→Texy\Modules\TableCellElementTexyTableModule→Texy\Modules\TableModuleTexyTypographyModule→Texy\Modules\TypographyModule
Several helper methods have been moved to a new class Texy\Helpers (but old method still works):
Texy::normalize()(nowTexy\Helpers::normalize()etc.)Texy::webalize()Texy::outdent()Texy::freezeSpaces()Texy::unfreezeSpaces()Texy::isRelative()Texy::prependRoot()Utf::utf2ascii()(nowTexy\Helpers::toAscii(), since 2.8.1)
For the details you can have a look at the diff.
Released version 2.7.1
This is a security release.
- Texy: possible security violation #31 #34
- TexyPatterns: link can begin with \w/+.~%&?@=_#$ #30
- TexyLinkModule: allowed $()* inside URL
This is the last release for PHP < 5.4
For the details you can have a look at the diff.
Released version 2.6
- TexyHtmlOutputModule: preserve spaces inside elements CODE, KBD, SAMP (i.e in elements defined in $preserveSpaces)
- fixed some bugs
For the details you can have a look at the diff.
Released version 2.5.1
removed warning that PCRE 8.34 is not supported for PHP > 5.5.12
Released version 2.5
- removed advertising notice
- added warning that PCRE 8.34 is not supported
- accepts hashbang in URL like
www.texy.info/path/#!/flag - fixed parsing of
<h1>"neco":</h1> - preserve spaces in
1 × 2 - correctly removes indentation in blocks
For the details you can have a look at the diff.
Released version 2.4
- added new syntaxes for links:
[text | http://texy.info]and[text](http://texy.info) - obsolete hover effects for images can be disabled via
$texy->allowed['image/hover'] = FALSE - minimal required PHP version is now 5.2.0
For the details you can have a look at the diff.
Released version 2.3
- added tests and Nette Tester
For the details about the changes you can have a look at the Github diff.
Released version 2.2
- licence changed to the New BSD License or the GNU General Public License (GPL) version 2 or 3.
- added composer.json
- rewritten some regular expressions as possessive due backtrack limit
- some bug fixes
For the details about the changes you can have a look at the Github diff.