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

CHANGELOG.md 3.6KB

12 년 전
12 년 전
13 년 전
13 년 전
13 년 전
13 년 전
13 년 전
13 년 전
13 년 전
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. 2.1.0 / 5 June 2015
  2. ===================
  3. * Added license attribute to package.json, by @pgilad.
  4. * Minor changes to make mustache.js compatible with both WSH and ASP, by @nagaozen.
  5. * Improve CLI view parsing error, by @phillipj.
  6. * Bugfix for view context cache, by @phillipj.
  7. 2.0.0 / 27 Mar 2015
  8. ===================
  9. * Fixed lookup not stopping upon finding `undefined` or `null` values, by @dasilvacontin.
  10. * Refactored pre-commit hook, by @dasilvacontin.
  11. 1.2.0 / 24 Mar 2015
  12. ===================
  13. * Added -v option to CLI, by @phillipj.
  14. * Bugfix for rendering Number when it serves as the Context, by @phillipj.
  15. * Specified files in package.json for a cleaner install, by @phillipj.
  16. 1.1.0 / 18 Feb 2015
  17. ===================
  18. * Refactor Writer.renderTokens() for better readability, by @phillipj.
  19. * Cleanup tests section in readme, by @phillipj.
  20. * Added JSHint to tests/CI, by @phillipj.
  21. * Added node v0.12 on travis, by @phillipj.
  22. * Created command line tool, by @phillipj.
  23. * Added *falsy* to Inverted Sections description in README, by @kristijanmatic.
  24. 1.0.0 / 20 Dec 2014
  25. ===================
  26. * Inline tag compilation, by @mjackson.
  27. * Fixed AMD registration, volo package.json entry, by @jrburke.
  28. * Added spm support, by @afc163.
  29. * Only access properties of objects on Context.lookup, by @cmbuckley.
  30. 0.8.2 / 17 Mar 2014
  31. ===================
  32. * Supporting Bower through a bower.json file.
  33. 0.8.1 / 3 Jan 2014
  34. ==================
  35. * Fix usage of partial templates.
  36. 0.8.0 / 2 Dec 2013
  37. ==================
  38. * Remove compile* writer functions, use mustache.parse instead. Smaller API.
  39. * Throw an error when rendering a template that contains higher-order sections and
  40. the original template is not provided.
  41. * Remove low-level Context.make function.
  42. * Better code readability and inline documentation.
  43. * Stop caching templates by name.
  44. 0.7.3 / 5 Nov 2013
  45. ==================
  46. * Don't require the original template to be passed to the rendering function
  47. when using compiled templates. This is still required when using higher-order
  48. functions in order to be able to extract the portion of the template
  49. that was contained by that section. Fixes #262.
  50. * Performance improvements.
  51. 0.7.2 / 27 Dec 2012
  52. ===================
  53. * Fixed a rendering bug (#274) when using nested higher-order sections.
  54. * Better error reporting on failed parse.
  55. * Converted tests to use mocha instead of vows.
  56. 0.7.1 / 6 Dec 2012
  57. ==================
  58. * Handle empty templates gracefully. Fixes #265, #267, and #270.
  59. * Cache partials by template, not by name. Fixes #257.
  60. * Added Mustache.compileTokens to compile the output of Mustache.parse. Fixes
  61. #258.
  62. 0.7.0 / 10 Sep 2012
  63. ===================
  64. * Rename Renderer => Writer.
  65. * Allow partials to be loaded dynamically using a callback (thanks
  66. @TiddoLangerak for the suggestion).
  67. * Fixed a bug with higher-order sections that prevented them from being
  68. passed the raw text of the section from the original template.
  69. * More concise token format. Tokens also include start/end indices in the
  70. original template.
  71. * High-level API is consistent with the Writer API.
  72. * Allow partials to be passed to the pre-compiled function (thanks
  73. @fallenice).
  74. * Don't use eval (thanks @cweider).
  75. 0.6.0 / 31 Aug 2012
  76. ===================
  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).