1# Changelog 2All notable changes to this project will be documented in this file. 3 4The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) 5and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). 6 7## [Unreleased] 8 9## [1.2.1] - 2021-03-03 10### Fixed 11- Fixed a compile error on some nightly compiler versions. 12 13## [1.2.0] - 2020-01-03 14### Fixed 15 - Fixed numeric values being truthy when zero, rather than when non-zero. (For real this time) 16### Added 17 - Allow numeric indexes to be used in paths, to index into JSON arrays. 18 19## [1.1.0] - 2020-05-31 20 - Added `TinyTemplate::set_default_formatter` which, for example, allows to dissable HTML-scaping 21 22## [1.0.4] - 2020-04-25 23### Added 24- Added `@root` keyword which allows printing, branching on or iterating over the root context 25 object. This is saves having to wrap simple context values in a struct. 26 27## [1.0.3] - 2019-12-26 28### Fixed 29- Fixed the @last keyword never evaluating to true 30- Fixed numeric values being truthy when zero, rather than when non-zero. 31 32## [1.0.2] - 2019-05-16 33### Fixed 34- Fixed possible panic when compiling templates with escaped curly braces. 35 36## [1.0.1] - 2019-01-19 37### Added 38- Added support for older versions of Rust (back to 1.26). 39 40## 1.0.0 - 2019-01-19 41### Added 42- Initial release on Crates.io. 43 44[Unreleased]: https://github.com/bheisler/TinyTemplate/compare/1.2.0...HEAD 45[1.0.1]: https://github.com/bheisler/TinyTemplate/compare/1.0.0...1.0.1 46[1.0.2]: https://github.com/bheisler/TinyTemplate/compare/1.0.1...1.0.2 47[1.0.3]: https://github.com/bheisler/TinyTemplate/compare/1.0.2...1.0.3 48[1.0.4]: https://github.com/bheisler/TinyTemplate/compare/1.0.3...1.0.4 49[1.1.0]: https://github.com/bheisler/TinyTemplate/compare/1.0.4...1.1.0 50[1.2.0]: https://github.com/bheisler/TinyTemplate/compare/1.1.0...1.2.0 51[1.2.1]: https://github.com/bheisler/TinyTemplate/compare/1.2.0...1.2.1 52