25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG.md 7.0KB

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