devsite/node_modules/hamljs/History.md
2024-07-07 18:49:38 -07:00

2.8 KiB

0.6.2 / 2014-02-17

  • add support for string interpolation
  • add amd support
  • add .renderFile
  • ability to use both class tag and class attribute at the same time

0.6.1 / 2012-07-26

  • fix global leak of Parser

0.6.0 / 2012-06-25

  • remove engine restriction
  • [fix] Changed require('sys') to require('util') for compatibility with node v0.8
  • require('util') instead of require('sys')
  • Refactor tests to not use require.paths
  • Typechange (from a symlink to a file).

0.5.1 / 2011-03-30

  • Exposing Parser for extension [Derek Hammer]

0.5.0 / 2011-03-04

  • Added .compile() for Express 2.0
  • Fixed issue with to many newlines in output. Closes #24

0.4.5 / 2010-06-04

  • Ignoring stray indent

0.4.4 / 2010-05-27

  • Fixed arbitrary whitespace support

0.4.3 / 2010-05-25

  • Fixed support for CRLF / CR line-endings, converted on input
  • Exporting HamlError

0.4.2 / 2010-05-25

  • Added HamlError
  • Buffer newline indentation. Closes #23
  • Benchmarks with node-bench

0.4.1 / 2010-05-17

  • Fixed "- each" with non-enumerables, no longer throws exception
  • Fixed array iteration

0.4.0 / 2010-05-06

  • Using Function constructor instead of eval()
  • Performance enhanced by faster iteration implementation for "- each"

0.3.1 / 2010-04-26

  • Fixed support for tags with hypens (both namespace / tag name, ex: "fb:login-button")

0.3.0 / 2010-04-16

  • Added xml namespace support
  • Added xml support

0.2.0 / 2010-04-06

  • Added conditional comment support [ciaranj]
  • Fixed; Trimming input string before tokenization
  • Fixed issue requiring quoting of "for" when used in attrs [aheckmann]
  • Fixed; Exposing Haml compilation cache. Closes #12
  • Fixed :javascript "type" attr, now "text/javascript" [aheckmann]

0.1.0 / 2010-03-31

  • Added "cache" option, making haml.js over 90 times faster than haml-js
  • Improved textBlock whitespace replication
  • Fixed empty tags followed by class / ids on new lines. Closes #6

0.0.4 / 2010-03-29

  • Added better error reporting

0.0.3 / 2010-03-29

  • Added "filename" option support to aid in error reporting
  • Added exports.compile() to create intermediate javascript
  • Added make benchmark
  • Changed; caching function templates to increase performance
  • Fixed; ids and classes allowing underscores. Closes #5
  • Fixed outdent issue when \n is not followed by whitespace. Closes #8

0.0.2 / 2010-03-26

  • Added haml.js vs haml-js benchmarks
  • Fixed; commenting :javascript CDATA

0.0.1 / 2010-03-26

  • Initial release