You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG.md 5.0KB

12 years ago
12 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. # Change Log
  2. All notable changes to this project will be documented in this file.
  3. This project adheres to [Semantic Versioning](http://semver.org/).
  4. ## [2.1.1] / 11 June 2015
  5. ### Added
  6. * State that we use semver on the change log, by @dasilvacontin.
  7. * Added version links to change log, by @dasilvacontin.
  8. ### Fixed
  9. * Bugfix for using values from view's context prototype, by @phillipj.
  10. * Improve test with undefined/null lookup hit using dot notation, by @dasilvacontin.
  11. * Bugfix for null/undefined lookup hit when using dot notation, by @phillipj.
  12. * Remove moot `version` property from bower.json, by @kkirsche.
  13. * bower.json doesn't require a version bump via hook, by @dasilvacontin.
  14. ## [2.1.0] / 5 June 2015
  15. * Added license attribute to package.json, by @pgilad.
  16. * Minor changes to make mustache.js compatible with both WSH and ASP, by @nagaozen.
  17. * Improve CLI view parsing error, by @phillipj.
  18. * Bugfix for view context cache, by @phillipj.
  19. ## [2.0.0] / 27 Mar 2015
  20. * Fixed lookup not stopping upon finding `undefined` or `null` values, by @dasilvacontin.
  21. * Refactored pre-commit hook, by @dasilvacontin.
  22. ## [1.2.0] / 24 Mar 2015
  23. * Added -v option to CLI, by @phillipj.
  24. * Bugfix for rendering Number when it serves as the Context, by @phillipj.
  25. * Specified files in package.json for a cleaner install, by @phillipj.
  26. ## [1.1.0] / 18 Feb 2015
  27. * Refactor Writer.renderTokens() for better readability, by @phillipj.
  28. * Cleanup tests section in readme, by @phillipj.
  29. * Added JSHint to tests/CI, by @phillipj.
  30. * Added node v0.12 on travis, by @phillipj.
  31. * Created command line tool, by @phillipj.
  32. * Added *falsy* to Inverted Sections description in README, by @kristijanmatic.
  33. ## [1.0.0] / 20 Dec 2014
  34. * Inline tag compilation, by @mjackson.
  35. * Fixed AMD registration, volo package.json entry, by @jrburke.
  36. * Added spm support, by @afc163.
  37. * Only access properties of objects on Context.lookup, by @cmbuckley.
  38. ## [0.8.2] / 17 Mar 2014
  39. * Supporting Bower through a bower.json file.
  40. ## [0.8.1] / 3 Jan 2014
  41. * Fix usage of partial templates.
  42. ## [0.8.0] / 2 Dec 2013
  43. * Remove compile* writer functions, use mustache.parse instead. Smaller API.
  44. * Throw an error when rendering a template that contains higher-order sections and
  45. the original template is not provided.
  46. * Remove low-level Context.make function.
  47. * Better code readability and inline documentation.
  48. * Stop caching templates by name.
  49. ## [0.7.3] / 5 Nov 2013
  50. * Don't require the original template to be passed to the rendering function
  51. when using compiled templates. This is still required when using higher-order
  52. functions in order to be able to extract the portion of the template
  53. that was contained by that section. Fixes #262.
  54. * Performance improvements.
  55. ## [0.7.2] / 27 Dec 2012
  56. * Fixed a rendering bug (#274) when using nested higher-order sections.
  57. * Better error reporting on failed parse.
  58. * Converted tests to use mocha instead of vows.
  59. ## [0.7.1] / 6 Dec 2012
  60. * Handle empty templates gracefully. Fixes #265, #267, and #270.
  61. * Cache partials by template, not by name. Fixes #257.
  62. * Added Mustache.compileTokens to compile the output of Mustache.parse. Fixes
  63. #258.
  64. ## [0.7.0] / 10 Sep 2012
  65. * Rename Renderer => Writer.
  66. * Allow partials to be loaded dynamically using a callback (thanks
  67. @TiddoLangerak for the suggestion).
  68. * Fixed a bug with higher-order sections that prevented them from being
  69. passed the raw text of the section from the original template.
  70. * More concise token format. Tokens also include start/end indices in the
  71. original template.
  72. * High-level API is consistent with the Writer API.
  73. * Allow partials to be passed to the pre-compiled function (thanks
  74. @fallenice).
  75. * Don't use eval (thanks @cweider).
  76. ## [0.6.0] / 31 Aug 2012
  77. * Use JavaScript's definition of falsy when determining whether to render an
  78. inverted section or not. Issue #186.
  79. * Use Mustache.escape to escape values inside {{}}. This function may be
  80. reassigned to alter the default escaping behavior. Issue #244.
  81. * Fixed a bug that clashed with QUnit (thanks @kannix).
  82. * Added volo support (thanks @guybedford).
  83. [2.1.1]: https://github.com/janl/mustache.js/compare/v2.1.0...v2.1.1
  84. [2.1.0]: https://github.com/janl/mustache.js/compare/v2.0.0...v2.1.0
  85. [2.0.0]: https://github.com/janl/mustache.js/compare/v1.2.0...v2.0.0
  86. [1.2.0]: https://github.com/janl/mustache.js/compare/v1.1.0...v1.2.0
  87. [1.1.0]: https://github.com/janl/mustache.js/compare/v1.0.0...v1.1.0
  88. [1.0.0]: https://github.com/janl/mustache.js/compare/0.8.2...v1.0.0
  89. [0.8.2]: https://github.com/janl/mustache.js/compare/0.8.1...0.8.2
  90. [0.8.1]: https://github.com/janl/mustache.js/compare/0.8.0...0.8.1
  91. [0.8.0]: https://github.com/janl/mustache.js/compare/0.7.3...0.8.0
  92. [0.7.3]: https://github.com/janl/mustache.js/compare/0.7.2...0.7.3
  93. [0.7.2]: https://github.com/janl/mustache.js/compare/0.7.1...0.7.2
  94. [0.7.1]: https://github.com/janl/mustache.js/compare/0.7.0...0.7.1
  95. [0.7.0]: https://github.com/janl/mustache.js/compare/0.6.0...0.7.0
  96. [0.6.0]: https://github.com/janl/mustache.js/compare/0.5.2...0.6.0