Releases: bem/bem-xjst
v8.9.3
From v8.6.8 exportName was in lower case (bemhtml
or bemtree
). Now this degradation fixed.
Commits:
- [
2cbdb1635a
] - Merge pull request #517 from bem/issue-516_export-name (Slava Oliyanchuk)
v8.9.2
-
New
singleQuotesInJsAttrs
option. Read documentation. -
Fixed bug with runtime lint and circular json in stack trace.
-
Documentation updated: templates will be applyed for any
attrs
field with BEM-entities.
v7.7.7
Compiler: runtime lint path fixed (issue #502).
Commits:
- [
dd1545acd0
] - Merge pull request #513 from bem/issue-502__runtime-path-in-7.x (Slava Oliyanchuk)
v6.7.2
Compiler: runtime lint path fixed (issue #502).
Commits:
- [
33106ae8e3
] - Compiler: runtime lint path fixed (issue #502) (miripiruni)
v8.9.1
Bug fixed: dot-delimited dependencies from global scope in object notation.
Example:
var bundle = bemhtml.generate('', { requires: { i18n: { globals: 'BEM.I18N' } } });
Notation with dot (BEM.I18N
) did not work from v8.6.7 to v8.9.0. Now this bug fixed.
Commits:
- [
fc7b19fc4f
] - Merge pull request #501 from dustyo-O/global-dot-delimited-deps (Slava Oliyanchuk)
v8.9.0
Brand new object-like shortcut syntax. See docs for examples.
v8.8.8
Module require resolving refactor. See docs.
In other case, if you specify multiple modular systems, template will attempt to
get it from them in this order:
- Global
- CommonJS
- YModules (if available)
If required module was found on some step, next steps will be ignored and template will use that first retrieved module.
Thus, if module available in global variable, its value will be provided inside template, in spite of module avialability in CommonJS/YModules.
Same way, CommonJS module is more prior to YModules one.
Commits:
- [
4b1b87c427
] - Module require resolving refactor (#493)
v8.8.7
Dependency enb/enb-source-map updated to v1.12.0.
Commits:
- [
2ac8eb7339
] - Deps: enb/enb-source-map 1.12.0 (miripiruni)
v8.8.6
v8.9.0-rc.0
Release candidate for shortcut syntax.
See issue #444