Back to Explore

rehypejs/rehype

GitHub
1 watchersOpen source

Last release:

rehype is an HTML processor in the unifiedjs ecosystem, built around plugins that turn HTML into an AST (hast) so you can inspect and change the structure, then transform it back to HTML. It is useful for server or client HTML processing, CLI scripts, and other workflows where you want plugin-based HTML transformations.

Project status

  • Actively maintained: There is evidence of ongoing work, with the last upstream GitHub push on 2026-06-13, but the last documented published update shown here is rehype 13.0.2 on 2024-09-27.
  • Update cadence: Published updates appear infrequent (notably a major in 2023-08, a patch in 2024-09, and no additional version entries shown after that), so the overall cadence seems occasional rather than steady despite recent activity on the repo.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 13.0.2

    Version 13.0.2 is described as a patch release with mostly documentation and typing-related work, plus adding MIT license files to individual packages. The code changes in the main plugins (rehype-parse and rehype-stringify) are largely limited to JSDoc type import/refactor for declaration generation. There is, however, at least one dependency version bump in rehype-cli that is not mentioned in the release notes.

  • 13.0.1

    Release 13.0.1 of rehype documents a TypeScript-related change: augmenting settings types for rehype. The code diff shows a new TypeScript declaration file added for the rehype entry point, plus some repository configuration tweaks to ensure the new d.ts is included in builds and linting.

    Features
  • rehype-cli@12.0.0

    rehype-cli@12.0.0 release notes contain no actual changelog details (they only reference rehype@13.0.0). The code diff shows this release is part of a broader major-version upgrade across the rehype ecosystem, including switching rehype-parse to hast-util-from-html and updating the CLI to depend on newer unified-args and rehype packages.

  • rehype-parse@9.0.0

    The provided release notes for rehype-parse 9.0.0 do not include any actual change log content. They only reference an external rehype 13.0.0 release link, so no developer-impacting details (features, fixes, breaking changes, or migration steps) can be extracted from the supplied text.

  • rehype-stringify@10.0.0

    This release primarily updates package metadata for rehype-stringify to version 10.0.0, and adjusts README examples to reference the new major version. Additionally, the rehype package dependency range is updated to pull in rehype-stringify 10.0.0 instead of 9.x.

    Breaking
  • 13.0.0

    Release 13.0.0 updates package metadata and internal dependency wiring. Based on the provided diff, the only concrete code changes are version bumps (rehype 12.0.1 to 13.0.0) and rehype-cli updating its dependency on rehype to ^13.0.0, plus README example version numbers.

    BreakingFeatures
  • rehype-parse@8.0.5

    This release is primarily a tooling and type-definition refresh across the rehype monorepo, with changes focused on TypeScript project references and `tsc --build`-based type generation. The only code changes shown for `rehype-parse` and `rehype-stringify` are JSDoc `@this` annotations intended to improve typing, not runtime behavior.

  • rehype-stringify@9.0.4

    The provided release notes for rehype-stringify@9.0.4 are effectively empty, only indicating this is a release to regenerate and fix types. However, the actual diff shows no functional or type-related code changes, only a package version bump in package.json.

  • 12.0.1

    Release 12.0.1 is described in the release notes as an “improved docs” update. However, the provided code diff shows only a package version bump for rehype, with no other code or behavior changes visible.

  • rehype-stringify@9.0.3

    This release of rehype-stringify@9.0.3 appears to be a package version bump only. The provided code diff shows no changes to implementation, exports, or dependencies.