Skip to content

Commit

Permalink
Merge pull request #2051 from undb-io/release/v1.0.0-82
Browse files Browse the repository at this point in the history
Release version v1.0.0-82
  • Loading branch information
nichenqin authored Sep 20, 2024
2 parents fccab71 + e54e882 commit 09f288a
Show file tree
Hide file tree
Showing 21 changed files with 270 additions and 247 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## v1.0.0-82


### 🏡 Chore

- Upgrade dependecies ([631fa3b](https://github.com/undb-io/undb/commit/631fa3b))

### ❤️ Contributors

- Nichenqin ([@nichenqin](http://github.com/nichenqin))

## v1.0.0-81


Expand Down
12 changes: 6 additions & 6 deletions apps/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"build:docker": "bun build --compile src/index.ts --target=bun --packages=external --sourcemap --outfile undb"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.637.0",
"@aws-sdk/s3-request-presigner": "^3.637.0",
"@aws-sdk/client-s3": "^3.654.0",
"@aws-sdk/s3-request-presigner": "^3.654.0",
"@elysiajs/cors": "1.1.0",
"@elysiajs/cron": "1.1.0",
"@elysiajs/html": "1.1.0",
"@elysiajs/opentelemetry": "^1.1.4",
"@elysiajs/opentelemetry": "^1.1.5",
"@elysiajs/static": "1.1.0",
"@elysiajs/stream": "1.1.0",
"@elysiajs/swagger": "^1.1.1",
Expand All @@ -39,7 +39,7 @@
"@undb/trpc": "workspace:*",
"@undb/webhook": "workspace:*",
"arctic": "^1.9.2",
"bun": "^1.1.26",
"bun": "^1.1.29",
"core-js": "^3.38.1",
"elysia": "1.1.7",
"got": "^14.4.2",
Expand All @@ -48,15 +48,15 @@
"mailgun-nodemailer-transport": "^3.0.2",
"minio": "^8.0.1",
"nanoid": "^5.0.7",
"nodemailer": "^6.9.14",
"nodemailer": "^6.9.15",
"oslo": "^1.2.1",
"radash": "^12.1.0",
"reflect-metadata": "^0.2.2",
"uuid": "^10.0.0",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@types/nodemailer": "^6.4.15",
"@types/nodemailer": "^6.4.16",
"@types/uuid": "^10.0.0",
"bun-types": "latest",
"kysely": "^0.27.4"
Expand Down
6 changes: 3 additions & 3 deletions apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"@tauri-apps/api": "^1.6.0"
},
"devDependencies": {
"@tauri-apps/cli": "^1.6.1",
"typescript": "^5.5.4",
"vite": "^5.4.3"
"@tauri-apps/cli": "^1.6.2",
"typescript": "^5.6.2",
"vite": "^5.4.6"
}
}
54 changes: 27 additions & 27 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@
"format": "prettier --write ."
},
"devDependencies": {
"@fontsource/fira-mono": "^5.0.15",
"@fontsource/fira-mono": "^5.1.0",
"@jhubbardsf/svelte-sortablejs": "latest",
"@jimmyverburgt/svelte-input-otp": "^0.0.3",
"@neoconfetti/svelte": "^2.2.1",
"@svelte-put/copy": "^3.0.2",
"@svelte-put/shortcut": "^3.1.1",
"@sveltejs/adapter-static": "^3.0.4",
"@sveltejs/kit": "^2.5.26",
"@sveltejs/adapter-static": "^3.0.5",
"@sveltejs/kit": "^2.5.28",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@tanstack/eslint-plugin-query": "^5.53.0",
"@tanstack/eslint-plugin-query": "^5.56.1",
"@types/eslint": "^8.56.12",
"@types/lodash.unzip": "^3.4.9",
"@types/papaparse": "^5.3.14",
"@types/sortablejs": "latest",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"@undb/commands": "workspace:*",
"@undb/domain": "workspace:*",
"@undb/i18n": "workspace:*",
Expand All @@ -40,15 +40,15 @@
"@undb/utils": "workspace:*",
"array-move": "^4.0.0",
"autoprefixer": "^10.4.20",
"date-fns": "^3.6.0",
"date-fns": "^4.1.0",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.43.0",
"houdini": "^1.2.56",
"houdini-svelte": "^1.2.56",
"eslint-plugin-svelte": "^2.44.0",
"houdini": "^1.2.62",
"houdini-svelte": "^1.2.62",
"lodash.unzip": "^3.4.0",
"papaparse": "^5.4.1",
"postcss": "^8.4.45",
"postcss": "^8.4.47",
"postcss-load-config": "^6.0.1",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.6",
Expand All @@ -58,46 +58,46 @@
"safe-flat": "^2.1.0",
"sortablejs": "^1.15.3",
"svelte": "^4.2.19",
"svelte-check": "^4.0.1",
"svelte-check": "^4.0.2",
"svelte-dnd-action": "^0.9.50",
"svelte-headless-table": "^0.18.2",
"svelte-inview": "^4.0.2",
"svelte-jsoneditor": "^0.23.8",
"svelte-persisted-store": "^0.11.0",
"sveltekit-search-params": "^3.0.0",
"svelvet": "^10.0.2",
"tailwindcss": "^3.4.10",
"tailwindcss": "^3.4.12",
"timeago.js": "^4.0.2",
"tslib": "^2.7.0",
"type-fest": "^4.26.0",
"typescript": "^5.5.4",
"vite": "^5.4.3",
"vitest": "^2.0.5",
"type-fest": "^4.26.1",
"typescript": "^5.6.2",
"vite": "^5.4.6",
"vitest": "^2.1.1",
"xlsx": "^0.18.5"
},
"type": "module",
"dependencies": {
"@formkit/auto-animate": "^0.8.2",
"@internationalized/date": "^3.5.5",
"@svelte-put/clickoutside": "^3.0.2",
"@tanstack/svelte-query": "^5.54.2",
"@tiptap/core": "^2.6.6",
"@tiptap/pm": "^2.6.6",
"@tiptap/starter-kit": "^2.6.6",
"@tanstack/svelte-query": "^5.56.2",
"@tiptap/core": "^2.7.2",
"@tiptap/pm": "^2.7.2",
"@tiptap/starter-kit": "^2.7.2",
"@trpc/client": "^10.45.2",
"@undb/zod": "workspace:*",
"bits-ui": "^0.21.13",
"bits-ui": "^0.21.15",
"clsx": "^2.1.1",
"cmdk-sv": "^0.0.18",
"embla-carousel-svelte": "^8.2.1",
"embla-carousel-svelte": "^8.3.0",
"formsnap": "^1.0.1",
"lucide-svelte": "^0.439.0",
"lucide-svelte": "^0.441.0",
"mode-watcher": "^0.4.1",
"paneforge": "^0.0.5",
"paneforge": "^0.0.6",
"svelte-qrcode": "^1.0.0",
"svelte-radix": "^1.1.1",
"svelte-sonner": "^0.3.27",
"sveltekit-superforms": "^2.17.0",
"svelte-sonner": "^0.3.28",
"sveltekit-superforms": "^2.19.0",
"tailwind-merge": "^2.5.2",
"tailwind-variants": "^0.2.1",
"trpc-svelte-query-adapter": "^2.3.14",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
mutationFn: trpc.base.create.mutate,
async onSuccess(data) {
form.reset()
await tick()
await invalidateAll()
await goto(`/bases/${data}`)
await invalidateAll()
closeModal(CREATE_BASE_MODAL)
},
onError(error) {
Expand Down Expand Up @@ -59,7 +58,7 @@
const { form: formData, enhance, delayed, validateForm } = form
</script>

<form id="createTable" class="space-y-2 px-1" method="POST" use:enhance>
<form id="createBase" class="space-y-2 px-1" method="POST" use:enhance>
<Form.Field {form} name="name">
<Form.Control let:attrs>
<Form.Label>Name</Form.Label>
Expand All @@ -71,7 +70,7 @@
/>
</Form.Control>
<Form.FieldErrors />
</Form.Field>
</Form.Field>

<div class="flex items-center justify-end gap-2">
<Form.FormButton type="button" variant="secondary" on:click={() => closeModal(CREATE_BASE_MODAL)}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
}}
>
<Sheet.Content side="left" class="sm:max-w-1/2 flex w-1/3 flex-col">
<Sheet.Content side="left" class="sm:max-w-2/3 lg:max-w-1/2 flex !max-w-none flex-col sm:w-2/3 lg:w-1/2">
<Sheet.Header>
<Sheet.Title>
Create Table
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
console.log(event.form.errors)
return
}
const baseId = $currentBase?.id
const baseId = $currentBase?.id ?? $baseId
if (!baseId) return
await $mutation.mutateAsync({
Expand Down
22 changes: 14 additions & 8 deletions apps/frontend/src/lib/components/blocks/nav/nav-tools.svelte
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button"
import { PlusIcon, SearchIcon, SettingsIcon } from "lucide-svelte"
import { PlusIcon, SearchIcon, SettingsIcon, PanelLeftCloseIcon } from "lucide-svelte"
import { commandOpen } from "../command/command.store"
import { CREATE_BASE_MODAL, toggleModal } from "$lib/store/modal.store"
import { page } from "$app/stores"
import { hasPermission } from "$lib/store/space-member.store"
import SpaceDropdown from "../space/space-dropdown.svelte"
import type { ISpaceDTO } from "@undb/space"
import { preferences } from "$lib/store/persisted.store"
export let space: ISpaceDTO | undefined | null
export let me: any
</script>

<div class="w-full space-y-1">
{#if space}
<SpaceDropdown
{me}
{space}
class="hover:bg-accent hover:text-accent-foreground focus-visible:ring-ring data-[active=true]:bg-primary data-[active=true]:text-primary-foreground flex h-8 w-full items-center justify-start gap-2 whitespace-nowrap rounded-md px-1.5 text-xs font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50"
/>
{/if}
<div class="flex items-center justify-between">
{#if space}
<SpaceDropdown
{me}
{space}
class="hover:bg-accent hover:text-accent-foreground focus-visible:ring-ring data-[active=true]:bg-primary data-[active=true]:text-primary-foreground flex h-8 w-full flex-1 items-center justify-start gap-2 whitespace-nowrap rounded-md px-1.5 text-xs font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50"
/>
{/if}
<button on:click={() => preferences.update((p) => ({ ...p, panelLeftCollapsed: true, panelLeftWidth: 0 }))}>
<PanelLeftCloseIcon class="text-muted-foreground size-4" />
</button>
</div>

<Button
variant="outline"
Expand Down
Loading

0 comments on commit 09f288a

Please sign in to comment.