Releases: bem/bem-core
Releases · bem/bem-core
2.3.0
2.2.4
2.2.3
- 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 ofi-bem__dom
now support multiple events to be passed in arguments (#533).- Lost
functions
dependency inevents
module was restored (#532).
2.2.2
2.2.1
2.2.0
Major changes
- New
keyboard__codes
module has been added (#431). BEMContext
class was added to oninit's export context ini-bem.bemhtml
(#485).- Ability to declare elements with block class has been added (#481).
- Behaviour of
isSimple
method ofBEMContext
was fixed ini-bem.bemhtml
(#432). - An issue with
liveUnbindFrom
method ofBEMDOM
was fixed ini-bem__dom
(#476). - An issue with
isFocusable
method ofdom
module was fixed for cases wheredomElem
is a link withtabindex
attribute,
but withouthref
(#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
toi-bem__dom_init_auto
(#486). vow.js
module has been moved tovow.vanilla.js
(#412).
Other changes
2.1.0
Major changes
- An issue in
i-bem.js
when modifiers change event had been emitted beforeonSetMod
handlers have been called was fixed (#454). - An issue in
i-bem.bemhtml
was fixed. Since nowthis.mods
andthis.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 ofpage.bemhtml
was fixed (#465).
Other changes
baseMix
field description ofi-bem.js
was added to russian docs (#461).- CDN host was changed to
yastatic.net
(#444).
Previous CDN hostyandex.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
Breaking changes
- All deprecated methods have been removed from
i-bem.js
andi-bem__dom.js
(#318).
The following methods were removed:destruct
, useonSetMod js ''
;extractParams
, useelemParams
;trigger
, useemit
;afterCurrentEvent
, usenext-tick
module;channel
, useevents__channels
module;changeThis
, use nativeFunction.prototype.bind
.
init
anddestruct
events have been removed fromi-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).
andBEMDOM.update
methods (#420). - DOM helpers from
i-bem__dom.js
replace
,append
,prepend
,before
,after
now return new context andupdate
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
andi-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 fromi-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
1.1.0
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 injquery__event_type_pointerclick
oftouch.blocks
(#332). - Fix
node.js
tech bug on Windows systems (#274). - Fix
i-bem__dom_elem-instances
bug withonElemSetMod
(#340). - Use bemhtml from bem-xjst (#329).
Other changes
- ym was updated to 0.0.12 (#326).
- Do not flood
console
with messages ifi-bem__i18n
is not in debug mode (#285). - Fix jsdoc for
dropElemCache()
method ofi-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.