forked from prisma/prisma
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[pull] main from prisma:main #81
Open
pull
wants to merge
233
commits into
prisma-korea:main
Choose a base branch
from
prisma:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
#24509) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…945 (#24501) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…24481) * feat(client): added provider compatibility check for Driver Adapters * chore(client): removed mock adapterName stub * chore(client): adapted mock adapterName stub * chore(client): remove console.logs * test(client): fix failures in Node.js 16? * test(client): get rid of libsql, which is not compatible with Node.js 16 * test(client): revert "breaking" change, due to panics happening in Rust. Added comments with TODo * chore: fix tests? * chore: fix tests?? * chore: fix tests, add D1 * chore: fix type tests * chore: fix type tests? * chore: fix type tests + module resolution issues with mock-adapter * chore: fix e2e tests??? * chore: fix e2e tests?????? * test(client): split e2e "prisma-client-imports" in different test suite for each Driver Adapter provider * chore: update pnpm-lock * chore: removed unused undici import
…14.0 (#24542) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…9fc221e9de94 (#24560) * test(client): SQLite "Timed out during query execution." for concurrent queries Reproductions for #11789 * test(client); add more tests * chore(deps): update engines to 5.16.0-1.fix-sqlite-concurrent-writes-74a48e9f33b0a8b403045af35430ce444541be88 * test(client): update tests for D1 * test(client): fix D1 test * test(client): prove that #22947 is solved as well * add DROP before create * chore(client): rename test suite * chore(client): fix mongodb issue? * use `db.dropDb()` * test(client): clean up functional tests, remove non-deterministic IDs * test(client): run only on SQLite * chore(deps): update engines to 5.16.0-16.4c3db41c3ad6086fa0f844bafe039fc221e9de94 * chore(client): fix UTF8 issues with Postgres --------- Co-authored-by: Joël Galeran <[email protected]> Co-authored-by: jkomyno <[email protected]> Co-authored-by: Alberto Schiabel <[email protected]>
Should fix the failures for e2e tests.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* feat: display the socket path during migration * affects: PostgreSQL, CockroachDB, and MySQL
* feat(client): Implement global `omit` configuration Allows to set `omit` option in `PrismaClient` constructor: ```ts const prisma = new PrismaClient({ omit: { user: { password: true } } }) ``` If developer does so, specified field will be omitted from all model results by default as if local `omit` option was specified for every query. It is still possible to include field explicitly either by using `omit: { field: false }` or `select: { field: true }` on a query. Also, just like in case of local omit, if result extension needs omitted field, we will still query it from DB, but drop before returning the final result. Feature implemented under the same `omitApi` preview flag as local `omit`. Implementation-wise, done by forwarding `ClientOptions` generic all the way from `PrismaClient` to individual query results. Both local and global `omit` are now applied at the moment of `DefaultSelection` creation. Previously, local omit was applied after `select` and `include`, but that does not work if we want to be able to undo global omit in individual queries. Close prisma/team-orm#1109 Ref #5042 * fix extensions tests * Fix composites selection tests * Address review feedback * Render `omit` as required for empty selection
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…5787) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
The devDependency was updated in #25515 but the version in the bundled drivers for engine tests wasn't, causing problems because both were imported from different packages and `instanceof` check failed. Fixes: prisma/team-orm#1443
* fix(ci): update codspeed action to v3 v2 now fails on the latest ubuntu runner version * update expected openssl version
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…25849) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This should've been done in Prisma 6.0 release but we missed it.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…319a57a5aa0 (#25870) Co-authored-by: Alberto Schiabel <[email protected]>
Co-authored-by: Alberto Schiabel <[email protected]>
Re-export `registerInstrumentations` from `@opentelemetry/instrumentation` in `@prisma/instrumentation`. This way users won't need to explicitly install the `@opentelemetry/instrumentation` package if they don't need it for anything else, and will be guaranteed to use a compatible version.
…0969c9317d (#25887) * chore(deps): update engines to 6.2.0-2.acc7a891c419e76523175dc1cde0150969c9317d * chore: update snapshots --------- Co-authored-by: Jacek Malec <[email protected]>
When we have nested `select` or `include`, TypeScript at some point gives up remembering what keys `A` has exactly and discards the `omit` for whatever reason. Re-adding the `omit` key at the point it happens using the `A & { omit: A['omit'] }` hack makes TypeScript a little bit less forgetful. Closes: prisma/team-orm#1442 Fixes: #24835 Co-authored-by: Jacek Malec <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )