diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 8f901a74a..3a39ba344 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -31,6 +31,7 @@ body: label: Version description: What version of Homarr are you running? options: + - 1.28.1 - 1.28.0 - 1.27.0 - 1.26.0 diff --git a/.nvmrc b/.nvmrc index fc37597bc..7377d130e 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -22.17.0 +22.17.1 diff --git a/apps/nextjs/package.json b/apps/nextjs/package.json index dbaf58c0f..26b998837 100644 --- a/apps/nextjs/package.json +++ b/apps/nextjs/package.json @@ -75,7 +75,7 @@ "glob": "^11.0.3", "jotai": "^2.12.5", "mantine-react-table": "2.0.0-beta.9", - "next": "15.3.5", + "next": "15.4.1", "postcss-preset-mantine": "^1.18.0", "prismjs": "^1.30.0", "react": "19.1.0", @@ -84,7 +84,7 @@ "react-simple-code-editor": "^0.14.1", "sass": "^1.89.2", "superjson": "2.2.2", - "swagger-ui-react": "^5.26.2", + "swagger-ui-react": "^5.27.0", "use-deep-compare-effect": "^1.8.1", "zod": "^3.25.76" }, @@ -93,7 +93,7 @@ "@homarr/prettier-config": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0", "@types/chroma-js": "3.1.1", - "@types/node": "^22.16.3", + "@types/node": "^22.16.4", "@types/prismjs": "^1.26.5", "@types/react": "19.1.8", "@types/react-dom": "19.1.6", diff --git a/apps/nextjs/src/app/[locale]/boards/[name]/settings/_layout.tsx b/apps/nextjs/src/app/[locale]/boards/[name]/settings/_layout.tsx index fdd14d84b..97a576a30 100644 --- a/apps/nextjs/src/app/[locale]/boards/[name]/settings/_layout.tsx +++ b/apps/nextjs/src/app/[locale]/boards/[name]/settings/_layout.tsx @@ -3,7 +3,7 @@ import { Button, Fieldset, Grid, Group, Input, NumberInput, Slider, Stack, Text, TextInput } from "@mantine/core"; import { clientApi } from "@homarr/api/client"; -import { createId } from "@homarr/db/client"; +import { createId } from "@homarr/common"; import { useZodForm } from "@homarr/form"; import { useI18n } from "@homarr/translation/client"; import { boardSaveLayoutsSchema } from "@homarr/validation/board"; diff --git a/apps/nextjs/src/app/[locale]/manage/integrations/_components/test-connection/test-connection-certificate.tsx b/apps/nextjs/src/app/[locale]/manage/integrations/_components/test-connection/test-connection-certificate.tsx index 1a9de69a6..9f7b00530 100644 --- a/apps/nextjs/src/app/[locale]/manage/integrations/_components/test-connection/test-connection-certificate.tsx +++ b/apps/nextjs/src/app/[locale]/manage/integrations/_components/test-connection/test-connection-certificate.tsx @@ -4,8 +4,7 @@ import { IconAlertTriangle, IconCheck, IconCopy, IconExclamationCircle, IconRepe import { clientApi } from "@homarr/api/client"; import { useSession } from "@homarr/auth/client"; -import { getMantineColor } from "@homarr/common"; -import { createId } from "@homarr/db/client"; +import { createId, getMantineColor } from "@homarr/common"; import { createDocumentationLink } from "@homarr/definitions"; import { createModal, useConfirmModal, useModalAction } from "@homarr/modals"; import { AddCertificateModal } from "@homarr/modals-collection"; diff --git a/apps/nextjs/src/app/[locale]/manage/tools/kubernetes/cluster-dashboard/cluster-dashboard.tsx b/apps/nextjs/src/app/[locale]/manage/tools/kubernetes/cluster-dashboard/cluster-dashboard.tsx index ccf0cc556..b6aa8cd9e 100644 --- a/apps/nextjs/src/app/[locale]/manage/tools/kubernetes/cluster-dashboard/cluster-dashboard.tsx +++ b/apps/nextjs/src/app/[locale]/manage/tools/kubernetes/cluster-dashboard/cluster-dashboard.tsx @@ -3,7 +3,7 @@ import { SimpleGrid, Skeleton, Stack, Title } from "@mantine/core"; import { clientApi } from "@homarr/api/client"; -import { createId } from "@homarr/db/client"; +import { createId } from "@homarr/common"; import type { KubernetesLabelResourceType } from "@homarr/definitions"; import { useI18n } from "@homarr/translation/client"; diff --git a/apps/nextjs/src/app/[locale]/manage/tools/kubernetes/ingresses/ingresses-table.tsx b/apps/nextjs/src/app/[locale]/manage/tools/kubernetes/ingresses/ingresses-table.tsx index fbb250806..3787bbe8b 100644 --- a/apps/nextjs/src/app/[locale]/manage/tools/kubernetes/ingresses/ingresses-table.tsx +++ b/apps/nextjs/src/app/[locale]/manage/tools/kubernetes/ingresses/ingresses-table.tsx @@ -10,7 +10,7 @@ import { MantineReactTable } from "mantine-react-table"; import type { RouterOutputs } from "@homarr/api"; import { clientApi } from "@homarr/api/client"; -import { createId } from "@homarr/db/client"; +import { createId } from "@homarr/common"; import type { KubernetesIngress } from "@homarr/definitions"; import type { ScopedTranslationFunction } from "@homarr/translation"; import { useScopedI18n } from "@homarr/translation/client"; diff --git a/apps/nextjs/src/app/[locale]/manage/tools/kubernetes/services/services-table.tsx b/apps/nextjs/src/app/[locale]/manage/tools/kubernetes/services/services-table.tsx index 04a2924d7..05a7f3cb9 100644 --- a/apps/nextjs/src/app/[locale]/manage/tools/kubernetes/services/services-table.tsx +++ b/apps/nextjs/src/app/[locale]/manage/tools/kubernetes/services/services-table.tsx @@ -8,7 +8,7 @@ import { MantineReactTable } from "mantine-react-table"; import type { RouterOutputs } from "@homarr/api"; import { clientApi } from "@homarr/api/client"; -import { createId } from "@homarr/db/client"; +import { createId } from "@homarr/common"; import type { KubernetesService } from "@homarr/definitions"; import type { ScopedTranslationFunction } from "@homarr/translation"; import { useScopedI18n } from "@homarr/translation/client"; diff --git a/apps/nextjs/src/app/[locale]/manage/tools/logs/level-selection.tsx b/apps/nextjs/src/app/[locale]/manage/tools/logs/level-selection.tsx new file mode 100644 index 000000000..fdfe23e18 --- /dev/null +++ b/apps/nextjs/src/app/[locale]/manage/tools/logs/level-selection.tsx @@ -0,0 +1,26 @@ +"use client"; + +import { Select } from "@mantine/core"; + +import type { LogLevel } from "@homarr/log/constants"; +import { logLevelConfiguration, logLevels } from "@homarr/log/constants"; +import { useI18n } from "@homarr/translation/client"; + +import { useLogContext } from "./log-context"; + +export const LogLevelSelection = () => { + const { level, setLevel } = useLogContext(); + const t = useI18n(); + + return ( +