Skip to content

Commit 9e82fcd

Browse files
xata-botgithub-actions[bot]SferaDev
authored
Release tracking (#1613)
Signed-off-by: Alexis Rico <sferadev@gmail.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Alexis Rico <sferadev@gmail.com>
1 parent b990afb commit 9e82fcd

File tree

10 files changed

+26
-19
lines changed

10 files changed

+26
-19
lines changed

.changeset/forty-shirts-hug.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/thick-kings-eat.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

compatibility.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"@xata.io/cli": {
3-
"latest": "0.16.11",
3+
"latest": "0.16.12",
44
"compatibility": [
55
{
66
"range": ">=0.0.0"

packages/cli/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @xata.io/cli
22

3+
## 0.16.12
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`b990afb`](https://github.com/xataio/client-ts/commit/b990afb5ac1a86684a9dcc0952322f11b971eebe), [`798b45a`](https://github.com/xataio/client-ts/commit/798b45ad8fc74af591f1c1d163a9f28d0bfc5c6d)]:
8+
- @xata.io/pgroll@0.7.0
9+
310
## 0.16.11
411

512
### Patch Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@xata.io/cli",
3-
"version": "0.16.11",
3+
"version": "0.16.12",
44
"description": "Xata.io CLI",
55
"author": "Xata Inc.",
66
"bin": {

packages/client/src/util/buffer.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class Buffer extends Uint8Array {
166166
Buffer._isInstance(value, ArrayBuffer) ||
167167
(value && Buffer._isInstance((value as any).buffer, ArrayBuffer))
168168
) {
169-
const array = value as Uint8Array;
169+
const array = value as ArrayBufferLike;
170170
const byteOffset = encodingOrOffset as number;
171171

172172
if (byteOffset < 0 || array.byteLength < byteOffset) {
@@ -416,7 +416,7 @@ class Buffer extends Uint8Array {
416416
sourceEnd?: number
417417
): number {
418418
if (Buffer._isInstance(otherBuffer, Uint8Array)) {
419-
otherBuffer = Buffer.from(otherBuffer, otherBuffer.byteOffset, otherBuffer.byteLength);
419+
otherBuffer = Buffer.from(otherBuffer as unknown as ArrayBuffer, otherBuffer.byteOffset, otherBuffer.byteLength);
420420
}
421421

422422
if (!Buffer.isBuffer(otherBuffer)) {
@@ -1707,11 +1707,11 @@ class Buffer extends Uint8Array {
17071707
*/
17081708
public static compare(buf1: Uint8Array, buf2: Uint8Array): number {
17091709
if (Buffer._isInstance(buf1, Uint8Array)) {
1710-
buf1 = Buffer.from(buf1, buf1.byteOffset, buf1.byteLength);
1710+
buf1 = Buffer.from(buf1 as unknown as ArrayBuffer, buf1.byteOffset, buf1.byteLength);
17111711
}
17121712

17131713
if (Buffer._isInstance(buf2, Uint8Array)) {
1714-
buf2 = Buffer.from(buf2, buf2.byteOffset, buf2.byteLength);
1714+
buf2 = Buffer.from(buf2 as unknown as ArrayBuffer, buf2.byteOffset, buf2.byteLength);
17151715
}
17161716

17171717
if (!Buffer.isBuffer(buf1) || !Buffer.isBuffer(buf2)) {

packages/pgroll/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @xata.io/pgroll
22

3+
## 0.7.0
4+
5+
### Minor Changes
6+
7+
- [#1619](https://github.com/xataio/client-ts/pull/1619) [`b990afb`](https://github.com/xataio/client-ts/commit/b990afb5ac1a86684a9dcc0952322f11b971eebe) Thanks [@SferaDev](https://github.com/SferaDev)! - [Breaking] Remove `column` from `drop_constraint`
8+
9+
### Patch Changes
10+
11+
- [#1612](https://github.com/xataio/client-ts/pull/1612) [`798b45a`](https://github.com/xataio/client-ts/commit/798b45ad8fc74af591f1c1d163a9f28d0bfc5c6d) Thanks [@xata-bot](https://github.com/xata-bot)! - Update pgroll spec
12+
313
## 0.6.0
414

515
### Minor Changes

packages/pgroll/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@xata.io/pgroll",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"description": "Migration tool for PostgreSQL",
55
"type": "module",
66
"main": "./dist/index.cjs",

packages/plugin-client-drizzle/src/http/migrator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { SQL, sql } from 'drizzle-orm';
1212
*/
1313
export async function migrate<TSchema extends Record<string, unknown>>(
1414
db: XataHttpDatabase<TSchema>,
15-
config: string | MigrationConfig
15+
config: MigrationConfig
1616
) {
1717
const migrations = readMigrationFiles(config);
1818
const migrationsTable =

packages/plugin-client-drizzle/src/pg/migrator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { XataDatabase } from './driver';
33

44
export async function migrate<TSchema extends Record<string, unknown>>(
55
db: XataDatabase<TSchema>,
6-
config: string | MigrationConfig
6+
config: MigrationConfig
77
) {
88
const migrations = readMigrationFiles(config);
99
// @ts-expect-error dialect and session are private

0 commit comments

Comments
 (0)