Merge branch 'main' into dev

This commit is contained in:
Meier Lukas
2025-09-03 21:08:58 +02:00
10 changed files with 4109 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
## [1.35.1](https://github.com/homarr-labs/homarr/compare/v1.35.0...v1.35.1) (2025-09-03)
### Bug Fixes
* **db:** increase integration kind limit from 16 to 64 characters ([8ff29b8](https://github.com/homarr-labs/homarr/commit/8ff29b82e5133ba0b8eaf2cf88de9bca31128a68))
## [1.35.0](https://github.com/homarr-labs/homarr/compare/v1.34.0...v1.35.0) (2025-08-29)
### Features

View File

@@ -1,6 +1,6 @@
{
"name": "homarr",
"version": "1.35.0",
"version": "1.35.1",
"private": true,
"scripts": {
"build": "cross-env CI=true turbo build",

View File

@@ -0,0 +1 @@
ALTER TABLE `integrationSecret` MODIFY COLUMN `kind` varchar(64) NOT NULL;

File diff suppressed because it is too large Load Diff

View File

@@ -246,6 +246,13 @@
"when": 1754929897145,
"tag": "0034_increase-blob-size",
"breakpoints": true
},
{
"idx": 35,
"version": "5",
"when": 1756701556908,
"tag": "0035_increase-secret-kind-length",
"breakpoints": true
}
]
}

View File

@@ -0,0 +1 @@
ALTER TABLE "integrationSecret" ALTER COLUMN "kind" SET DATA TYPE varchar(64);

File diff suppressed because it is too large Load Diff

View File

@@ -8,6 +8,13 @@
"when": 1754853510707,
"tag": "0000_initial",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1756701573101,
"tag": "0001_increase-secret-kind-length",
"breakpoints": true
}
]
}

View File

@@ -208,7 +208,7 @@ export const integrations = mysqlTable(
export const integrationSecrets = mysqlTable(
"integrationSecret",
{
kind: varchar({ length: 16 }).$type<IntegrationSecretKind>().notNull(),
kind: varchar({ length: 64 }).$type<IntegrationSecretKind>().notNull(),
value: text().$type<`${string}.${string}`>().notNull(),
updatedAt: timestamp()
.$onUpdateFn(() => new Date())

View File

@@ -207,7 +207,7 @@ export const integrations = pgTable(
export const integrationSecrets = pgTable(
"integrationSecret",
{
kind: varchar({ length: 16 }).$type<IntegrationSecretKind>().notNull(),
kind: varchar({ length: 64 }).$type<IntegrationSecretKind>().notNull(),
value: text().$type<`${string}.${string}`>().notNull(),
updatedAt: timestamp()
.$onUpdateFn(() => new Date())