# Changelog

Формат — [Keep a Changelog](https://keepachangelog.com/ru/1.1.0/), версии — [SemVer](https://semver.org/lang/ru/).

## [1.0.0] - 2026-06-24

### Added

- Тесты (`node:test`): [`test/index.spec.js`](test/index.spec.js), [`test/tools/check-function-order.spec.js`](test/tools/check-function-order.spec.js), [`test/tools/post-build.spec.js`](test/tools/post-build.spec.js).
- [`tools/check-function-order.js`](tools/check-function-order.js) — порядок top-level функций и JSDoc по образцу site-core.
- [`tools/upgrade-github-actions.js`](tools/upgrade-github-actions.js); `npm run upgrade` — devDependencies и GitHub Actions.
- [`tools/post-build.js`](tools/post-build.js) — `dist/` для GitHub Pages (README, CHANGELOG, `_config.yml`).
- Типы в [`types/`](types/): публичный API в [`types/index.d.ts`](types/index.d.ts).
- Скрипты `build`, `verify` и `prepublishOnly` в [`package.json`](package.json) (lint + test + build перед `npm publish`).
- [`CHANGELOG.md`](CHANGELOG.md), русский [`README.md`](README.md) с бейджами npm и CI.
- [`config/github-workflow.schema.json`](config/github-workflow.schema.json) — валидация workflow в VS Code.

### Changed

- **Breaking:** named exports `getPosthtmlBemLinter` и `lintBem` в [`index.js`](index.js); `export default` удалён. Обновите импорт: `import { lintBem, getPosthtmlBemLinter } from 'posthtml-bem-linter'`.
- [`biome.json`](biome.json) — адаптированный site-core preset (Biome 2.5.x), overrides только для `test/` и `types/`.
- [`jsconfig.json`](jsconfig.json) → [`tsconfig.json`](tsconfig.json): JSDoc type-check без `@typedef` в `.js`.
- CI [`.github/workflows/ci.yml`](.github/workflows/ci.yml): Node 24, lint + test + build; deploy на GitHub Pages через `configure-pages`, `jekyll-build-pages`, `upload-pages-artifact`, `deploy-pages`; ключевые слова `[no-deploy]`, `[WIP]`, `[skip`.
- [`homepage`](package.json) → `https://efiand.github.io/posthtml-bem-linter`.
- [`.editorconfig`](.editorconfig), [`.vscode/settings.json`](.vscode/settings.json), [`.vscode/extensions.json`](.vscode/extensions.json), [`.prettierignore`](.prettierignore).
- `pre-commit`: `lint-format` + `test`.
- Явный `exports` в [`package.json`](package.json).
- [`.npmignore`](.npmignore): явный список исключений из npm-пакета.

### Removed

- `export default` из [`index.js`](index.js).
- Корневой [`index.d.ts`](index.d.ts) — типы только в [`types/`](types/).

## [0.1.8] и ранее

См. историю коммитов и [npm](https://www.npmjs.com/package/posthtml-bem-linter).
