-
-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Labels
👩⚕ area/healthThis affects communityThis affects community💪 phase/solvedPost is donePost is done📣 type/announcementThis is metaThis is meta🙆 yes/confirmedThis is confirmed and ready to be worked onThis is confirmed and ready to be worked on🧑 semver/majorThis is a changeThis is a change
Description
Soon (April), it’s time to switch to ESM (without CJS backup) for all packages in the ecosystem.
That’s a lot of projects switching over, and a round of majors that bubbles from the bottom through to the top.
I’ve had some experience with that recently in a push in micromark (with CJS fallback, causing issues). My recent own projects dioscuri and xdm are fully ESM. It’s going to be a lot of fun for the ecosystem 😅
Otherwise, here are some changes slate for this next bubbling:
Big breaking changes:
- archive and deprecate remark plugins that (should) have rehype equivalents, and add some docs somewhere on whether folks should use remark or rehype plugins (currently quite confusing)
-
remarkjs/remark-external-links -
remarkjs/remark-unwrap-images -
remarkjs/remark-highlight.js -
remarkjs/remark-react -
remarkjs/remark-autolink-headings -
remark-html-katexinremarkjs/remark-math
-
- archive and deprecate projects w/ very few downloads:
-
remarkjs/remark-midas -
remarkjs/remark-defsplit -
retextjs/retext-sentiment -
vfile/vfile-reporter-folder-json -
remarkjs/grunt-remark -
syntax-tree/unist-builder-blueprint -
syntax-tree/unist-builder-blueprint-cli -
syntax-tree/hast-util-to-snabbdom -
syntax-tree/mdast-util-from-quill-delta
-
-
remark-yaml-config: updatejs-yaml -
vfile-matter: updatejs-yaml -
unified-engine: updatejs-yaml -
vfile-message: renamelocation->position(Renamelocationfield topositionvfile/vfile-message#6) -
vfile: renamecontentstovalue(Renamecontentsfield tovaluevfile/vfile#49) -
mdast-util-to-string: do not usenode.title(Removenode.titlesupport syntax-tree/mdast-util-to-string#8) -
mdast: renamedepthtorank(Renamedepthtoranksyntax-tree/mdast#31) (I feel the other issues there plus Rename node types syntax-tree/nlcst#6 are too much break for what they bring) -
hast: change doctypes (Simplify doctypes syntax-tree/hast#19)
Small breaking changes:
- hastscript’s h and s and a JSX pragma Add support for using
h,sas a JSX pragmas syntax-tree/hastscript#15 -
unist-util-find-all-before’s results should be reversed probably Results are reversed syntax-tree/unist-util-find-all-before#6
For ES++ features (unifiedjs/rfcs#4), I’d say we can do that after we switch to ESM, because ESM will already be a lot of work, and it gives us a baseline of what ES features / engines to support.
ChristianMurphy, chrisrzhou, nnmrts, Murderlon, xelius and 4 more
Metadata
Metadata
Assignees
Labels
👩⚕ area/healthThis affects communityThis affects community💪 phase/solvedPost is donePost is done📣 type/announcementThis is metaThis is meta🙆 yes/confirmedThis is confirmed and ready to be worked onThis is confirmed and ready to be worked on🧑 semver/majorThis is a changeThis is a change