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

fix(deps): update all non-major dependencies #42

Merged
merged 1 commit into from Jun 28, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 15, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/client (source) ^3.7.15 -> ^3.7.16 age adoption passing confidence
@apollo/server ^4.7.3 -> ^4.7.5 age adoption passing confidence
@aws-sdk/client-s3 (source) ^3.350.0 -> ^3.360.0 age adoption passing confidence
@aws-sdk/s3-request-presigner (source) ^3.350.0 -> ^3.360.0 age adoption passing confidence
@headlessui/vue ^1.7.13 -> ^1.7.14 age adoption passing confidence
@nestjs/common (source) ^9.4.2 -> ^9.4.3 age adoption passing confidence
@nestjs/config ^2.3.2 -> ^2.3.4 age adoption passing confidence
@nestjs/core (source) ^9.4.2 -> ^9.4.3 age adoption passing confidence
@nestjs/platform-express (source) ^9.4.2 -> ^9.4.3 age adoption passing confidence
@nestjs/testing (source) ^9.4.2 -> ^9.4.3 age adoption passing confidence
@prisma/client (source) ^4.15.0 -> ^4.16.1 age adoption passing confidence
@rushstack/eslint-patch (source) ^1.3.1 -> ^1.3.2 age adoption passing confidence
@types/node (source) ^18.16.17 -> ^18.16.18 age adoption passing confidence
@typescript-eslint/eslint-plugin ^5.59.9 -> ^5.60.1 age adoption passing confidence
@typescript-eslint/parser ^5.59.9 -> ^5.60.1 age adoption passing confidence
@unhead/vue (source) ^1.1.27 -> ^1.1.28 age adoption passing confidence
@vue/apollo-composable (source) 4.0.0-beta.5 -> 4.0.0-beta.7 age adoption passing confidence
@vue/test-utils ^2.3.2 -> ^2.4.0 age adoption passing confidence
@vueuse/core ^10.1.2 -> ^10.2.0 age adoption passing confidence
@vueuse/nuxt (source) ^10.1.2 -> ^10.2.0 age adoption passing confidence
consola 3.1.0 -> 3.2.1 age adoption passing confidence
cypress ^12.14.0 -> ^12.16.0 age adoption passing confidence
eslint (source) ^8.42.0 -> ^8.43.0 age adoption passing confidence
eslint-define-config ^1.20.0 -> ^1.21.0 age adoption passing confidence
eslint-plugin-vue (source) ^9.14.1 -> ^9.15.1 age adoption passing confidence
graphql ^16.6.0 -> ^16.7.1 age adoption passing confidence
nuxt ^3.5.3 -> ^3.6.1 age adoption passing confidence
pinia ^2.1.3 -> ^2.1.4 age adoption passing confidence
pnpm (source) 8.6.2 -> 8.6.5 age adoption passing confidence
prisma (source) ^4.15.0 -> ^4.16.1 age adoption passing confidence
supertokens-node ^14.1.1 -> ^14.1.2 age adoption passing confidence
typescript (source) ^5.1.3 -> ^5.1.5 age adoption passing confidence
vee-validate (source) ^4.9.6 -> ^4.10.2 age adoption passing confidence
vitest ^0.32.0 -> ^0.32.2 age adoption passing confidence
vue-tsc ^1.6.5 -> ^1.8.2 age adoption passing confidence
webpack ^5.86.0 -> ^5.88.0 age adoption passing confidence

Release Notes

apollographql/apollo-client (@​apollo/client)

v3.7.16

Compare Source

Patch Changes
apollographql/apollo-server (@​apollo/server)

v4.7.5

Compare Source

Patch Changes

v4.7.4

Compare Source

Patch Changes
  • 0adaf80d1 Thanks @​trevor-scheer! - Address Content Security Policy issues

    The previous implementation of CSP nonces within the landing pages did not take full advantage of the security benefit of using them. Nonces should only be used once per request, whereas Apollo Server was generating one nonce and reusing it for the lifetime of the instance. The reuse of nonces degrades the security benefit of using them but does not pose a security risk on its own. The CSP provides a defense-in-depth measure against a potential XSS, so in the absence of a known XSS vulnerability there is likely no risk to the user.

    The mentioned fix also coincidentally addresses an issue with using crypto functions on startup within Cloudflare Workers. Crypto functions are now called during requests only, which resolves the error that Cloudflare Workers were facing. A recent change introduced a precomputedNonce configuration option to mitigate this issue, but it was an incorrect approach given the nature of CSP nonces. This configuration option is now deprecated and should not be used for any reason since it suffers from the previously mentioned issue of reusing nonces.

    Additionally, this change adds other applicable CSPs for the scripts, styles, images, manifest, and iframes that the landing pages load.

    A final consequence of this change is an extension of the renderLandingPage plugin hook. This hook can now return an object with an html property which returns a Promise<string> in addition to a string (which was the only option before).

aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)

v3.360.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-s3

v3.359.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-s3

v3.358.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-s3

v3.357.0

Compare Source

Features

v3.354.0

