1. 12 Jan, 2022 5 commits
  2. 11 Jan, 2022 5 commits
  3. 10 Jan, 2022 7 commits
    • Glenn Gijsberts's avatar
      Add Caveats section to custom error page (#33160) · 5f4947e5
      Glenn Gijsberts authored
      ## Desscription
      
      This is a follow up of https://github.com/vercel/next.js/pull/32873. As discussed in #32873, currently it's not recommended to use getServerSideProps in the `Error` component, so this PR will add that caveat to the documentation page, like `Document` and `App` also have.
      
      ## Documentation / Examples
      
      - [x] Make sure the linting passes by running `yarn lint`
      5f4947e5
    • JJ Kasper's avatar
      v12.0.8-canary.20 · 3eabb7f4
      JJ Kasper authored
      3eabb7f4
    • Gal Schlezinger's avatar
      Allow dependencies to use environment variables in middlewares (#33141) · 4aa9879d
      Gal Schlezinger authored
      After discussing with @sokra, seems that the proposed solution is split in two:
      
      * We need to make sure that the `process` polyfill uses `global.process` if available. This is because middlewares are bundled using `browser` target and therefore `process.env.MY_ENV` gets shimmed into `require('process').env.MY_ENV`.
      
      * Allow `process.env` to be statically analyzed for dependencies so they will be exported to the manifest.
      
      Related issues:
      
      * should fix #33043.
      4aa9879d
    • Tobias Koppers's avatar
      use a separate webpack runtime for middleware (#33134) · f0ad19ae
      Tobias Koppers authored
      it should not leak into the client runtime
      
      cc @javivelasco 
      
      
      
      ## 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 by running `yarn lint`
      f0ad19ae
    • Alexandru Tenie's avatar
      No info on environment variables in the src folder (#33110) (#33136) · 8ae08b94
      Alexandru Tenie authored
      Proposes fix to #33110
      
      Adds info on environment variables and the /src folder in the following docs:
      
      - https://nextjs.org/docs/advanced-features/src-directory
      - https://nextjs.org/docs/basic-features/environment-variables#loading-environment-variables
      
      ## 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
      - [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 by running `yarn lint`
      Co-authored-by: 's avatarTim Neutkens <6324199+timneutkens@users.noreply.github.com>
      8ae08b94
    • Manny Becerra's avatar
      docs: minor text-copy cleanup (#33120) · 213f5a43
      Manny Becerra authored
      
      
      Proposes some minor text-copy cleanup in the following docs:
      
      - https://nextjs.org/docs/basic-features/fast-refresh
      - https://nextjs.org/docs/basic-features/environment-variables
      
      ## 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
      - [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 by running `yarn lint`
      213f5a43
    • Donny/강동윤's avatar
      Update swc (#33063) · 87dbd03e
      Donny/강동윤 authored
      87dbd03e
  4. 08 Jan, 2022 1 commit
  5. 07 Jan, 2022 1 commit
    • David Fateh's avatar
      Adding Asset Component for Rich Text Renderer (#32503) · 3861e4b8
      David Fateh authored
      
      
      This PR accomplishes 2 things:
      
      1. You can now add images to the rich text post of the example and see those images show up in the app. This is a good jumping off point for people who are learning how to customize the rich text renderers by adding custom components to the mapper.
      2. Updating the README pictures to have a more up-to-date UI in the screenshots.
      
      ## Feature
      - [x] Documentation added
      
      ## Documentation / Examples
      
      - [x] Make sure the linting passes by running `yarn lint`
      3861e4b8
  6. 06 Jan, 2022 7 commits
  7. 05 Jan, 2022 12 commits
  8. 04 Jan, 2022 2 commits
    • JJ Kasper's avatar
      v12.0.8-canary.17 · cfa8ab9c
      JJ Kasper authored
      cfa8ab9c
    • JJ Kasper's avatar
      Re-enable turbo caching for swc build jobs (#32617) · 5e5f1df4
      JJ Kasper authored
      * Fix build-native jobs
      
      * Update to latest turbo
      
      * fix extra space
      
      * fix windows shell
      
      * Update to latest turbo
      
      * Bump Turbo (#32703)
      
      * Bump turbo to canary
      
      * Bump turbo
      
      * Update yaml too
      
      * add less specific restore key
      
      * update more restore keys
      
      * Fix non-unique key and cache wasm build
      
      * ensure turbo is installed for new jobs
      
      * remove old wasm cache
      
      * update directory check
      
      * bump
      
      * re-add if publish checks
      Co-authored-by: 's avatarJared Palmer <jared@jaredpalmer.com>
      5e5f1df4