Skip to content

Commit ee446ea

Browse files
committed
v4.0.0
1 parent 03db19a commit ee446ea

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 4.0.0
4+
- Added global matcher support: `beforeEach` and `afterEach` (#121).
5+
- Added `ctx.process` method (#135).
6+
- Add `i-bem` class to element with `js` (#122).
7+
- No-base modifier classes supported (#132).
8+
- Wrap data-bem attribute by single quotes (#115).
9+
- `processBemJson` now return standart BEMJSON (#96).
10+
- Readme updates (#131, #124, #123, #120).
11+
- Escaping optimizations (#137).
12+
313
## 3.3.0
414
- Do not add `i-bem` class to element with `js`.
515

CHANGELOG.ru.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# История изменений
22

3+
## 4.0.0
4+
- Добавлена поддержка глобальных шаблонов: `beforeEach` and `afterEach` (#121).
5+
- Добавлен метод `ctx.process` (#135).
6+
- Выводится класс `i-bem` элементам с `js` (#122).
7+
- Добавлена поддержка модификаторов без основной части (#132).
8+
- Атрибут `data-bem` в одинарных кавычках (#115).
9+
- Метод `processBemJson` возвращает стандартный BEMJSON (#96).
10+
- Исправлена и дополнена документация (#131, #124, #123, #120).
11+
- Оптимизации эскейпинга (#137).
12+
313
## 3.3.0
414
- Не выводить класс `i-bem` при наличии `js` у элемента.
515

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Marat Dulin <[email protected]>",
33
"description": "Template engine. BEMJSON -> HTML processor.",
44
"name": "bh",
5-
"version": "3.3.0",
5+
"version": "4.0.0",
66
"repository": "https://github.com/bem/bh",
77
"licence": "MIT",
88
"contributors": [

0 commit comments

Comments
 (0)