Releases: bem/bem-core
Releases · bem/bem-core
v4.3.1
v4.3.0: WARNING! HAS MAJOR CHANGES REVERTED IN 4.3.1
Notable changes
jQuery
was updated to 3.2.1 and 1.12.4 (#1587).
Bug fixes
- Possibility to force
lazy
initialization from markup was fixed (#1579). - Possibility to declare entities with mixins was fixed (#1550).
- Now
lazyInit
indeclMod
will throw an error (#1579). - With bug in
isFunction
method offunctions
block, which works wrong for special functions (#1577).
Other changes
.bemrc
config was added (#1568).vow
was updated to 0.4.17 (#1565).inherit
was updated to 2.2.6 (#1519).- Private
_delInitedMod
method ofi-bem
block was removed (#1523). - Removed code for old
bem-tools
(e57678b). - npm dependencies were updated (#1589).
- Now tests are executed also on Node.js 8 (dd7e534).
- More specs for
i-bem-dom
were added (#1517). gitbook
was added (#1569).- JSDoc was fixed.
- Documentation updates.
v4.2.1
Bug fixes
- Fixed an issue with elems cache invalidation on DOM modifications (#1487).
- Fixed an issue in
i-bem-dom__events
when event's data was not passed to handler (#1509). - Fixed method
isEditable
ofdom
module. Missing editable input types were added (#1502).
Other changes
- Fixed syntax error in
i-bem-dom
JSDoc. - Minor documentation updates.
- CLA introduced.
v4.2.0
Notable changes
bem-xjst 8.x
support was introduced in BEMHTML templates (#1486).
Bug fixes
concat()
method was fixed ini-bem-dom__collection
(#1488).- An issue in
ua__dom
was fix (#1479). - dist:
i-bem-dom__init_auto
was removed fromno-autoinit
bundle (#1482).
Other changes
- Now
findChildBlock
,findChildBlocks
,findParentBlock
,findParentBlocks
,findMixedBlock
andfindMixedBlocks
methods throw an error if block is given as String (#1469). buildClassName
function was optimized (#1404).- Docs: English translations were added (#1483, #1476, #1475).
- Migration: Added notes about bemTarget (#1491).
- Migration: added info about template options (#1467).
- Fixed issues in docs.
v4.1.1
v4.1.0
Bug fixes
- Fixed a bug in
identify
returning different result on each call fordocument
(#1441). modules.define
recursion problem was fixed (#1446).- Support for escaping in
ua
block was fixed (#1435). - Workaround for
Array.prototype.push
bug inOpera 41
was implemented. - An issue with pointer events on iOS devices was fixed (#1253).
- An issue in
i-bem-dom__events
was fixed. Methodonce()
was broken in some cases (#1452).
Other changes
- Ability to specify
html@lang
attribute was added topage
block (#751).
v3.2.0
v4.0.0
Breaking changes
- Changes in the
i-bem
block. See MIGRATION.md. - Changes in the
querystring
. See MIGRATION.md. - The optional parameter
onlyGet
was removed from theidentify
module (#1028). - All static methods were removed from the
events
module (#1024). - The
result
field inEvent
class ofevents
module was removed (#1023). - The
css
element of thepage
block does not support auto insertion of conditional comments for IE (#379).
v3.1.0
Bug fixes
- An issue in
getMods()
method ofi-bem
was fixed (#1379).
Notable changes
- Templates: support for escaped mode was introduced (#1406). Important! It requires
enb-bemxjst
version 6.5.3+ (orbem-xjst
6.5.5+) orenb-bh
version 0.5.0+ (bh
version 3.3.3+).
Other changes
- Minor documentation updates.