From 6b7676b2ac087da8a2d5a50e419294bb6a0b273d Mon Sep 17 00:00:00 2001 From: Ivan Voischev Date: Wed, 28 Oct 2026 13:58:24 +0300 Subject: [PATCH] 0.13.0 --- .github/CONTRIBUTING.md | 4 ++-- changelog.md | 2 ++ package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 0e7203b..c646598 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -29,7 +29,7 @@ CI runs the checks on Node.js 24, builds one npm tarball, then installs its prod The changelog is maintained by hand so release notes and historical entries are preserved. -1. Prepare a release pull request. For the next breaking 0.x release, update the package and lockfile without creating a commit or tag: +1. Prepare a release pull request. Update the package and lockfile without creating a commit or tag. For example, a breaking 0.x release after `0.12.x`: ```sh npm version 0.13.0 --no-git-tag-version @@ -37,5 +37,5 @@ The changelog is maintained by hand so release notes and historical entries are 2. Turn the `Unreleased` notes into a versioned, dated entry and start a new `Unreleased` section above it, keeping the previous history intact. 3. Run `npm run check` and commit the version files and changelog together. -4. After the release pull request is merged, update `master`, tag the release commit as `v0.13.0`, and push the tag. +4. After the release pull request is merged, update `master`, tag the release commit with its version (`v0.13.0` in this example), and push the tag. 5. Publish that checkout with `npm publish`. The `prepublishOnly` script runs the full check again before publishing. diff --git a/changelog.md b/changelog.md index f1c3db8..ec0998b 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ ## Unreleased +## 0.13.0 (2026-10-28) + ### Breaking Changes * Upgrade `htmlparser2` from version 9 to version 12. diff --git a/package-lock.json b/package-lock.json index 8eb9ccb..f4b651c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "posthtml-parser", - "version": "0.12.1", + "version": "0.13.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "posthtml-parser", - "version": "0.12.1", + "version": "0.13.0", "license": "MIT", "dependencies": { "htmlparser2": "^12.0.0" diff --git a/package.json b/package.json index 6f9dc73..2a11528 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "posthtml-parser", - "version": "0.12.1", + "version": "0.13.0", "description": "Parse HTML/XML to PostHTMLTree", "license": "MIT", "repository": {