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

[Snyk] Upgrade: , , , , , , , , , , , , , , , , embla-carousel-react, framer-motion, lucide-react, next, react-hook-form, react-icons, react-spinners, resend, tailwind-merge, zustand #6

Closed

Conversation

David-Besse
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade multiple dependencies.

👯 The following dependencies are linked and will therefore be updated together.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

Name Versions Released on

@hookform/resolvers
from 3.6.0 to 3.9.0 | 3 versions ahead of your current version | 2 months ago
on 2024-07-05
@prisma/client
from 5.15.0 to 5.18.0 | 234 versions ahead of your current version | a month ago
on 2024-08-06
@radix-ui/react-slot
from 1.0.2 to 1.1.0 | 8 versions ahead of your current version | 3 months ago
on 2024-06-19
@radix-ui/react-dialog
from 1.0.5 to 1.1.1 | 18 versions ahead of your current version | 3 months ago
on 2024-06-21
@radix-ui/react-alert-dialog
from 1.0.5 to 1.1.1 | 17 versions ahead of your current version | 3 months ago
on 2024-06-21
@radix-ui/react-avatar
from 1.0.4 to 1.1.0 | 8 versions ahead of your current version | 3 months ago
on 2024-06-19
@radix-ui/react-checkbox
from 1.0.4 to 1.1.1 | 10 versions ahead of your current version | 3 months ago
on 2024-06-28
@radix-ui/react-dropdown-menu
from 2.0.6 to 2.1.1 | 21 versions ahead of your current version | 3 months ago
on 2024-06-21
@radix-ui/react-label
from 2.0.2 to 2.1.0 | 15 versions ahead of your current version | 3 months ago
on 2024-06-19
@radix-ui/react-navigation-menu
from 1.1.4 to 1.2.0 | 18 versions ahead of your current version | 3 months ago
on 2024-06-19
@radix-ui/react-progress
from 1.0.3 to 1.1.0 | 8 versions ahead of your current version | 3 months ago
on 2024-06-19
@radix-ui/react-select
from 2.0.0 to 2.1.1 | 22 versions ahead of your current version | 3 months ago
on 2024-06-21
@radix-ui/react-switch
from 1.0.3 to 1.1.0 | 8 versions ahead of your current version | 3 months ago
on 2024-06-19
@radix-ui/react-tooltip
from 1.0.7 to 1.1.2 | 22 versions ahead of your current version | 3 months ago
on 2024-06-28
@t3-oss/env-nextjs
from 0.9.2 to 0.11.1 | 5 versions ahead of your current version | 23 days ago
on 2024-08-25
@types/lodash
from 4.17.5 to 4.17.7 | 2 versions ahead of your current version | 2 months ago
on 2024-07-16
embla-carousel-react
from 8.1.5 to 8.2.0 | 4 versions ahead of your current version | a month ago
on 2024-08-20
framer-motion
from 11.2.10 to 11.3.30 | 66 versions ahead of your current version | 25 days ago
on 2024-08-23
lucide-react
from 0.363.0 to 0.436.0 | 67 versions ahead of your current version | 23 days ago
on 2024-08-25
next
from 14.2.0 to 14.2.6 | 14 versions ahead of your current version | a month ago
on 2024-08-21
react-hook-form
from 7.51.5 to 7.53.0 | 4 versions ahead of your current version | 24 days ago
on 2024-08-24
react-icons
from 5.2.1 to 5.3.0 | 1 version ahead of your current version | a month ago
on 2024-08-13
react-spinners
from 0.13.8 to 0.14.1 | 2 versions ahead of your current version | 3 months ago
on 2024-06-26
resend
from 3.3.0 to 3.5.0 | 2 versions ahead of your current version | 2 months ago
on 2024-07-22
tailwind-merge
from 2.3.0 to 2.5.2 | 28 versions ahead of your current version | a month ago
on 2024-08-12
zustand
from 4.5.2 to 4.5.5 | 3 versions ahead of your current version | a month ago
on 2024-08-15

