Skip to content

Releases: bem/bem-core

2.3.0

01 Jul 12:07
Compare
Choose a tag to compare

Major changes

  • New implementation of pointer events was added. Based on pointer events polyfills from Polymer (#567).
  • Ability to specify additional data for event was added to bindTo* methods of i-bem__dom.js (#568).

Other changes

  • An issue in i-bem.bemhtml was fixed. There was an error when mix was used as an object (not an array) in BEMJSON and BEMHTML simultaneously (#555).
  • An issue in page was fixed. There was no possibility to apply standard modes to page in BEMHTML template and touch template was broken (516).

2.2.4

20 Jun 14:54
Compare
Choose a tag to compare
  • An issue in i-bem.js was fixed. Modifier change event has been emitted even if beforeSetMod handler
    had prevented change (#546).
  • String decoding process of querystring__uri module was fixed to return original string
    if decode failed (#554).

2.2.3

06 Jun 11:10
Compare
Choose a tag to compare
  • Destruction process of blocks was fixed to prevent unexpected block reinitializations (#540).
  • An issue in jquery__event_type_pointer was fixed. Native mouse events were replaced with pointer events
    in unexpected cases (#534).
  • unbindFrom* methods of i-bem__dom now support multiple events to be passed in arguments (#533).
  • Lost functions dependency in events module was restored (#532).

2.2.2

20 May 09:58
Compare
Choose a tag to compare
  • An issue with block reinitialization on the DOM node, that has been processed with destructor, was fixed
    in i-bem__dom (#518).
  • An issue in mod events subscription was fixed in i-bem. false could be used as modVal (#529).
  • jquery was updated to the latest minor releases 2.1.1 and 1.11.1 (#515).

2.2.1

30 Apr 09:49
Compare
Choose a tag to compare
  • An issue in jquery__event_type_pointerpressrelease was fixed. pointerpress event has been triggered twice on each mousedown
    in IE10 (#505).

2.2.0

18 Apr 10:49
Compare
Choose a tag to compare

Major changes

  • New keyboard__codes module has been added (#431).
  • BEMContext class was added to oninit's export context in i-bem.bemhtml (#485).
  • Ability to declare elements with block class has been added (#481).
  • Behaviour of isSimple method of BEMContext was fixed in i-bem.bemhtml (#432).
  • An issue with liveUnbindFrom method of BEMDOM was fixed in i-bem__dom (#476).
  • An issue with isFocusable method of dom module was fixed for cases where domElem is a link with tabindex attribute,
    but without href (#501).
  • Short way of module declaration was fixed for i-bem__dom_elem-instances (#479).
  • A workaround for rendering performance of blocks initialisation in Chrome-based browsers was added
    to i-bem__dom_init_auto (#486).
  • vow.js module has been moved to vow.vanilla.js (#412).

Other changes

  • vow module has been updated to 0.4.3 (#504).
  • Russian documentation about BEMTREE technology was added (#500).
  • Russian documentation for JS-syntax of BEMHTML was updated (#471).
  • API references for JS-modules has been added as a separate branch v2-jsdoc (#478).

2.1.0

24 Mar 12:47
Compare
Choose a tag to compare

Major changes

  • An issue in i-bem.js when modifiers change event had been emitted before onSetMod handlers have been called was fixed (#454).
  • An issue in i-bem.bemhtml was fixed. Since now this.mods and this.ctx.mods use the same object (#441).
  • Error in modular declaration of element's modifiers was fixed in i-bem__dom_elem-instances (#447).
  • inherit module was updated to 2.2.1 (#466).
  • An order of tags in head section of page.bemhtml was fixed (#465).

Other changes

  • baseMix field description of i-bem.js was added to russian docs (#461).
  • CDN host was changed to yastatic.net (#444).
    Previous CDN host yandex.st is still accessible. Physically they both are the same web servers. DNS records is the only difference.
  • BEMHTML template for bem create command was added (#277).
  • We do not support autobuilding of our tests with Node.js 0.8 in Travis CI any longer (#455).
  • Travis's build status badge was changed to SVG version :)

2.0.0

04 Mar 14:24
Compare
Choose a tag to compare

Breaking changes

  • All deprecated methods have been removed from i-bem.js and i-bem__dom.js (#318).
    The following methods were removed:
    • destruct, use onSetMod js '';
    • extractParams, use elemParams;
    • trigger, use emit;
    • afterCurrentEvent, use next-tick module;
    • channel, use events__channels module;
    • changeThis, use native Function.prototype.bind.
  • init and destruct events have been removed from i-bem.js in favor of modifiers changes events (see "Major changes" section below).
  • ecma was moved to separate repo; ES5-shims should be used
    for IE < 9 (#230).
  • vow module has been updated to 0.4.1 (#350).
    See Vow's changelog for changes.
  • Support for [email protected] has been added to i-bem.bemhtml (#385).

Major changes

  • Support for defining BEMDOM-blocks as ym modules has been added (#382).
  • Events for modifiers changes have been added to i-bem.js (#357).
  • Support for passing string values has been added to BEMDOM.init
    (#419).
    and BEMDOM.update methods (#420).
  • DOM helpers from i-bem__dom.js replace, append, prepend, before, after now return new context and update returns
    updated context as a jQuery object (#410).
  • New loader_type_bundle has been added (#358).
  • Default jQuery versions were updated to 2.1.0 and to 1.11.0, for IE < 9 (#356).

Other changes

  • i-bem.bemhtml now uses strings concatination instead of pushing to buffer in it's internals (#401).
  • jQuery no longer removes itself from global scope if it exists (#349).
  • jquery__event_type_pointerclick.js has been moved from touch level to common (#393).
  • Modifiers i-bem_elem-instances_yes and i-bem__dom_elem-instances_yes were renamed to boolean style (#352).
  • Runtime error in page template in development mode has been fixed (#417).
  • Usage of Function.prototype.bind has been droped from i-bem.js internals in favor of support
    for Android 2.3 (#404).
  • Some bugs in browser-js+bemhtml tech have been fixed (#392).
  • Up to [email protected] (#414).

1.2.0

25 Feb 09:33
Compare
Choose a tag to compare

Major changes

  • BEM-blocks are emit destruct event on destructing (#370).
  • Improvements of pointerevents polyfills (#354).

Other changes

  • All JSDocs were fixed so bem-jsd could parse them (#335).
  • Russian version of BEMHTML reference was actualized to JavaScript syntax (#355).
  • Use bower for dependency management (#367).

1.1.0

26 Dec 11:00
Compare
Choose a tag to compare

Major changes

  • jquery__config uses jQuery 2.x by default for modern browsers (#319).
  • Add ability to use any BEMJSON as value of attributes in BEMHTML templates (#290).
  • Fix dependencies in i-bem__collection (#292).
  • Remove page block's touch styles (#306).
  • Fix page BEMHTML wrapping in production mode (#309).
  • Fix possible JavaScript error in script injection in IE<9 in next-tick (#324).
  • Fix FastClick initialization in jquery__event_type_pointerclick of touch.blocks (#332).
  • Fix node.js tech bug on Windows systems (#274).
  • Fix i-bem__dom_elem-instances bug with onElemSetMod (#340).
  • Use bemhtml from bem-xjst (#329).

Other changes

  • ym was updated to 0.0.12 (#326).
  • Do not flood console with messages if i-bem__i18n is not in debug mode (#285).
  • Fix jsdoc for dropElemCache() method of i-bem__dom module (#296).
  • Development infrastructure was updated to
    [email protected] (#323).
  • Russian documentation for i-bem.js was updated.
  • List of supported browsers
    was specified in project's README.