1# Change Log 2All notable changes to this project will be documented in this file. 3This project adheres to [Semantic Versioning](http://semver.org/). 4 5## 2.0.2 6### Changed 7- `require('fs')` calls will now be ignored by browser bundlers, through using 8 `browser` field in `package.json`. Fallbacks for cases where `fs` module is 9 not available were already in place prior to this release. 10 11## 2.0.1 12### Changed 13- This package has been renamed to pug-runtime. 14- `attrs()` has been optimized. 15 16## 2.0.0 17### Changed 18- `classes()` has been optimized, making it more than 9x faster. 19- `style()` has been optimized, making it 3-9x faster in average cases. 20- `escape()` has been optimized again, now with another 1-4x boost from the 21 last release. 22- `attrs()`, `attr()`, and `merge()` also got some minor improvements. 23 Although not benchmarked, we expect the new versions to perform better than 24 last release. 25 26### Deprecated 27- Internal variables, or variables or functions that were not exported but 28 visible through `require('pug-runtime/build')`, will not be visible through 29 `require('pug-runtime/build')` anymore. 30- `pug_encode_html_rules` and `pug_encode_char`, two internal variables, have 31 now been removed. Please note that any further changes to these internal 32 variables will not come with a major bump. 33 34### Added 35- A new module `require('pug-runtime/wrap')` is added to ease testing 36 client-side templates. 37 38## 1.1.0 - 2015-07-09 39### Changed 40- `escape()` has been optimized, making it about 20-30% faster. The new 41 implementation is inspired by the one from EJS. 42 43## 1.0.0 - 2014-12-28 44### Added 45- Initial release 46