Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
12 роки тому
12 роки тому
13 роки тому
13 роки тому
13 роки тому
13 роки тому
13 роки тому
13 роки тому
13 роки тому
13 роки тому
13 роки тому
13 роки тому
10 роки тому
10 роки тому
10 роки тому
11 роки тому
11 роки тому
11 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
11 роки тому
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  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.3.1] / 2 August 2018
  5. ### Minor
  6. * [#643]: `Writer.prototype.parse` to cache by tags in addition to template string, by [@raymond-lam].
  7. * [#664]: Fix `Writer.prototype.parse` cache, by [@seminaoki].
  8. ### Dev
  9. * [#666]: Install release tools with npm rather than pre-commit hook & `Rakefile`, by [@phillipj].
  10. * [#667], [#668]: Stabilize browser test suite, by [@phillipj].
  11. ### Docs
  12. * [#644]: Document global Mustache.escape overriding capacity, by [@paultopia].
  13. * [#657]: Correct `Mustache.parse()` return type documentation, by [@bbrooks].
  14. ## [2.3.0] / 8 November 2016
  15. ### Minor
  16. * [#540]: Add optional `output` argument to mustache CLI, by [@wizawu].
  17. * [#597]: Add compatibility with amdclean, by [@mightyplow].
  18. ### Dev
  19. * [#553]: Assert `null` lookup when rendering an unescaped value, by [@dasilvacontin].
  20. * [#580], [#610]: Ignore eslint for greenkeeper updates, by [@phillipj].
  21. * [#560]: Fix CLI tests for Windows, by [@kookookchoozeus].
  22. * Run browser tests w/node v4, by [@phillipj].
  23. ### Docs
  24. * [#542]: Add API documentation to README, by [@tomekwi].
  25. * [#546]: Add missing syntax highlighting to README code blocks, by [@pra85].
  26. * [#569]: Update Ctemplate links in README, by [@mortonfox].
  27. * [#592]: Change "loadUser" to "loadUser()" in README, by [@Flaque].
  28. * [#593]: Adding doctype to HTML code example in README, by [@calvinf].
  29. ### Dependencies
  30. * eslint -> 2.2.0. Breaking changes fix by [@phillipj]. [#548]
  31. * eslint -> 2.5.1.
  32. * mocha -> 3.0.2.
  33. * zuul -> 3.11.0.
  34. ## [2.2.1] / 13 December 2015
  35. ### Fixes
  36. * Improve HTML escaping, by [@phillipj].
  37. * Fix inconsistency in defining global mustache object, by [@simast].
  38. * Fix switch-case indent error, by [@norfish].
  39. * Unpin chai and eslint versions, by [@dasilvacontin].
  40. * Update README.md with proper grammar, by [@EvanLovely].
  41. * Update mjackson username in README, by [@mjackson].
  42. * Remove syntax highlighting in README code sample, by [@imagentleman].
  43. * Fix typo in README, by [@Xcrucifier].
  44. * Fix link typo in README, by [@keirog].
  45. ## [2.2.0] / 15 October 2015
  46. ### Added
  47. * Add Partials support to CLI, by [@palkan].
  48. ### Changed
  49. * Move install instructions to README's top, by [@mateusortiz]
  50. * Improved devhook install output, by [@ShashankaNataraj].
  51. * Clarifies and improves language in documentation, by [@jfmercer].
  52. * Linting CLI tool, by [@phillipj].
  53. * npm 2.x and node v4 on Travis, by [@phillipj].
  54. ### Fixes
  55. * Fix README spelling error to "aforementioned", by [@djchie].
  56. * Equal error message test in .render() for server and browser, by [@phillipj].
  57. ### Dependencies
  58. * chai -> 3.3.0
  59. * eslint -> 1.6.0
  60. ## [2.1.3] / 23 July 2015
  61. ### Added
  62. * Throw error when providing .render() with invalid template type, by [@phillipj].
  63. * Documents use of string literals containing double quotes, by [@jfmercer].
  64. ### Changed
  65. * Move mustache gif to githubusercontent, by [@Andersos].
  66. ### Fixed
  67. * Update UMD Shim to be resilient to HTMLElement global pollution, by [@mikesherov].
  68. ## [2.1.2] / 17 June 2015
  69. ### Added
  70. * Mustache global definition ([#466]) by [@yousefcisco].
  71. ## [2.1.1] / 11 June 2015
  72. ### Added
  73. * State that we use semver on the change log, by [@dasilvacontin].
  74. * Added version links to change log, by [@dasilvacontin].
  75. ### Fixed
  76. * Bugfix for using values from view's context prototype, by [@phillipj].
  77. * Improve test with undefined/null lookup hit using dot notation, by [@dasilvacontin].
  78. * Bugfix for null/undefined lookup hit when using dot notation, by [@phillipj].
  79. * Remove moot `version` property from bower.json, by [@kkirsche].
  80. * bower.json doesn't require a version bump via hook, by [@dasilvacontin].
  81. ## [2.1.0] / 5 June 2015
  82. * Added license attribute to package.json, by [@pgilad].
  83. * Minor changes to make mustache.js compatible with both WSH and ASP, by [@nagaozen].
  84. * Improve CLI view parsing error, by [@phillipj].
  85. * Bugfix for view context cache, by [@phillipj].
  86. ## [2.0.0] / 27 Mar 2015
  87. * Fixed lookup not stopping upon finding `undefined` or `null` values, by [@dasilvacontin].
  88. * Refactored pre-commit hook, by [@dasilvacontin].
  89. ## [1.2.0] / 24 Mar 2015
  90. * Added -v option to CLI, by [@phillipj].
  91. * Bugfix for rendering Number when it serves as the Context, by [@phillipj].
  92. * Specified files in package.json for a cleaner install, by [@phillipj].
  93. ## [1.1.0] / 18 Feb 2015
  94. * Refactor Writer.renderTokens() for better readability, by [@phillipj].
  95. * Cleanup tests section in readme, by [@phillipj].
  96. * Added JSHint to tests/CI, by [@phillipj].
  97. * Added node v0.12 on travis, by [@phillipj].
  98. * Created command line tool, by [@phillipj].
  99. * Added *falsy* to Inverted Sections description in README, by [@kristijanmatic].
  100. ## [1.0.0] / 20 Dec 2014
  101. * Inline tag compilation, by [@mjackson].
  102. * Fixed AMD registration, volo package.json entry, by [@jrburke].
  103. * Added spm support, by [@afc163].
  104. * Only access properties of objects on Context.lookup, by [@cmbuckley].
  105. ## [0.8.2] / 17 Mar 2014
  106. * Supporting Bower through a bower.json file.
  107. ## [0.8.1] / 3 Jan 2014
  108. * Fix usage of partial templates.
  109. ## [0.8.0] / 2 Dec 2013
  110. * Remove compile* writer functions, use mustache.parse instead. Smaller API.
  111. * Throw an error when rendering a template that contains higher-order sections and
  112. the original template is not provided.
  113. * Remove low-level Context.make function.
  114. * Better code readability and inline documentation.
  115. * Stop caching templates by name.
  116. ## [0.7.3] / 5 Nov 2013
  117. * Don't require the original template to be passed to the rendering function
  118. when using compiled templates. This is still required when using higher-order
  119. functions in order to be able to extract the portion of the template
  120. that was contained by that section. Fixes [#262].
  121. * Performance improvements.
  122. ## [0.7.2] / 27 Dec 2012
  123. * Fixed a rendering bug ([#274]) when using nested higher-order sections.
  124. * Better error reporting on failed parse.
  125. * Converted tests to use mocha instead of vows.
  126. ## [0.7.1] / 6 Dec 2012
  127. * Handle empty templates gracefully. Fixes [#265], [#267], and [#270].
  128. * Cache partials by template, not by name. Fixes [#257].
  129. * Added Mustache.compileTokens to compile the output of Mustache.parse. Fixes
  130. [#258].
  131. ## [0.7.0] / 10 Sep 2012
  132. * Rename Renderer => Writer.
  133. * Allow partials to be loaded dynamically using a callback (thanks
  134. [@TiddoLangerak] for the suggestion).
  135. * Fixed a bug with higher-order sections that prevented them from being
  136. passed the raw text of the section from the original template.
  137. * More concise token format. Tokens also include start/end indices in the
  138. original template.
  139. * High-level API is consistent with the Writer API.
  140. * Allow partials to be passed to the pre-compiled function (thanks
  141. [@fallenice]).
  142. * Don't use eval (thanks [@cweider]).
  143. ## [0.6.0] / 31 Aug 2012
  144. * Use JavaScript's definition of falsy when determining whether to render an
  145. inverted section or not. Issue [#186].
  146. * Use Mustache.escape to escape values inside {{}}. This function may be
  147. reassigned to alter the default escaping behavior. Issue [#244].
  148. * Fixed a bug that clashed with QUnit (thanks [@kannix]).
  149. * Added volo support (thanks [@guybedford]).
  150. [2.3.1]: https://github.com/janl/mustache.js/compare/v2.3.0...v2.3.1
  151. [2.3.0]: https://github.com/janl/mustache.js/compare/v2.2.1...v2.3.0
  152. [2.2.1]: https://github.com/janl/mustache.js/compare/v2.2.0...v2.2.1
  153. [2.2.0]: https://github.com/janl/mustache.js/compare/v2.1.3...v2.2.0
  154. [2.1.3]: https://github.com/janl/mustache.js/compare/v2.1.2...v2.1.3
  155. [2.1.2]: https://github.com/janl/mustache.js/compare/v2.1.1...v2.1.2
  156. [2.1.1]: https://github.com/janl/mustache.js/compare/v2.1.0...v2.1.1
  157. [2.1.0]: https://github.com/janl/mustache.js/compare/v2.0.0...v2.1.0
  158. [2.0.0]: https://github.com/janl/mustache.js/compare/v1.2.0...v2.0.0
  159. [1.2.0]: https://github.com/janl/mustache.js/compare/v1.1.0...v1.2.0
  160. [1.1.0]: https://github.com/janl/mustache.js/compare/v1.0.0...v1.1.0
  161. [1.0.0]: https://github.com/janl/mustache.js/compare/0.8.2...v1.0.0
  162. [0.8.2]: https://github.com/janl/mustache.js/compare/0.8.1...0.8.2
  163. [0.8.1]: https://github.com/janl/mustache.js/compare/0.8.0...0.8.1
  164. [0.8.0]: https://github.com/janl/mustache.js/compare/0.7.3...0.8.0
  165. [0.7.3]: https://github.com/janl/mustache.js/compare/0.7.2...0.7.3
  166. [0.7.2]: https://github.com/janl/mustache.js/compare/0.7.1...0.7.2
  167. [0.7.1]: https://github.com/janl/mustache.js/compare/0.7.0...0.7.1
  168. [0.7.0]: https://github.com/janl/mustache.js/compare/0.6.0...0.7.0
  169. [0.6.0]: https://github.com/janl/mustache.js/compare/0.5.2...0.6.0
  170. [#186]: https://github.com/janl/mustache.js/issues/186
  171. [#244]: https://github.com/janl/mustache.js/issues/244
  172. [#257]: https://github.com/janl/mustache.js/issues/257
  173. [#258]: https://github.com/janl/mustache.js/issues/258
  174. [#262]: https://github.com/janl/mustache.js/issues/262
  175. [#265]: https://github.com/janl/mustache.js/issues/265
  176. [#267]: https://github.com/janl/mustache.js/issues/267
  177. [#270]: https://github.com/janl/mustache.js/issues/270
  178. [#274]: https://github.com/janl/mustache.js/issues/274
  179. [#466]: https://github.com/janl/mustache.js/issues/466
  180. [#540]: https://github.com/janl/mustache.js/issues/540
  181. [#542]: https://github.com/janl/mustache.js/issues/542
  182. [#546]: https://github.com/janl/mustache.js/issues/546
  183. [#548]: https://github.com/janl/mustache.js/issues/548
  184. [#553]: https://github.com/janl/mustache.js/issues/553
  185. [#560]: https://github.com/janl/mustache.js/issues/560
  186. [#569]: https://github.com/janl/mustache.js/issues/569
  187. [#580]: https://github.com/janl/mustache.js/issues/580
  188. [#592]: https://github.com/janl/mustache.js/issues/592
  189. [#593]: https://github.com/janl/mustache.js/issues/593
  190. [#597]: https://github.com/janl/mustache.js/issues/597
  191. [#610]: https://github.com/janl/mustache.js/issues/610
  192. [#643]: https://github.com/janl/mustache.js/issues/643
  193. [#644]: https://github.com/janl/mustache.js/issues/644
  194. [#657]: https://github.com/janl/mustache.js/issues/657
  195. [#664]: https://github.com/janl/mustache.js/issues/664
  196. [#666]: https://github.com/janl/mustache.js/issues/666
  197. [#667]: https://github.com/janl/mustache.js/issues/667
  198. [#668]: https://github.com/janl/mustache.js/issues/668
  199. [@afc163]: https://github.com/afc163
  200. [@Andersos]: https://github.com/Andersos
  201. [@bbrooks]: https://github.com/bbrooks
  202. [@calvinf]: https://github.com/calvinf
  203. [@cmbuckley]: https://github.com/cmbuckley
  204. [@cweider]: https://github.com/cweider
  205. [@dasilvacontin]: https://github.com/dasilvacontin
  206. [@djchie]: https://github.com/djchie
  207. [@EvanLovely]: https://github.com/EvanLovely
  208. [@fallenice]: https://github.com/fallenice
  209. [@Flaque]: https://github.com/Flaque
  210. [@guybedford]: https://github.com/guybedford
  211. [@imagentleman]: https://github.com/imagentleman
  212. [@jfmercer]: https://github.com/jfmercer
  213. [@jrburke]: https://github.com/jrburke
  214. [@kannix]: https://github.com/kannix
  215. [@keirog]: https://github.com/keirog
  216. [@kkirsche]: https://github.com/kkirsche
  217. [@kookookchoozeus]: https://github.com/kookookchoozeus
  218. [@kristijanmatic]: https://github.com/kristijanmatic
  219. [@mateusortiz]: https://github.com/mateusortiz
  220. [@mightyplow]: https://github.com/mightyplow
  221. [@mikesherov]: https://github.com/mikesherov
  222. [@mjackson]: https://github.com/mjackson
  223. [@mortonfox]: https://github.com/mortonfox
  224. [@nagaozen]: https://github.com/nagaozen
  225. [@norfish]: https://github.com/norfish
  226. [@palkan]: https://github.com/palkan
  227. [@paultopia]: https://github.com/paultopia
  228. [@pgilad]: https://github.com/pgilad
  229. [@phillipj]: https://github.com/phillipj
  230. [@pra85]: https://github.com/pra85
  231. [@raymond-lam]: https://github.com/raymond-lam
  232. [@seminaoki]: https://github.com/seminaoki
  233. [@ShashankaNataraj]: https://github.com/ShashankaNataraj
  234. [@simast]: https://github.com/simast
  235. [@TiddoLangerak]: https://github.com/TiddoLangerak
  236. [@tomekwi]: https://github.com/tomekwi
  237. [@wizawu]: https://github.com/wizawu
  238. [@Xcrucifier]: https://github.com/Xcrucifier
  239. [@yousefcisco]: https://github.com/yousefcisco