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:
1.6.22
->2.1.5
17.0.2
->18.2.0
17.0.2
->18.2.0
Release Notes
mdx-js/mdx
v2.1.5
Compare Source
90fa493
Fix bug with (injected) custom elements and layoutsFull Changelog: mdx-js/mdx@2.1.4...2.1.5
v2.1.4
Compare Source
Patches
9d2aa80
Add file, positional info to crashes in webpack loaderby @Twipped in https://github.com/mdx-js/mdx/pull/2124
478c78b
Fix support for Node loadersDocs
56d7066
Add Astro to site generator docsby @bholmesdev in https://github.com/mdx-js/mdx/pull/2118
996771a
Add missingimport
to site exampleby @elpddev in https://github.com/mdx-js/mdx/pull/2115
Full Changelog: mdx-js/mdx@2.1.3...2.1.4
v2.1.3
Compare Source
Core
9904838
Fix rewriting of components for custom elementsby @bholmesdev in https://github.com/mdx-js/mdx/pull/2101
Docs
69a15b7
Add link to officialmdx-js/vscode-mdx
by @jasikpark in https://github.com/mdx-js/mdx/pull/2098
Internal stuff that slightly improve stuff
529b96a
Replaceastring
withestree-util-to-js
7d8dc11
Addid
field to esbuild messages7f37b95
Update@types/estree-jsx
Full Changelog: mdx-js/mdx@2.1.2...2.1.3
v2.1.2
Compare Source
Core
7bcd705
Fix some performance by improving vdom diffingby @0phoff in https://github.com/mdx-js/mdx/pull/2062
f77c33f
Fix support forbaseUrl
rewritingimport.meta.url
by @wooorm in https://github.com/mdx-js/mdx/pull/2021
Docs
3579aa3
Add use of tla in docs366ddb4
Update examples in readme63fd208
Add@next/mdx
to Next.js getting started guideby @remcohaszing in https://github.com/mdx-js/mdx/pull/2040
7f9a5f4
Add improved getting started for current CRA 5 integrationby @userzimmermann in https://github.com/mdx-js/mdx/pull/2010
5fa82d8
Addrecma-nextjs-static-props
to list of pluginsby @remcohaszing in https://github.com/mdx-js/mdx/pull/2033
3c51a43
Addremark-mdx-math-enhanced
to list of pluginsby @mattvague in https://github.com/mdx-js/mdx/pull/2028
Full Changelog: mdx-js/mdx@2.1.1...2.1.2
v2.1.1
Compare Source
e79fc2b
0df684b
Fix to improve_missingMdxReference
by @vlad-zhukov in https://github.com/mdx-js/mdx/pull/1986, https://github.com/mdx-js/mdx/pull/1988
Full Changelog: mdx-js/mdx@2.1.0...2.1.1
v2.1.0
Compare Source
Core
aff6de4
minor add support for passing options toremark-rehype
by @stefanprobst in https://github.com/mdx-js/mdx/pull/1935
5d4355e
patch replacegot
w/node-fetch
by @wooorm in https://github.com/mdx-js/mdx/pull/1978
656a4ae
patch remove use ofURL
fromurl
by @zfben in https://github.com/mdx-js/mdx/pull/1976
3f739a3
patch add missing dependencyby @bensmithett in https://github.com/mdx-js/mdx/pull/1936
Site
2886021
71bc6ff
4b514e1
Fix playgroundby @homumado in https://github.com/mdx-js/mdx/pull/1975 and https://github.com/mdx-js/mdx/pull/1931, and by @VitorLuizC in https://github.com/mdx-js/mdx/pull/1928
Docs
e6f6bc8
Fix to improve exampleby @dawidjaniga in https://github.com/mdx-js/mdx/pull/1961
e527ac7
Fix typoby @jbesomi in https://github.com/mdx-js/mdx/pull/1949
New Contributors: Thanks @VitorLuizC, @homumado, @bensmithett, @stefanprobst, @jbesomi, @dawidjaniga, @zfben
Full Changelog: mdx-js/mdx@2.0.0...2.1.0
v2.0.0
Compare Source
Welcome to MDX 2! See the of the website for everything:
Changelog since last RC
@mdx-js/mdx
4a48f1f
Fix custom elements (#1911)@mdx-js/react
9ca9d40
Fix unnecessary top-level context changes (#1924)@mdx-js/loader
e0b697a
9d5501b
Add improved webpack cache (#1912, #1916)@mdx-js/esbuild
5c61f57
Fix resolve base in esbuild loader (#1854)remark-mdx
a5daaad
Updatemdast-util-mdx
(#1925)New Contributors
Thanks @redallen, @lonyele, @PaulieScanlon, @pd4d10, @Gowee, @mskelton, @ihupoo, @remcohaszing, @loreanvictor, @ChrisChinchilla, @glitteringkatie, @mvasilkov, @jablko, @michaeloliverx, @yordis, @rodrez, @imballinst, @gaearon.
Full Changelog: mdx-js/mdx@v1.6.3...2.0.0
facebook/react
v18.2.0
Compare Source
React DOM
onRecoverableError
. (@gnoff in #24591)document
causing a blank page on mismatch. (@gnoff in #24523)setState
in Safari when adding an iframe. (@gaearon in #24459)React DOM Server
<title>
elements to match the browser constraints. (@gnoff in #24679)highWaterMark
to0
. (@jplhomer in #24641)Server Components (Experimental)
useId()
inside Server Components. (@gnoff) in #24172v18.1.0
Compare Source
React DOM
react-dom/client
when using UMD bundle. (@alireza-molaee in #24274)suppressHydrationWarning
to work in production too. (@gaearon in #24271)componentWillUnmount
firing twice inside of Suspense. (@acdlite in #24308)useDeferredValue
causing an infinite loop when passed an unmemoized value. (@acdlite in #24247)setState
loop inuseEffect
. (@gaearon in #24298)setState
inuseInsertionEffect
. (@gaearon in #24295)React DOM Server
bootstrapScriptContent
contents. (@gnoff in #24385)renderToPipeableStream
. (@gnoff in #24291)ESLint Plugin: React Hooks
Use Subscription
use-sync-external-store
shim. (@gaearon in #24289)v18.0.0
Compare Source
Below is a list of all new features, APIs, deprecations, and breaking changes.
Read React 18 release post and React 18 upgrade guide for more information.
New Features
React
useId
is a new hook for generating unique IDs on both the client and server, while avoiding hydration mismatches. It is primarily useful for component libraries integrating with accessibility APIs that require unique IDs. This solves an issue that already exists in React 17 and below, but it’s even more important in React 18 because of how the new streaming server renderer delivers HTML out-of-order.startTransition
anduseTransition
let you mark some state updates as not urgent. Other state updates are considered urgent by default. React will allow urgent state updates (for example, updating a text input) to interrupt non-urgent state updates (for example, rendering a list of search results).useDeferredValue
lets you defer re-rendering a non-urgent part of the tree. It is similar to debouncing, but has a few advantages compared to it. There is no fixed time delay, so React will attempt the deferred render right after the first render is reflected on the screen. The deferred render is interruptible and doesn't block user input.useSyncExternalStore
is a new hook that allows external stores to support concurrent reads by forcing updates to the store to be synchronous. It removes the need foruseEffect
when implementing subscriptions to external data sources, and is recommended for any library that integrates with state external to React.useInsertionEffect
is a new hook that allows CSS-in-JS libraries to address performance issues of injecting styles in render. Unless you’ve already built a CSS-in-JS library we don’t expect you to ever use this. This hook will run after the DOM is mutated, but before layout effects read the new layout. This solves an issue that already exists in React 17 and below, but is even more important in React 18 because React yields to the browser during concurrent rendering, giving it a chance to recalculate layout.React DOM Client
These new APIs are now exported from
react-dom/client
:createRoot
: New method to create a root torender
orunmount
. Use it instead ofReactDOM.render
. New features in React 18 don't work without it.hydrateRoot
: New method to hydrate a server rendered application. Use it instead ofReactDOM.hydrate
in conjunction with the new React DOM Server APIs. New features in React 18 don't work without it.Both
createRoot
andhydrateRoot
accept a new option calledonRecoverableError
in case you want to be notified when React recovers from errors during rendering or hydration for logging. By default, React will usereportError
, orconsole.error
in the older browsers.React DOM Server
These new APIs are now exported from
react-dom/server
and have full support for streaming Suspense on the server:renderToPipeableStream
: for streaming in Node environments.renderToReadableStream
: for modern edge runtime environments, such as Deno and Cloudflare workers.The existing
renderToString
method keeps working but is discouraged.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 has been generated by Mend Renovate. View repository job log here.