Releases: bem/bem-xjst
v6.5.5
2016-07-29 v6.5.5, @miripiruni
Fixed bug with { html: '' }
. In 6.5.4 result is [object Object]
. In 6.5.5: ''
.
Commits:
- [
787b7b1ee1
] - BEMXJST: work with empty string in html field (miripiruni)
v6.5.4
Fixed case with html
and tag
fields.
{
tag: false,
html: '<script>console.log("hello html");</script>'
}
Result with v6.5.3:
[object Object]
Result with v6.5.4:
<script>console.log("hello html");</script>
Commits:
- [
e9cd0bf6ac
] - BEMHTML: should properly render unescaped html field iftag:false
present (fix for #312) (miripiruni)
v7.0.2
Fixed case with html
and tag
fields.
{
tag: false,
html: '<script>console.log("hello html");</script>'
}
Result with v7.0.1:
[object Object]
Result with v7.0.2:
<script>console.log("hello html");</script>
Commits:
- [
184a659371
] - BEMHTML: should properly render unescaped html field iftag:false
present (fix for #312) - [
21bc431a6c
] - Merge pull request #295 from bem/renderClose (Slava Oliyanchuk) - [
6362bd9d54
] - v7.0.0 is deprecated (Slava Oliyanchuk) - [
4c54ada780
] - Merge pull request #288 from vithar/docs-anchors (Slava Oliyanchuk)
v7.0.1
Fixed issue with undefined nested mix.
v7.0.0 marked as deprecated because of #303.
Commits:
- [
3b9c4220c6
] - BEMHTML: Fix for #303 undefined nested mix (miripiruni)
v6.5.3
Fixed issue with undefined nested mix.
v6.5.2 marked as deprecated because of #303.
Commits:
- [
3b9c4220c6
] - BEMHTML: Fix for #303 undefined nested mix (miripiruni)
v4.3.7
Fixed issue with undefined nested mix.
v4.3.6 marked as deprecated because of #303.
Commits:
- [
19cd865e20
] - Merge pull request #306 from bem/issue-303__undefined-nested-mix (Slava Oliyanchuk) - [
1bcc5b6a5b
] - BEMHTML: Fix for #303 undefined nested mix (miripiruni)
v4.3.6
v4.3.5 marked as deprecated because of #303.
The fix already here.
Commits:
- [
45cc61b20e
] - Merge pull request #305 from bem/issue-303__mix-and-elem (Slava Oliyanchuk) - [
da8a205373
] - BEMHTML: fix #303 bug with mix and render (miripiruni)
v4.3.5
v7.0.0
Hooray! Next major version is here!
Breaking changes:
- No more
this.isArray()
. UseArray.isArray()
instead. - No more
once()
mode. You dont need it at all. - Now
xhtml
option default value isfalse
. But you can set it totrue
manualy. modVal
andelemModVal
cast to String before checking to match. See docs for examples.
Commits:
- [
97574f5282
] - BEMHTML: #214 Inverse xhtml option default value to false (miripiruni) - [
caad627dce
] - Fix #213: Throw away this.isArray() (miripiruni) - [
26d0725c39
] - Fix #213: Throw away once() (miripiruni) - [
079a5c89b2
] - Merge pull request #266 from bem/issue-220__mod-types (Slava Oliyanchuk)
v6.5.2
Fixed apply('modename')
behaviour.
// Template:
block('b1').def()(function() {
return applyCtx([ apply('content'), apply('tag') ]);
});
// BEMJSON:
{ block: 'b1', tag: 'a', content: '1' }
Result before fix (v6.5.1):
// empty string
Result after fix (v6.5.2):
a1
Dependency updated. Node.js 6.x in Travis config added.
Commits:
- [
9d230c552f
] -apply(modeName)
must return values fromthis.ctx
if no other templates (miripiruni) - [
0b96bacbeb
] - Benchmarks postinstall fixed (miripiruni) - [
9037b9dd0b
] - Benchmarks fixed (miripiruni) - [
9b9ffc7836
] - Update README.ru.md (Vitaly Harisov) - [
34b7365379
] - Lint to documentation changed to https://en.bem.info/platform/bem-xjst/ (Vitaly Harisov) - [
f63357ad9f
] - Tests about escaping improved (miripiruni) - [
9c05eded3d
] - Update after review (Vasiliy Loginevskiy) - [
9495a91140
] - Add escaped object to simple primitives. (Vasiliy Loginevskiy) - [
7fc384883a
] - Return reused function early (Alexey Gurianov) - [
41eddf7128
] - chore(package): update mocha to version 2.5.3 (greenkeeperio-bot) - [
f247a9c0fe
] - Fix an output HTML according to its BEMJSON (#2) (Vassily Krasnov) - [
3a25c73262
] - Update 4-data.md (Vassily Krasnov) - [
543f7647e5
] - chore(package): update dependencies (greenkeeperio-bot) - [
aa24538426
] - Dependency updated: q from 0.9.3 to 2.0.3 (miripiruni) - [
92016f17f9
] - Dependency updated: coa from 0.3.9 to 1.0.1 (miripiruni) - [
3a16d495d8
] - Trivial: dependency status badges added (Slava Oliyanchuk) - [
30e1149e67
] - Trivial: dependency status badges added (Slava Oliyanchuk) - [
50b8554b54
] - Travis config: Node.js 6.x added (Slava Oliyanchuk)