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 #13

Merged
merged 1 commit into from
May 10, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 21, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@commitlint/cli (source) 19.2.2 -> 19.3.0 age adoption passing confidence
@prisma/client (source) 5.12.1 -> 5.13.0 age adoption passing confidence
@types/node (source) 20.12.7 -> 20.12.11 age adoption passing confidence
@types/react (source) 18.2.79 -> 18.3.1 age adoption passing confidence
@types/react-dom (source) 18.2.25 -> 18.3.0 age adoption passing confidence
@typescript-eslint/eslint-plugin (source) 7.7.0 -> 7.8.0 age adoption passing confidence
@typescript-eslint/parser (source) 7.7.0 -> 7.8.0 age adoption passing confidence
clsx 2.1.0 -> 2.1.1 age adoption passing confidence
dotenv-cli 7.4.1 -> 7.4.2 age adoption passing confidence
eslint-config-next (source) 14.1.4 -> 14.2.3 age adoption passing confidence
lru-cache 10.2.0 -> 10.2.2 age adoption passing confidence
next (source) 14.1.4 -> 14.2.3 age adoption passing confidence
prisma (source) 5.12.1 -> 5.13.0 age adoption passing confidence
react (source) 18.2.0 -> 18.3.1 age adoption passing confidence
react-dom (source) 18.2.0 -> 18.3.1 age adoption passing confidence
react-icons 5.1.0 -> 5.2.1 age adoption passing confidence
sass 1.75.0 -> 1.77.0 age adoption passing confidence
zod (source) 3.22.4 -> 3.23.8 age adoption passing confidence

Release Notes

conventional-changelog/commitlint (@​commitlint/cli)

v19.3.0

Compare Source

Note: Version bump only for package @​commitlint/cli

19.2.2 (2024-04-14)

Note: Version bump only for package @​commitlint/cli

19.2.1 (2024-03-19)

Note: Version bump only for package @​commitlint/cli

prisma/prisma (@​prisma/client)

v5.13.0

Compare Source

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

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

Highlights
omit fields from Prisma Client queries (Preview)

We’re excited to announce Preview support for the omit option within the Prisma Client query options. The highly-requested omit feature now allows you to exclude fields that you don’t want to retrieve from the database on a per-query basis.

By default, when a query returns records, the result includes all scalar fields of the models defined in the Prisma schema. select can be used to return specific fields, while omit can now be used to exclude specific fields. omit lives at the same API level and works on all of the same Prisma Client model queries as select. Note, however, that omit and select are mutually exclusive. In other words, you can’t use both in the same query.

To get started using omit, enable the omitApi Preview feature in your Prisma schema:

// schema.prisma
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["omitApi"]
}

Be sure to re-generate Prisma Client afterwards:

npx prisma generate

Here is an example of using omit:

// Includes all fields except password
await prisma.user.findMany({
  omit: {
   password: true
  },
})

Here is an example of using omit with include:

// Includes all user fields except user's password and title of user's posts
await prisma.user.findMany({
  omit: {
   password: true
  },
  include: {
    posts: {
      omit: {
        title: true
      },
    },
  },
})
Expand to view the example Prisma schema
model User {
  id       Int     @​id @​default(autoincrement())
  email    String  @​unique
  name     String?
  password String
  posts    Post[]
}

model Post {
  id       Int    @​id @​default(autoincrement())
  title    String
  author   User   @​relation(fields: [authorId], references: [id])
  authorId Int
}

Many users have requested a global implementation of omit. This request will be accommodated in the future. In the meantime, you can follow the issue here.

📣 Share your feedback: omitApi Preview feature

📚 Documentation: omit - Prisma Client API Reference

Fixes and improvements
Prisma Migrate
Prisma Client
Credits

Huge thanks to @​ospfranco, @​pranayat, @​yubrot, @​skyzh, @​anuraaga, @​yehonatanz, @​arthurfiorette, @​elithrar, @​tockn, @​Kuhave, @​obiwac for helping!

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v7.8.0

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unsafe-argument] handle tagged templates

  • eslint-plugin: [prefer-optional-chain] suggests optional chaining during strict null equality check

  • eslint-plugin: [consistent-type-assertions] handle tagged templates

  • eslint-plugin: [no-unsafe-return] handle union types

  • eslint-plugin: [no-unused-vars] clear error report range

