1. 02 Nov, 2023 3 commits
    • vercel-release-bot's avatar
      v14.0.2-canary.7 · ad55d781
      vercel-release-bot authored
      ad55d781
    • Zack Tanner's avatar
      suspend in render, not in reducers (#56497) · 85abc48c
      Zack Tanner authored
      This removes our current convention of throwing promises in reducers in
      favor of returning promises that can be consumed by `use` instead. This
      will help unblock some future improvements (batching, PPR)
      
      Reducers that would typically throw a promise now return their promise.
      This gets maintained by a mutable queue (initialized in hydrate) to
      ensure actions are processed in-order. The queue is also responsible for
      mutating state and passing it as an input to subsequent actions.
      
      This PR does not modify reducer behavior to keep changes minimal, but
      there's more cleanup that we can do in a follow-up PR to remove things
      that previously assumed reducers would be replayed.
      
      (I recommend reviewing with whitespace turned off)
      
      ---------
      Co-authored-by: 's avatarTim Neutkens <tim@timneutkens.nl>
      85abc48c
    • Steven's avatar
      chore(test): run unit tests on node 18 and 20 (#57199) · be618048
      Steven authored
      Since we separated unit tests into its own job in PR https://github.com/vercel/next.js/pull/55621, we can now run unit tests against Node.js 18 and Node.js 20 (maintenance and lts) using a matrix.
      be618048
  2. 01 Nov, 2023 22 commits
  3. 31 Oct, 2023 15 commits