cerbos / query-plan-adapters

Repo of adapters converting a Cerbos Query Plan to a data fetching layer
Apache License 2.0
15 stars 9 forks source link

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

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 5 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@cerbos/core (source) ^0.14.0 -> ^0.15.0 age adoption passing confidence
@cerbos/grpc (source) ^0.14.0 -> ^0.15.0 age adoption passing confidence
@prisma/client (source) 5.7.1 -> 5.8.1 age adoption passing confidence
@types/node (source) 20.10.6 -> 20.11.7 age adoption passing confidence
mongoose (source) 8.0.3 -> 8.1.1 age adoption passing confidence
prisma (source) 5.7.1 -> 5.8.1 age adoption passing confidence
ts-jest (source) 29.1.1 -> 29.1.2 age adoption passing confidence

Release Notes

cerbos/cerbos-sdk-javascript (@​cerbos/core) ### [`v0.15.0`](https://togithub.com/cerbos/cerbos-sdk-javascript/blob/HEAD/packages/core/CHANGELOG.md#0150---2024-01-11) [Compare Source](https://togithub.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/core@0.14.0...@cerbos/core@0.15.0) ##### Added - [`headers`](../../docs/core.options.headers.md) and [`userAgent`](../../docs/core.options.useragent.md) options to `Client` constructor, and [`headers`](../../docs/core.requestoptions.headers.md) option to all methods ([#​776](https://togithub.com/cerbos/cerbos-sdk-javascript/pull/776))
cerbos/cerbos-sdk-javascript (@​cerbos/grpc) ### [`v0.15.0`](https://togithub.com/cerbos/cerbos-sdk-javascript/blob/HEAD/packages/grpc/CHANGELOG.md#0150---2024-01-11) [Compare Source](https://togithub.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/grpc@0.14.1...@cerbos/grpc@0.15.0) ##### Added - [`headers`](../../docs/core.options.headers.md) and [`userAgent`](../../docs/core.options.useragent.md) options to `GRPC` constructor, and [`headers`](../../docs/core.requestoptions.headers.md) option to all methods ([#​776](https://togithub.com/cerbos/cerbos-sdk-javascript/pull/776)) ##### Changed - Bump dependency on \[[@​cerbos/core](https://togithub.com/cerbos/core)] to 0.15.0 ([#​781](https://togithub.com/cerbos/cerbos-sdk-javascript/pull/781)) - Bump dependency on \[[@​grpc/grpc-js](https://togithub.com/grpc/grpc-js)] to 1.9.13 ([#​770](https://togithub.com/cerbos/cerbos-sdk-javascript/pull/770))
prisma/prisma (@​prisma/client) ### [`v5.8.1`](https://togithub.com/prisma/prisma/releases/tag/5.8.1) [Compare Source](https://togithub.com/prisma/prisma/compare/5.8.0...5.8.1) Today, we are issuing the `5.8.1` patch release. ##### Fix in Prisma Client - [Parallel execution with Promise.all causes P2024 error in version 5.8.0 due to connection limit](https://togithub.com/prisma/prisma/issues/22610). ### [`v5.8.0`](https://togithub.com/prisma/prisma/releases/tag/5.8.0) [Compare Source](https://togithub.com/prisma/prisma/compare/5.7.1...5.8.0) 🌟 **Help us spread the word about Prisma by starring the repo or [posting on X](https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@​prisma%20release%20v5.8.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.8.0) about the release.** 🌟 ##### Highlights Happy New Year from your friends at Prisma! 🎊 In the last 4 weeks, we resolved some bugs on the ORM and made some progress on some exciting features that we’re not yet ready to announce. Stay tuned for the upcoming releases, in which we’ll be announcing new features. 😉 ##### `relationJoins` improvements: Relation loading strategy per query (Preview) In version [5.7.0](https://togithub.com/prisma/prisma/releases/tag/5.7.0), we released `relationJoins` into Preview. The `relationJoins` feature enables support for `JOIN`s for relation queries. This release adds support for the ability to specify the strategy used to fetch relational data per query when the Preview feature is enabled. This will enable you to choose the most efficient strategy for fetching relation data depending on your use case. You can now load relation data using either of the following strategies: - `join` — uses `JOIN`s to fetch relation data - `query` — uses sub-queries to fetch relation data When the `relationJoins` Preview feature is enabled, by default, the relation fetching strategy used is `join`. You can override the default behavior by using the `relationLoadStrategy` query option. To get started, enable the Preview feature: ```tsx // schema.prisma generator client { provider = "prisma-client-js" previewFeatures = ["relationJoins"] } ``` … and specify the relation loading strategy for your query as follows: ```tsx await prisma.user.findMany({ relationLoadStrategy: 'query', include: { posts: true, }, }) ``` Try it out and [share your feedback](https://togithub.com/prisma/prisma/discussions/22288) and create a [bug report](https://togithub.com/prisma/prisma/issues/new?assignees=\&labels=kind/bug\&projects=\&template=bug_report.yml) if you encounter any issues. ##### Survey: Edge functions support We’re working on bringing Edge function support to Prisma ORM and we would appreciate your input by [submitting a response to our survey](https://pris.ly/survey/edge-functions-release-notes). By filling out the survey, you will be considered for our Early Access cohort as soon as we have something for you to try out. ##### Fixes and improvements ##### Prisma Client - [Log output of Node-API library engine is different](https://togithub.com/prisma/prisma/issues/9039) - [`target` and `timestamp` are undefined in `info` events in Data Proxy client](https://togithub.com/prisma/prisma/issues/18479) - [Wrong types of `timestamp` and `duration` in query events with Data Proxy](https://togithub.com/prisma/prisma/issues/18482) - [Using `citext` fields with neon database driver causes conversion error](https://togithub.com/prisma/prisma/issues/21807) - [Add FreeBSD 14 as a new platform](https://togithub.com/prisma/prisma/issues/22228) - [PostgresError { code: "54023", message: "cannot pass more than 100 arguments to a function", severity: "ERROR", detail: None, column: None, hint: None }](https://togithub.com/prisma/prisma/issues/22298) - [Int\[\] return as null](https://togithub.com/prisma/prisma/issues/22303) ##### Prisma Migrate - [Prisma Migrate errors with `Environment is non-interactive` when `VERCEL` env var is defined](https://togithub.com/prisma/prisma/issues/22380) ##### Language tools (e.g. VS Code) - [Add quickfix for `Error validating field 'id' in model 'Post': MongoDB '@​default(auto())' fields must have 'ObjectId' native type.`](https://togithub.com/prisma/language-tools/issues/1548) - [Append mention of update to "preview feature not known" error message](https://togithub.com/prisma/language-tools/issues/1612) ##### Credits Huge thanks to [@​anuraaga](https://togithub.com/anuraaga), [@​onichandame](https://togithub.com/onichandame), [@​LucianBuzzo](https://togithub.com/LucianBuzzo), [@​RobertCraigie](https://togithub.com/RobertCraigie), [@​fqazi](https://togithub.com/fqazi), [@​KhooHaoYit](https://togithub.com/KhooHaoYit), [@​alencardc](https://togithub.com/alencardc), [@​Oreilles](https://togithub.com/Oreilles), [@​tinola](https://togithub.com/tinola), [@​AikoRamalho](https://togithub.com/AikoRamalho), [@​luxaritas](https://togithub.com/luxaritas) for helping! ##### Company news ##### 🎉 A billion queries and counting: Prisma Accelerate [Prisma Accelerate](https://pris.ly/accelerate-home-orm-release-1), our global database cache has served over 1 billion queries since its General Availability launch. We’d like to give a shoutout to our team and everyone who’s been with us on this journey. Stay tuned for some exciting products and features in the pipeline for 2024! ##### 🔮 Prisma ORM Ecosystem Are you building a cool tool, extension, generator, CLI tool or anything else, for Prisma ORM? [Let us know](https://prisma-data.typeform.com/to/DYEjFIVx). We would like to learn about it and feature it on our [Ecosystem page](https://www.prisma.io/ecosystem). ##### 💼 We’re hiring If you're interested in joining our growing team to help empower developers to build data-intensive applications, Prisma is the place for you. Check out our [Careers page](https://prisma.io/careers) for open positions.
Automattic/mongoose (mongoose) ### [`v8.1.1`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#811--2024-01-24) [Compare Source](https://togithub.com/Automattic/mongoose/compare/8.1.0...8.1.1) \================== - fix(model): throw readable error when calling Model() with a string instead of model() [#​14288](https://togithub.com/Automattic/mongoose/issues/14288) [#​14281](https://togithub.com/Automattic/mongoose/issues/14281) - fix(document): handle setting nested path to spread doc with extra properties [#​14287](https://togithub.com/Automattic/mongoose/issues/14287) [#​14269](https://togithub.com/Automattic/mongoose/issues/14269) - types(query): add back context and setDefaultsOnInsert as Mongoose-specific query options [#​14284](https://togithub.com/Automattic/mongoose/issues/14284) [#​14282](https://togithub.com/Automattic/mongoose/issues/14282) - types(query): add missing runValidators back to MongooseQueryOptions [#​14278](https://togithub.com/Automattic/mongoose/issues/14278) [#​14275](https://togithub.com/Automattic/mongoose/issues/14275) ### [`v8.1.0`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#810--2024-01-16) [Compare Source](https://togithub.com/Automattic/mongoose/compare/8.0.4...8.1.0) \================== - feat: upgrade MongoDB driver -> 6.3.0 [#​14241](https://togithub.com/Automattic/mongoose/issues/14241) [#​14189](https://togithub.com/Automattic/mongoose/issues/14189) [#​14108](https://togithub.com/Automattic/mongoose/issues/14108) [#​14104](https://togithub.com/Automattic/mongoose/issues/14104) - feat: add Atlas search index helpers to Models and Schemas [#​14251](https://togithub.com/Automattic/mongoose/issues/14251) [#​14232](https://togithub.com/Automattic/mongoose/issues/14232) - feat(connection): add listCollections() helper to connections [#​14257](https://togithub.com/Automattic/mongoose/issues/14257) - feat(schematype): merge rather than overwrite default schematype validators [#​14124](https://togithub.com/Automattic/mongoose/issues/14124) [#​14070](https://togithub.com/Automattic/mongoose/issues/14070) - feat(types): support type hints in InferSchemaType [#​14008](https://togithub.com/Automattic/mongoose/issues/14008) [JavaScriptBach](https://togithub.com/JavaScriptBach) ### [`v8.0.4`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#804--2024-01-08) [Compare Source](https://togithub.com/Automattic/mongoose/compare/8.0.3...8.0.4) \================== - fix(update): set CastError path to full path if casting update fails [#​14161](https://togithub.com/Automattic/mongoose/issues/14161) [#​14114](https://togithub.com/Automattic/mongoose/issues/14114) - fix: cast error when there is an elemMatch in the and clause [#​14171](https://togithub.com/Automattic/mongoose/issues/14171) [tosaka-n](https://togithub.com/tosaka-n) - fix: allow defining index on base model that applies to all discriminators [#​14176](https://togithub.com/Automattic/mongoose/issues/14176) [peplin](https://togithub.com/peplin) - fix(model): deep clone bulkWrite() updateOne arguments to avoid mutating documents in update [#​14197](https://togithub.com/Automattic/mongoose/issues/14197) [#​14164](https://togithub.com/Automattic/mongoose/issues/14164) - fix(populate): handle deselecting \_id with array of fields in populate() [#​14242](https://togithub.com/Automattic/mongoose/issues/14242) [#​14231](https://togithub.com/Automattic/mongoose/issues/14231) - types(model+query): use stricter typings for updateX(), replaceOne(),deleteX() Model functions [#​14228](https://togithub.com/Automattic/mongoose/issues/14228) [#​14204](https://togithub.com/Automattic/mongoose/issues/14204) - types: fix return types for findByIdAndDelete overrides [#​14196](https://togithub.com/Automattic/mongoose/issues/14196) [#​14190](https://togithub.com/Automattic/mongoose/issues/14190) - types(schema): add missing omit() method [#​14235](https://togithub.com/Automattic/mongoose/issues/14235) [amitbeck](https://togithub.com/amitbeck) - types(model): add missing strict property to bulkWrite() top level options [#​14239](https://togithub.com/Automattic/mongoose/issues/14239) - docs(compatibility): add note that Mongoose 5.13 is fully compatible with MongoDB server 5 [#​14230](https://togithub.com/Automattic/mongoose/issues/14230) [#​14149](https://togithub.com/Automattic/mongoose/issues/14149) - docs: add shared schemas guide [#​14211](https://togithub.com/Automattic/mongoose/issues/14211) - docs: update TLS/SSL guide for Mongoose v8 - MongoDB v6 driver deprecations [#​14170](https://togithub.com/Automattic/mongoose/issues/14170) [andylwelch](https://togithub.com/andylwelch) - docs: update findOneAndUpdate tutorial to use includeResultMetadata [#​14208](https://togithub.com/Automattic/mongoose/issues/14208) [#​14207](https://togithub.com/Automattic/mongoose/issues/14207) - docs: clarify disabling \_id on subdocs [#​14195](https://togithub.com/Automattic/mongoose/issues/14195) [#​14194](https://togithub.com/Automattic/mongoose/issues/14194)
kulshekhar/ts-jest (ts-jest) ### [`v29.1.2`](https://togithub.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2912-2024-01-22) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v29.1.1...v29.1.2) ##### Bug Fixes - calculated cache key based on `supportsStaticESM` ([a5d6f2d](https://togithub.com/kulshekhar/ts-jest/commit/a5d6f2d4f4bfa1c7c217f6faf9310958797b436f)) - correct error handling in `processAsync` ([e7be4bf](https://togithub.com/kulshekhar/ts-jest/commit/e7be4bf6a863cd76efec28f40fdd5193b2f50bad)), closes [#​4207](https://togithub.com/kulshekhar/ts-jest/issues/4207) - use `Config.ProjectConfig` ([918312b](https://togithub.com/kulshekhar/ts-jest/commit/918312bee22a795ec6bb347f95df4c1ff0a054de)), closes [#​4028](https://togithub.com/kulshekhar/ts-jest/issues/4028)

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - "after 9am and before 5pm Monday" (UTC).

🚦 Automerge: Enabled.

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.



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