1. 15 Jan, 2026 11 commits
    • nextjs-bot's avatar
      v16.1.1-canary.29 · e5905bde
      nextjs-bot authored
      e5905bde
    • Janka Uryga's avatar
      [CC] Fix dev validation error from server action bound args (#88600) · bd90b6c5
      Janka Uryga authored
      In Cache Components, bound args encryption needs to be cached (and
      tracked with cacheSignal) because it's tasky. We use the serialized
      bound args themselves as a cache key. However, in dev, the key ends up
      containing debug info (in particular, timing information) so it's
      different every time . This causes a cache miss and results in a static
      shell validation failure.
      
      The fix is to use a dummy debug channel to pipe the problematic debug
      info into the void and thus make the key be deterministic.
      bd90b6c5
    • Steven's avatar
      fetch(next/image): reduce maximumResponseBody from 300MB to 50MB (#88588) · 54476c9c
      Steven authored
      Based on our metrics, the P99.9 for a source image is 47 MB so we can
      adjust the default setting to be much lower (by changing from from 300
      MB to 50 MB) in favor of reducing memory.
      54476c9c
    • Tobias Koppers's avatar
      Turbopack: run tasks with priority based on distance to leaf (#87662) · 125b7d89
      Tobias Koppers authored
      ### What?
      
      * Compute the approximate distance to leaf in the dependency graph
      * Prioritize tasks re-computing by distance to leaf, running leaf tasks first
      
      This ensures that it's less likely that tasks are re-executed multiple times due to bad ordering.
      This adresses the "diamond" problem where a task is invalidated multiple times due to multiple paths of invalidation to that task.
      125b7d89
    • Niklas Mischkulnig's avatar
      Turbopack: support disabling tsconfig lookup (#88529) · 3933d47b
      Niklas Mischkulnig authored
      Introduce `TsConfigHandling::Disabled`
      3933d47b
    • Matt Mastracci's avatar
    • Niklas Mischkulnig's avatar
      Update labeler.json (#88591) · 5ec2d236
      Niklas Mischkulnig authored
      5ec2d236
    • Donny/강동윤's avatar
    • Hendrik Liebau's avatar
      [ci] Don't retry/notify for failed deploy tests with custom tarball URLs (#88576) · f5c8b6ae
      Hendrik Liebau authored
      Fixes a regression from #85981 where manual deploy tests with custom
      tarball URLs incorrectly trigger retries and Slack notifications. Now
      only release-triggered runs and manually-triggered canary tests are
      retried/reported.
      f5c8b6ae
    • Tim Neutkens's avatar
      docs: fix Pages Router fonts documentation showing App Router examples (#88326) · 8d7682f1
      Tim Neutkens authored
      ## Summary
      
      Fixes #88291
      
      The Pages Router fonts documentation was incorrectly showing App Router
      examples (`app/layout.tsx`) which don't exist in Pages Router. This
      confused users trying to use fonts with the Pages Router.
      
      ## Changes
      
      Updated `docs/01-app/01-getting-started/13-fonts.mdx` to include proper
      `<AppOnly>` and `<PagesOnly>` sections:
      
      **For Pages Router users:**
      - Added examples using `pages/_app.tsx` (Custom App) to wrap components
      with font className
      - Added examples using `pages/_document.tsx` (Custom Document) to apply
      fonts to the `<html>` element
      
      **For App Router users:**
      - Wrapped existing `app/layout.tsx` examples in `<AppOnly>` sections
      
      This follows the same pattern used in other shared documentation like
      `docs/01-app/01-getting-started/11-css.mdx` which properly separates App
      Router and Pages Router content.
      8d7682f1
    • Luke Sandberg's avatar
      feat: add TaskStorage derive macro and schema infrastructure (#88338) · 02f8ba61
      Luke Sandberg authored
      Add a new derive macro for `TaskStorage` a replacement for `InnerStorage` and `CachedDataItem`, currently it is unused outside of tests.
      
      ## What
      
      * add a new derive macro that generates code from the 'schema' in `storage_schema.rs`
      * `storage_schema.rs` defines the layout of our new struct, for each field we specify
         * type and name
         * category ('data' 'meta' or 'transient')
         * location (inline or lazy or flags for bitfields)
         * whether we should `filter_transient` when encoding (not everything can contain transient data)
         * Logically this is a replacement for `CachedDataItem`
      * From that we generate a few things
         * `TaskFlags` a bitfield to hold some data items as well as 'meta' information like the 'snapshot' and 'restore' bits replacing `InnerStorageState`
         * `LazyField`  enum, defines tall the fields that we dynamically allocate
         * `TaskStorage` the main storage struct, along with basic accessors for all the datatypes (which helps encapsualte storage strategy)
         * `TaskStorageAccessors` a trait with default implementations of every accessor which also handle
            * access checking, via `check_access`
            * mutation tracking via `track_mutation`
             * putting these behaviors in a trait allows some of the business logic around snapshotting to remain in normal rust code that implements the trait, while all the field updating logic can be autogenerated
      
        * Serialization and encoding infrastructure
            * routines to encode and decode the 'meta' or 'data' subsets
            * routines to create partial 'snapshots' of `meta` or `data` subsets
            * routines to restore data from deserialized snapshots
      
      See https://gist.github.com/lukesandberg/ea35f0e92c1cdeddf80d0498f2978144 for a fully expanded version of the macro
      
      ### Why
      
      There are a few goals from this redesign of `InnerStorage`
      
      * (speculative) a single large `derive` macro will be easier to maintain than the current mix of `macro_rules` and derive macros we use for `CacheDataItem`
          * There is one macro to expand when inspecting and the macro generation code is pretty straightforward if voluminous
      * We eliminate many `match` operations on `CachedDataItem`
          * Today to lookup a piece of data we need to execute several matches to get the the data category and find the storage location.  With this new approach those are handled by just calling the correct accessor which statically addresses the storage location
      * serialization performance
          * we don't need to 'explode' the storage into `Vec<CachedDataItem>` anymore and instead can either directly snapshot the storage or encode directly to a buffer.  This should eliminate some temporary allocations and should enable a smaller serialization format
      * more flexibility
          * mostly this is the same approach as before with a few small improvements, notably `invalidator` and `immutable` are now stored as single inline bits reducing lookupcosts and memory for tasks that have these.
      
      ### How
      
      Most of the code was written by Claude with obviously a ton of feedback, so please review carefully.  For now all this code is unused but future PRs will integrate it into the backend
      02f8ba61
  2. 14 Jan, 2026 20 commits
  3. 13 Jan, 2026 9 commits