-
Notifications
You must be signed in to change notification settings - Fork 28k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
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.12
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: vercel/next.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f550237aa564bd59bfef7462350ac6c502f0206d
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 5 commits
- 29 files changed
- 5 contributors
Commits on Sep 19, 2024
-
Fix missing cache-control on SSR app route (#70265)
This removes an inaccurate check that doesn't set a revalidate value if revalidate is `undefined` which can be the case for SSR app route pages. Also adds a regression test to ensure this doesn't break again. Fixes: #70213 # Conflicts: # packages/next/src/server/base-server.ts
Configuration menu - View commit details
-
Copy full SHA for b503b8e - Browse repository at this point
Copy the full SHA b503b8eView commit details -
feat: add polyfill of
URL.canParse
for browser compatibility (#70228)### Why? Since `URL.canParse` is incompatible with older browsers like Safari 16, we added `canParseUrl` util at #70215. x-ref: https://caniuse.com/?search=URL.canParse To improve maintenance, we decided to add polyfill for `URL.canParse`. x-ref: [slack thread](https://vercel.slack.com/archives/C07BVA6HM17/p1726664071636899?thread_ts=1726620161.450109&cid=C07BVA6HM17) Closes NDX-302 --------- Co-authored-by: Jiachi Liu <inbox@huozhi.im> # Conflicts: # packages/next/src/lib/url.ts # packages/next/src/server/lib/router-server.ts # pnpm-lock.yaml
Configuration menu - View commit details
-
Copy full SHA for 62fbd7f - Browse repository at this point
Copy the full SHA 62fbd7fView commit details -
Fix vercel og package memory leak (#70214)
# Conflicts: # pnpm-lock.yaml
Configuration menu - View commit details
-
Copy full SHA for 49566f5 - Browse repository at this point
Copy the full SHA 49566f5View commit details -
Fix startTime error on Android 9 with Chrome 74 (#67391)
### What? Fixes the error `Cannot read property 'startTime' of null` on Chrome 74 for Android 9 by ensuring the `beforeHydrationMeasure` and `hydrationMeasure` are not falsy values before accessing their properties. <img width="1164" alt="Screenshot 2024-07-02 at 11 14 53 PM" src="https://github.com/vercel/next.js/assets/52588326/34df95b6-a4fe-4886-96b8-a3c873a2ae6a"> ### Why? The application crashes on Chrome 74 for Android 9 due to `null` or other falsy values being returned in certain situations. This fix ensures that the `startTime` property is only accessed if it is not a falsy value, thereby preventing the crash. ### How? Added a falsy check before accessing the `startTime` property in the performance measurement logic. Specifically, modified the code at [this location](https://github.com/vercel/next.js/blob/b9bd23baec14508400c502b3651f4cf2497e883b/packages/next/src/client/index.tsx#L498) Co-authored-by: JJ Kasper <jj@jjsweb.site>
Configuration menu - View commit details
-
Copy full SHA for b0ff3d0 - Browse repository at this point
Copy the full SHA b0ff3d0View commit details
Commits on Sep 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f550237 - Browse repository at this point
Copy the full SHA f550237View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v14.2.12...f550237aa564bd59bfef7462350ac6c502f0206d