变更记录

Version 0.9

  • 0.9.11

    • Hotfix: Windows-样式换行(CR+LF)的错误解析修复

  • 0.9.10

    • Hotfix: 修复 plimc 无法使用当前目录下的预处理器模块问题。

  • 0.9.9

    • Hotfix: 修复 -def 代码块中使用 unicode 字符引起的 UnicodeEncodeError 问题。

  • 0.9.8

    • Change: Stylus 扩展不再依赖于 nib 包。

  • 0.9.7

    • Hotfix: 将 requirements.txt 包含进发行版中。

  • 0.9.6

    • Hotfix: Conditional statements parser now can handle strings containing inline tag separator sequences (#27).
  • 0.9.5

    • Hotfix: 修复在上一个 Hotfix 中引入的 plimc 解码 Unicode 正则表达式的问题。

  • 0.9.4

    • Hotfix: plimc 在 Python 3 环境下不会因 TypeError 而崩溃了。

      将输出指向 sys.stdout 。

  • 0.9.3

    • Hotfix: 修复 plimc 将输出指向 STDOUT 时的 UnicodeEncodeError。

  • 0.9.2

  • 0.9.1

  • 0.9.0

    • 变动:Pyramid 适配器现在依赖于 Pyramid>=1.5a2 以及 pyramid_mako>=0.3.1 。

    • 变动:Plim 现在需要 Mako>=0.9.0 支持。

    • 变动: Sass/Scss 扩展现在需要 PyScss>=1.2.0.post3 。

    • 变动:Pyramid 适配器的 plim.file_extension 设置选项已被标记为不推荐使用。

      config.add_plim_renderer()被替换

Version 0.8

  • 0.8.9

    • Bugfix: Use sys.maxsize instead of unavailable sys.maxint on Python 3.
  • 0.8.8

    • Hotfix: Make Plim working with a development version of pyScss for Python-3.x setups.
  • 0.8.7

    • Bugfix: Pyramid adapter is now compatible with the 1.5a2+ version of the framework.

    • Change: default template file extension

      used in pyramid bindings is changed from ”.plm” to ”.plim”.

  • 0.8.6

    • Hotfix: fixed assertion error in handlebars parser.
  • 0.8.5

  • 0.8.4

    • Hotfix: updated links to github.
  • 0.8.3

    • Hotfix: prevent lexer from parsing embedded markup inside style and script blocks.
  • 0.8.2

    • Feature: added support for Embedded Markup.
    • Feature: plimc utility is now able to output plain HTML.
  • 0.8.1

  • 0.8.0

    • Feature: added support for dynamic attributes unpacker (an equivalent to Slim’s splat attributes).

Version 0.7

  • 0.7.14
    • Hotfix: fixed bug with unicode handling.
  • 0.7.13
    • Hotfix: fixed bug with static unicode attributes.
  • 0.7.12
    • Unnecessary newline characters at the end of literal blocks have been removed.
    • Added the command-line tool plimc.
  • 0.7.11
    • Fixed bug that had to do with incorrect parsing of multi-line dynamic class attributes.
    • Fixed bug that had to do with passing incorrect data to plim parser in babel adapter.
  • 0.7.10 Fixed bug with unicode error in python block. Thanks to sqrabs@github!
  • 0.7.9 Added babel message extraction plugin.
  • 0.7.8 Expanded range of possible numeric values that don’t require double-quoting.
  • 0.7.7
    • Fixed bug with linebreaks without trailing newline character.
    • Fixed bug with missing explicit whitespace after =, and ==, line indicators.
  • 0.7.6 Fixed bug with incorrect parsing of static boolean attributes.
  • 0.7.5 Fixed bug with comment and content blocks separated by empty lines.
  • 0.7.4 Added -stylus extension.
  • 0.7.3 Fix bug with literal one-liners.
  • 0.7.1 Fixed installation error caused by missing README.rst.
  • 0.7.0 Initial public release.