Release notes
Package name: @hookform/resolvers
  • 3.9.0 - 2024-07-05

    3.9.0 (2024-07-05)

    Features

    • fluentvalidation-ts: add fluentvalidation-ts resolver (#702) (5fc1e63)
    import { useForm } from 'react-hook-form';
    import { fluentValidationResolver } from '@ hookform/resolvers/fluentvalidation-ts';
    import { Validator } from 'fluentvalidation-ts';

    class FormDataValidator extends Validator<FormData> {
    constructor() {
    super();

    <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">ruleFor</span><span class="pl-kos">(</span><span class="pl-s">'username'</span><span class="pl-kos">)</span>
      <span class="pl-kos">.</span><span class="pl-en">notEmpty</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
      <span class="pl-kos">.</span><span class="pl-en">withMessage</span><span class="pl-kos">(</span><span class="pl-s">'username is a required field'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
    <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">ruleFor</span><span class="pl-kos">(</span><span class="pl-s">'password'</span><span class="pl-kos">)</span>
      <span class="pl-kos">.</span><span class="pl-en">notEmpty</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
      <span class="pl-kos">.</span><span class="pl-en">withMessage</span><span class="pl-kos">(</span><span class="pl-s">'password is a required field'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
    

    }
    }

    const App = () => {
    const { register, handleSubmit } = useForm({
    resolver: fluentValidationResolver(new FormDataValidator()),
    });

    return (
    <form onSubmit={handleSubmit((d) => console.log(d))}>
    <input {...register('username')} />
    {errors.username && <span role="alert">{errors.username.message}</span>}
    <input {...register('password')} />
    {errors.password && <span role="alert">{errors.password.message}</span>}
    <button type="submit">submit</button>
    </form>
    );
    };




  • 3.8.0 - 2024-07-05

    3.8.0 (2024-07-05)

    Features

    • add typeschema resolver (#699) (18e423f), closes #693
    • typeboxResolver: make TypeBox resolver work with compiled schema (#674) (e8e0f80)
  • 3.7.0 - 2024-07-02

    3.7.0 (2024-07-02)

    Bug Fixes

    • zodResolver: cannot read properties of undefined (reading 'length') (a3e50c6)
    • chore: update valibot dependency to version >=0.33.0 (#695)

    Features

    import { useForm } from 'react-hook-form';
    import { vineResolver } from '@ hookform/resolvers/vine';
    import vine from '@ vinejs/vine';

    const schema = vine.compile(
    vine.object({
    username: vine.string().minLength(1),
    password: vine.string().minLength(1),
    }),
    );

    const App = () => {
    const { register, handleSubmit } = useForm({
    resolver: vineResolver(schema),
    });

    return (
    <form onSubmit={handleSubmit((d) => console.log(d))}>
    <input {...register('username')} />
    {errors.username && <span role="alert">{errors.username.message}</span>}
    <input {...register('password')} />
    {errors.password && <span role="alert">{errors.password.message}</span>}
    <button type="submit">submit</button>
    </form>
    );
    };




  • 3.6.0 - 2024-06-06

    3.6.0 (2024-06-06)

    Features

    • upgrade and migrate Valibot to v0.31.0 (#688) (bdd5ef5)
from @hookform/resolvers GitHub release notes
Package name: @prisma/client
  • 5.18.0 - 2024-08-06

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

    Highlights

    Native support for UUIDv7

    Previous to this release, the Prisma Schema function uuid() did not accept any arguments and created a UUIDv4 ID. While sufficient in many cases, UUIDv4 has a few drawbacks, namely that it is not temporally sortable.

    UUIDv7 attempts to resolve this issue, making it easy to temporally sort your database rows by ID!

    To support this, we’ve updated the uuid() function in Prisma Schema to accept an optional, integer argument. Right now, the only valid values are 4 and 7, with 4 being the default.

    model User {
    id String @id @default(uuid()) // defaults to 4
    name String
    }

    model User {
    id String @id @default(uuid(4)) // same as above, but explicit
    name String
    }

    model User {
    id String @id @default(uuid(7)) // will use UUIDv7 instead of UUIDv4
    name String
    }

    Bug squashing

    We’ve squashed a number of bugs this release, special thanks to everyone who helped us! A few select highlights are:

    Fixes and improvements

    Prisma

    Language tools (e.g. VS Code)

    Share your feedback about Prisma ORM

    We want to know how you like working with Prisma ORM in your projects! Please take our 2min survey and let us know what you like or where we can improve 🙏

    Credits

    Huge thanks to @ mcuelenaere, @ pagewang0, @ Druue, @ key-moon, @ Jolg42, @ pranayat, @ ospfranco, @ yubrot, @ skyzh, @ haaawk for helping!

  • 5.18.0-integration-revert-24949-fix-ts-version.1 - 2024-08-06
  • 5.18.0-integration-fix-config-dir-client.5 - 2024-07-19
  • 5.18.0-integration-fix-config-dir-client.4 - 2024-07-19
  • 5.18.0-integration-fix-config-dir-client.3 - 2024-07-19
  • 5.18.0-integration-fix-config-dir-client.2 - 2024-07-17
  • 5.18.0-integration-fix-config-dir-client.1 - 2024-07-17
  • 5.18.0-integration-feat-typed-sql.9 - 2024-08-05
  • 5.18.0-integration-feat-typed-sql.8 - 2024-08-05
  • 5.18.0-integration-feat-typed-sql.7 - 2024-08-02
  • 5.18.0-integration-feat-typed-sql.6 - 2024-08-02
  • 5.18.0-integration-feat-typed-sql.5 - 2024-08-02
  • 5.18.0-integration-feat-typed-sql.4 - 2024-08-02
  • 5.18.0-integration-feat-typed-sql.3 - 2024-08-02
  • 5.18.0-integration-feat-typed-sql.2 - 2024-07-29
  • 5.18.0-integration-feat-typed-sql.1 - 2024-07-29
  • 5.18.0-integration-engines-5-18-0-9-feat-gh-actions-0b3765edade679247b3c9856bcabbcdc1736853e.1 - 2024-07-19
  • 5.18.0-integration-engines-5-18-0-7-feat-gh-actions-462cf67beffd0cc97802a8034d58a38ec9c58b99.1 - 2024-07-17
  • 5.18.0-integration-engines-5-18-0-6-feat-gh-actions-19bafc70f9e564e8f5792bd8a9cd4bad4df5748e.1 - 2024-07-17
  • 5.18.0-integration-engines-5-18-0-5-feat-gh-actions-5f2a1d1133b515a5b4cbf1b17ef011a9fe22b559.1 - 2024-07-17
  • 5.18.0-integration-engines-5-18-0-4-feat-gh-actions-db4307dd3283e239e498436ea27707d22af180f3.1 - 2024-07-17
  • 5.18.0-integration-engines-5-18-0-3-feat-gh-actions-3d6f612a21393259032d9b8630f4b621b4f3c32f.1 - 2024-07-17
  • 5.18.0-integration-engines-5-18-0-26-feat-introspect-sql-4dcdf8b8304815e12f4af0e41837efb42c98e9b7.1 - 2024-08-02
  • 5.18.0-integration-engines-5-18-0-24-integration-fix-d1-int64-46841fc537adb365fc503b23779c98a19ac9835d.2 - 2024-07-31
  • 5.18.0-integration-engines-5-18-0-24-integration-fix-d1-int64-46841fc537adb365fc503b23779c98a19ac9835d.1 - 2024-07-31
  • 5.18.0-integration-engines-5-18-0-20-feat-introspect-sql-b2b600c154792b1859dfb09b93d383681a1b2bf0.1 - 2024-07-29
  • 5.18.0-integration-engines-5-18-0-2-feat-gh-actions-5ed0cbc35ff1fdd02f7d09f7819a213f9b5e6b9f.1 - 2024-07-16
  • 5.18.0-integration-engines-5-18-0-14-integration-test-gh-branch-555baf1ea1fca8f73cebed665b226cf3b8c4798b.2 - 2024-07-22
  • 5.18.0-integration-engines-5-18-0-14-integration-test-gh-branch-555baf1ea1fca8f73cebed665b226cf3b8c4798b.1 - 2024-07-22
  • 5.18.0-integration-engines-5-18-0-12-improve-quaint-column-type-331a7dd91f2553e6a77b58649b55472bca4fa225.1 - 2024-07-22
  • 5.18.0-integration-engines-5-17-0-4-feat-remove-actors-attempt-2-e7f608ab076eda9e1264e600ce3a140f0bc06bbe.1 - 2024-07-31
  • 5.18.0-dev.14 - 2024-08-06
  • 5.18.0-dev.13 - 2024-08-05
  • 5.18.0-dev.12 - 2024-08-05
  • 5.18.0-dev.11 - 2024-08-02
  • 5.18.0-dev.10 - 2024-07-24
  • 5.18.0-dev.9 - 2024-07-24
  • 5.18.0-dev.8 - 2024-07-23
  • 5.18.0-dev.7 - 2024-07-23
  • 5.18.0-dev.6 - 2024-07-22
  • 5.18.0-dev.5 - 2024-07-22
  • 5.18.0-dev.4 - 2024-07-22
  • 5.18.0-dev.3 - 2024-07-22
  • 5.18.0-dev.2 - 2024-07-19
  • 5.18.0-dev.1 - 2024-07-17
  • 5.17.0 - 2024-07-16

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

    Highlights

    VSCode extension improvements

    We’re happy to introduce some cool new features that will make your experience with the Prisma VSCode extension even better!

    Find references across schema files

    The ability to hop between references of a given symbol is really useful in application code and now with the introduction of multi-file schema, we think it’s the perfect time to bring this feature to the VSCode extension!

    With the 5.17.0 release, you’ll now have the ability to use the native “find references” feature to find any usage of a given symbol

    references

    Added context on hover

    When hovering over a symbol that references a view, type, enum, or any other block with multiple values, you’ll now see a handy pop out that shows what is in that block at a glance.

    image

    Additional quick fixes

    We’ve taken some fixes made by the prisma format cli command and made them quick fixes available to the VSCode Extension. Now, when you have forget a back relation or relation scalar field, you’ll now see in real time what is wrong and have the option to fix it via the extension.

    image (1)

    QueryRaw performance improvements

    We’ve changed the response format of queryRaw to decrease its average size which reduces serialization CPU overhead.

    When querying large data sets, we expect you to see improved memory usage and up to 2x performance improvements.

    Fixes and improvements

    Prisma Client

    Prisma

    Language tools (e.g. VS Code)

    Credits

    Huge thanks to @ key-moon, @ pranayat, @ yubrot, @ skyzh for helping!

  • 5.17.0-integration-tmp-revert-vitest-work.2 - 2024-07-08
  • 5.17.0-integration-tmp-revert-vitest-work.1 - 2024-07-08
  • 5.17.0-integration-show-platform-auth-token.8 - 2024-07-10
  • 5.17.0-integration-show-platform-auth-token.7 - 2024-07-10
  • 5.17.0-integration-show-platform-auth-token.6 - 2024-07-10
  • 5.17.0-integration-show-platform-auth-token.5 - 2024-07-10
  • 5.17.0-integration-show-platform-auth-token.4 - 2024-07-10
  • 5.17.0-integration-show-platform-auth-token.3 - 2024-07-10
  • 5.17.0-integration-show-platform-auth-token.2 - 2024-07-09
  • 5.17.0-integration-show-platform-auth-token.1 - 2024-07-09
  • 5.17.0-integration-remove-useless-clone.1 - 2024-07-09
  • 5.17.0-integration-fix-wasm-nextjs.2 - 2024-07-05
  • 5.17.0-integration-fix-wasm-nextjs.1 - 2024-07-05
  • 5.17.0-integration-fix-vitest-edgemw.1 - 2024-07-08
  • 5.17.0-integration-es2021.5 - 2024-07-01
  • 5.17.0-integration-es2021.4 - 2024-07-01
  • 5.17.0-integration-es2021.3 - 2024-07-01
  • 5.17.0-integration-es2021.2 - 2024-06-28
  • 5.17.0-integration-es2021.1 - 2024-06-26
  • 5.17.0-integration-engines-5-17-0-9-integration-dmmf-indexes-d1e2e9a2a0de2bfcf127b78ffed1231707668674.2 - 2024-07-10
  • 5.17.0-integration-engines-5-17-0-9-integration-dmmf-indexes-d1e2e9a2a0de2bfcf127b78ffed1231707668674.1 - 2024-07-10
  • 5.17.0-integration-engines-5-17-0-6-integration-schema-wasm-datamodel-e7f10528e9f51ad6040a30bd82ee9d220aa4ee93.2 - 2024-07-09
  • 5.17.0-integration-engines-5-17-0-6-integration-schema-wasm-datamodel-e7f10528e9f51ad6040a30bd82ee9d220aa4ee93.1 - 2024-07-09
  • 5.17.0-integration-engines-5-17-0-4-feat-remove-actors-attempt-2-e7f608ab076eda9e1264e600ce3a140f0bc06bbe.2 - 2024-07-12
  • 5.17.0-integration-engines-5-17-0-4-feat-remove-actors-attempt-2-e7f608ab076eda9e1264e600ce3a140f0bc06bbe.1 - 2024-07-09
  • 5.17.0-integration-engines-5-17-0-3-integration-schema-wasm-datamodel-5aa1a0e22cad4693587f2d5f697e6c57d4f224c3.2 - 2024-07-09
  • 5.17.0-integration-engines-5-17-0-3-integration-schema-wasm-datamodel-5aa1a0e22cad4693587f2d5f697e6c57d4f224c3.1 - 2024-07-09
  • 5.17.0-integration-engines-5-17-0-27-feat-gh-actions-fca92037687d6fca891ea8bc636c3dba78b58bde.1 - 2024-07-11
  • 5.17.0-integration-engines-5-17-0-26-feat-gh-actions-71087f50f90400fd1ff10da7b187b0c8a1aef11a.1 - 2024-07-11
  • 5.17.0-integration-engines-5-17-0-25-feat-gh-actions-1d704f7d660b56cc6488a2e5fcf0b1b35bb84375.1 - 2024-07-11
  • 5.17.0-integration-engines-5-17-0-24-feat-gh-actions-6e5cfca055d17aa12c815c6f99786f9134095cc7.1 - 2024-07-11
  • 5.17.0-integration-engines-5-17-0-23-feat-gh-actions-be53ad1270793f135da1ae7b7c645cea39bf7fcb.1 - 2024-07-11
  • 5.17.0-integration-engines-5-17-0-22-feat-gh-actions-81995eb238f5fd4c5584112804fcf79f18e89cc6.1 - 2024-07-11
  • 5.17.0-integration-engines-5-17-0-21-feat-gh-actions-cfdd9eef8da5705405ffc9e94fc6d61c04cb7f2c.1 - 2024-07-11
  • 5.17.0-integration-engines-5-17-0-20-feat-gh-actions-2753dcb458557dd4f28b596f7506c17e93d5e0dd.1 - 2024-07-11
  • 5.17.0-integration-engines-5-17-0-18-feat-gh-actions-c1e7a626dcb1ad75dad12236150d482a53b0cdb5.1 - 2024-07-11
  • 5.17.0-integration-engines-5-17-0-17-4947-merge-1d8598a84efca2279183a81bdaf04bbae7f87cd2.1 - 2024-07-11
  • 5.17.0-integration-engines-5-17-0-16-integration-dmmf-indexes-d964e5cfdd8811d32218d9bfa6c83522e0a1ddde.2 - 2024-07-11
  • 5.17.0-integration-engines-5-17-0-16-integration-dmmf-indexes-d964e5cfdd8811d32218d9bfa6c83522e0a1ddde.1 - 2024-07-11
  • 5.17.0-integration-engines-5-17-0-13-integration-dmmf-indexes-ac9a360f4cd7cd3d8bdd5716853e22eb3332e3aa.2 - 2024-07-10
  • 5.17.0-integration-engines-5-17-0-13-integration-dmmf-indexes-ac9a360f4cd7cd3d8bdd5716853e22eb3332e3aa.1 - 2024-07-10
  • 5.17.0-integration-engines-5-17-0-12-integration-dmmf-indexes-653fb43bd2ac7b562d889188c08703c30dae272f.2 - 2024-07-10
  • 5.17.0-integration-engines-5-17-0-12-integration-dmmf-indexes-653fb43bd2ac7b562d889188c08703c30dae272f.1 - 2024-07-10
  • 5.17.0-integration-engines-5-17-0-11-integration-dmmf-indexes-f04e601986ba13c9e6df6b4f1032f40c5bdcaa81.2 - 2024-07-10
  • 5.17.0-integration-engines-5-17-0-11-integration-dmmf-indexes-f04e601986ba13c9e6df6b4f1032f40c5bdcaa81.1 - 2024-07-10
  • 5.17.0-integration-engines-5-17-0-10-integration-dmmf-indexes-f36d20503d1dec368c81ffbc9706a57df2250b8a.2 - 2024-07-10
  • 5.17.0-integration-engines-5-17-0-10-integration-dmmf-indexes-f36d20503d1dec368c81ffbc9706a57df2250b8a.1 - 2024-07-10
  • 5.17.0-integration-engines-5-17-0-1-perf-query-raw-serialization-e47383c417b1d157566b509938893a9b8ada2aad.7 - 2024-07-02
  • 5.17.0-integration-engines-5-17-0-1-perf-query-raw-serialization-e47383c417b1d157566b509938893a9b8ada2aad.6 - 2024-07-02
  • 5.17.0-integration-engines-5-17-0-1-perf-query-raw-serialization-e47383c417b1d157566b509938893a9b8ada2aad.5 - 2024-07-02
  • 5.17.0-integration-engines-5-17-0-1-perf-query-raw-serialization-e47383c417b1d157566b509938893a9b8ada2aad.4 - 2024-07-02
  • 5.17.0-integration-engines-5-17-0-1-perf-query-raw-serialization-e47383c417b1d157566b509938893a9b8ada2aad.3 - 2024-07-02
  • 5.17.0-integration-engines-5-17-0-1-perf-query-raw-serialization-e47383c417b1d157566b509938893a9b8ada2aad.2 - 2024-07-01
  • 5.17.0-integration-engines-5-17-0-1-perf-query-raw-serialization-e47383c417b1d157566b509938893a9b8ada2aad.1 - 2024-07-01
  • 5.17.0-integration-dmmf-indexes.6 - 2024-07-11
  • 5.17.0-integration-dmmf-indexes.5 - 2024-07-11
  • 5.17.0-integration-dmmf-indexes.4 - 2024-07-11
  • 5.17.0-integration-dmmf-indexes.3 - 2024-07-11
  • 5.17.0-integration-dmmf-indexes.2 - 2024-07-11
  • 5.17.0-integration-dmmf-indexes.1 - 2024-07-11
  • 5.17.0-integration-avoid-using-process-in-debug.3 - 2024-07-09
  • 5.17.0-integration-avoid-using-process-in-debug.2 - 2024-07-09
  • 5.17.0-integration-avoid-using-process-in-debug.1 - 2024-07-02
  • 5.17.0-dev.39 - 2024-07-16
  • 5.17.0-dev.38 - 2024-07-15
  • 5.17.0-dev.37 - 2024-07-15
  • 5.17.0-dev.36 - 2024-07-15
  • 5.17.0-dev.35 - 2024-07-15
  • 5.17.0-dev.34 - 2024-07-12
  • 5.17.0-dev.33 - 2024-07-12
  • 5.17.0-dev.32 - 2024-07-12
  • 5.17.0-dev.31 - 2024-07-12
  • 5.17.0-dev.30 - 2024-07-11
  • 5.17.0-dev.29 - 2024-07-11
  • 5.17.0-dev.28 - 2024-07-11
  • 5.17.0-dev.27 - 2024-07-11
  • 5.17.0-dev.26 - 2024-07-10
  • 5.17.0-dev.25 - 2024-07-10
  • 5.17.0-dev.24 - 2024-07-10
  • 5.17.0-dev.23 - 2024-07-09
  • 5.17.0-dev.22 - 2024-07-09
  • 5.17.0-dev.21 - 2024-07-09
  • 5.17.0-dev.20 - 2024-07-09
  • 5.17.0-dev.19 - 2024-07-09
  • 5.17.0-dev.18 - 2024-07-05
  • 5.17.0-dev.17 - 2024-07-03
  • 5.17.0-dev.16 - 2024-07-03
  • 5.17.0-dev.15 - 2024-07-03
  • 5.17.0-dev.14 - 2024-07-03
  • 5.17.0-dev.13 - 2024-07-03
  • 5.17.0-dev.12 - 2024-07-03
  • 5.17.0-dev.11 - 2024-07-03
  • 5.17.0-dev.10 - 2024-06-28
  • 5.17.0-dev.9 - 2024-06-28
  • 5.17.0-dev.8 - 2024-06-28
  • 5.17.0-dev.7 - 2024-06-28
  • 5.17.0-dev.6 - 2024-06-28
  • 5.17.0-dev.5 - 2024-06-28
  • 5.17.0-dev.4 - 2024-06-28
  • 5.17.0-dev.2 - 2024-06-27
  • 5.17.0-dev.1 - 2024-06-26
  • 5.16.2 - 2024-07-09

    Today, we are issuing the 5.16.2 patch release to fix an issue in Prisma client.

    Fix in Prisma Client

  • 5.16.2-dev.1 - 2024-07-09
  • 5.16.1 - 2024-06-27

    Today, we are issuing the 5.16.1 patch release to fix an issue in Prisma client.

    Fix in Prisma Client

  • 5.16.1-dev.1 - 2024-06-27
  • 5.16.0 - 2024-06-25

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

    Highlights

    Omit model fields globally

    With Prisma ORM 5.16.0 we’re more than happy to announce that we’re expanding the omitApi Preview feature to also include the ability to omit fields globally.

    When the Preview feature is enabled, you’re able to define fields to omit when instantiating Prisma Client.

    const prisma = new PrismaClient({
      omit: {
        user: {
          // make sure that password is never queried.
          password: true,
        },
      },
    });

    You’re also able to omit fields from multiple models and multiple fields from the same model

    const prisma = new PrismaClient({
      omit: {
        user: { 
          // make sure that password and internalId are never queried.
          password: true,
          internalId: true,
        },
        post: {
          secretkey: true,
        },
      },
    });

    With both local and global omit, you now have the flexibility to completely remove sensitive fields while also tailoring individual queries. If you need the ability to generally omit a field except in a specific query, you can also overwrite a global omit locally

    const prisma = new PrismaClient({
    omit: {
    user: {
    // password is omitted globally.
    password: true,
    },
    },
    });

    const userWithPassword = await prisma.user.findUnique({
    omit: { password: false }, // omit now false, so password is returned
    where: { id: 1 },
    });

    Changes to prismaSchemaFolder

    In 5.15.0 we released the prismaSchemaFolder Preview feature, allowing you to create multiple Prisma Schema files in a prisma/schema directory. We’ve gotten a lot of great feedback and are really excited with how the community has been using the feature.

    To continue improving our multi-file schema support, we have a few breaking changes to the prismaSchemaFolder feature:

    • When using relative paths in Prisma Schema files with the prismaSchemaFolder feature, a path is now relative to the file it is defined in rather than relative to the prisma/schema folder. This means that if you have a generator block in /project/prisma/schema/config/generator.prisma with an output of ./foo the output will be resolved to /project/prisma/schema/config/foo rather than /project/prisma/foo. The path to a SQLite file will be resolved in the same manner.
    • We realized that during migration many people would have prisma/schema as well as prisma/schema.prisma. Our initial implementation looked for a .prisma file first and would ignore the schema folder if it exists. This is now an error.

    Changes to fullTextSearch

    In order to improve our full-text search implementation we have made a breaking change to the fullTextSearch Preview feature.

    Previously, when the feature was enabled we updated the <Model>OrderByWithRelationInput TypeScript type with the <Model>OrderByWithRelationAndSearchRelevanceInput type. However, we have noted that there are no cases where relational ordering is needed but search relevance is not. Thus, we have decided to remove the <Model>OrderByWithRelationAndSearchRelevanceInput naming and only use the <Model>OrderByWithRelationInput naming.

    Fixes and improvements

    Prisma

    Language tools (e.g. VS Code)

Snyk has created this PR to upgrade:
  - @hookform/resolvers from 3.6.0 to 3.9.0.
    See this package in npm: https://www.npmjs.com/package/@hookform/resolvers
  - @prisma/client from 5.15.0 to 5.18.0.
    See this package in npm: https://www.npmjs.com/package/@prisma/client
  - @radix-ui/react-slot from 1.0.2 to 1.1.0.
    See this package in npm: https://www.npmjs.com/package/@radix-ui/react-slot
  - @radix-ui/react-dialog from 1.0.5 to 1.1.1.
    See this package in npm: https://www.npmjs.com/package/@radix-ui/react-dialog
  - @radix-ui/react-alert-dialog from 1.0.5 to 1.1.1.
    See this package in npm: https://www.npmjs.com/package/@radix-ui/react-alert-dialog
  - @radix-ui/react-avatar from 1.0.4 to 1.1.0.
    See this package in npm: https://www.npmjs.com/package/@radix-ui/react-avatar
  - @radix-ui/react-checkbox from 1.0.4 to 1.1.1.
    See this package in npm: https://www.npmjs.com/package/@radix-ui/react-checkbox
  - @radix-ui/react-dropdown-menu from 2.0.6 to 2.1.1.
    See this package in npm: https://www.npmjs.com/package/@radix-ui/react-dropdown-menu
  - @radix-ui/react-label from 2.0.2 to 2.1.0.
    See this package in npm: https://www.npmjs.com/package/@radix-ui/react-label
  - @radix-ui/react-navigation-menu from 1.1.4 to 1.2.0.
    See this package in npm: https://www.npmjs.com/package/@radix-ui/react-navigation-menu
  - @radix-ui/react-progress from 1.0.3 to 1.1.0.
    See this package in npm: https://www.npmjs.com/package/@radix-ui/react-progress
  - @radix-ui/react-select from 2.0.0 to 2.1.1.
    See this package in npm: https://www.npmjs.com/package/@radix-ui/react-select
  - @radix-ui/react-switch from 1.0.3 to 1.1.0.
    See this package in npm: https://www.npmjs.com/package/@radix-ui/react-switch
  - @radix-ui/react-tooltip from 1.0.7 to 1.1.2.
    See this package in npm: https://www.npmjs.com/package/@radix-ui/react-tooltip
  - @t3-oss/env-nextjs from 0.9.2 to 0.11.1.
    See this package in npm: https://www.npmjs.com/package/@t3-oss/env-nextjs
  - @types/lodash from 4.17.5 to 4.17.7.
    See this package in npm: https://www.npmjs.com/package/@types/lodash
  - embla-carousel-react from 8.1.5 to 8.2.0.
    See this package in npm: https://www.npmjs.com/package/embla-carousel-react
  - framer-motion from 11.2.10 to 11.3.30.
    See this package in npm: https://www.npmjs.com/package/framer-motion
  - lucide-react from 0.363.0 to 0.436.0.
    See this package in npm: https://www.npmjs.com/package/lucide-react
  - next from 14.2.0 to 14.2.6.
    See this package in npm: https://www.npmjs.com/package/next
  - react-hook-form from 7.51.5 to 7.53.0.
    See this package in npm: https://www.npmjs.com/package/react-hook-form
  - react-icons from 5.2.1 to 5.3.0.
    See this package in npm: https://www.npmjs.com/package/react-icons
  - react-spinners from 0.13.8 to 0.14.1.
    See this package in npm: https://www.npmjs.com/package/react-spinners
  - resend from 3.3.0 to 3.5.0.
    See this package in npm: https://www.npmjs.com/package/resend
  - tailwind-merge from 2.3.0 to 2.5.2.
    See this package in npm: https://www.npmjs.com/package/tailwind-merge
  - zustand from 4.5.2 to 4.5.5.
    See this package in npm: https://www.npmjs.com/package/zustand

See this project in Snyk:
https://app.snyk.io/org/david-besse/project/ca4220d7-337d-495c-940b-f8f1a0115ecc?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

vercel bot commented Sep 17, 2024

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

Name Status Preview Comments Updated (UTC)
ydille ❌ Failed (Inspect) Sep 17, 2024 10:07am

@David-Besse David-Besse deleted the snyk-upgrade-978496bf8affa37016c3df6c88c0d2da branch September 19, 2024 15:54
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.

Error when Trying to Use Arktype Resolver
2 participants