Skip to content

Releases: bem/bem-core

v4.3.1

26 Jul 14:13
Compare
Choose a tag to compare

Bug fixes

  • Reverted change that led to error when lazyInit in declMod was used (#1594).

v4.3.0: WARNING! HAS MAJOR CHANGES REVERTED IN 4.3.1

23 Jul 16:57
Compare
Choose a tag to compare

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 in declMod will throw an error (#1579).
  • With bug in isFunction method of functions 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 of i-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

21 Jun 09:00
Compare
Choose a tag to compare

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 of dom 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

19 Mar 11:55
Compare
Choose a tag to compare

Notable changes

  • bem-xjst 8.x support was introduced in BEMHTML templates (#1486).

Bug fixes

  • concat() method was fixed in i-bem-dom__collection (#1488).
  • An issue in ua__dom was fix (#1479).
  • dist: i-bem-dom__init_auto was removed from no-autoinit bundle (#1482).

Other changes

  • Now findChildBlock, findChildBlocks, findParentBlock, findParentBlocks, findMixedBlock and findMixedBlocks 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

13 Dec 10:10
Compare
Choose a tag to compare

Bug fixes

Fixed a bug in ua block on touch.blocks level (#1460).

v4.1.0

18 Nov 11:50
Compare
Choose a tag to compare

Bug fixes

  • Fixed a bug in identify returning different result on each call for document (#1441).
  • modules.define recursion problem was fixed (#1446).
  • Support for escaping in ua block was fixed (#1435).
  • Workaround for Array.prototype.push bug in Opera 41 was implemented.
  • An issue with pointer events on iOS devices was fixed (#1253).
  • An issue in i-bem-dom__events was fixed. Method once() was broken in some cases (#1452).

Other changes

  • Ability to specify html@lang attribute was added to page block (#751).

v3.2.0

14 Nov 23:06
Compare
Choose a tag to compare

Bug fixes

  • modules.define recursion problem was fixed (#1446).
  • Support for escaping in ua block was fixed (#1435).
  • Workaround for Array.prototype.push bug in Opera 41 was implemented.

Other changes

  • Ability to specify html@lang attribute was added to page block (#751).

v4.0.0

12 Oct 20:25
Compare
Choose a tag to compare

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 the identify module (#1028).
  • All static methods were removed from the events module (#1024).
  • The result field in Event class of events module was removed (#1023).
  • The css element of the page block does not support auto insertion of conditional comments for IE (#379).

v3.1.0

27 Sep 19:46
Compare
Choose a tag to compare

Bug fixes

  • An issue in getMods() method of i-bem was fixed (#1379).

Notable changes

  • Templates: support for escaped mode was introduced (#1406). Important! It requires enb-bemxjst version 6.5.3+ (or bem-xjst 6.5.5+) or enb-bh version 0.5.0+ (bh version 3.3.3+).

Other changes

  • Minor documentation updates.

v4.0.0-rc.1

01 Jun 15:28
Compare
Choose a tag to compare
v4.0.0-rc.1 Pre-release
Pre-release