Skip to content

Commit

Permalink
chore(deps): update engines to 4.4.0-32.f71b10418f535996bac94b190aa87…
Browse files Browse the repository at this point in the history
…4900a0f7074 (#15409)

* chore(deps): update engines to 4.4.0-32.f71b10418f535996bac94b190aa874900a0f7074

* fix failing update many tests

* Update client snapshots

Co-authored-by: garren smith <garren.smith@gmail.com>
Co-authored-by: Sergey Tatarintsev <tatarintsev@prisma.io>
  • Loading branch information
3 people committed Sep 20, 2022
1 parent 6c0dbb4 commit ba9ea8f
Show file tree
Hide file tree
Showing 13 changed files with 84 additions and 32 deletions.
2 changes: 1 addition & 1 deletion packages/client/package.json
Expand Up @@ -147,7 +147,7 @@
}
},
"dependencies": {
"@prisma/engines-version": "4.4.0-12.ef027724572e12df6f7ce8c487bd5579b008cd71"
"@prisma/engines-version": "4.4.0-32.f71b10418f535996bac94b190aa874900a0f7074"
},
"sideEffects": false
}
Expand Up @@ -95,7 +95,7 @@ test('batch findUnique', async () => {
expect(sanitizeEvents(queries)[queries.length - 1]).toMatchInlineSnapshot(`
Object {
params: ["234cba9a-5cd9-4e00-a285-9955eb3bdf8f","9d9b7fd0-bfce-4017-945c-0ffaee1eb5f0","ad291441-9ce9-4e9f-9cbb-9fcfe15ea519","d36a2dfe-d8fd-488d-973c-bb1b1b082014","e7b2f865-59a0-4303-aa82-c7f9c1f86806","13b817ae-401c-40a8-8609-0da43f462d2e","4240fe9d-e363-484d-ae21-3ed7dc5a17fd","48ad17bb-ed9b-4590-a782-30a4f2cfab4e","7e23d607-dc38-458a-ba2c-586abf498d78","70ab5a89-9ded-4394-95e3-5265b714a11d",-1,0],
query: SELECT \`main\`.\`User\`.\`id\`, \`main\`.\`User\`.\`email\`, \`main\`.\`User\`.\`age\`, \`main\`.\`User\`.\`name\` FROM \`main\`.\`User\` WHERE \`main\`.\`User\`.\`id\` IN (?,?,?,?,?,?,?,?,?,?) LIMIT ? OFFSET ? /* traceparent=00-00-00-00 */,
query: SELECT \`main\`.\`User\`.\`id\`, \`main\`.\`User\`.\`email\`, \`main\`.\`User\`.\`age\`, \`main\`.\`User\`.\`name\` FROM \`main\`.\`User\` WHERE \`main\`.\`User\`.\`id\` IN (?,?,?,?,?,?,?,?,?,?) LIMIT ? OFFSET ?,
target: quaint::connector::metrics,
}
`)
Expand Down
Expand Up @@ -15527,7 +15527,7 @@ export namespace Prisma {
text?: StringFilter | string
bit?: StringFilter | string
vBit?: StringFilter | string
uuid?: StringFilter | string
uuid?: UuidFilter | string
}

export type COrderByWithRelationInput = {
Expand Down Expand Up @@ -15567,7 +15567,7 @@ export namespace Prisma {
text?: StringWithAggregatesFilter | string
bit?: StringWithAggregatesFilter | string
vBit?: StringWithAggregatesFilter | string
uuid?: StringWithAggregatesFilter | string
uuid?: UuidWithAggregatesFilter | string
}

export type DWhereInput = {
Expand Down Expand Up @@ -17885,6 +17885,18 @@ export namespace Prisma {
_max?: NestedDecimalFilter
}

export type UuidFilter = {
equals?: string
in?: Enumerable<string>
notIn?: Enumerable<string>
lt?: string
lte?: string
gt?: string
gte?: string
mode?: QueryMode
not?: NestedUuidFilter | string
}

export type CCountOrderByAggregateInput = {
id?: SortOrder
char?: SortOrder
Expand Down Expand Up @@ -17915,6 +17927,21 @@ export namespace Prisma {
uuid?: SortOrder
}

export type UuidWithAggregatesFilter = {
equals?: string
in?: Enumerable<string>
notIn?: Enumerable<string>
lt?: string
lte?: string
gt?: string
gte?: string
mode?: QueryMode
not?: NestedUuidWithAggregatesFilter | string
_count?: NestedIntFilter
_min?: NestedStringFilter
_max?: NestedStringFilter
}

export type BytesFilter = {
equals?: Buffer
in?: Enumerable<Buffer>
Expand Down Expand Up @@ -18673,6 +18700,31 @@ export namespace Prisma {
_max?: NestedDecimalFilter
}

export type NestedUuidFilter = {
equals?: string
in?: Enumerable<string>
notIn?: Enumerable<string>
lt?: string
lte?: string
gt?: string
gte?: string
not?: NestedUuidFilter | string
}

export type NestedUuidWithAggregatesFilter = {
equals?: string
in?: Enumerable<string>
notIn?: Enumerable<string>
lt?: string
lte?: string
gt?: string
gte?: string
not?: NestedUuidWithAggregatesFilter | string
_count?: NestedIntFilter
_min?: NestedStringFilter
_max?: NestedStringFilter
}

export type NestedBytesFilter = {
equals?: Buffer
in?: Enumerable<Buffer>
Expand Down
Expand Up @@ -73,7 +73,7 @@ test('basic event logging - binary', async () => {
Object {
duration: 0,
params: [0],
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1 /* traceparent=00-00-00-00 */,
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1,
target: quaint::connector::metrics,
timestamp: 1970-01-01T00:00:00.000Z,
},
Expand Down Expand Up @@ -125,7 +125,7 @@ test('interactive transactions logging - binary', async () => {
Object {
duration: 0,
params: [0],
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1 /* traceparent=00-00-00-00 */,
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1,
target: quaint::connector::metrics,
timestamp: 1970-01-01T00:00:00.000Z,
},
Expand Down
Expand Up @@ -66,7 +66,7 @@ test('basic event logging - library', async () => {
Object {
duration: 0,
params: [0],
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1 /* traceparent=00-00-00-00 */,
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1,
target: quaint::connector::metrics,
timestamp: 1970-01-01T00:00:00.000Z,
},
Expand Down Expand Up @@ -118,7 +118,7 @@ test('interactive transactions logging - library', async () => {
Object {
duration: 0,
params: [0],
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1 /* traceparent=00-00-00-00 */,
query: SELECT "public"."User"."id" FROM "public"."User" WHERE 1=1 OFFSET $1,
target: quaint::connector::metrics,
timestamp: 1970-01-01T00:00:00.000Z,
},
Expand Down
Expand Up @@ -108,7 +108,7 @@ describe('transaction', () => {
},
Object {
params: ["A"],
query: SELECT \`main\`.\`User\`.\`id\` FROM \`main\`.\`User\` WHERE \`main\`.\`User\`.\`name\` = ? /* traceparent=00-00-00-00 */,
query: SELECT \`main\`.\`User\`.\`id\` FROM \`main\`.\`User\` WHERE \`main\`.\`User\`.\`name\` = ?,
target: quaint::connector::metrics,
},
Object {
Expand Down Expand Up @@ -181,7 +181,7 @@ describe('transaction', () => {
},
Object {
params: ["A"],
query: SELECT \`main\`.\`User\`.\`id\` FROM \`main\`.\`User\` WHERE \`main\`.\`User\`.\`name\` = ? /* traceparent=00-00-00-00 */,
query: SELECT \`main\`.\`User\`.\`id\` FROM \`main\`.\`User\` WHERE \`main\`.\`User\`.\`name\` = ?,
target: quaint::connector::metrics,
},
Object {
Expand Down
Expand Up @@ -136,7 +136,7 @@ setupTestSuite(() => {
},
where: {
upvotes: {
isEmpty: true,
isEmpty: false,
},
},
},
Expand All @@ -155,7 +155,7 @@ setupTestSuite(() => {
deleteMany: {
where: {
upvotes: {
isEmpty: true,
isEmpty: false,
},
},
},
Expand Down
Expand Up @@ -284,10 +284,10 @@ setupTestSuite(({ contentProperty }) => {
upsert: {
update: {
// TODO: validation error if removed
text: 'Hello World',
text: 'Hello World update',
},
set: {
text: 'Hello World',
text: 'Hello World new',
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion packages/engines/package.json
Expand Up @@ -8,7 +8,7 @@
"author": "Tim Suchanek <suchanek@prisma.io>",
"devDependencies": {
"@prisma/debug": "workspace:*",
"@prisma/engines-version": "4.4.0-12.ef027724572e12df6f7ce8c487bd5579b008cd71",
"@prisma/engines-version": "4.4.0-32.f71b10418f535996bac94b190aa874900a0f7074",
"@prisma/fetch-engine": "workspace:*",
"@prisma/get-platform": "workspace:*",
"@swc/core": "1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/fetch-engine/package.json
Expand Up @@ -15,7 +15,7 @@
"bugs": "https://github.com/prisma/prisma/issues",
"enginesOverride": {},
"devDependencies": {
"@prisma/engines-version": "4.4.0-12.ef027724572e12df6f7ce8c487bd5579b008cd71",
"@prisma/engines-version": "4.4.0-32.f71b10418f535996bac94b190aa874900a0f7074",
"@swc/core": "1.3.1",
"@swc/jest": "0.2.22",
"@types/jest": "28.1.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/internals/package.json
Expand Up @@ -45,7 +45,7 @@
"@prisma/fetch-engine": "workspace:*",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "workspace:*",
"@prisma/prisma-fmt-wasm": "4.4.0-12.ef027724572e12df6f7ce8c487bd5579b008cd71",
"@prisma/prisma-fmt-wasm": "4.4.0-32.f71b10418f535996bac94b190aa874900a0f7074",
"archiver": "5.3.1",
"arg": "5.0.2",
"chalk": "4.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/migrate/package.json
Expand Up @@ -17,7 +17,7 @@
"version": "latest"
},
"devDependencies": {
"@prisma/engines-version": "4.4.0-12.ef027724572e12df6f7ce8c487bd5579b008cd71",
"@prisma/engines-version": "4.4.0-32.f71b10418f535996bac94b190aa874900a0f7074",
"@prisma/generator-helper": "workspace:*",
"@prisma/internals": "workspace:*",
"@swc/core": "1.3.1",
Expand Down
28 changes: 14 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ba9ea8f

Please sign in to comment.