Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ 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
```

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.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Unreleased

## 0.13.0 (2026-10-28)

### Breaking Changes

* Upgrade `htmlparser2` from version 9 to version 12.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "posthtml-parser",
"version": "0.12.1",
"version": "0.13.0",
"description": "Parse HTML/XML to PostHTMLTree",
"license": "MIT",
"repository": {
Expand Down
Loading