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

chore(deps): update all non-major dependencies #202

Merged
merged 1 commit into from
Nov 13, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 13, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@prisma/client (source) ^4.5.0 -> ^4.6.1 age adoption passing confidence
eslint-config-next 13.0.2 -> 13.0.3 age adoption passing confidence
framer-motion ^7.6.5 -> ^7.6.6 age adoption passing confidence
next (source) 13.0.2 -> 13.0.3 age adoption passing confidence
prisma (source) ^4.5.0 -> ^4.6.1 age adoption passing confidence
sass ^1.56.0 -> ^1.56.1 age adoption passing confidence

Release Notes

prisma/prisma

v4.6.1

Compare Source

Today, we are issuing the 4.6.1 patch release.

Fixes in Prisma Client
Fix in Prisma Migrate

v4.6.0

Compare Source

🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟

Highlights

Interactive Transactions for Prisma Data Proxy (Preview)

In 3.8.0, we disabled the interactiveTransactions Preview feature when using the Prisma Data Proxy. This was because the API was not yet supported.

In this release, we're removing the limitation. You can now try the Preview version of interactive transactions with the Prisma Data Proxy. Re-generate Prisma Client using prisma generate --data-proxy after enabling the Preview feature.

Note: The interactiveTransactions Preview feature flag is still needed. We will remove this in a future version when the feature is stable.

Try it out and let us know your thoughts in our interactive transactions feedback GitHub issue.

Native database level upserts for PostgreSQL, SQLite, and CockroachDB

Prisma’s upsert is one of its most powerful and most convenient APIs. In this release, Prisma will now default to the native database upsert for PostgreSQL, SQLite, and CockroachDB whenever possible.

Prisma will use the native database upsert if:

  • There are no nested queries in the upsert's create and update options
  • The query modifies only one model
  • There is only one unique field in the upsert's where option
  • The unique field in the where option and the unique field in the create option have the same value

Prisma Client's upsert operation was implemented on a Prisma-level and did not use the native database implementations like, e.g., INSERT .. ON CONFLICT .. UPDATE SET. This allowed Prisma to also upsert nested queries.

The Prisma-implementation came at a cost. In some scenarios, it was more likely for a transaction to roll back because of a conflict when multiple upsert operations were being executed in parallel, and the multiple queries often took longer than the native database query would have taken.

Try it out and let us know what you think. If you run into any issues, don't hesitate to create a GitHub issue.

Relation Mode improvements (Preview)

In 4.5.0, we renamed the "Referential Integrity" Preview feature to "Relation Mode". We also changed the datasource property name of the feature to relationMode.

In this release, we fixed all remaining known bugs of relationMode = "prisma" and cleaned up our documentation. You can now read about Relation mode on its own documentation page which is up to date with the implementation.

If you encounter any problems please comment on our feedback issue. We plan to make this Generally Available soon.

extendedWhereUnique improvements (Preview)

In 4.5.0, we introduced the extendedWhereUnique Preview feature to allow filtering for non-unique properties in unique where queries. In this release, we're adding new rules to decide when concurrent findUnique queries get batched into a findMany query.

Unfortunately, we forgot to adapt our findUnique query batch optimization, which turns multiple concurrent findUnique queries into a single findMany query when possible — GitHub issue.

Therefore, findUnique queries will get batched into a findMany query if:

  • All criteria of the filter must be on scalar fields (unique or non-unique) of the same model you're querying
  • All criteria must use the equal's filter, whether that's via the shorthand or explicit syntax (where: { field: <val>, field1: { equals: <val> } })

Conversely, suppose the filter object contains any boolean operators, relation filters, or scalar filters that are not using equals. Prisma will fall back to executing the findUnique queries independently.

Let us know your thoughts and share your feedback on the Preview feature in this GitHub issue.

Fixes and improvements

Prisma Client
Prisma
Language tools (e.g. VS Code)

Design Partner Program

Are you building data-intensive applications in serverless environments using Prisma? If so, you should join our Design Partner Program to help us build the tools that best fit your workflows!

The Design Partner Program aims to help development teams solve operational, data-related challenges in serverless environments. Specifically, we’re looking to build tools that help with the following problems:

  • Solutions to listen and react to database changes in real time are either brittle or too complex to build and operate.
  • Coordinating workflows executed via a set of isolated functions or services spreads that coordination logic across these services instead of keeping it centralized and maintainable. This adds unnecessary overhead and clutter to your business logic.
  • Optimizing the data access layer for scaling performance often involves projecting data into denormalized views, or caching. These methods come with complex logic to figure out strategies for cache invalidation or preventing to use stale data.
  • Building web applications on modern Serverless platforms such as Vercel or Netlify often breaks down as soon as you need to execute on any of the topics listed above. This pushes to re-platform on a traditional infrastructure, delaying projects, and losing productivity benefits offered by Vercel or Netlify.

Submit an application through our application form to join the Prisma Design Partner Program to take advantage of new features that you won't have to build or maintain yourselves.

Prisma Data Platform

We're working on the Prisma Data Platform — a collaborative environment for connecting apps to databases. It includes the following:

  • Data Browser for navigating, editing, and querying data
  • Data Proxy for your database's persistent, reliable, and scalable connection pooling.
  • Query Console for experimenting with queries

Try it out. Let us know what you think!

📺 Join us for another "What's new in Prisma" live stream

Learn about the latest release and other news from the Prisma community by joining us for another "What's new in Prisma" live stream.

The stream takes place on YouTube on Thursday, November 10 at 5 pm Berlin | 8 am San Francisco.

Credits

Huge thanks to @​cmd-johnson for helping!

vercel/next.js

v13.0.3

Compare Source

Core Changes
  • bump @​typescript-eslint/parser version to support TS 4.8: #​42439
  • chore: Update swc_core to v0.40.40: #​42326
  • Add telemetry for turbotrace: #​42486
  • Fix undici warning in Node.js 18: #​42477
  • Ensure RSC is detecting correctly during revalidate: #​42508
  • fix: correctly mention generateStaticParams in error: #​42524
  • Re-enable sandbox cache and update AsyncLocalStorage usage: #​42547
  • Check properly whether SWC is used or not when using forceSwcTransforms: #​42531
  • Show inlined error if the "use client" directive is not before other statements/expressions: #​42507
  • Refactor error codes in the TS plugin: #​42585
  • Fix server html insertion target: #​42591
  • next/compat/router: #​42502
  • Fix scrolling on router.refresh: #​42583
  • Fix relative TypeScript path in monorepos: #​42586
  • Aggregate updates using addStatusHandler and Promise.resolve instead of setTimeout: #​42350
  • fix(next/dev): bubble up unhandled exception from --turbo: #​42594
  • Rename RSC and Router headers: #​42482
  • Ensure build trace ignores apply correctly when nested: #​42606
  • Include @​prisma/client in default external packages: #​42624
  • Replace global with globalThis: #​42627
  • Colocate styles with special entries: #​42506
  • Add lazy initialize of router cache nodes: #​42629
  • Add telemetry for @​next/font: #​42579
  • Also create head when creating root layout: #​42571
  • feat: add --no-mangling to next build + fix --profile option: #​42633
  • update react builtin deps for next channel: #​42639
  • Ensure skip normalize is handled correctly: #​42642
  • @​next/font/google fetch error dev: #​42637
  • Add missing matcher support: #​42660
  • Remove useless async declaration and replace regexp to plain string in AMP postProcessor: #​42495
  • @​next/font error messages: #​42689
  • Adopt script rejection pattern for link onerror.: #​42645
  • Fix @​next/font imports from outside of the root directory: #​42678
  • Ensure appDir is included in webpack configVars: #​42710
  • Fix replaceAll usage in post-process: #​42714
  • Use import to load page and layout: #​42325
  • Alias next public api to esm on edge runtime: #​42709
  • fix: publish compat folder: #​42613
  • Change condition to check for string attribute in lint rules utility function: #​42625
  • Fix as option with optional catch all routes url object syntax: #​42355
  • fix comma splice in verifyRootLayout.ts: #​42324
  • build(next-swc): update turbopack to latest: #​42733
  • @​next/font return types: #​42753
  • Eagerly bundle external ESM dependencies for pages: #​42741
  • Handle hydration replaceState for static page with searchParams: #​42744
  • Add test case for image generation: #​42693
  • Don't pushState when already on the url: #​42735
  • fix: enable emotion import map: #​42750
  • Fix resolving for esm package with only exports.import condition: #​42767
  • Track page counts during builds: #​42766
