diff --git a/CHANGELOG.md b/CHANGELOG.md index 159d63e81..ebea3aff7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## 4.2.0 + +### Notable changes + +- `bem-xjst 8.x` support was introduced in BEMHTML templates ([#1486](https://github.com/bem/bem-core/issues/1485)). + +### Bug fixes + +- `concat()` method was fixed in `i-bem-dom__collection` ([#1488](https://github.com/bem/bem-core/issues/1488)). +- An issue in `ua__dom` was fix ([#1479](https://github.com/bem/bem-core/issues/1478)). +- dist: `i-bem-dom__init_auto` was removed from `no-autoinit` bundle ([#1482](https://github.com/bem/bem-core/issues/1481)). + +### Other changes + +- Now `findChildBlock`, `findChildBlocks`, `findParentBlock`, `findParentBlocks`, `findMixedBlock` and `findMixedBlocks` methods throw an error if block is given as String ([#1469](https://github.com/bem/bem-core/pull/1469/)). +- `buildClassName` function was optimized ([#1404](https://github.com/bem/bem-core/pull/1404)). +- Docs: English translations were added ([#1483](https://github.com/bem/bem-core/pull/1483), [#1476](https://github.com/bem/bem-core/pull/1476), [#1475](https://github.com/bem/bem-core/pull/1475)). +- Migration: Added notes about bemTarget ([#1491](https://github.com/bem/bem-core/issues/1472)). +- Migration: added info about template options ([#1467](https://github.com/bem/bem-core/issues/1467)). +- Fixed issues in docs. + ## 4.1.1 ### Bug fixes diff --git a/CHANGELOG.ru.md b/CHANGELOG.ru.md index 719c33cba..7b790b338 100644 --- a/CHANGELOG.ru.md +++ b/CHANGELOG.ru.md @@ -1,5 +1,26 @@ # История изменений +## 4.2.0 + +### Крупные изменения + +- В BEMHTML-шаблонах реализована поддержка `bem-xjst 8.x` ([#1486](https://github.com/bem/bem-core/issues/1485)). + +### В релиз вошли следующие исправления ошибок + +- Исправлена работа метода `concat()` в i-bem-dom__collection ([#1488](https://github.com/bem/bem-core/issues/1488)). +- Исправлена опечатка в `ua__dom`, приводящая к runtime-ошибке при использовании touch-уровня ([#1479](https://github.com/bem/bem-core/issues/1478)). +- dist: Исправлена ошибка, при которой `i-bem-dom__init_auto` подключался в `no-autoinit`-бандл ([#1482](https://github.com/bem/bem-core/issues/1481)). + +### Также в релиз вошли следующие изменения + +- Теперь методы `findChildBlock`, `findChildBlocks`, `findParentBlock`, `findParentBlocks`, `findMixedBlock` и `findMixedBlocks` выбрасывают исключение, если блок передан строкой ([#1469](https://github.com/bem/bem-core/pull/1469/)). +- Оптимизирована функция построения имен классов ([#1404](https://github.com/bem/bem-core/pull/1404)). +- Добавлены переводы на английский ([#1483](https://github.com/bem/bem-core/pull/1483), [#1476](https://github.com/bem/bem-core/pull/1476), [#1475](https://github.com/bem/bem-core/pull/1475)). +- Миграционный гайд: добавлено примечание о `bemTarget` ([#1491](https://github.com/bem/bem-core/issues/1472)). +- Миграционный гайд: добавлено примечание о необходимых опциях для шаблонизаторов ([#1467](https://github.com/bem/bem-core/issues/1467)). +- Исправлены ошибки в документации. + ## 4.1.1 ### В релиз вошли следующие исправления ошибок