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 6.5KB

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