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.
- 1 removes or deprecates something
20 changes across 6 releases
- 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
- 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
Fix
- 1e0863a Fix exception on older browsers by @justinbhopper in https://github.com/unifiedjs/unified/pull/246
Full Changelog: https://github.com/unifiedjs/unified/compare/11.0.4...11.0.5
11.0.4
Types
- 1ca1a43 Add TypeScript declaration maps by @remcohaszing in https://github.com/unifiedjs/unified/pull/230
Full Changelog: https://github.com/unifiedjs/unified/compare/11.0.3...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
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
11.0.1
- d1a915d Fix incorrect type of
settingsin presets
Full Changelog: https://github.com/unifiedjs/unified/compare/11.0.0...11.0.1
11.0.0
Change
- baf80b2 Change to require Node.js 16 migrate: update too
- dd9834a Update
@types/unistmigrate: update too - 620ccf9 Update
vfilemigrate: update too
Change (unlikey to affect you)
- a44db46 Add
Data,Settingstypes to augment shared data migrate: if you deal with data, type it, see commit for info - fb49556 Change to replace
BufferwithUint8Arraymigrate: you’re probably fine unless you use weird encodings, see commit for details if so - f3e71a8 Remove
Attachertype migrate: usePlugininstead - cc53bb6 Remove
FrozenProcessortype migrate: useProcessorinstead - 1aa3494 Change to yield
undefined, notnullmigrate: expectundefined - 932c140 Change to use
exportsmigrate: 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
- e58b095 ad06700 40f0329 Refactor code-style
- ffc146c Update
typescriptby @ChristianMurphy in https://github.com/unifiedjs/unified/pull/216 - 7148746 144eec0 2d95451 Add improved docs
- afb704a Fix some typos by @ChristianMurphy in https://github.com/unifiedjs/unified/pull/225
- 2aa15ea Refactor types
- a06537c Add sponsor
Full Changelog: https://github.com/unifiedjs/unified/compare/10.1.2...11.0.0