Skip to content

Commit 4576df3

Browse files
authored
Merge pull request #2197 from undb-io/release/v1.0.0-138
Release version v1.0.0-138
2 parents b1a5b39 + b6ed384 commit 4576df3

File tree

25 files changed

+89
-104
lines changed

25 files changed

+89
-104
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## v1.0.0-138
4+
5+
6+
### 🩹 Fixes
7+
8+
- Fix select issue ([aea8243](https://github.com/undb-io/undb/commit/aea8243))
9+
10+
### ❤️ Contributors
11+
12+
- Nichenqin ([@nichenqin](http://github.com/nichenqin))
13+
314
## v1.0.0-137
415

516

apps/backend/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"build:docker": "bun build --compile src/index.ts --target=bun --packages=external --sourcemap --outfile undb"
99
},
1010
"dependencies": {
11-
"@aws-sdk/client-s3": "^3.717.0",
12-
"@aws-sdk/s3-request-presigner": "^3.717.0",
11+
"@aws-sdk/client-s3": "^3.726.0",
12+
"@aws-sdk/s3-request-presigner": "^3.726.0",
1313
"@elysiajs/cors": "1.1.0",
1414
"@elysiajs/cron": "1.1.0",
1515
"@elysiajs/html": "1.1.0",
@@ -43,8 +43,8 @@
4343
"@undb/trpc": "workspace:*",
4444
"@undb/webhook": "workspace:*",
4545
"arctic": "^2.3.3",
46-
"bun": "^1.1.42",
47-
"core-js": "^3.39.0",
46+
"bun": "^1.1.43",
47+
"core-js": "^3.40.0",
4848
"elysia": "1.1.7",
4949
"got": "^14.4.5",
5050
"handlebars": "^4.7.8",
@@ -56,7 +56,7 @@
5656
"oslo": "^1.2.1",
5757
"radash": "^12.1.0",
5858
"reflect-metadata": "^0.2.2",
59-
"uuid": "^11.0.3",
59+
"uuid": "^11.0.5",
6060
"xlsx": "^0.18.5"
6161
},
6262
"devDependencies": {

apps/backend/src/modules/auth/auth.provider.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { BunSQLiteAdapter, LibSQLAdapter } from "@lucia-auth/adapter-sqlite"
22
import { container, inject, instanceCachingFactory } from "@undb/di"
33
import { env } from "@undb/env"
4-
import { Client, SQLITE_CLIENT } from "@undb/persistence/server"
4+
import { Client, DATABASE_CLIENT } from "@undb/persistence/server"
55
import Database from "bun:sqlite"
66
import { Adapter, Lucia } from "lucia"
77

@@ -72,10 +72,10 @@ declare module "lucia" {
7272
container.register(LUCIA_PROVIDER, {
7373
useFactory: instanceCachingFactory((c) => {
7474
if (env.UNDB_DB_PROVIDER === "sqlite" || !env.UNDB_DB_PROVIDER) {
75-
const sqlite = c.resolve<Database>(SQLITE_CLIENT)
75+
const sqlite = c.resolve<Database>(DATABASE_CLIENT)
7676
return createSqliteLucia(sqlite)
7777
}
78-
const sqlite = c.resolve<Client>(SQLITE_CLIENT)
78+
const sqlite = c.resolve<Client>(DATABASE_CLIENT)
7979
return createTursoLucia(sqlite)
8080
}),
8181
})

apps/backend/src/modules/space/space.module.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { getCurrentMember } from "@undb/context/server"
55
import { CommandBus } from "@undb/cqrs"
66
import { inject, singleton } from "@undb/di"
77
import type { ITxContext } from "@undb/persistence/server"
8-
import { injectQueryBuilder, injectTxCTX, type IQueryBuilder } from "@undb/persistence/server"
8+
import { injectTxCTX } from "@undb/persistence/server"
99
import { injectSpaceService, type ISpaceService } from "@undb/space"
1010
import Elysia, { t } from "elysia"
1111
import { type Lucia } from "lucia"
@@ -20,8 +20,6 @@ export class SpaceModule {
2020
private readonly spaceService: ISpaceService,
2121
@inject(CommandBus)
2222
private readonly commandBus: CommandBus,
23-
@injectQueryBuilder()
24-
private readonly qb: IQueryBuilder,
2523
@injectContext()
2624
private readonly context: IContext,
2725
@injectTxCTX()

apps/backend/src/registry/db.registry.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import {
3131
DashboardOutboxService,
3232
DashboardQueryRepository,
3333
DashboardRepository,
34+
DATABASE_CLIENT,
3435
InvitationQueryRepository,
3536
InvitationRepository,
3637
QUERY_BUILDER,
@@ -43,7 +44,6 @@ import {
4344
SpaceMemberRepository,
4445
SpaceQueryRepository,
4546
SpaceRepostitory,
46-
SQLITE_CLIENT,
4747
TableOutboxService,
4848
TableQueryRepository,
4949
TableRepository,
@@ -78,7 +78,7 @@ export const registerDb = () => {
7878
container.register(CTX, { useValue: txContext })
7979
container.register(TX_CTX, TxContextImpl)
8080

81-
container.register(SQLITE_CLIENT, {
81+
container.register(DATABASE_CLIENT, {
8282
useFactory: instanceCachingFactory(() => {
8383
if (env.UNDB_DB_PROVIDER === "sqlite" || !env.UNDB_DB_PROVIDER) {
8484
return createSqliteClient("undb.sqlite")
@@ -89,10 +89,10 @@ export const registerDb = () => {
8989
container.register(QUERY_BUILDER, {
9090
useFactory: instanceCachingFactory((c) => {
9191
if (env.UNDB_DB_PROVIDER === "sqlite" || !env.UNDB_DB_PROVIDER) {
92-
const sqlite = c.resolve<Database>(SQLITE_CLIENT)
92+
const sqlite = c.resolve<Database>(DATABASE_CLIENT)
9393
return createSqliteQueryBuilder(sqlite)
9494
}
95-
const sqlite = c.resolve<Client>(SQLITE_CLIENT)
95+
const sqlite = c.resolve<Client>(DATABASE_CLIENT)
9696
return createTursoQueryBuilder(sqlite)
9797
}),
9898
})

apps/desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"devDependencies": {
1616
"@tauri-apps/cli": "^1.6.3",
17-
"typescript": "^5.7.2",
17+
"typescript": "^5.7.3",
1818
"vite": "^5.4.11"
1919
}
2020
}

apps/frontend/package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,23 @@
1414
"clean": "bunx rimraf node_modules"
1515
},
1616
"devDependencies": {
17-
"@fontsource/fira-mono": "^5.1.0",
17+
"@fontsource/fira-mono": "^5.1.1",
1818
"@jhubbardsf/svelte-sortablejs": "latest",
1919
"@jimmyverburgt/svelte-input-otp": "^0.0.3",
2020
"@neoconfetti/svelte": "^2.2.1",
2121
"@svelte-put/copy": "^4.0.0",
2222
"@svelte-put/shortcut": "^4.1.0",
2323
"@sveltejs/adapter-static": "^3.0.8",
24-
"@sveltejs/kit": "^2.15.0",
24+
"@sveltejs/kit": "^2.15.2",
2525
"@sveltejs/vite-plugin-svelte": "^4.0.0",
26-
"@tailwindcss/typography": "^0.5.15",
27-
"@tanstack/eslint-plugin-query": "^5.62.9",
26+
"@tailwindcss/typography": "^0.5.16",
27+
"@tanstack/eslint-plugin-query": "^5.62.16",
2828
"@types/eslint": "^9.6.1",
2929
"@types/lodash.unzip": "^3.4.9",
3030
"@types/papaparse": "^5.3.15",
3131
"@types/sortablejs": "latest",
32-
"@typescript-eslint/eslint-plugin": "^8.18.2",
33-
"@typescript-eslint/parser": "^8.18.2",
32+
"@typescript-eslint/eslint-plugin": "^8.19.1",
33+
"@typescript-eslint/parser": "^8.19.1",
3434
"@undb/commands": "workspace:*",
3535
"@undb/command-handlers": "workspace:*",
3636
"@undb/query-handlers": "workspace:*",
@@ -56,18 +56,18 @@
5656
"houdini": "^1.4.0",
5757
"houdini-svelte": "^2.1.0",
5858
"lodash.unzip": "^3.4.0",
59-
"papaparse": "^5.4.1",
59+
"papaparse": "^5.5.0",
6060
"postcss": "^8.4.49",
6161
"postcss-load-config": "^6.0.1",
6262
"prettier": "^3.4.2",
6363
"prettier-plugin-svelte": "^3.3.2",
6464
"prettier-plugin-tailwindcss": "^0.6.9",
6565
"radash": "^12.1.0",
66-
"rollup-plugin-visualizer": "^5.12.0",
66+
"rollup-plugin-visualizer": "^5.14.0",
6767
"safe-flat": "^2.1.0",
6868
"sortablejs": "^1.15.6",
69-
"svelte": "^5.16.0",
70-
"svelte-check": "^4.1.1",
69+
"svelte": "^5.17.3",
70+
"svelte-check": "^4.1.3",
7171
"svelte-headless-table": "^0.18.3",
7272
"svelte-inview": "^4.0.4",
7373
"svelte-jsoneditor": "^2.3.3",
@@ -77,8 +77,8 @@
7777
"tailwindcss": "^3.4.17",
7878
"timeago.js": "^4.0.2",
7979
"tslib": "^2.8.1",
80-
"type-fest": "^4.31.0",
81-
"typescript": "^5.7.2",
80+
"type-fest": "^4.32.0",
81+
"typescript": "^5.7.3",
8282
"vite": "^5.4.11",
8383
"vite-plugin-node-polyfills": "^0.22.0",
8484
"vitest": "^2.1.8",
@@ -87,25 +87,25 @@
8787
"type": "module",
8888
"dependencies": {
8989
"@atlaskit/pragmatic-drag-and-drop": "^1.4.0",
90-
"@codemirror/commands": "^6.7.1",
90+
"@codemirror/commands": "^6.8.0",
9191
"@codemirror/language": "^6.10.8",
9292
"@codemirror/state": "^6.5.0",
93-
"@codemirror/view": "^6.36.1",
94-
"@floating-ui/dom": "^1.6.12",
93+
"@codemirror/view": "^6.36.2",
94+
"@floating-ui/dom": "^1.6.13",
9595
"@formkit/auto-animate": "^0.8.2",
9696
"@internationalized/date": "^3.6.0",
9797
"@svelte-put/clickoutside": "^4.0.0",
98-
"@tanstack/svelte-query": "^5.62.9",
98+
"@tanstack/svelte-query": "^5.62.16",
9999
"@tanstack/svelte-virtual": "^3.11.2",
100-
"@tiptap/core": "^2.10.4",
101-
"@tiptap/pm": "^2.10.4",
102-
"@tiptap/starter-kit": "^2.10.4",
100+
"@tiptap/core": "^2.11.0",
101+
"@tiptap/pm": "^2.11.0",
102+
"@tiptap/starter-kit": "^2.11.0",
103103
"@trpc/client": "^10.45.2",
104104
"@undb/zod": "workspace:*",
105105
"bits-ui": "^0.22.0",
106106
"clsx": "^2.1.1",
107107
"cmdk-sv": "^0.0.18",
108-
"embla-carousel-svelte": "^8.5.1",
108+
"embla-carousel-svelte": "^8.5.2",
109109
"formsnap": "^1.0.1",
110110
"fuse.js": "^7.0.0",
111111
"lucide-svelte": "^0.469.0",

apps/frontend/src/lib/components/blocks/grid-view/editable-cell/select-cell.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
$updateCell.mutate({
4545
tableId,
4646
id: recordId,
47-
values: { [field.id.value]: value },
47+
values: { [field.id.value]: id },
4848
})
4949
}
5050
</script>

bun.lockb

5.09 KB
Binary file not shown.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "undb",
3-
"version": "1.0.0-137",
3+
"version": "1.0.0-138",
44
"private": true,
55
"scripts": {
66
"build": "NODE_ENV=production bun --bun turbo build",
@@ -28,7 +28,7 @@
2828
"devDependencies": {
2929
"drizzle-kit": "^0.30.1",
3030
"husky": "^9.1.7",
31-
"lint-staged": "^15.2.11",
31+
"lint-staged": "^15.3.0",
3232
"npm-run-all2": "^7.0.2",
3333
"prettier": "^3.4.2",
3434
"turbo": "^2.3.3"
@@ -39,7 +39,7 @@
3939
"engines": {
4040
"node": ">=18"
4141
},
42-
"packageManager": "bun@1.1.42",
42+
"packageManager": "bun@1.1.43",
4343
"workspaces": [
4444
"apps/*",
4545
"packages/*"

0 commit comments

Comments
 (0)