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

11 vuotta sitten
11 vuotta sitten
11 vuotta sitten
11 vuotta sitten
12 vuotta sitten
12 vuotta sitten
13 vuotta sitten
13 vuotta sitten
13 vuotta sitten
13 vuotta sitten
13 vuotta sitten
13 vuotta sitten
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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.2.1] / 13 December 2015
  5. ### Fixes
  6. * Improve HTML escaping, by [@phillipj].
  7. * Fix inconsistency in defining global mustache object, by [@simast].
  8. * Fix switch-case indent error, by [@norfish].
  9. * Unpin chai and eslint versions, by [@dasilvacontin].
  10. * Update README.md with proper grammar, by [@EvanLovely].
  11. * Update mjackson username in README, by [@mjackson].
  12. * Remove syntax highlighting in README code sample, by [@imagentleman].
  13. * Fix typo in README, by [@Xcrucifier].
  14. * Fix link typo in README, by [@keirog].
  15. ## [2.2.0] / 15 October 2015
  16. ### Added
  17. * Add Partials support to CLI, by [@palkan].
  18. ### Changed
  19. * Move install instructions to README's top, by [@mateusortiz]
  20. * Improved devhook install output, by [@ShashankaNataraj].
  21. * Clarifies and improves language in documentation, by [@jfmercer].
  22. * Linting CLI tool, by [@phillipj].
  23. * npm 2.x and node v4 on Travis, by [@phillipj].
  24. ### Fixes
  25. * Fix README spelling error to "aforementioned", by [@djchie].
  26. * Equal error message test in .render() for server and browser, by [@phillipj].
  27. ### Dependencies
  28. * chai -> 3.3.0
  29. * eslint -> 1.6.0
  30. ## [2.1.3] / 23 July 2015
  31. ### Added
  32. * Throw error when providing .render() with invalid template type, by [@phillipj].
  33. * Documents use of string literals containing double quotes, by [@jfmercer].
  34. ### Changed
  35. * Move mustache gif to githubusercontent, by [@Andersos].
  36. ### Fixed
  37. * Update UMD Shim to be resilient to HTMLElement global pollution, by [@mikesherov].
  38. ## [2.1.2] / 17 June 2015
  39. ### Added
  40. * Mustache global definition ([#466]) by [@yousefcisco].
  41. ## [2.1.1] / 11 June 2015
  42. ### Added
  43. * State that we use semver on the change log, by [@dasilvacontin].
  44. * Added version links to change log, by [@dasilvacontin].
  45. ### Fixed
  46. * Bugfix for using values from view's context prototype, by [@phillipj].
  47. * Improve test with undefined/null lookup hit using dot notation, by [@dasilvacontin].
  48. * Bugfix for null/undefined lookup hit when using dot notation, by [@phillipj].
  49. * Remove moot `version` property from bower.json, by [@kkirsche].
  50. * bower.json doesn't require a version bump via hook, by [@dasilvacontin].
  51. ## [2.1.0] / 5 June 2015
  52. * Added license attribute to package.json, by [@pgilad].
  53. * Minor changes to make mustache.js compatible with both WSH and ASP, by [@nagaozen].
  54. * Improve CLI view parsing error, by [@phillipj].
  55. * Bugfix for view context cache, by [@phillipj].
  56. ## [2.0.0] / 27 Mar 2015
  57. * Fixed lookup not stopping upon finding `undefined` or `null` values, by [@dasilvacontin].
  58. * Refactored pre-commit hook, by [@dasilvacontin].
  59. ## [1.2.0] / 24 Mar 2015
  60. * Added -v option to CLI, by [@phillipj].
  61. * Bugfix for rendering Number when it serves as the Context, by [@phillipj].
  62. * Specified files in package.json for a cleaner install, by [@phillipj].
  63. ## [1.1.0] / 18 Feb 2015
  64. * Refactor Writer.renderTokens() for better readability, by [@phillipj].
  65. * Cleanup tests section in readme, by [@phillipj].
  66. * Added JSHint to tests/CI, by [@phillipj].
  67. * Added node v0.12 on travis, by [@phillipj].
  68. * Created command line tool, by [@phillipj].
  69. * Added *falsy* to Inverted Sections description in README, by [@kristijanmatic].
  70. ## [1.0.0] / 20 Dec 2014
  71. * Inline tag compilation, by [@mjackson].
  72. * Fixed AMD registration, volo package.json entry, by [@jrburke].
  73. * Added spm support, by [@afc163].
  74. * Only access properties of objects on Context.lookup, by [@cmbuckley].
  75. ## [0.8.2] / 17 Mar 2014
  76. * Supporting Bower through a bower.json file.
  77. ## [0.8.1] / 3 Jan 2014
  78. * Fix usage of partial templates.
  79. ## [0.8.0] / 2 Dec 2013
  80. * Remove compile* writer functions, use mustache.parse instead. Smaller API.
  81. * Throw an error when rendering a template that contains higher-order sections and
  82. the original template is not provided.
  83. * Remove low-level Context.make function.
  84. * Better code readability and inline documentation.
  85. * Stop caching templates by name.
  86. ## [0.7.3] / 5 Nov 2013
  87. * Don't require the original template to be passed to the rendering function
  88. when using compiled templates. This is still required when using higher-order
  89. functions in order to be able to extract the portion of the template
  90. that was contained by that section. Fixes [#262].
  91. * Performance improvements.
  92. ## [0.7.2] / 27 Dec 2012
  93. * Fixed a rendering bug ([#274]) when using nested higher-order sections.
  94. * Better error reporting on failed parse.
  95. * Converted tests to use mocha instead of vows.
  96. ## [0.7.1] / 6 Dec 2012
  97. * Handle empty templates gracefully. Fixes [#265], [#267], and [#270].
  98. * Cache partials by template, not by name. Fixes [#257].
  99. * Added Mustache.compileTokens to compile the output of Mustache.parse. Fixes
  100. [#258].
  101. ## [0.7.0] / 10 Sep 2012
  102. * Rename Renderer => Writer.
  103. * Allow partials to be loaded dynamically using a callback (thanks
  104. [@TiddoLangerak] for the suggestion).
  105. * Fixed a bug with higher-order sections that prevented them from being
  106. passed the raw text of the section from the original template.
  107. * More concise token format. Tokens also include start/end indices in the
  108. original template.
  109. * High-level API is consistent with the Writer API.
  110. * Allow partials to be passed to the pre-compiled function (thanks
  111. [@fallenice]).
  112. * Don't use eval (thanks [@cweider]).
  113. ## [0.6.0] / 31 Aug 2012
  114. * Use JavaScript's definition of falsy when determining whether to render an
  115. inverted section or not. Issue [#186].
  116. * Use Mustache.escape to escape values inside {{}}. This function may be
  117. reassigned to alter the default escaping behavior. Issue [#244].
  118. * Fixed a bug that clashed with QUnit (thanks [@kannix]).
  119. * Added volo support (thanks [@guybedford]).
  120. [2.2.1]: https://github.com/janl/mustache.js/compare/v2.2.0...v2.2.1
  121. [2.2.0]: https://github.com/janl/mustache.js/compare/v2.1.3...v2.2.0
  122. [2.1.3]: https://github.com/janl/mustache.js/compare/v2.1.2...v2.1.3
  123. [2.1.2]: https://github.com/janl/mustache.js/compare/v2.1.1...v2.1.2
  124. [2.1.1]: https://github.com/janl/mustache.js/compare/v2.1.0...v2.1.1
  125. [2.1.0]: https://github.com/janl/mustache.js/compare/v2.0.0...v2.1.0
  126. [2.0.0]: https://github.com/janl/mustache.js/compare/v1.2.0...v2.0.0
  127. [1.2.0]: https://github.com/janl/mustache.js/compare/v1.1.0...v1.2.0
  128. [1.1.0]: https://github.com/janl/mustache.js/compare/v1.0.0...v1.1.0
  129. [1.0.0]: https://github.com/janl/mustache.js/compare/0.8.2...v1.0.0
  130. [0.8.2]: https://github.com/janl/mustache.js/compare/0.8.1...0.8.2
  131. [0.8.1]: https://github.com/janl/mustache.js/compare/0.8.0...0.8.1
  132. [0.8.0]: https://github.com/janl/mustache.js/compare/0.7.3...0.8.0
  133. [0.7.3]: https://github.com/janl/mustache.js/compare/0.7.2...0.7.3
  134. [0.7.2]: https://github.com/janl/mustache.js/compare/0.7.1...0.7.2
  135. [0.7.1]: https://github.com/janl/mustache.js/compare/0.7.0...0.7.1
  136. [0.7.0]: https://github.com/janl/mustache.js/compare/0.6.0...0.7.0
  137. [0.6.0]: https://github.com/janl/mustache.js/compare/0.5.2...0.6.0
  138. [#186]: https://github.com/janl/mustache.js/issues/186
  139. [#244]: https://github.com/janl/mustache.js/issues/244
  140. [#257]: https://github.com/janl/mustache.js/issues/257
  141. [#258]: https://github.com/janl/mustache.js/issues/258
  142. [#262]: https://github.com/janl/mustache.js/issues/262
  143. [#265]: https://github.com/janl/mustache.js/issues/265
  144. [#267]: https://github.com/janl/mustache.js/issues/267
  145. [#270]: https://github.com/janl/mustache.js/issues/270
  146. [#274]: https://github.com/janl/mustache.js/issues/274
  147. [#466]: https://github.com/janl/mustache.js/issues/466
  148. [@afc163]: https://github.com/afc163
  149. [@Andersos]: https://github.com/Andersos
  150. [@cmbuckley]: https://github.com/cmbuckley
  151. [@cweider]: https://github.com/cweider
  152. [@dasilvacontin]: https://github.com/dasilvacontin
  153. [@djchie]: https://github.com/djchie
  154. [@EvanLovely]: https://github.com/EvanLovely
  155. [@fallenice]: https://github.com/fallenice
  156. [@guybedford]: https://github.com/guybedford
  157. [@imagentleman]: https://github.com/imagentleman
  158. [@jfmercer]: https://github.com/jfmercer
  159. [@jrburke]: https://github.com/jrburke
  160. [@kannix]: https://github.com/kannix
  161. [@keirog]: https://github.com/keirog
  162. [@kkirsche]: https://github.com/kkirsche
  163. [@kristijanmatic]: https://github.com/kristijanmatic
  164. [@mateusortiz]: https://github.com/mateusortiz
  165. [@mikesherov]: https://github.com/mikesherov
  166. [@mjackson]: https://github.com/mjackson
  167. [@nagaozen]: https://github.com/nagaozen
  168. [@norfish]: https://github.com/norfish
  169. [@palkan]: https://github.com/palkan
  170. [@pgilad]: https://github.com/pgilad
  171. [@phillipj]: https://github.com/phillipj
  172. [@ShashankaNataraj]: https://github.com/ShashankaNataraj
  173. [@simast]: https://github.com/simast
  174. [@TiddoLangerak]: https://github.com/TiddoLangerak
  175. [@Xcrucifier]: https://github.com/Xcrucifier
  176. [@yousefcisco]: https://github.com/yousefcisco