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

Update all dependencies #40

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Update all dependencies #40

merged 1 commit into from
Apr 18, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 22, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@neondatabase/serverless (source) 0.9.0 -> 0.9.1 age adoption passing confidence dependencies patch
@prisma/adapter-neon (source) 5.11.0 -> 5.12.1 age adoption passing confidence dependencies minor
@prisma/client (source) 5.11.0 -> 5.12.1 age adoption passing confidence dependencies minor
@types/aws-lambda (source) 8.10.136 -> 8.10.137 age adoption passing confidence devDependencies patch
@types/node (source) 20.11.30 -> 20.12.7 age adoption passing confidence devDependencies minor
@types/react (source) 18.2.67 -> 18.2.79 age adoption passing confidence devDependencies patch
@types/react-dom (source) 18.2.22 -> 18.2.25 age adoption passing confidence devDependencies patch
KengoTODA/actions-setup-docker-compose v1.2.1 -> v1.2.2 age adoption passing confidence action patch
eslint-config-next (source) 14.1.4 -> 14.2.2 age adoption passing confidence devDependencies minor
eslint-plugin-sonarjs ^0.24.0 -> ^0.25.0 age adoption passing confidence devDependencies minor
geist (source) 1.2.2 -> 1.3.0 age adoption passing confidence dependencies minor
glob 10.3.10 -> 10.3.12 age adoption passing confidence devDependencies patch
lucide-react (source) ^0.360.0 -> ^0.371.0 age adoption passing confidence dependencies minor
next (source) 14.1.4 -> 14.2.2 age adoption passing confidence dependencies minor
prisma (source) 5.11.0 -> 5.12.1 age adoption passing confidence devDependencies minor
sharp (source, changelog) 0.33.2 -> 0.33.3 age adoption passing confidence dependencies patch
tailwindcss (source) 3.4.1 -> 3.4.3 age adoption passing confidence devDependencies patch
typescript (source) 5.4.3 -> 5.4.5 age adoption passing confidence devDependencies patch
vitest (source) 1.4.0 -> 1.5.0 age adoption passing confidence devDependencies minor

Release Notes

neondatabase/serverless (@​neondatabase/serverless)

v0.9.1

Compare Source

prisma/prisma (@​prisma/adapter-neon)

v5.12.1

Compare Source

Today, we are issuing the 5.12.1 patch release to fix two small problems with our new Cloudflare D1 support.

Fixes in Prisma CLI

Windows-only fix for new D1 specific flags for migrate diff and db pull

The flags --from-local-d1 and --to-local-d1 for migrate diff and --local-d1 to db pull we added in 5.12.0 were not working as expected when running on Windows only. This is now fixed.

📚 Documentation: Deploying a Cloudflare worker with D1 and Prisma ORM

New option for migrate diff: -o or --output

We added a new parameter --output to migrate diff that can be used to provide a filename into which the output of the command will be written. This is particularly useful for Windows users, using PowerShell, as using > to write into a file creates a UTF-16 LE file that can not be read by wrangler d1 migrations apply. Using this new option, this problem can be avoided:

npx prisma migrate diff --script --from-empty --to-schema-datamodel ./prisma/schema.prisma --output ./schema.sql

Related issues:

v5.12.0

Compare Source

Today, we are excited to share the 5.12.0 stable release 🎉

🌟 Help us spread the word about Prisma by starring the repo or posting on X about the release.

Highlights

Cloudflare D1 (Preview)

This release brings Preview support for Cloudflare D1 with Prisma ORM 🥳

D1 is Cloudflare’s SQLite database that can be used when deploying applications with Cloudflare.

When using Prisma ORM with D1, you can continue to: model your database with Prisma schema language, specify sqlite as your database provider in your Prisma schema, and interact with your database using Prisma Client.

To use Prisma ORM and D1 on Cloudflare Workers or Cloudflare Pages, you need to set sqlite as your database provider and use the @prisma/adapter-d1 database adapter via the driverAdapters Preview feature, released back in version 5.4.0.

Here is an example of sending a query to your D1 database using Prisma Client in your Worker:

// src/index.ts file
import { PrismaClient } from '@​prisma/client'
import { PrismaD1 } from '@​prisma/adapter-d1'

// Add the D1Database to the Env interface
export interface Env {
// This must match the binding name defined in your wrangler.toml configuration
  DB: D1Database
}

export default {
  async fetch(
    request: Request,
    env: Env,
    ctx: ExecutionContext
  ): Promise<Response> {
    // Make sure the database name matches the binding name in wrangler.toml and Env interface
    const adapter = new PrismaD1(env.DB)
    // Instantiate PrismaClient using the PrismaD1 driver adapter
    const prisma = new PrismaClient({ adapter })

    const users = await prisma.user.findMany()
    const result = JSON.stringify(users)
    return new Response(result)
  },
}

📚 Documentation: D1 Documentation

✍️ Blog post: Build Applications at the Edge with Prisma ORM & Cloudflare D1 (Preview)

📣 Share your feedback: D1 Driver Adapter

🚀 Example project: Deploy a Cloudflare Worker with D1

createMany() for SQLite

Bringing support for createMany() in SQLite has been a long-awaited feature

createMany() is a method on Prisma Client, released back in version 2.16.0, that lets you insert multiple records into your database at once. This can be really useful when seeding your database or inserting bulk data.

Here is an example of using createMany() to create new users:

const users = await prisma.user.createMany({
  data: [
    { name: 'Sonali', email: '[email protected]' },
    { name: 'Alex', email: '[email protected]' },
    { name: 'Yewande', email: '[email protected]' },
    { name: 'Angelina', email: '[email protected]' },
  ],
})

Before this release, if you wanted to perform bulk inserts with SQLite, you would have most likely used $queryRawUnsafe to execute raw SQL queries. But now you don’t have to go through all that trouble 🙂

With SQLite, createMany() works exactly the same way from an API standpoint as it does with other databases except it does not support the skipDuplicates option. At the behavior level, SQLite will split createMany() entries into multiple INSERT queries when the model in your schema contains fields with attributes like @default(dbgenerated()) or @default(autoincrement()) and when the fields are not consistently provided with values across the entries.

📚Documentation: createMany() - Prisma Client API Reference

Fixes and Improvements

Prisma Client

Credits

Huge thanks to @​yubrot, @​skyzh, @​anuraaga, @​onichandame, @​LucianBuzzo, @​RobertCraigie, @​arthurfiorette, @​elithrar for helping!

KengoTODA/actions-setup-docker-compose (KengoTODA/actions-setup-docker-compose)

v1.2.2

Compare Source

Bug Fixes
vercel/next.js (eslint-config-next)

v14.2.2

Compare Source

v14.2.1

Compare Source

v14.2.0

Compare Source

SonarSource/eslint-plugin-sonarjs (eslint-plugin-sonarjs)

v0.25.1

Compare Source

What's Changed
New Contributors

Full Changelog: SonarSource/eslint-plugin-sonarjs@0.25.0...0.25.1

v0.25.0

Compare Source

What's Changed

New Contributors

Full Changelog: SonarSource/eslint-plugin-sonarjs@0.24.0...0.25.0

vercel/geist-font (geist)

v1.3.0

Compare Source

Changelog

  • Improved drawing quality of base letters, numbers, diacritics.
  • Heaviest master x-height raised for better optical compensation.
  • Extended kerning to accented letters.
  • Improved drawing quality of base glyphs
  • Fixed vertical caron design
  • Added missing box drawing character https://github.com/vercel/geist-font/issues/64
  • Set Regular master as default instance https://github.com/vercel/geist-font/issues/68
  • Fixed size of ordfemenine and ordmasculine
  • Removed unnecesary full width punctuation
  • Fixed width of small figures
  • Improved set up for auto hinting
  • Fixed Vertical metrics to avoid clipping on Windows
  • Small drawing fixes in other glyphs
isaacs/node-glob (glob)

v10.3.12

Compare Source

v10.3.11

Compare Source

lucide-icons/lucide (lucide-react)

v0.371.0: New icons 0.371.0

Compare Source

New icons 🎨

v0.370.0: New icons 0.370.0

Compare Source

Modified Icons 🔨

v0.369.0: New icons 0.369.0

Compare Source

New icons 🎨
Modified Icons 🔨

v0.368.0: New icons 0.368.0

Compare Source

Modified Icons 🔨

v0.367.0: New icons 0.367.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.366.0: New icons 0.366.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.365.0: New icons 0.365.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.364.0: New icons 0.364.0

Compare Source

New icons 🎨

Modified Icons 🔨

v0.363.0: New icons 0.363.0

Compare Source

Modified Icons 🔨

v0.362.0: New icons 0.362.0

Compare Source

Modified Icons 🔨

v0.361.0: New icons 0.361.0

Compare Source

Modified Icons 🔨

vercel/next.js (next)

v14.2.2

Compare Source

v14.2.1

Compare Source

v14.2.0

Compare Source

lovell/sharp (sharp)

v0.33.3

Compare Source

tailwindlabs/tailwindcss (tailwindcss)

v3.4.3

Compare Source

v3.4.2

Compare Source

Fixed
  • Ensure max specificity of 0,0,1 for button and input Preflight rules (#​12735)
  • Improve glob handling for folders with (, ), [ or ] in the file path (#​12715)
  • Split :has rules when using experimental.optimizeUniversalDefaults (#​12736)
  • Sort arbitrary properties alphabetically across multiple class lists (#​12911)
  • Add mix-blend-plus-darker utility (#​12923)
  • Ensure dashes are allowed in variant modifiers (#​13303)
  • Fix crash showing completions in Intellisense when using a custom separator (#​13306)
  • Transpile import.meta.url in config files (#​13322)
  • Reset letter spacing for form elements (#​13150)
  • Fix missing xx-large and remove double x-large absolute size (#​13324)
  • Don't error when encountering nested CSS unless trying to @apply a class that uses nesting (#​13325)
  • Ensure that arbitrary properties respect important configuration (#​13353)
  • Change dark mode selector so @apply works correctly with pseudo elements (#​13379)
Microsoft/TypeScript (typescript)

v5.4.5: TypeScript 5.4.5

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

v5.4.4: TypeScript 5.4.4

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

vitest-dev/vitest (vitest)

v1.5.0

Compare Source


Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (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.

Copy link

vercel bot commented Mar 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
nuggets-center ⬜️ Ignored (Inspect) Visit Preview Apr 18, 2024 6:28pm

@renovate renovate bot force-pushed the renovate/all branch 11 times, most recently from cbc9a6b to a0eb004 Compare March 30, 2024 06:25
@renovate renovate bot force-pushed the renovate/all branch 11 times, most recently from 8b68b6c to 2a0c4ae Compare April 7, 2024 07:19
@renovate renovate bot force-pushed the renovate/all branch 7 times, most recently from 9a6eb83 to 5519cd9 Compare April 11, 2024 19:02
@renovate renovate bot force-pushed the renovate/all branch 9 times, most recently from 463eb70 to 8b84cc6 Compare April 18, 2024 11:44
@tobyrushton tobyrushton merged commit 72f085f into main Apr 18, 2024
5 checks passed
@tobyrushton tobyrushton deleted the renovate/all branch April 18, 2024 18:30
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.

1 participant