Back to Explore

unifiedjs/unified

GitHub
1 watchersOpen source

Last release: 6/19/2024

unified is the core package for inspecting, transforming, and serializing content using syntax trees (ASTs) and plugins. It provides a processor interface that parses text into a tree and then runs plugin transformers to produce output, useful when you want to build or connect different content processing pipelines such as markdown to HTML.

Project status

  • Maintenance status: unifiedjs/unified appears actively maintained, with a recent upstream GitHub push on 2026-04-29. The latest documented version updates are 11.0.3 to 11.0.5 (through 2024-06-19).
  • Update cadence (from provided version history): updates were fairly close together in 2023 (11.0.3 on 2023-09-05, then 11.0.4 on 2023-10-26), followed by a longer gap to 11.0.5 on 2024-06-19.

AI summary generated Today

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

Recent updates

  • 11.0.5

    6/19/2024

    Release 11.0.5 is documented as a bug fix for an exception occurring on older browsers (GH-246). The code changes confirm a targeted runtime fix in the callable wrapper logic, plus a number of doc/test/CI and dev-dependency updates.

  • 11.0.4

    10/26/2023

    Release 11.0.4 primarily enables TypeScript declaration maps generation via tsconfig. The code diff also updates the repository ignore rules to exclude generated *.map files, in addition to the expected version bump.

    Features
  • 11.0.3

    9/5/2023

    unified 11.0.3 is a small patch release that fixes handling of functions stored in processor `data`. The code change replaces `structuredClone` with a different deep-merge/cloning approach, and the test suite and types were adjusted accordingly.

  • 11.0.2

    8/20/2023

    Unified 11.0.2 includes a small TypeScript typing fix related to the `Settings` type when no plugins have registered settings yet. The change adjusts the `Settings` interface in the public type definitions and updates the type tests accordingly.

  • 11.0.1

    8/17/2023

    Release 11.0.1 makes a targeted fix related to the TypeScript typing of `settings` used in presets. The code diff shows changes limited to type definitions and documentation comments, with no runtime logic changes.

  • 11.0.0

    8/15/2023

    unified 11.0.0 is a major release focused on type system improvements and modernizing the runtime and dependencies. It includes several documented breaking changes for TypeScript typings and for runtime behavior around parsing/compiling and output values.

    BreakingFeatures
  • 10.1.2

    3/8/2022

    Release 10.1.2 is presented as a one-line typo fix, but the actual diff includes a runtime code change, dependency/lint updates, CI workflow changes, and documentation updates. Most notably, there is a behavioral tweak in lib/index.js affecting how an options tuple is sanitized.

  • 10.1.1

    11/18/2021

    Release 10.1.1 makes a targeted change to the TypeScript typings for unified processor execution. Specifically, it corrects the `FrozenProcessor.run` node input type and updates the corresponding type tests to better reflect parser versus compiler behavior.

    Breaking
  • 10.1.0

    7/30/2021

    Release 10.1.0 primarily updates the TypeScript type definitions for unified’s plugin system. It adds generic typing for plugin input and output, allowing the processor chain to infer the parse tree, transformer chain tree, compiler tree, and compile result more precisely.

    Features
  • 10.0.1

    7/21/2021

    Release 10.0.1 is a small update focused on TypeScript typings. The main change widens the allowed return type of async transformers to support cases where the promise resolves to void.