Releases: bem/bem-core
Releases · bem/bem-core
v3.0.1
v3.0.0 [BROKEN]
Breaking changes
- Base templates for
BEMHTML
andBEMTREE
were removed (#1258). bem-xjst 6.3.0+ should be used instead. Since now there's no need to add dependencies oni-bem
block for base templates. - File extentions of BEMHTML templates were renamed from
.bemhtml
to.bemhtml.js
(#984). Please check that new extention is supported in you build config. i-bem__i18n
element was removed (#1304). Please usei18n
block for internationalization.jquery__events_type_pointerclick
is not using FastClick anymore (#1088).
Notable changes
jQuery
was updated to 2.2.3 and 1.12.3 (#1260).
Bug fixes
- An issue in
page
was fixed.<meta name=viewport>
had wronguser-scalable
value on the touch level (#1294). - An issue in
jquery__event_type_pointernative
which led to JS error in IE8 was fixed (1317).
Other changes
- dist: Autoinitialisation of blocks is optional now (#1271).
v2.9.1
v2.9.0
v2.8.0
Notable changes
- New i18n block was introduced, providing support for internationalization (#1074).
- Now jQuery is included via
https
by default (#1202). - Dependency on
bemhtml-compat
was dropped (#1186). Users ofbem-tools
need to runnpm i bemhtml-compat --save
to install it on their projects.
Bug fixes
- Bug with undefined handler call in
loader_type_js
was fixed (#1159).
Other changes
2.7.0
Notable changes
- New
detach
method was added toi-bem__dom
(#1102). i-bem.bemhtml
now supports nested mixes as objects (873).- Some minor attribute escaping optimizations were added to
i-bem.bemhtml
(#961), (#980) and (#982). - Support for bem-xjst 2.x was added to BEMHTML templates (#1021).
clearfix
was optimized to work properly in supported IE browsers (#722).jquery
was updated to 2.1.4 and 1.11.3 (#999).
Bug fixes
- An issue in
i-bem__dom
was fixed.findElem
didn't update cache of elements that
had been found previously (#583). - An issue in
i-bem__dom
was fixed.dropElemCache
worked incorrectly in some edge cases (#1037). - An issue in
i-bem__dom
was fixed.setMod
didn't add CSS classes if blocks on the same DOM node had
overlapping end parts in their names (#1090). - An issue in
page
was fixed.zoom
attribute of the block didn't work for touch levels (#1020). - An issue in
keyboard__codes
was fixed.insert
anddelete
keys had wrong key codes (#1002). - An issue in
i-bem.bemhtml
was fixed.applyNext
calls were skipped in nested templates (b1dc50c). - An issue in
jquery__events_type_pointernative
was fixed to work properly in IE 11/Edge (#1066).
Other changes
- Russian documentation for every blocks was reworked. Please visit https://ru.bem.info/libs/bem-core/ for new documentation.
- Other minor improvements of the documentation.
2.6.0
Major changes
- Since now
i-bem__dom
provides module after DOM is ready (#859). - Since now
setMod
andhasMod
methods ofi-bem__dom
convert theirmodVal
argument to string in case
it is not of type string or boolean (#890). - An ability to pass
nonce
attribute was added topage
, to support related parts of Content Security Policy
specification (#882). - New
page__conditional-comment
template was added (#551). vow
was updated to 0.4.8 (#837).
Bug fixes
- An issue in
i-bem.bemhtml
was fixed. Block CSS class repeated in case of mix with the same
block (#792). - An issue in
loader_type_bundle
was fixed. Success callback might be applied after timeout
error (67ff55f). - An issue in
i-bem__dom
was fixed.append
,prepend
and other similar methods won't properly work with strings
in some cases (#852). - An issue in
jquery__event_type_winresize
was fixed. MSIE wasn't detected properly (#862). - An issue in
object
was fixed to proper handlenull
value astarget
argument inextend
method (#910). - An issue in
page
was fixed. There was no way to disablex-ua-compatible
meta tag from BEMJSON (#794).
Other changes
- Timeout in
loader_type_bundle
module was increased to 30000 ms (4e27422). - Russian documentation for several blocks was fixed.
2.5.1
Bug fixes
- An issue in
jquery__pointerpress
andjquery__pointerrelease
was fixed. Events work now in
Internet Explorer 8 (#792). - An issue in
jquery__pointernative
was fixed.pointerenter
andpointerleave
events have bubbled up
to the document root, while they shouldn't (#801). - An issue in
loader_type_bundle
was fixed. CSS bundle has been always added to the top of the HTML<head>
, so CSS rules
from the bundle might not work properly (#808). - Issues in BH templates for
ua
were fixed. There was no possibility to pass the content of the block from
BEMJSON (#734). - An issue in
page
was fixed. There was a problem with conditional comments for Internet Explorer in the BH template
of the block (#781).
Other changes
jquery
was updated to the 2.1.3 and 1.11.2 (#778).- Russian documentation for modules:
clearfix
,cookie
,identify
,idle
,inherit
,keyboard
,loader
,next-tick
,
string
andtick
was added. - Russian documentation for
i-bem.js
was updated. - English guides to BEMHTM and BEMJSON were updated.
2.5.0
Major changes
- bem-core in now published under the MPL 2.0 license (#443).
- An ability to specify error handler was added to
loader_type_js
(#672). BEMContext
class was added tooninit
export context ini-bem.bemtree
(#602).reapply
static method was added to BEMContext class of BEMTREE (#706).- bh templates for block
page
were added to touch level (#689). - bem-xjst was updated to 0.9.0 (#709).
Bug fixes
- An issue in
i-bem__dom
was fixed.findBlocksInside
could return blocks which weren't inited (#699). - An issue in
tick
was fixed. Timer was not removed byTick#stop()
(#694). - An issue in
i-bem.bemhtml
was fixed.i-bem
CSS class was added to elements by mistake (#633). html-from-bemtree
tech was fixed to exposevow
,console
,setTimeout
inside BEMTREE template context (#438ebb8).
Other changes
- English guide to BEMJSON was added.
- Russian documentation for
querystring
module was added. - Russian documentation for
i-bem.js
was fixed to satisfy current API. - Documentation for BEMHML/BEMTREE for both languages was updated.
2.4.0
Major changes
- bem-xjst was updated to 0.8.0; bemhtml-compat was updated to 0.0.11.
Bug fixes
- An issue in
jquery__event_type_pointerpressrelease
was fixed.pointerpress
/pointerrelease
events fired for any press/release
of mouse button (#607). - An issue in
i-bem__dom.js
was fixed. Baselive
method was not properly called in some edge cases (#608).
Other changes
- English documentation for JS-syntax of BEMHTML was added.