Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump next from 14.0.1 to 14.0.3 in /ui #193

Merged
merged 2 commits into from
Nov 21, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 20, 2023

Bumps next from 14.0.1 to 14.0.3.

Release notes

Sourced from next's releases.

v14.0.3

Core Changes

  • Update React from 746890329 to 0e352ea01: #58279
  • fix(turbopack): support middleware in src: #58218
  • Update font data: #58317
  • Replace custom Thenable type with native Promises: #58337
  • fix(eslint): next/script beforeInteractive gives warning on appDir: #51148
  • fix: import antd from es in modularizeImports: #57968
  • fix(WellKnownErrorsPlugin): avoid compilation warnings array with empty items: #57768
  • Add experimental support for history.pushState and history.replaceState: #58335
  • Fix: expected "catch all routes" are not matched in “parallel routes": #58368
  • fix: Don't reset shallow URL updates on prefetch: #58297
  • fix: ensure batch values are sharable: #58315
  • fix incorrect fetch cache handling: #58460
  • turbopack: Don't error with legacy server actions boolean: #58416
  • Update turbopack: #58408
  • Upgrade vendored React: #58489
  • Apply next/font to foreign code: #58461
  • Turbopack: Use structured styled text in issue descriptions: #58156
  • onHeaders updates for App Pages: #58410
  • revalidate APIs should make route handlers dynamic: #58466
  • remove optimistic navigation behavior when prefetch is false: #58413
  • fix: set x-forwarded-host based on request: #58500
  • Inline ChildProp: #58519
  • Remove client only dynamic chunks from edge bundle : #56761
  • tweak cache + revalidate fetch warning: #58505

Documentation Changes

  • remove example for router.events as it does not exist: #58286
  • chore(docs): fix typo: #58344
  • docs: Update runtime table: #58361
  • Update 08-parallel-routes.mdx: #58393
  • Docs: Update middleware example snippet: #58488
  • update meta variable to metadata variable so that the meta data updat…: #58396
  • Update 07-error-handling.mdx: #58236
  • docs: Added Kinde auth provider: #58231
  • Update index.mdx: #58210
  • Make example of passing down a Server Action more clear: #57972
  • docs: Fix grammar in Styling section: #58071
  • docs: Fix grammar in Client Components section: #58065
  • docs: Fix grammar in Dynamic Rendering section: #58062
  • Docs: fix grammatical issue in "Data Fetching Patterns" section: #58056
  • Update 02-patterns.mdx: #58032
  • Update 04-ci-build-caching.mdx - Add Jenkins: #58001

Example Changes

  • examples: Update Middleware for CSP: #58300

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 20, 2023
@MikeEdgar MikeEdgar added this to the 0.0.16 milestone Nov 20, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ui/next-14.0.3 branch 6 times, most recently from 994e309 to 0614ae8 Compare November 20, 2023 13:57
@MikeEdgar
Copy link
Member

@riccardo-forina , please take a look at the error when you have time. Surprising, given it's a micro update.

55.03 
55.03 app/api/auth/[...nextauth]/route.ts
55.03 Type error: Route "app/api/auth/[...nextauth]/route.ts" does not match the required types of a Next.js Route.
55.03   "authOptions" is not a valid Route export field.
55.03 

dependabot bot and others added 2 commits November 21, 2023 14:28
Bumps [next](https://github.com/vercel/next.js) from 14.0.1 to 14.0.3.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v14.0.1...v14.0.3)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@riccardo-forina riccardo-forina force-pushed the dependabot/npm_and_yarn/ui/next-14.0.3 branch from f47cd1e to a2cd777 Compare November 21, 2023 13:28
@riccardo-forina
Copy link
Collaborator

Hey I missed this. So, the error was because Next is slowly but surely improving the checks performed on the files that are defined by the framework itself. A rule is to never export something that's not recognized by Next. I moved the auth config object to its own file and that fixed the error.

While I was there I also enhanced the check for the expired token so that you get immediately redirected to the login page if you open the app after a long time and the token is expired. This removes the problem of the app that was seemingly working but showing no data in the different pages.

@riccardo-forina riccardo-forina merged commit d88c70f into main Nov 21, 2023
5 checks passed
@riccardo-forina riccardo-forina deleted the dependabot/npm_and_yarn/ui/next-14.0.3 branch November 21, 2023 13:37
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

riccardo-forina added a commit that referenced this pull request Nov 21, 2023
* Bump next from 14.0.1 to 14.0.3 in /ui

Bumps [next](https://github.com/vercel/next.js) from 14.0.1 to 14.0.3.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v14.0.1...v14.0.3)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix error

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Riccardo Forina <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants