Released version 2.8

@dg dg released this Oct 20, 2015 · 26 commits to v2.x since this release

  • 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:

  • TexyTexy\Texy
  • TexyHtmlTexy\HtmlElement (not Texy\Html)
  • TexyConfiguratorTexy\Configurator
  • TexyHandlerInvocationTexy\HandlerInvocation
  • TexyParserTexy\Parser
  • TexyBlockParserTexy\BlockParser
  • TexyLineParserTexy\LineParser
  • TexyModifierTexy\Modifier
  • TexyImageTexy\Image
  • TexyLinkTexy\Link
  • TexyModuleTexy\Module
  • TexyPatternsTexy\Patterns
  • TexyUtfTexy\Utf
  • TexyRegexpTexy\Regexp
  • TexyBlockModuleTexy\Modules\BlockModule
  • TexyBlockQuoteModuleTexy\Modules\BlockQuoteModule
  • TexyEmoticonModuleTexy\Modules\EmoticonModule
  • TexyFigureModuleTexy\Modules\FigureModule
  • TexyHeadingModuleTexy\Modules\HeadingModule
  • TexyHorizLineModuleTexy\Modules\HorizLineModule
  • TexyHtmlModuleTexy\Modules\HtmlModule
  • TexyHtmlOutputModuleTexy\Modules\HtmlOutputModule
  • TexyImageModuleTexy\Modules\ImageModule
  • TexyLinkModuleTexy\Modules\LinkModule
  • TexyListModuleTexy\Modules\ListModule
  • TexyLongWordsModuleTexy\Modules\LongWordsModule
  • TexyParagraphModuleTexy\Modules\ParagraphModule
  • TexyPhraseModuleTexy\Modules\PhraseModule
  • TexyScriptModuleTexy\Modules\ScriptModule
  • TexyTableCellElementTexy\Modules\TableCellElement
  • TexyTableModuleTexy\Modules\TableModule
  • TexyTypographyModuleTexy\Modules\TypographyModule

Several helper methods have been moved to a new class Texy\Helpers (but old method still works):

  • Texy::normalize() (now Texy\Helpers::normalize() etc.)
  • Texy::webalize()
  • Texy::outdent()
  • Texy::freezeSpaces()
  • Texy::unfreezeSpaces()
  • Texy::isRelative()
  • Texy::prependRoot()
  • Utf::utf2ascii() (now Texy\Helpers::toAscii(), since 2.8.1)

For the details you can have a look at the diff.

Downloads