Releases: unifiedjs/unified
Releases · unifiedjs/unified
11.0.4
Types
- 1ca1a43 Add TypeScript declaration maps
by @remcohaszing in #230
Full Changelog: 11.0.3...11.0.4
11.0.3
11.0.2
11.0.1
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
withUint8Array
migrate: you’re probably fine unless you use weird encodings, see commit for details if so - f3e71a8 Remove
Attacher
type
migrate: usePlugin
instead - cc53bb6 Remove
FrozenProcessor
type
migrate: useProcessor
instead - 1aa3494 Change to yield
undefined
, notnull
migrate: expectundefined
- 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 #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 #216 - 7148746 144eec0 2d95451 Add improved docs
- afb704a Fix some typos
by @ChristianMurphy in #225 - 2aa15ea Refactor types
- a06537c Add sponsor
Full Changelog: 10.1.2...11.0.0
10.1.2
10.1.1
- 6b060c2 Fix type of
run
signature
by @alvinleung1996 in #174
Full Changelog: 10.1.0...10.1.1
10.1.0
10.0.1
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.contents
vfile.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 athen
function, return and actual promise
-
Types
- b3e2464 Rewrite types
- Removed the type parameter
P
for 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
next
in types of transformer signature - b22bf8e Add support for buffer, other return values
- 4bfd6c8 b8fe5ec 6ef3933 Add support for boolean plugin options