Compare Source

Features
  • client-s3: This release adds SDK support for request-payer request header and request-charged response header in the "GetBucketAccelerateConfiguration", "ListMultipartUploads", "ListObjects", "ListObjectsV2" and "ListObjectVersions" S3 APIs. (20bc94f)

v3.353.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-s3

v3.352.0

Compare Source

Features
  • client-s3: Integrate double encryption feature to SDKs. (55c2691)
aws/aws-sdk-js-v3 (@​aws-sdk/s3-request-presigner)

v3.360.0

Compare Source

Note: Version bump only for package @​aws-sdk/s3-request-presigner

v3.359.0

Compare Source

Note: Version bump only for package @​aws-sdk/s3-request-presigner

v3.358.0

Compare Source

Note: Version bump only for package @​aws-sdk/s3-request-presigner

v3.357.0

Compare Source

Note: Version bump only for package @​aws-sdk/s3-request-presigner

v3.354.0

Compare Source

Note: Version bump only for package @​aws-sdk/s3-request-presigner

v3.353.0

Compare Source

Note: Version bump only for package @​aws-sdk/s3-request-presigner

v3.352.0

Compare Source

Note: Version bump only for package @​aws-sdk/s3-request-presigner

nestjs/nest (@​nestjs/common)

v9.4.3

Compare Source

nestjs/config (@​nestjs/config)

v2.3.4

Compare Source

  • fix: stringify primitives to avoid regressions (d2236e6)
  • Merge pull request #​1345 from nestjs/renovate/cimg-node-20.x (9f9b3fa)
  • Merge pull request #​1351 from nestjs/renovate/node-18.x (ebbc527)
  • chore(deps): update dependency @​types/node to v18.16.18 (f5c25ac)
  • chore(deps): update typescript-eslint monorepo to v5.59.11 (fe32a0c)
  • chore(deps): update nest monorepo to v9.4.3 (64c2c6e)
  • chore(deps): update dependency @​types/node to v18.16.17 (12a8a5b)
  • chore(deps): update node.js to v20.3 (7d3301e)

v2.3.3

Compare Source

  • Merge pull request #​1346 from MatthiasKunnen/fix-process-env-undefined-assignment (7973ee2)
  • fix(): do not assign a non-string to process.env (efdb29e)
  • test(): unexpected stringification of variables assigned to process.env (5ee253c)
  • Merge pull request #​1336 from nestjs/renovate/dotenv-16.x (0a2ca57)
  • chore(deps): update dependency @​types/uuid to v9.0.2 (75ea3cd)
  • chore(deps): update dependency release-it to v15.11.0 (f505033)
  • chore(deps): update typescript-eslint monorepo to v5.59.9 (82e6349)
  • fix(deps): update dependency dotenv to v16.1.4 (7b698fe)
  • chore(deps): update dependency eslint to v8.42.0 (2960856)
  • chore(deps): update dependency release-it to v15.10.5 (3447171)
  • chore(deps): update dependency typescript to v5.1.3 (2ebec41)
  • chore(deps): update dependency @​types/jest to v29.5.2 (4eaa59e)
  • chore(deps): update commitlint monorepo to v17.6.5 (05ceed9)
  • chore(deps): update typescript-eslint monorepo to v5.59.8 (46ace89)
  • chore(deps): update dependency @​types/node to v18.16.16 (b29e460)
  • chore(deps): update dependency @​types/node to v18.16.15 (b177ccf)
  • chore(deps): update dependency @​types/lodash to v4.14.195 (8e640ea)
  • chore(deps): update nest monorepo to v9.4.2 (47a2a7d)
  • chore(deps): update typescript-eslint monorepo to v5.59.7 (b7e0f2e)
  • chore(deps): update dependency @​types/node to v18.16.14 (d21959d)
  • chore(deps): update dependency eslint to v8.41.0 (b255adc)
  • Merge pull request #​1321 from nestjs/renovate/cimg-node-20.x (122273e)
  • chore(deps): update dependency @​types/node to v18.16.13 (7e6a991)
  • chore(deps): update dependency rimraf to v5.0.1 (9cbd5e0)
  • chore(deps): update dependency @​types/node to v18.16.12 (fbb5051)
  • chore(deps): update node.js to v20.2 (0b303b1)
  • chore(deps): update nest monorepo to v9.4.1 (1babdd4)
nestjs/nest (@​nestjs/core)

v9.4.3

Compare Source

nestjs/nest (@​nestjs/platform-express)

v9.4.3

Compare Source

nestjs/nest (@​nestjs/testing)

v9.4.3

Compare Source

prisma/prisma (@​prisma/client)

v4.16.1

Compare Source

Today, we are issuing the 4.16.1 patch release.

Fixes in Prisma Client

v4.16.0

Compare Source

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

Highlights

This release promotes the following Preview features to General Availability:

  • Prisma Client extensions
  • Ordering by nulls first and last
  • Count by filtered relation
Prisma Client extensions are Generally Available

Today, we’re very excited to announce that Prisma Client extensions are Generally Available and production-ready! This means you can use the feature without the clientExtensions Preview feature flag.🚀

