# unified: what changed from 10 to 11 - Product: unified (https://whatsnew.fyi/product/unified) - Vendor: unified - Range: changelog entries numbered after 10.1.2 up to and including 11.0.5, stable releases only - Entries below: 6 releases (newest first) - Resolved: 10 is 10.1.2 and 11 is 11.0.5, the newest stable release of each major we track - Carrying security changes: 0 · CVEs mentioned: 0 · Mentioning breaking changes: 0 · Removing or deprecating something: 1 - Page: https://whatsnew.fyi/product/unified/compare/10...11 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. ## What changed (20 changes, grouped by kind) ### Added #### 11.0.4 (2023-10-26) - Add TypeScript declaration maps #### 11.0.0 (2023-08-15) - Add Data and Settings types to augment shared data - Add improved types - Add useful error message on empty presets ### Changed #### 11.0.0 (2023-08-15) - 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 #### 11.0.5 (2024-06-19) - Fix exception on older browsers #### 11.0.3 (2023-09-05) - Fix support for functions in data #### 11.0.2 (2023-08-20) - Fix type of settings if nothing is registered yet #### 11.0.1 (2023-08-17) - Fix incorrect type of settings in presets #### 11.0.0 (2023-08-15) - Deep clone preset settings - Fix non-first parameter merging when reconfiguring plugins ### Removed #### 11.0.0 (2023-08-15) - 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 ## Release notes ### 11.0.5 - Date: 2024-06-19 - Version: 11.0.5 - Original notes: https://github.com/unifiedjs/unified/releases/tag/11.0.5 - Permalink: https://whatsnew.fyi/product/unified/releases/11.0.5 - **fixed** — Fix exception on older browsers ###### 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 - Date: 2023-10-26 - Version: 11.0.4 - Original notes: https://github.com/unifiedjs/unified/releases/tag/11.0.4 - Permalink: https://whatsnew.fyi/product/unified/releases/11.0.4 - **added** — Add TypeScript declaration maps ###### 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 - Date: 2023-09-05 - Version: 11.0.3 - Original notes: https://github.com/unifiedjs/unified/releases/tag/11.0.3 - Permalink: https://whatsnew.fyi/product/unified/releases/11.0.3 - **fixed** — Fix support for functions in data ###### 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 - Date: 2023-08-20 - Version: 11.0.2 - Original notes: https://github.com/unifiedjs/unified/releases/tag/11.0.2 - Permalink: https://whatsnew.fyi/product/unified/releases/11.0.2 - **fixed** — Fix type of settings if nothing is registered yet * 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 - Date: 2023-08-17 - Version: 11.0.1 - Original notes: https://github.com/unifiedjs/unified/releases/tag/11.0.1 - Permalink: https://whatsnew.fyi/product/unified/releases/11.0.1 - **fixed** — Fix incorrect type of settings in presets * d1a915d Fix incorrect type of `settings` in presets **Full Changelog**: https://github.com/unifiedjs/unified/compare/11.0.0...11.0.1 ### 11.0.0 - Date: 2023-08-15 - Version: 11.0.0 - Original notes: https://github.com/unifiedjs/unified/releases/tag/11.0.0 - Permalink: https://whatsnew.fyi/product/unified/releases/11.0.0 - **changed** — Require Node.js 16 - **changed** — Update @types/unist - **changed** — Update vfile to 6.0.0 - **added** — Add Data and Settings types to augment shared data - **changed** — Replace Buffer with Uint8Array - **removed** — Remove Attacher type, use Plugin instead - **removed** — Remove FrozenProcessor type, use Processor instead - **changed** — Yield undefined instead of null - **changed** — Use exports instead of allowing private API access - **removed** — Remove support for classes as compilers and parsers - **removed** — Remove support for compilers returning nullish values - **added** — Add improved types - **added** — Add useful error message on empty presets - **fixed** — Deep clone preset settings - **fixed** — Fix non-first parameter merging when reconfiguring plugins ###### Change * baf80b2 Change to require Node.js 16 **migrate**: update too * dd9834a Update `@types/unist` **migrate**: update too * 620ccf9 Update [`vfile`](https://github.com/vfile/vfile/releases/tag/6.0.0) **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 * e58b095 ad06700 40f0329 Refactor code-style * ffc146c Update `typescript` by @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