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: vercel/next.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v14.2.13
Choose a base ref
...
head repository: vercel/next.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v14.2.14
Choose a head ref
  • 11 commits
  • 67 files changed
  • 7 contributors

Commits on Sep 24, 2024

  1. feat(next/image): add support for images.remotePatterns.search (#70302

    )
    
    This PR adds a new feature to the existing `remotePatterns` allowlist
    configuration, that enables the ability to filter on `search` (aka query
    string).
    
    The most common usage will likely be `search: ''`, which means no query
    string allowed.
    
    You can also set the exact query string such as `search: '?v=1'` which
    can be useful to invalidate the cache one time for a specific version
    without opening the door to any version. Note the leading question mark
    to match the behavior of `new URL(url).search`.
    styfle authored and ijjk committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    ab03c77 View commit details
    Browse the repository at this point in the history
  2. add missing node modules to externals (#70382)

    We should not attempt to bundle builtin node modules on the server. This
    adds modules provided by Node.js to our externals list (along with some
    missing internal ones in Turbopack. These were copied from
    [here](https://github.com/vercel/next.js/blob/a675bde6c738318264573144663e38819aeb2661/crates/next-custom-transforms/src/transforms/warn_for_edge_runtime.rs#L77-L89)).
    
    Fixes #70262
    Closes NDX-314
    # Conflicts:
    #	turbopack/crates/turbopack-resolve/src/resolve.rs
    ztanner authored and ijjk committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    e19d91c View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. backport: fix prefetch bailout detection for nested loading segments (#…

    …70618)
    
    Backports:
    - #67358
    
    Fixes #70527
    
    Note: Turbopack dev failures seem to be pre-existing on the base branch.
    ztanner authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    50e41a2 View commit details
    Browse the repository at this point in the history
  2. Update flakey tests (#70643)

    Investigating failing tests on `14-2-1` branch
    ijjk authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    f81e681 View commit details
    Browse the repository at this point in the history
  3. reduce timeout errors

    ijjk committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    3020a11 View commit details
    Browse the repository at this point in the history
  4. Fully skip flakey assertion

    ijjk committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    190faf4 View commit details
    Browse the repository at this point in the history
  5. Fix revalidateTag() behaviour when invoked in server components (#7…

    …0446) (#70642)
    
    This backports #70446 to 14-2-1
    
    Fixes #70403
    
    ### What?
    When `revalidateTag()` is called directly in server components, the
    cache is not purged for the corresponding tags. Reproduction steps
    available in #70403
    
    ### How?
    Check
    
    [app-render.tsx](https://github.com/vercel/next.js/compare/canary...abhi12299:fix-revalidatetag-rsc?expand=1#diff-a3e2e024db1faa1b501e0dd6040eaaf0d931cb9878ae0fb0f4c3658daa982768)
    This issue was introduced in #65296 in this file:
    
    [revalidate.ts](https://github.com/vercel/next.js/pull/65296/files#diff-7f0cb5bb30d44b9153d724e31c25859b9aab6cc258b35563a1d9464cd0688283).
    The lines removed from the file resulted in the revalidation checks to
    be skipped when there is an RSC request.
    
    Also fixed checks on `pendingRevalidates` to also check for
    `revalidatedTags`.
    
    Co-authored-by: Abhishek Mehandiratta <[email protected]>
    ijjk and abhi12299 authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    0ffea65 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Externalize node binary modules for app router (#70646)

    backport #70330 
    Fixes #69912
    
    ---------
    
    Co-authored-by: JJ Kasper <[email protected]>
    huozhi and ijjk authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    e1da07e View commit details
    Browse the repository at this point in the history
  2. Respect reexports from metadata API routes (#70508) (#70647)

    backport #70508
    
    Co-authored-by: JJ Kasper <[email protected]>
    huozhi and ijjk authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    73f6b7d View commit details
    Browse the repository at this point in the history
  3. fix: clone response in first handler to prevent race (#70082) (#70649)

    This fixes a race where if the body was resolved before the clone
    operation, it would clone later, resulting in an error being thrown due
    to the body already being consumed.
    
    backports #70082
    
    ---------
    
    Co-authored-by: Wyatt Johnson <[email protected]>
    ijjk and wyattjoh authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    887a419 View commit details
    Browse the repository at this point in the history
  4. v14.2.14

    vercel-release-bot committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    dbbec6a View commit details
    Browse the repository at this point in the history
Loading