❤️ Thank You
  • auvred
  • Josh Goldberg ✨
  • jsfm01
  • Kim Sang Du
  • YeonJuan

You can read about our versioning strategy and releases on our website.

v7.7.1

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment

  • eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type

  • eslint-plugin: [prefer-optional-chain] only look at left operand for requireNullish

  • eslint-plugin: [no-for-in-array] refine report location

  • eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type

❤️ Thank You
  • Abraham Guo
  • Kirk Waiblinger
  • YeonJuan

You can read about our versioning strategy and releases on our website.

typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v7.8.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v7.7.1

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

lukeed/clsx (clsx)

v2.1.1

Compare Source

Patches

Chores

  • Add licenses.dev badge: 684509c
    This service recursively analyzes entire dependency graphs to ensure that a package (or your project) is using permissive licenses. For example, here's a results table for polka@next and a larger astro example.

Full Changelog: lukeed/clsx@v2.1.0...v2.1.1

entropitor/dotenv-cli (dotenv-cli)

v7.4.2

Compare Source

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

v14.2.3

Compare Source

v14.2.2

Compare Source

v14.2.1

Compare Source

v14.2.0

Compare Source

isaacs/node-lru-cache (lru-cache)

v10.2.2

Compare Source

v10.2.1

Compare Source

vercel/next.js (next)

v14.2.3

Compare Source

v14.2.2

Compare Source

v14.2.1

Compare Source

v14.2.0

Compare Source

facebook/react (react)

v18.3.1

Compare Source

v18.3.0

Compare Source

facebook/react (react-dom)

v18.3.1

Compare Source

v18.3.0

Compare Source

react-icons/react-icons (react-icons)

v5.2.1

Compare Source

What's Changed

Full Changelog: react-icons/react-icons@v5.2.0...v5.2.1

Icon Library License Version Count
Circum Icons MPL-2.0 license 1.0.0 288
Font Awesome 5 CC BY 4.0 License 5.15.4-3-gafecf2a 1612
Font Awesome 6 CC BY 4.0 License 6.5.2 2045
Ionicons 4 MIT 4.6.3 696
Ionicons 5 MIT 5.5.4 1332
Material Design icons Apache License Version 2.0 4.0.0-98-g9beae745bb 4341
Typicons CC BY-SA 3.0 2.1.2 336
Github Octicons icons MIT 18.3.0 264
Feather MIT 4.29.1 287
Lucide ISC v5.2.1 1215
Game Icons CC BY 3.0 12920d6 4040
Weather Icons SIL OFL 1.1 2.0.12 219
Devicons MIT 1.8.0 192
Ant Design Icons MIT 4.4.2 831
Bootstrap Icons MIT 1.11.3 2716
Remix Icon Apache License Version 2.0 4.2.0 2860
Flat Color Icons MIT 1.0.2 329
Grommet-Icons Apache License Version 2.0 4.12.1 635
Heroicons MIT 1.0.6 460
Heroicons 2 MIT 2.1.3 888
Simple Icons CC0 1.0 Universal 11.14.0 3124
Simple Line Icons MIT 2.5.5 189
IcoMoon Free CC BY 4.0 License d006795 491
BoxIcons MIT 2.1.4 1634
css.gg MIT 2.1.1 704
VS Code Icons CC BY 4.0 0.0.35 461
Tabler Icons MIT 3.2.0 5237
Themify Icons MIT v0.1.2-2-g9600186 352
Radix Icons MIT @​radix-ui/react-icons@​1.3.0-1-g94b3fcf 318
Phosphor Icons MIT 2.1.1 9072
Icons8 Line Awesome MIT 1.3.1 1544

v5.2.0

Compare Source

What's Changed

Full Changelog: react-icons/react-icons@v5.1.0...v5.2.0

