-
-
Notifications
You must be signed in to change notification settings - Fork 83
Update remark (major) #486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/major-remark
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8bf7eb2 to
675a3bf
Compare
675a3bf to
e92a431
Compare
7f5d60d to
7c8fe98
Compare
434a5b6 to
aa0ae8d
Compare
aa0ae8d to
32b9aaa
Compare
32b9aaa to
84b7899
Compare
a9c1c21 to
ee4e3ee
Compare
ee4e3ee to
760a272
Compare
760a272 to
8c54c11
Compare
8c54c11 to
e3cd1c1
Compare
45ad3e1 to
5663f70
Compare
5663f70 to
75ae75c
Compare
75ae75c to
97c694f
Compare
70400e3 to
1abaf13
Compare
1abaf13 to
7c51a59
Compare
903c2d8 to
a538925
Compare
a538925 to
17f0589
Compare
254fa6b to
826c4bc
Compare
826c4bc to
f27705f
Compare
f27705f to
5bf6045
Compare
5bf6045 to
5b8c3f5
Compare
8423dbe to
734242d
Compare
913b1ee to
3ffc642
Compare
c1d5aff to
cf01a52
Compare
cf01a52 to
81e0aa9
Compare
81e0aa9 to
87582d4
Compare
87582d4 to
2715b6a
Compare
2715b6a to
b42fdfb
Compare
049e5a0 to
df1309d
Compare
df1309d to
78d1b53
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^11.0.2->^15.0.0^1.0.0->^5.0.0Release Notes
remarkjs/remark (remark)
v15.0.1Compare Source
54ee687Fix typoFull Changelog: remarkjs/remark@15.0.0...15.0.1
v15.0.0Compare Source
Change
98a2560Change to require Node.js 16migrate: update too
a3e6d54Change to useexportsmigrate: don’t use private APIs
943f6acUpdate@types/mdast,mdast-util-{from,to}-markdown,unified, etcmigrate: update too
remark-parse: only really changes
Buffer->Uint8Array, so use encodings supported byTextDecoderif you are passing binary dataremark-stringify:
bulletOrderedOtheris removed, you can removebulletOrderedOtherif you passed it, it’s now the default;fencesis nowtrueby default, if you don’t want indented code, passfences: false;listItemIndentis now'one'by default, you can removelistItemIndent: 'one'if you passed it, or explicitly set it to'tab'if you want itTypes
bd8c922Add typed settingsDocs
7cc0432Addremark-link-rewriteto list of pluginsby @rjanjic in #1212
e72d91aAddremark-mentionsto list of pluginsby @FinnRG in #1193
Full Changelog: remarkjs/remark@14.0.3...15.0.0
v14.0.3Compare Source
Misc
for #1162
f6bd64eRefactortsconfigs for perf and strictnessbb4c814Add improved docs on what this project isby @BeLi4L in #1147
bec44aaUpdatetsconfig.jsonto use node16 module resolutionby @ChristianMurphy in #1106
f07f413Addignore-scriptsto.npmrcby @ChristianMurphy in #1103
134ece2Update Actionsby @ChristianMurphy in #1070
974f893Fix internal types for TS 4.9Plugins
1e488d0Addremark-insto list of pluginsby @talatkuyuk in #1129
e456dc5Addremark-flexible-markersto list of pluginsby @talatkuyuk in #1126
42114fcAddremark-flexible-paragraphsto list of pluginsby @talatkuyuk in #1120
6aa638aAddremark-flexible-containersto list of pluginsby @talatkuyuk in #1112
20e7543Addremark-flexible-code-titlesto list of pluginsby @talatkuyuk in #1108
32d6948Addremark-cloudinary-docusaurusto list of pluginsby @johnnyreilly in #1090
28aa8b9update tests for changes inmdast-util-to-markdown9af1a87Addremark-code-titleto list of pluginsby @kevinzunigacuellar in #1076
0d1eb09Add 7 plugins to list of pluginsby @Xunnamius in #1064
c7e8171Remove deprecatedremark-jargonby @LunaticMuch in #1059
Full Changelog: remarkjs/remark@14.0.2...14.0.3
v14.0.2Compare Source
87c50a5Add improved docsby @wooorm in #900
Full Changelog: remarkjs/remark@14.0.1...14.0.2
v14.0.1Compare Source
9026568Add missing types dependencyv14.0.0Compare Source
b7afd25Use ESMChange:
Learn more about ESM in this guide
42d1b21Update dependenciesunified(10.0.0) (see: https://github.com/unifiedjs/unified/releases/tag/10.0.0)vfile(5.0.0) (see: https://github.com/vfile/vfile/releases/tag/5.0.0)Importantly this renames
tovfile.contentsvfile.valuemdast-util-from-markdown(1.0.0) (see: https://github.com/syntax-tree/mdast-util-from-markdown/releases/tag/1.0.0)mdast-util-to-markdown(1.0.0) (see: https://github.com/syntax-tree/mdast-util-to-markdown/releases/tag/1.0.0)bc55caaAdd JSDoc based typesv13.0.0: (micromark)Compare Source
This is a giant change for remark. It replaces the 5+ year old internals with a new low-level parser:
micromark. The old internals have served billions of users well over the years, but markdown has changed over that time. micromark comes with 100% CommonMark (and GFM as an extension) compliance, and (WIP) docs on parsing rules for how to tokenize markdown with a state machine. micromark, and micromark in remark, is a good base for the future.Migration
remark*packages you are using inpackage.jsonremark-gfmPlease compare with those projects if the new behavior is correct or not (CommonMark Dingus, or create a gist for GFM).
Does remark not match those reference parsers? Please open an issue here!
Changes
remark-parse
remark-parsenow defers its work tomicromarkandmdast-util-from-markdown.micromarkis a new, small, complete, and CommonMark compliant low-level markdown parser.from-markdownturns its tokens into the previously (and still) used syntax tree: mdast. Extensions toremark-parsework differently: they’re a two-part act. See for examplemicromark-extension-footnoteandmdast-util-footnote.commonmarkis no longer an option — it’s the defaultgfmis no longer an option — moved toremark-gfmpedanticis no longer an option — this legacy and buggy flavor of markdown is no longer widely usedblocksis no longer an options — it’s no longer suggested to change the internal list of HTML “block” tag namesremark-stringify
remark-stringify now defers its work to
mdast-util-to-markdown. It’s a new and better serializer with powerful features to ensure serialized markdown represents the syntax tree (mdast), no matter what plugins do. Extensions to it work differently: see for examplemdast-util-footnote.optionscommonmarkis no longer an option, it’s the defaultemphasisnow defaults to*bulletnow defaults to*gfmis no longer an option — moved toremark-gfmtableCellPadding— moved toremark-gfmtablePipeAlign— moved toremark-gfmstringLength— moved toremark-gfmpedanticis no longer an option — this legacy and buggy flavor of markdown is no longer widely usedentitiesis no longer an option — with CommonMark there is almost never a need to use character references, as character escapes are preferredquote— you can now prefer single quotes (') over double quotes (") in titlesChanges to output / the tree
All of these are for CommonMark compatibility. They’re all fixes. Most of them are inconsequential to most folks.
[text][id]and images![alt][id]) are no longer present as such in the syntax tree if they don’t have a corresponding definition ([id]: example.com). The reason for this is that CommonMark requires[text *emphasis start][undefined] emphasis end*to be emphasis.<!---->)<mailto:foobarbaz>are now correctly parsed, and the scheme is part of the tree©w/o the semicolon, are no longer recognizedindentfield is no longer available onpositionThanks
Thanks to Salesforce, Gatsby, Vercel, and Netlify, and our other backers for sponsoring the work on micromark!
To support our continued work, back us on OpenCollective!
v12.0.1Compare Source
963292fChangemasterin links63888afUpdate sponsorsv12.0.0Compare Source
(see
15.0.0)remarkjs/remark-footnotes (remark-footnotes)
v5.0.0Compare Source
v4.0.1Compare Source
cf5b45eUpdate docs, tests for changes inremark-rehypev4.0.0Compare Source
6ec8372Use ESM6249e02Add JSDoc based types4c4f827Remove warning for remark 12v3.0.0Compare Source
0cfeae1Update formicromarkinremark@13(breaking, this update will not work with remark lower than v13, and see commit for other changes)
v2.0.0Compare Source
020aa32Add types(breaking, potentially, if you or your dependents use typescript)
Configuration
📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.