Documentation Changes
  • Fix Static Generation link on Pages page: #​42462
  • Docs: Fix invalid tsconfig importSource syntax: #​42465
  • Update response-helpers.md: #​42378
  • react-version.md: Update minimum React version for Next.js 13: #​42490
  • Included negative matcher docs in upgrade guide: #​42489
  • Edit Upgrade docs to correct new-link codemod: #​42501
  • Update turbopack docs to use create-next-app@latest: #​42528
  • Remove all custom server integration examples: #​42549
  • [docs] Document middleware response changes: #​42295
  • Convert with-absolute-imports example to TypeScript: #​42529
  • docs/next/link: Mention middleware + dynamic routes changes: #​42607
  • fix typo in api-reference next/sever: #​42669
  • font api updates: #​42724
Example Changes
  • Include app directory in Tailwind config: #​42407
  • Removed duplicate MONGODB_URI check in example: #​42518
  • Convert middleware-matcher example to TypeScript: #​42520
  • Convert custom-server-express example to TypeScript: #​42110
  • Example: fixed tailwind ver in readme: #​42551
  • (with-supertokens example): Fixes infinite redirect issue for unauthorised error during SSR: #​42634
  • chore: update scripts to work on windows: #​42632
  • example fix url: #​42695
Misc Changes
  • Reuse file when shared by several google font variants: #​42480
  • Fix replaceAll usage in font loader: #​42550
  • Fix default value handling for CNA in CI: #​42596
  • chore: encourage adding reproductions to issues: #​42667
  • �Fix CSS handling rules: #​42615
  • Update to latest version of turbo CLI: #​42711
Credits

Huge thanks to @​lucasassisrosa, @​kdy1, @​ijjk, @​jakemstar, @​lachlanjc, @​ws-jm, @​davidnx, @​steven-tey, @​Brooooooklyn, @​hanneslund, @​josephcsoti, @​fantaasm, @​timneutkens, @​sivtu, @​leerob, @​balazsorban44, @​maxproske, @​rightones, @​bot08, @​shuding, @​huozhi, @​wyattjoh, @​ethomson, @​alexkirsz, @​kwonoj, @​MaxLeiter, @​rishabhpoddar, @​feedthejim, @​gnoff, @​moetazaneta, @​superbahbi, @​NOCELL, @​ademilter, @​nathanhammond, @​imranbarbhuiya, @​mrkldshv, @​cvolant, @​hughlilly, @​ismaelrumzan, and @​sQVe for helping!

framer/motion

v7.6.6

Compare Source

Fixed
  • Minor layout animation refactors.
sass/dart-sass

v1.56.1

Compare Source

Embedded Sass
  • Importer results now validate that contents is actually a string and whether
    sourceMapUrl is an absolute URL.

Configuration

📅 Schedule: Branch creation - "before 12pm on Sunday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@ijsKoud ijsKoud merged commit 918e71d into main Nov 13, 2022
@ijsKoud ijsKoud deleted the renovate/all-minor-patch branch November 13, 2022 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant