Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Latest commit

 

History

History
130 lines (100 loc) · 5.12 KB

CHANGELOG.md

File metadata and controls

130 lines (100 loc) · 5.12 KB

v1.7.0 (2023-05-12)

  • Add smart_quotes option to replace conflicting quotes in attribute values with ' or "

v1.6.0 (2023-05-11)

  • Add support for named end blocks
  • Fix using double quotes as attribute wrapper
  • Update required python version to 3.9

v1.5.0 (2023-03-03)

  • Update .gitignore
  • Merge pull request #95 from nyaruka/fix-app-config
  • Test in python 3.11 as well
  • Run black
  • Update pygments to 2.14.0
  • Add apps submodule
  • Update deps for code styles
  • Update README.md

v1.4.4

  • Loosen regex dependency

v1.4.3

  • Fix Django requirement to properly support 3.x

v1.4.2

  • Switch to new release system

1.4.1 (2020-12-08)

  • Allow colons inside class names

1.3 (2020-09-21)

  • Add support for markdown extensions (#78)
  • Drop support for Django 1.x, test on 2.x and 3.x

1.1.1 (2017-05-29)

  • Fix patching makemessages on Django 1.11

1.1 (2017-03-20)

  • Add support for more doc types (default is HTML5) (#63)
  • Add format (html4/html5/xhtml) and escape_attrs (True/False) compiler options
  • Don't use empty tag syntax or CDATA sections (can be overridden) in HTML5 format
  • Fix patching of templatize for makemessages (#65)
  • Add support for Django 1.11 betas (#62)
  • Fix use of plural tag within blocktrans tag (#57)
  • Add less, sass and escaped filters (#55)

1.0.1 (2017-01-26)

  • Add :preserve filter (#49)
  • Fix filter lookup to ignore trailing whitespace

1.0 (2016-12-14)

This is the first major release and there are some potentially breaking changes noted below.

  • Refactor of parsing code giving ~40% performance improvement
  • Added support for HTML style attribute dictionaries, e.g. %span(foo="bar")
  • Improved error reporting from parser to help find problems in your templates
  • Fixed attribute values not being able to include braces (#39)
  • Fixed attribute values which are Haml not being able to have blank lines (#41)
  • Fixed sequential with tags ended up nested (#23)
  • Fixed templatize patching for Django 1.9+
  • Changed support for ={..} style expressions to be disabled by default (#16)
  • Removed support for =# comment syntax
  • Project now maintained by Nyaruka (https://github.com/nyaruka)

Breaking Changes

  • Support for ={...} variable substitutions is deprecated and disabled by default, but can be enabled by setting HAMLPY_DJANGO_INLINE_STYLE to True if you are using the template loaders, or specifying --django-inline if you are using the watcher script. The preferred syntax for variable substitutions is #{...} as this is actual Haml and is less likely conflict with other uses of the = character.
  • The =# ... comment syntax is no longer supported. This is not Haml and was never documented anywhere. You should use the -# ... syntax instead.
  • Any line beginning with a colon is interpreted as a filter, so if this is not the case, you should escape the colon, e.g. \:not-a-filter

0.86.1 (2016-11-15)

  • Fixed some incorrect relative imports #21 by @Kangaroux

0.86 (2016-11-11)

  • Add call and macro tags to the self-closing dict by @andreif
  • Remove django 1.1 support by @rowanseymour
  • Switch to a real parser instead of eval by @rowanseymour
  • Improve tests and code quality by @rowanseymour
  • Add performance tests by @rowanseymour
  • Tag names can include a "-" (for angular for example) by @rowanseymour
  • Don't uses tox anymore for testing by @rowanseymour
  • Classes shorthand can come before a id one by @rowanseymour
  • Added co-maintainership guidelines by @psycojoker

0.85 (2016-10-13)

  • Python 3 support by @rowanseymour #1
  • Attributes now output by alphabetic order (this was needed to have deterministic tests) by @rowanseymour #2

0.84 (2016-09-25)

0.83 (2016-09-23)

  • New fork since sadly hamlpy isn't maintained anymore
  • Pypi release have been renamed "django-hamlpy" instead of "hamlpy"
  • Added Django 1.9 compatibility (jessemiller#166)