Icon Library License Version Count
Circum Icons MPL-2.0 license 1.0.0 288
Font Awesome 5 CC BY 4.0 License 5.15.4-3-gafecf2a 1612
Font Awesome 6 CC BY 4.0 License 6.5.2 2045
Ionicons 4 MIT 4.6.3 696
Ionicons 5 MIT 5.5.4 1332
Material Design icons Apache License Version 2.0 4.0.0-98-g9beae745bb 4341
Typicons CC BY-SA 3.0 2.1.2 336
Github Octicons icons MIT 18.3.0 264
Feather MIT 4.29.1 287
Lucide ISC v5.2.0 1215
Game Icons CC BY 3.0 12920d6 4040
Weather Icons SIL OFL 1.1 2.0.12 219
Devicons MIT 1.8.0 192
Ant Design Icons MIT 4.4.2 831
Bootstrap Icons MIT 1.11.3 2716
Remix Icon Apache License Version 2.0 4.2.0 2860
Flat Color Icons MIT 1.0.2 329
Grommet-Icons Apache License Version 2.0 4.12.1 635
Heroicons MIT 1.0.6 460
Heroicons 2 MIT 2.1.3 888
Simple Icons CC0 1.0 Universal 11.14.0 3124
Simple Line Icons MIT 2.5.5 189
IcoMoon Free CC BY 4.0 License d006795 491
BoxIcons MIT 2.1.4 1634
css.gg MIT 2.1.1 704
VS Code Icons CC BY 4.0 0.0.35 461
Tabler Icons MIT 3.2.0 5237
Themify Icons MIT v0.1.2-2-g9600186 352
Radix Icons MIT @​radix-ui/react-icons@​1.3.0-1-g94b3fcf 318
Phosphor Icons MIT 2.1.1 9072
Icons8 Line Awesome MIT 1.3.1 1544
sass/dart-sass (sass)

v1.77.0

Compare Source

  • Don't throw errors for at-rules in keyframe blocks.

v1.76.0

Compare Source

  • Throw errors for misplaced statements in keyframe blocks.

  • Mixins and functions whose names begin with -- are now deprecated for
    forwards-compatibility with the in-progress CSS functions and mixins spec.
    This deprecation is named css-function-mixin.

colinhacks/zod (zod)

v3.23.8

Compare Source

Commits:

v3.23.7

Compare Source

v3.23.6

Compare Source

v3.23.5

Compare Source

v3.23.4

Compare Source

Commits:

v3.23.3

Compare Source

v3.23.2

Compare Source

Commits:

v3.23.1

Compare Source

v3.23.0

Compare Source

Zod 3.23 is now available. This is the final 3.x release before Zod 4.0. To try it out:

npm install zod

Features

z.string().date()

Zod can now validate ISO 8601 date strings. Thanks @​igalklebanov! https://github.com/colinhacks/zod/pull/1766

const schema = z.string().date();
schema.parse("2022-01-01"); // OK
z.string().time()

Zod can now validate ISO 8601 time strings. Thanks @​igalklebanov! https://github.com/colinhacks/zod/pull/1766

const schema = z.string().time();
schema.parse("12:00:00"); // OK

You can specify sub-second precision using the precision option:

const schema = z.string().time({ precision: 3 });
schema.parse("12:00:00.123"); // OK
schema.parse("12:00:00.123456"); // Error
schema.parse("12:00:00"); // Error
z.string().duration()

Zod can now validate ISO 8601 duration strings. Thanks @​mastermatt! https://github.com/colinhacks/zod/pull/3265

const schema = z.string().duration();
schema.parse("P3Y6M4DT12H30M5S"); // OK
Improvements to z.string().datetime()

Thanks @​bchrobot https://github.com/colinhacks/zod/pull/2522

You can now allow unqualified (timezone-less) datetimes using the local: true flag.

const schema = z.string().datetime({ local: true });
schema.parse("2022-01-01T12:00:00"); // OK

Plus, Zod now validates the day-of-month correctly to ensure no invalid dates (e.g. February 30th) pass validation. Thanks @​szamanr! https://github.com/colinhacks/zod/pull/3391

z.string().base64()

Zod can now validate base64 strings. Thanks @​StefanTerdell! https://github.com/colinhacks/zod/pull/3047