Prisma Client extensions are a powerful new feature for adding functionality on top of your Prisma Client in a type-safe manner. With this feature, you can create simple, but flexible solutions.

Prisma Client extensions have 4 different types of components that can be included in an extension:

  • Result extensions components: add custom fields and methods to query result objects, for example, virtual/computed fields.
  • Model extensions components: enable you to add new methods to your models alongside existing model methods such as findMany.
  • Query extensions components: let you hook into the lifecycle of a query and perform side effects, modify query arguments, or modify the results in a type-safe way. These are an alternative to middleware that provide complete type safety and can be applied in an ad-hoc manner to different extensions.
  • Client extensions components: allow you to add new top-level methods to Prisma Client. You can use this to extend Prisma Client with functionality that isn’t tied to specific models.
const prisma = new PrismaClient().$extends({
  name: "extension-name",
  result: { /* ... */ },
  model: { /* ... */ },
  query: { /* ... */ },
  client: { /* ... */ },
});

You can also create and publish extensions for others to use. Learn more about how to share extensions in our documentation.

More features and changes made to Client Extensions

We also made the following improvements to Prisma Client extensions in preparation for General Availability:

  • Added a top-level $allOperations method for query component that captures all model operations as well as top-level raw queries. Refer to our documentation for more information.

    const prisma = new PrismaClient().$extends({
      query: {
        $allOperations({ args, query, operation, model }) {
          /* your extension's logic here */
        }
      }
    })
  • Prisma.validator can now also be used for extended types:

    const prisma = new PrismaClient().$extends({/* ... */})
    const data = Prisma.validator(prisma, 'user', 'findFirst', 'select')({
      id: true,
    })
  • query callbacks for $queryRaw and $executeRaw will always receive Sql instance as args. This instance can be used to compose a new query using Prisma.sql:

    const prisma = new PrismaClient().$extends({
      query: {
        $queryRaw({ args, query }) {
          return query(Prisma.sql`START TRANSACTION; ${args}; COMMIT;`)
        }
      }
    })
  • $on cannot be called after extending Prisma Client. Therefore, if you want to use event handlers together with extensions, we recommend using the $on method before $extends.

    const prisma = new PrismaClient()
      .$on(/* ... */)
      .$extends({/* ... */})
  • We updated the import path for utilities used for authoring extension to @prisma/client/extension rather than @prisma/client

    + import { Prisma } from "@&#8203;prisma/client/extension"
    - import { Prisma } from "@&#8203;prisma/client"
Deprecating Middleware

We also took this opportunity to deprecate Prisma Client’s middleware. We recommend using to using Prisma Client query extension components which can be used to achieve the same functionality and with better type safety.

🚧 Middleware will still be available in Prisma Client’s API. However, we recommend using Prisma Client extensions over middleware.

Ordering by nulls first and last is now Generally Available

Starting with this release, we’re excited to announce that orderByNulls is now Generally Available! This means you can use the feature without the orderByNulls Preview feature flag.🌟

We introduced this feature in 4.1.0 to enable you to sort records with null fields to either appear at the beginning or end of the result.

The following example query sorts posts by updatedAt, with records having a null value at the end of the list:

await prisma.post.findMany({
  orderBy: {
    updatedAt: { sort: 'asc', nulls: 'last' },
  },
})

To learn more about this feature, refer to our documentation.

We’re excited to see what you will build! Feel free to share with us what you build on Twitter, Slack, or Discord.

Count by filtered relation is now Generally Available

This release moves the filteredRelationCount Preview feature to General Availability! This means you can use the feature without the filteredRelationCount Preview feature flag.

We first introduced this feature in 4.3.0 to add the ability to count by filtered relations.

The following query, for example, counts all posts with the title “Hello!”:

await prisma.user.findMany({
  select: {
    _count: {
      select: {
        posts: { where: { title: 'Hello!' } },
      },
    },
  },
})

To learn more about this feature, refer to our documentation.

Introspection warnings for expression indexes

In the last two releases, 4.13.0 and 4.14.0, we added 9 introspection warnings. These warnings surface features in use in your database that cannot currently be represented in the Prisma schema.

In this release, we’re adding one more introspection warning to the list: expression indexes.

On database introspection, the Prisma CLI will surface the feature with a warning, and a comment in your Prisma schema for sections for each feature in use. The warnings will also contain instructions for workarounds on how to use the feature.

Fixes and improvements

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

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

Learn


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (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.

@renovate renovate bot force-pushed the renovate/all-minor-patch branch 17 times, most recently from 5c79131 to bc6e44c Compare June 23, 2023 01:32
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 10 times, most recently from a9bf3c2 to 0a67e1d Compare June 27, 2023 18:32
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 0a67e1d to f033285 Compare June 27, 2023 23:20
@cheburan cheburan merged commit a59cf78 into dev Jun 28, 2023
4 of 5 checks passed
@renovate renovate bot deleted the renovate/all-minor-patch branch June 28, 2023 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant