1. 26 Jul, 2021 4 commits
    • JJ Kasper's avatar
      v11.0.2-canary.22 · 7c0f707b
      JJ Kasper authored
      7c0f707b
    • Luís Galete's avatar
      57501fa7
    • JJ Kasper's avatar
      Update bundle analyzer readme (#27507) · b25a9835
      JJ Kasper authored
      Follow-up to https://github.com/vercel/next.js/pull/27463 this adds a note about installing as `devDependency` instead of changing the default install command as the plugin being a `devDependency` might cause issues unless wrapped in a `process.env` check. 
      
      
      ## Documentation / Examples
      
      - [x] Make sure the linting passes
      b25a9835
    • Asher Oloo's avatar
      Fixed minor grammar issue (#27493) · f22f8845
      Asher Oloo authored
      
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes
      f22f8845
  2. 25 Jul, 2021 9 commits
  3. 24 Jul, 2021 2 commits
  4. 23 Jul, 2021 11 commits
    • Arthur Puyou's avatar
      Update max-age in HSTS sample (#27452) · fac083bc
      Arthur Puyou authored
      The previous paragraph mentions a max-age of 2 years, so the number of seconds should match.
      fac083bc
    • Steven's avatar
      Add warning when `next/image` component has `style` prop (#27441) · 9065cdf8
      Steven authored
      We've never supported the `style` prop as seen in the docs https://nextjs.org/docs/api-reference/next/image#other-props
      
      TS users already get a build error but JS users were left in the dark.
      
      This PR adds a warning so its clear during `next dev`.
      9065cdf8
    • JJ Kasper's avatar
    • Tobias Järvelöv's avatar
      Wait for getFilesForRoute promise to fulfill before timeout in dev mode (#27395) · ee605cb6
      Tobias Järvelöv authored
      The fix in PR #25749 only works some of the time. The reason why it
      doesn't work all of the time is because the `devBuildResolve` function
      is called when the assets have been built, but this can happen before
      the `getFilesForRoute` promise chain has completed, and thus the
      `cancelled` variable could not yet have been updated.
      
      To fix this we wait for the `getFilesForRoute` promise chain to be
      fulfilled and then resolve the `devBuildPromise` promise afterwards.
      This allows the `getFilesForRoute` promise chain to be fulfilled before
      and the `cancelled` variable can be updated accordingly.
      
      If an error is thrown somewhere in the `getFilesForRoute` promise chain,
      i.e. due to a failed fetch request, then that will also resolve the
      `devBuildPromise` and the error will bubble up to ultimately become a
      `routeChangeError` which will reload the page.
      
      With this fix the need to listen for HMR events has become obsolete as
      regardless of when the HMR build/sync events complete we still want to
      ensure that the `getFilesForRoute` promise chain has been fulfilled
      before resolving the `devBuildPromise`.
      Co-authored-by: 's avatarTobias Järvelöv <tobias.jarvelov@oderland.se>
      Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
      ee605cb6
    • Mohamed ElSaadany's avatar
      Add locale switcher to i18n-routing example (#27444) · 9cbc4aac
      Mohamed ElSaadany authored
      * add locale switcher to dynamic GSP page in i18n-routing example
      
      * Apply suggestions from code review
      Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
      
      * Add switcher to other pages as well
      Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
      9cbc4aac
    • stefanprobst's avatar
      Add eslint config options to `NextConfig` type (#27446) · 046f7164
      stefanprobst authored
      This adds missing eslint config options to the public `NextConfig` type.
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes
      046f7164
    • stefanprobst's avatar
      [eslint] move core-web-vitals config to eslint-plugin-next (#27363) · daf54bb2
      stefanprobst authored
      this pr moves the "core-web-vitals" config from `eslint-config-next` to `eslint-plugin-next`.
      
      Fixes: #27292
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
      - [x] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes
      daf54bb2
    • JJ Kasper's avatar
    • Steven's avatar
      Update `next/image` docs with `onLoadingComplete()` (#27440) · bf02cf84
      Steven authored
      Follow up to #26824 
      bf02cf84
    • Yubin's avatar
      Add `lazyBoundary` prop to Image component (#27258) · 4e74db2d
      Yubin authored
      This PR adds `lazyBoundary` prop on Image Component.
      This feature is to load the images earlier.
      I'm not good at English. So, I couldn't explain enough in the documentation what `lazyBoundary` is.
      
      Feature request: https://github.com/vercel/next.js/discussions/24552
      
      ## Feature
      
      - [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
      - [ ] Related issues linked using `fixes #number`
      - [x] Integration tests added
      - [x] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [x] Make sure the linting passes
      4e74db2d
    • Steven's avatar
      1d347ba5
  5. 22 Jul, 2021 12 commits
  6. 21 Jul, 2021 2 commits