Brief news about the BEM world since the beginning of this year:
Documentation news
- Updated document BEM project building methodology.
- Published a new document about deps.js — a technology to declare dependencies.
- Made a lot of minor changes in the methodological part of documentation.
Site news
Rolled out the BEM libraries section in a new design on bem.info:
Libraries news
bem-core
bem-components
- Released bem-components v4.0.0 with update of controls design and with the transition from the Stylus to postCSS.
- Released bem-components 5.0.0 that used bem-core 4.1.1. There are two style sets in v5.0.0: source files with postCSS and compiled CSS in case you prefer to use some preprocessor.
bem-history
- Not yet released but is already used in a separate branch v4. This version is compatible with
bem-core v4
. Feel free to try, revise and send us a feedback before we release a new version. The major change is rename ofuri
block touri__querystring
element, which extends the basic implementation of the same name module inbem-core
withUri
class. Class methods remained unchanged.
bem-react-core
- Working on BEM React Core — a core library for develop with React and BEM methodology.
- Released a complete documentation package: README, REFERENCE и CONTRIBUTION GUIDE.
Technologies news
bem-express
Released the following major updates:
- Updated bem-core to 4.1.1 and bem-components to 5.0.0.
- Began to use PostCSS instead of Stylus. We provide the same set of plugins that bem-components has.
- Implemented an optional
livereload
. For details read the documentation and README of the project. - Achieved the speed acceleration of the build procedure by updating
npm
-modules required for assembly. - Abandoned
bower
to supply libraries. Now all dependencies are set throughnpm
innode_modules
directory.
bem-xjst
v8.3.1 (v7.4.1)
extend()
mode fixed. Now it works as expected.- Documentation updated:
this.extend(o1, o2)
description added.
v8.4.0 (v7.6.0)
- New
unquotedAttrs
option allows us to ommit unnececary quotes of HTML attributes in some cases.
- New
v8.4.1 (v7.6.1)
extend(function(ctx, json) { … })
mode callback now have two arguments, the same as have the callbacks of other modes. The first argument is a link to context of(this)
template execution. The second — link to a BEMJSON node.
-
- Escaping functions fixed: now argumengs
undefined
ornull
andNaN
will give you empty string as a result. In previous versions you get stringified results ('undefined'
,'null'
,'NaN'
).
- Escaping functions fixed: now argumengs
-
- BEMTREE: added modes related to data:
js()
,addJs()
,mix()
,addMix()
,mods()
,addElemMods()
,elemMods()
. The rest of the modes that are relevant only to-HTML are available in BEMHTML.
- BEMTREE: added modes related to data:
-
- Fixed bug: calculate position if block/elem was replaced via
replace()
.
- Fixed bug: calculate position if block/elem was replaced via
v8.5.2 (v7.6.4)
- Fixed bug in BEMTREE related to the rendering of special value field
content
{ html: '<unescaped value>' }
. - bem-xjst onlinе demo updated:
- Added a switch of BEMHTML/BEMTREE engines.
- Added a plug for
BEM.I18N ()
, which returns its second argument. This is useful to copy the code from production to a sandbox.
- README updated.
- A sandbox updated. You could help our projest to fix issues with help wanted lable.
- Fixed bug in BEMTREE related to the rendering of special value field
enb-bemxjst
- Released a new version of enb-bemxjst v8.5.2 with
"dependencies": { "bem-xjst": "8.5.2" }
. However, we continue to actively support the both branches: 7.x and 8.x.
All changes are described in releas notes v8.5.2 and v7.6.4 and in a CHANGELOG.
BEM toolbox news
bem-tools
Released bem-tools 2.0.0 with updated bem-tools-create. Detailed description is in README.
bem-walk
Wrote a full and clear README.
project-stub
- Implemented a new version of bem-components v5.0.0 taking into account the transition to postCSS and a new version of bem-tools 2.0.0.
- As an experiment, included gulp-bem in a project-stub.