Skip to content

Releases: bem/bem-core

v3.0.1

10 May 15:28
Compare
Choose a tag to compare

Bug fixes

  • An issue with pointer events on iOS devices was fixed (#1253).

v3.0.0 [BROKEN]

14 Apr 11:32
Compare
Choose a tag to compare

Breaking changes

  • Base templates for BEMHTML and BEMTREE were removed (#1258). bem-xjst 6.3.0+ should be used instead. Since now there's no need to add dependencies on i-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 use i18n 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 wrong user-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

06 Apr 15:43
Compare
Choose a tag to compare

Bug fixes

  • An issue in page was fixed. <meta name=viewport> had wrong user-scalable value on the touch level (#1294).

Other changes

  • dist: Autoinitialization of blocks is optional now (#1271).

v2.9.0

27 Feb 09:50
Compare
Choose a tag to compare

Notable changes

  • jQuery was updated to 2.2.0 and 1.12.0 (#1249).

Bug fixes

  • Fixed bug in BEMHTML 1.x which leads to drop of this.mods in reapply() (#97).

Other changes

  • jquery__event_type_pointerpressrelease now exposes originalEvent (#1254).
  • dist: Support for i18n was added to dist (#1212).
  • page__css.bemhtml template was updated to support new bem-xjst versions (#1228).

v2.8.0

14 Sep 15:17
Compare
Choose a tag to compare

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 of bem-tools need to run npm 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

  • BH bundles in dist now mimic to BEMHTML (#1210).
  • bem create templates for bemhtml, bemtree, vanilla.js and browser.js were improved (#1183).
  • vow was updated to 0.4.10 (#1056).

2.7.0

29 Jul 11:23
Compare
Choose a tag to compare

Notable changes

  • New detach method was added to i-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 and delete 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

17 Mar 08:34
Compare
Choose a tag to compare

Major changes

  • Since now i-bem__dom provides module after DOM is ready (#859).
  • Since now setMod and hasMod methods of i-bem__dom convert their modVal argument to string in case
    it is not of type string or boolean (#890).
  • An ability to pass nonce attribute was added to page, 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 handle null value as target argument in extend method (#910).
  • An issue in page was fixed. There was no way to disable x-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

26 Jan 13:20
Compare
Choose a tag to compare

Bug fixes

  • An issue in jquery__pointerpress and jquery__pointerrelease was fixed. Events work now in
    Internet Explorer 8 (#792).
  • An issue in jquery__pointernative was fixed. pointerenter and pointerleave 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 and tick was added.
  • Russian documentation for i-bem.js was updated.
  • English guides to BEMHTM and BEMJSON were updated.

2.5.0

28 Oct 21:08
Compare
Choose a tag to compare

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 to oninit export context in i-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 by Tick#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 expose vow, 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

30 Jul 09:28
Compare
Choose a tag to compare

Major changes

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. Base live method was not properly called in some edge cases (#608).

Other changes

  • English documentation for JS-syntax of BEMHTML was added.