const schema = z.string().base64();
schema.parse("SGVsbG8gV29ybGQ="); // OK
Improved discriminated unions

The following can now be used as discriminator keys in z.discriminatedUnion():

  • ZodOptional
  • ZodNullable
  • ZodReadonly
  • ZodBranded
  • ZodCatch
const schema = z.discriminatedUnion("type", [
  z.object({ type: z.literal("A").optional(), value: z.number() }),
  z.object({ type: z.literal("B").nullable(), value: z.string() }),
  z.object({ type: z.literal("C").readonly(), value: z.boolean() }),
  z.object({ type: z.literal("D").brand<"D">(), value: z.boolean() }),
  z.object({ type: z.literal("E").catch("E"), value: z.unknown() }),
]);
Misc

Breaking changes

There are no breaking changes to the public API of Zod. However some changes can impact ecosystem tools that rely on Zod internals.

ZodFirstPartySchemaTypes

Three new types have been added to the ZodFirstPartySchemaTypes union. This may impact some codegen libraries. https://github.com/colinhacks/zod/pull/3247

+  | ZodPipeline<any, any>
+  | ZodReadonly<any>
+  | ZodSymbol;
Default generics in ZodType

The third argument of the ZodType base class now defaults to unknown. This makes it easier to define recursive schemas and write generic functions that accept Zod schemas.

- class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = Output> {}
+ class ZodType<Output = unknown, Def extends ZodTypeDef = ZodTypeDef, Input = unknown> {}
Unrecognized keys in .pick() and .omit()

This version fixes a bug where unknown keys were accidentally accepted in .pick() and omit(). This has been fixed, which could cause compiler errors in some user code. https://github.com/colinhacks/zod/pull/3255

z.object({ 
  name: z.string() 
}).pick({
  notAKey: true // no longer allowed
})

Bugfixes and performance

Docs and ecosystem

New Contributors


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" in timezone Asia/Jakarta, 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 Apr 21, 2024

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

Name Status Preview Comments Updated (UTC)
link ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 8, 2024 7:51pm

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from f9cc91a to 9d18bcd Compare April 22, 2024 01:32
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 9d18bcd to 71773d9 Compare April 22, 2024 18:01
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 71773d9 to 9d74986 Compare April 23, 2024 00:42
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 9d74986 to 021bdb9 Compare April 23, 2024 04:48
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 021bdb9 to 98d6571 Compare April 23, 2024 06:47
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 98d6571 to a8f426a Compare April 23, 2024 13:27
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from a8f426a to 6dd3e77 Compare April 23, 2024 19:52
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 6dd3e77 to 166c670 Compare April 24, 2024 20:00
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 166c670 to 30d8980 Compare April 25, 2024 08:01
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 30d8980 to 533cc24 Compare April 25, 2024 17:33
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 533cc24 to d7ca46d Compare April 25, 2024 23:04
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from d7ca46d to 19698f8 Compare April 26, 2024 20:26
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 19698f8 to 96b5b6b Compare April 26, 2024 22:07
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 96b5b6b to 1ae9f31 Compare April 28, 2024 23:24
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 1ae9f31 to 11064e2 Compare April 29, 2024 19:43
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 11064e2 to 054e8a3 Compare April 29, 2024 22:27
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 054e8a3 to 4ce270a Compare April 30, 2024 21:55
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 4ce270a to 8ca528a Compare May 1, 2024 03:45
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 8ca528a to bb31119 Compare May 1, 2024 19:18
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from bb31119 to 212c156 Compare May 3, 2024 03:20
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 212c156 to 2c93180 Compare May 6, 2024 15:05
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 2c93180 to 3cf250d Compare May 6, 2024 20:34
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 3cf250d to 6dcff43 Compare May 7, 2024 01:50
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 6dcff43 to 13283ce Compare May 7, 2024 15:03
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 13283ce to 7588d75 Compare May 7, 2024 23:06
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 7588d75 to 23e6619 Compare May 8, 2024 13:14
@ccrsxx ccrsxx merged commit cdc7598 into main May 10, 2024
5 checks passed
@ccrsxx ccrsxx deleted the renovate/all-minor-patch branch May 10, 2024 17:20
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