What changed in unified from 10 to 11

6 releases numbered after 10.1.2 up to and including 11.0.5, stable releases only. 10.1.2 and 11.0.5 are the newest stable releases of 10 and 11 we track; this page follows them as new ones ship.

20 changes across 6 releases

Added 4

11.0.4

  • Add TypeScript declaration maps

11.0.0

  • Add Data and Settings types to augment shared data
  • Add improved types
  • Add useful error message on empty presets
Changed 6

11.0.0

  • Require Node.js 16
  • Update @types/unist
  • Update vfile to 6.0.0
  • Replace Buffer with Uint8Array
  • Yield undefined instead of null
  • Use exports instead of allowing private API access
Fixed 6

11.0.5

  • Fix exception on older browsers

11.0.3

  • Fix support for functions in data

11.0.2

  • Fix type of settings if nothing is registered yet

11.0.1

  • Fix incorrect type of settings in presets

11.0.0

  • Deep clone preset settings
  • Fix non-first parameter merging when reconfiguring plugins
Removed 4

11.0.0

  • Remove Attacher type, use Plugin instead
  • Remove FrozenProcessor type, use Processor instead
  • Remove support for classes as compilers and parsers
  • Remove support for compilers returning nullish values

Original release notes, newest first

The list above is our reading of these notes; the originals from unified are here, one fold per release.

11.0.5
11.0.4
11.0.3
Fix
  • 8dee2ab Fix support for functions in data

Full Changelog: https://github.com/unifiedjs/unified/compare/11.0.2...11.0.3

View originalPermalink

11.0.2
  • cea788b Fix type of settings if nothing is registered yet

Full Changelog: https://github.com/unifiedjs/unified/compare/11.0.1...11.0.2

View originalPermalink

11.0.1
  • d1a915d Fix incorrect type of settings in presets

Full Changelog: https://github.com/unifiedjs/unified/compare/11.0.0...11.0.1

View originalPermalink

11.0.0
Change
  • baf80b2 Change to require Node.js 16 migrate: update too
  • dd9834a Update @types/unist migrate: update too
  • 620ccf9 Update vfile migrate: update too
Change (unlikey to affect you)
  • a44db46 Add Data, Settings types to augment shared data migrate: if you deal with data, type it, see commit for info
  • fb49556 Change to replace Buffer with Uint8Array migrate: you’re probably fine unless you use weird encodings, see commit for details if so
  • f3e71a8 Remove Attacher type migrate: use Plugin instead
  • cc53bb6 Remove FrozenProcessor type migrate: use Processor instead
  • 1aa3494 Change to yield undefined, not null migrate: expect undefined
  • 932c140 Change to use exports migrate: don’t use private APIs
  • 8e57478 Remove support for classes as compilers, parsers migrate: if you love classes, see commit message
  • 4676814 Remove support for compilers returning nullish migrate: nobody did that
  • 807ffb9 Add improved types migrate: it’s probably just better if anything changed at all
  • b35afe0 Add useful error on empty presets by @wooorm in https://github.com/unifiedjs/unified/pull/202
  • 6f068a0 Fix to deep clone preset settings
  • 56ee288 Fix non-first parameter merging when reconfiguring plugins
Misc

Full Changelog: https://github.com/unifiedjs/unified/compare/10.1.2...11.0.0

View originalPermalink