Releases: unifiedjs/unified
Releases · unifiedjs/unified
10.0.0
Breaking
- dc46bc5 Use ESM and update
vfile-
Change:
// from cjs import var unified = require('unified') // to esm import import {unified} from 'unified'
-
Breaking: this updates
vfile, which importantly renamestovfile.contentsvfile.value. Seevfile@5 -
Inconsequential: this updates
trough, which removes support for Promise-like objects returned from plugins, in favor of only support actual promises. To update, instead of returning an object with athenfunction, return and actual promise
-
Types
- b3e2464 Rewrite types
- Removed the type parameter
Pfor processor settings - Use
any[]instead of[Record<string, unknown>?]for the default plugin type parameters
- Removed the type parameter
- 45eb72e Update types for ESM
- 2c7ba99 8eda349 Add explicit dependency on
@types/unist - 0e8f611 Remove typescript@3 legacy support
- 350ed9d Fix
nextin types of transformer signature - b22bf8e Add support for buffer, other return values
- 4bfd6c8 b8fe5ec 6ef3933 Add support for boolean plugin options
Project
10.0.0-beta.1
Breaking
- dc46bc5 Use ESM and update
vfile- Breaking: this updates
vfile, which importantly renamestovfile.contentsvfile.value. Seevfile@5 - Inconsequential: this updates
trough, which removes support for Promise-like objects returned from plugins, in favor of only support actual promises. To update, instead of returning an object with athenfunction, return and actual promise
- Breaking: this updates
Types
- 45eb72e Update types for ESM
- 2c7ba99 8eda349 Add explicit dependency on
@types/unist - 0e8f611 Remove typescript@3 legacy support
- b22bf8e Add support for buffer, other return values
- 4bfd6c8 Add support for boolean plugin options
Project
- 88374fc Add
esastto list of syntax trees - a6ff3c1 Fix links
- ee6ee47 Update examples in
readme.md - 32abf7c 60de570 115898a Refactor code style
(this should be what will go in v10)