Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tailwindlabs/tailwindcss
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3f29edb
Choose a base ref
...
head repository: tailwindlabs/tailwindcss
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6eedd0a
Choose a head ref
  • 11 commits
  • 52 files changed
  • 4 contributors

Commits on Apr 4, 2025

  1. Show warning when using unsupported bare value data type (#17464)

    This PR will show a warning if you are using a bare value data type that
    is not supported.
    
    Let's say you want to create a new utility that allows `color` to be a
    bare value data type like this:
    ```css
    @Utility paint-* {
      paint: --value([color], color);
    }
    ```
    
    This means that this would enable new syntax that we don't support yet.
    E.g.: `paint-#0088cc`.
    
    The only supported data types for bare values are:
    
    - `number` — `2.5`
    - `integer` — `2`
    - `ratio` — `1/2`
    - `percentage` — `50%`
    
    All other data types are not supported in this position. This PR will
    now show a warning:
    ~~~
    Unsupported bare value data type: "color".
    Only valid data types are: "number", "integer", "ratio", "percentage".
    
    ```css
    --value([color],color)
                    ^^^^^
    ```
    ~~~
    Once we have better sourcemap / location tracking support, this warning
    will point to the exact spot, but for now, only a re-print of the AST
    can be used.
    
    
    If you _do_ want to use other data types, then you will have to use
    arbitrary value syntax with `[…]` instead.
    
    
    ```css
    @Utility paint-* {
      paint: --value([color]);
    }
    ```
    
    This will allow for `paint-[#0088cc]` for example.
    
    Note: this is not a behavioral change, we already didn't support other
    data types, but we silently ignored them. This means that we have to do
    more parsing at runtime when evaluating the utility.
    
    With this change, a warning is shown when registering the `@utility`,
    not when using it.
    RobinMalfait authored Apr 4, 2025
    Configuration menu
    Copy the full SHA
    2fd7c8d View commit details
    Browse the repository at this point in the history
  2. PostCSS: Fix Turbopack 'one-revision-behind' bug (#17554)

    Closes #17508
    
    This PR fixes another issue we found that caused dev builds with Next.js
    and Turbopack to resolve the CSS file that was saved one revision before
    the latest update.
    
    When debugging this we noticed that the PostCSS entry is called twice
    for every one update when changing the input CSS file directly. That was
    caused by the input file itself being added as a _dependency_ so you
    would first get the callback that a _dependency_ has updated (at which
    point we look at the file system and figure out we need a full-rebuild
    because the input.css file has changed) and then another callback for
    when the _input file_ has updated. The problem with the second callback
    was that the file-system was already scanned for updates and since this
    includes the `mtimes` for the input file, we seemingly thought that the
    input file did not change. However, the issue is that the first callback
    actually came with an outdated PostCSS input AST...
    
    We found that this problem arises when you register the input CSS as a
    dependency of itself. This is not expected and we actually guard against
    this in the PostCSS client. However, we found that the input `from`
    argument is _a relative path when using Next.js with Turbopack_ so that
    check was not working as expected.
    
    ## Test plan
    
    Added the change to the repro from #17508 and it seems to work fine now.
    
    
    https://github.com/user-attachments/assets/2acb0078-f961-4498-be1a-b1c72d5ceda1
    
    Also added a unit test to ensure we document that the input file path
    can be a relative path.
    
    Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
    philipp-spiess and RobinMalfait authored Apr 4, 2025
    Configuration menu
    Copy the full SHA
    e085977 View commit details
    Browse the repository at this point in the history
  3. Handle Ruby %w syntax in Slim pre processing (#17557)

    This PR fixes an issue where the Ruby `%w[…]` syntax causes utilities to
    not be properly extracted.
    
    This PR will now ensure that it does get extracted correctly.
    
    Given this input:
    ```slim
    div[
      class=%w[bg-blue-500 w-10 h-10]
    ]
    div[
      class=%w[w-10 bg-green-500 h-10]
    ]
    ```
    
    Before this PR, we extracted everything but the `bg-blue-500`. The
    `w-10` was extracted but not because of the second div, but because of
    the first one.
    
    Fixes: #17542
    
    ## Test plan
    
    1. Added a test to ensure it's working correctly.
    
    Looking at the extractor tool, you can see that it now gets extracted
    correctly. Top is before, bottom is with this change.
    
    <img width="1199" alt="image"
    src="https://github.com/user-attachments/assets/028d9abd-8917-438c-a423-88ba887b7f97"
    />
    RobinMalfait authored Apr 4, 2025
    Configuration menu
    Copy the full SHA
    7d31725 View commit details
    Browse the repository at this point in the history
  4. Prepare v4.1.3 release (#17563)

    Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
    RobinMalfait and adamwathan authored Apr 4, 2025
    Configuration menu
    Copy the full SHA
    5a77c9d View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2025

  1. Fix polyfill in combination with unused CSS variable removal (#17555)

    This PR fixes an issue we noticed while investigating #17553, where the
    unused CSS variable removal didn't work properly when the theme variable
    it tried to remove was modified by a polyfill rule.
    
    The way the bookkeeping for the unused CSS variable worked was that it
    tired to find the declaration inside it's parent after the traversal.
    However, the `color-mix(…)` polyfill has since then made changes to the
    declaration so it can't find it's position correctly anymore and will
    thus instead delete the last declaration of the node (this caused
    unrelated CSS variables to be eliminated while the ones with
    `color-mix(…)` were unexpectedly kept).
    
    To fix this, we decided to apply the polyfills after any eventual
    deletions. This also ensures that no `@supports` query for the variables
    are created and simplifies the code a bit since all polyfills are now
    colocated.
    
    ## Test plan
    
    - Added a unit test for the example we discovered in #17553
    - Luckily the conditions of this seemed rare enough so that it doesn't
    cause any other of our tests to update.
    
    ---------
    
    Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
    philipp-spiess and RobinMalfait authored Apr 7, 2025
    Configuration menu
    Copy the full SHA
    811e97d View commit details
    Browse the repository at this point in the history
  2. Make polyfill work when the theme variable resolves to another var (#…

    …17562)
    
    Discovered while triaging #17556
    
    This PR improves the `color-mix(...)` polyfill to ensure it works when a
    theme key links to another theme key via a `var(...)` call.
    
    Imagine this setup:
    
    ```css
     @theme {
      --color-red: var(--color-red-500);
      --color-red-500: oklch(63.7% 0.237 25.331);
    }
    @source inline("text-red/50");
    ````
    
    Since `--color-red` will link to `--color-red-500` _which is also a
    known theme variable_, we can inline the value of `--color-red-500` into
    the fallback now:
    
    ```css
    .text-red\\/50 {
      color: var(--color-red);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .text-red\\/50 {
        color: color-mix(in oklab, var(--color-red) 50%, transparent);
      }
    }
    ```
    
    This will allow for slightly less confusing behavior.
    
    The code added also handles recursive definitions where a color is
    linking to another color that is again linking to the first one (by
    adding a `Set` to keep track of already seen variable names).
    
    ## Test plan
    
    - Added unit test
    philipp-spiess authored Apr 7, 2025
    Configuration menu
    Copy the full SHA
    3e9cf87 View commit details
    Browse the repository at this point in the history
  3. Update all of react 19.0.0 → 19.1.0 (minor) (#17564)

    Here is everything you need to know about this update. Please take a
    good look at what changed and the test results before merging this pull
    request.
    
    ### What changed?
    
    
    
    
    #### ✳️ react (19.0.0 → 19.1.0) ·
    [Repo](https://github.com/facebook/react) ·
    [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
    
    
    
    <details>
    <summary>Release Notes</summary>
    <h4><a
    href="https://github.com/facebook/react/releases/tag/v19.1.0">19.1.0</a></h4>
    
    <blockquote><h3 dir="auto">Owner Stack</h3>
    <p dir="auto">An Owner Stack is a string representing the components
    that are directly responsible for rendering a particular component. You
    can log Owner Stacks when debugging or use Owner Stacks to enhance error
    overlays or other development tools. Owner Stacks are only available in
    development builds. Component Stacks in production are unchanged.</p>
    <ul dir="auto">
    <li>An Owner Stack is a development-only stack trace that helps identify
    which components are responsible for rendering a particular component.
    An Owner Stack is distinct from a Component Stacks, which shows the
    hierarchy of components leading to an error.</li>
    <li>The <a
    href="https://react.dev/reference/react/captureOwnerStack">captureOwnerStack
    API</a> is only available in development mode and returns a Owner Stack,
    if available. The API can be used to enhance error overlays or log
    component relationships when debugging. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/29923">#29923</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32353">#32353</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/30306">#30306</a>,<br>
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32538">#32538</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32529">#32529</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32538">#32538</a>
    </li>
    </ul>
    <h3 dir="auto">React</h3>
    <ul dir="auto">
    <li>Enhanced support for Suspense boundaries to be used anywhere,
    including the client, server, and during hydration. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32069">#32069</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32163">#32163</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32224">#32224</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32252">#32252</a>
    </li>
    <li>Reduced unnecessary client rendering through improved hydration
    scheduling <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31751">#31751</a>
    </li>
    <li>Increased priority of client rendered Suspense boundaries <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31776">#31776</a>
    </li>
    <li>Fixed frozen fallback states by rendering unfinished Suspense
    boundaries on the client. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31620">#31620</a>
    </li>
    <li>Reduced garbage collection pressure by improving Suspense boundary
    retries. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31667">#31667</a>
    </li>
    <li>Fixed erroneous “Waiting for Paint” log when the passive effect
    phase was not delayed <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31526">#31526</a>
    </li>
    <li>Fixed a regression causing key warnings for flattened positional
    children in development mode. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32117">#32117</a>
    </li>
    <li>Updated <code class="notranslate">useId</code> to use valid CSS
    selectors, changing format from <code class="notranslate">:r123:</code>
    to <code class="notranslate">«r123»</code>. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32001">#32001</a>
    </li>
    <li>Added a dev-only warning for null/undefined created in useEffect,
    useInsertionEffect, and useLayoutEffect. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32355">#32355</a>
    </li>
    <li>Fixed a bug where dev-only methods were exported in production
    builds. React.act is no longer available in production builds. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32200">#32200</a>
    </li>
    <li>Improved consistency across prod and dev to improve compatibility
    with Google Closure Complier and bindings <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31808">#31808</a>
    </li>
    <li>Improve passive effect scheduling for consistent task yielding. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31785">#31785</a>
    </li>
    <li>Fixed asserts in React Native when
    passChildrenWhenCloningPersistedNodes is enabled for OffscreenComponent
    rendering. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32528">#32528</a>
    </li>
    <li>Fixed component name resolution for Portal <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32640">#32640</a>
    </li>
    <li>Added support for beforetoggle and toggle events on the dialog
    element. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32479">#32479</a>
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32479">#32479</a>
    </li>
    </ul>
    <h3 dir="auto">React DOM</h3>
    <ul dir="auto">
    <li>Fixed double warning when the <code class="notranslate">href</code>
    attribute is an empty string <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31783">#31783</a>
    </li>
    <li>Fixed an edge case where <code
    class="notranslate">getHoistableRoot()</code> didn’t work properly when
    the container was a Document <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32321">#32321</a>
    </li>
    <li>Removed support for using HTML comments (e.g. <code
    class="notranslate">&lt;!-- --&gt;</code>) as a DOM container. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32250">#32250</a>
    </li>
    <li>Added support for <code class="notranslate">&lt;script&gt;</code>
    and <code class="notranslate">&lt;template&gt;</code> tags to be nested
    within <code class="notranslate">&lt;select&gt;</code> tags. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31837">#31837</a>
    </li>
    <li>Fixed responsive images to be preloaded as HTML instead of headers
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32445">#32445</a>
    </li>
    </ul>
    <h3 dir="auto">use-sync-external-store</h3>
    <ul dir="auto">
    <li>Added <code class="notranslate">exports</code> field to <code
    class="notranslate">package.json</code> for <code
    class="notranslate">use-sync-external-store</code> to support various
    entrypoints. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/25231">#25231</a>
    </li>
    </ul>
    <h3 dir="auto">React Server Components</h3>
    <ul dir="auto">
    <li>Added <code class="notranslate">unstable_prerender</code>, a new
    experimental API for prerendering React Server Components on the server
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31724">#31724</a>
    </li>
    <li>Fixed an issue where streams would hang when receiving new chunks
    after a global error <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31840">#31840</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31851">#31851</a>
    </li>
    <li>Fixed an issue where pending chunks were counted twice. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31833">#31833</a>
    </li>
    <li>Added support for streaming in edge environments <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31852">#31852</a>
    </li>
    <li>Added support for sending custom error names from a server so that
    they are available in the client for console replaying. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32116">#32116</a>
    </li>
    <li>Updated the server component wire format to remove IDs for hints and
    console.log because they have no return value <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31671">#31671</a>
    </li>
    <li>Exposed <code class="notranslate">registerServerReference</code> in
    client builds to handle server references in different environments. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32534">#32534</a>
    </li>
    <li>Added react-server-dom-parcel package which integrates Server
    Components with the <a href="https://parceljs.org/">Parcel bundler</a>
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31725">#31725</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32132">#32132</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31799">#31799</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32294">#32294</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31741">#31741</a>
    </li>
    </ul></blockquote>
    <p><em>Does any of this look wrong? <a
    href="https://depfu.com/packages/npm/react/feedback">Please let us
    know.</a></em></p>
    </details>
    
    <details>
    <summary>Commits</summary>
    <p><a
    href="https://github.com/facebook/react/compare/7aa5dda3b3e4c2baa905a59b922ae7ec14734b24...4a9df08157f001c01b078d259748512211233dcf">See
    the full diff on Github</a>. The new version differs by more commits
    than we can show here.</p>
    </details>
    
    
    
    
    #### ✳️ react-dom (19.0.0 → 19.1.0) ·
    [Repo](https://github.com/facebook/react) ·
    [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
    
    
    
    <details>
    <summary>Release Notes</summary>
    <h4><a
    href="https://github.com/facebook/react/releases/tag/v19.1.0">19.1.0</a></h4>
    
    <blockquote><h3 dir="auto">Owner Stack</h3>
    <p dir="auto">An Owner Stack is a string representing the components
    that are directly responsible for rendering a particular component. You
    can log Owner Stacks when debugging or use Owner Stacks to enhance error
    overlays or other development tools. Owner Stacks are only available in
    development builds. Component Stacks in production are unchanged.</p>
    <ul dir="auto">
    <li>An Owner Stack is a development-only stack trace that helps identify
    which components are responsible for rendering a particular component.
    An Owner Stack is distinct from a Component Stacks, which shows the
    hierarchy of components leading to an error.</li>
    <li>The <a
    href="https://react.dev/reference/react/captureOwnerStack">captureOwnerStack
    API</a> is only available in development mode and returns a Owner Stack,
    if available. The API can be used to enhance error overlays or log
    component relationships when debugging. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/29923">#29923</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32353">#32353</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/30306">#30306</a>,<br>
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32538">#32538</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32529">#32529</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32538">#32538</a>
    </li>
    </ul>
    <h3 dir="auto">React</h3>
    <ul dir="auto">
    <li>Enhanced support for Suspense boundaries to be used anywhere,
    including the client, server, and during hydration. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32069">#32069</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32163">#32163</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32224">#32224</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32252">#32252</a>
    </li>
    <li>Reduced unnecessary client rendering through improved hydration
    scheduling <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31751">#31751</a>
    </li>
    <li>Increased priority of client rendered Suspense boundaries <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31776">#31776</a>
    </li>
    <li>Fixed frozen fallback states by rendering unfinished Suspense
    boundaries on the client. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31620">#31620</a>
    </li>
    <li>Reduced garbage collection pressure by improving Suspense boundary
    retries. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31667">#31667</a>
    </li>
    <li>Fixed erroneous “Waiting for Paint” log when the passive effect
    phase was not delayed <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31526">#31526</a>
    </li>
    <li>Fixed a regression causing key warnings for flattened positional
    children in development mode. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32117">#32117</a>
    </li>
    <li>Updated <code class="notranslate">useId</code> to use valid CSS
    selectors, changing format from <code class="notranslate">:r123:</code>
    to <code class="notranslate">«r123»</code>. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32001">#32001</a>
    </li>
    <li>Added a dev-only warning for null/undefined created in useEffect,
    useInsertionEffect, and useLayoutEffect. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32355">#32355</a>
    </li>
    <li>Fixed a bug where dev-only methods were exported in production
    builds. React.act is no longer available in production builds. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32200">#32200</a>
    </li>
    <li>Improved consistency across prod and dev to improve compatibility
    with Google Closure Complier and bindings <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31808">#31808</a>
    </li>
    <li>Improve passive effect scheduling for consistent task yielding. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31785">#31785</a>
    </li>
    <li>Fixed asserts in React Native when
    passChildrenWhenCloningPersistedNodes is enabled for OffscreenComponent
    rendering. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32528">#32528</a>
    </li>
    <li>Fixed component name resolution for Portal <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32640">#32640</a>
    </li>
    <li>Added support for beforetoggle and toggle events on the dialog
    element. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32479">#32479</a>
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32479">#32479</a>
    </li>
    </ul>
    <h3 dir="auto">React DOM</h3>
    <ul dir="auto">
    <li>Fixed double warning when the <code class="notranslate">href</code>
    attribute is an empty string <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31783">#31783</a>
    </li>
    <li>Fixed an edge case where <code
    class="notranslate">getHoistableRoot()</code> didn’t work properly when
    the container was a Document <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32321">#32321</a>
    </li>
    <li>Removed support for using HTML comments (e.g. <code
    class="notranslate">&lt;!-- --&gt;</code>) as a DOM container. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32250">#32250</a>
    </li>
    <li>Added support for <code class="notranslate">&lt;script&gt;</code>
    and <code class="notranslate">&lt;template&gt;</code> tags to be nested
    within <code class="notranslate">&lt;select&gt;</code> tags. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31837">#31837</a>
    </li>
    <li>Fixed responsive images to be preloaded as HTML instead of headers
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32445">#32445</a>
    </li>
    </ul>
    <h3 dir="auto">use-sync-external-store</h3>
    <ul dir="auto">
    <li>Added <code class="notranslate">exports</code> field to <code
    class="notranslate">package.json</code> for <code
    class="notranslate">use-sync-external-store</code> to support various
    entrypoints. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/25231">#25231</a>
    </li>
    </ul>
    <h3 dir="auto">React Server Components</h3>
    <ul dir="auto">
    <li>Added <code class="notranslate">unstable_prerender</code>, a new
    experimental API for prerendering React Server Components on the server
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31724">#31724</a>
    </li>
    <li>Fixed an issue where streams would hang when receiving new chunks
    after a global error <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31840">#31840</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31851">#31851</a>
    </li>
    <li>Fixed an issue where pending chunks were counted twice. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31833">#31833</a>
    </li>
    <li>Added support for streaming in edge environments <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31852">#31852</a>
    </li>
    <li>Added support for sending custom error names from a server so that
    they are available in the client for console replaying. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32116">#32116</a>
    </li>
    <li>Updated the server component wire format to remove IDs for hints and
    console.log because they have no return value <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31671">#31671</a>
    </li>
    <li>Exposed <code class="notranslate">registerServerReference</code> in
    client builds to handle server references in different environments. <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32534">#32534</a>
    </li>
    <li>Added react-server-dom-parcel package which integrates Server
    Components with the <a href="https://parceljs.org/">Parcel bundler</a>
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31725">#31725</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32132">#32132</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31799">#31799</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/32294">#32294</a>,
    <a
    href="https://bounce.depfu.com/github.com/facebook/react/pull/31741">#31741</a>
    </li>
    </ul></blockquote>
    <p><em>Does any of this look wrong? <a
    href="https://depfu.com/packages/npm/react-dom/feedback">Please let us
    know.</a></em></p>
    </details>
    
    <details>
    <summary>Commits</summary>
    <p><a
    href="https://github.com/facebook/react/compare/7aa5dda3b3e4c2baa905a59b922ae7ec14734b24...4a9df08157f001c01b078d259748512211233dcf">See
    the full diff on Github</a>. The new version differs by more commits
    than we can show here.</p>
    </details>
    
    
    
    
    
    
    
    
    
    
    
    
    ---
    ![Depfu
    Status](https://depfu.com/badges/edd6acd35d74c8d41cbb540c30442adf/stats.svg)
    
    [Depfu](https://depfu.com) will automatically keep this PR
    conflict-free, as long as you don't add any commits to this branch
    yourself. You can also trigger a rebase manually by commenting with
    `@depfu rebase`.
    
    <details><summary>All Depfu comment commands</summary>
    <blockquote><dl>
    <dt>@​depfu rebase</dt><dd>Rebases against your default branch and
    redoes this update</dd>
    <dt>@​depfu recreate</dt><dd>Recreates this PR, overwriting any edits
    that you've made to it</dd>
    <dt>@​depfu merge</dt><dd>Merges this PR once your tests are passing and
    conflicts are resolved</dd>
    <dt>@​depfu cancel merge</dt><dd>Cancels automatic merging of this
    PR</dd>
    <dt>@​depfu close</dt><dd>Closes this PR and deletes the branch</dd>
    <dt>@​depfu reopen</dt><dd>Restores the branch and reopens this PR (if
    it's closed)</dd>
    <dt>@​depfu pause</dt><dd>Ignores all future updates for this dependency
    and closes this PR</dd>
    <dt>@​depfu pause [minor|major]</dt><dd>Ignores all future minor/major
    updates for this dependency and closes this PR</dd>
    <dt>@​depfu resume</dt><dd>Future versions of this dependency will
    create PRs again (leaves this PR as is)</dd>
    </dl></blockquote>
    </details>
    
    Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
    depfu[bot] authored Apr 7, 2025
    Configuration menu
    Copy the full SHA
    76e18e6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f66d287 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2025

  1. Configuration menu
    Copy the full SHA
    cdecb55 View commit details
    Browse the repository at this point in the history
  2. WIP

    philipp-spiess committed Apr 9, 2025
    Configuration menu
    Copy the full SHA
    7a6941c View commit details
    Browse the repository at this point in the history
  3. Make it work

    philipp-spiess committed Apr 9, 2025
    Configuration menu
    Copy the full SHA
    6eedd0a View commit details
    Browse the repository at this point in the history
Loading