diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 85cf5e18d..46c605ec1 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.13.1
- 1.13.0
- 1.12.0
- 1.11.0
diff --git a/apps/nextjs/package.json b/apps/nextjs/package.json
index 6ca9f9aca..e793feb9e 100644
--- a/apps/nextjs/package.json
+++ b/apps/nextjs/package.json
@@ -56,13 +56,13 @@
"@mantine/tiptap": "^7.17.3",
"@million/lint": "1.0.14",
"@tabler/icons-react": "^3.31.0",
- "@tanstack/react-query": "^5.70.0",
- "@tanstack/react-query-devtools": "^5.70.0",
- "@tanstack/react-query-next-experimental": "^5.70.0",
- "@trpc/client": "^11.0.1",
- "@trpc/next": "^11.0.1",
- "@trpc/react-query": "^11.0.1",
- "@trpc/server": "^11.0.1",
+ "@tanstack/react-query": "^5.71.10",
+ "@tanstack/react-query-devtools": "^5.71.10",
+ "@tanstack/react-query-next-experimental": "^5.71.10",
+ "@trpc/client": "^11.0.2",
+ "@trpc/next": "^11.0.2",
+ "@trpc/react-query": "^11.0.2",
+ "@trpc/server": "^11.0.2",
"@xterm/addon-canvas": "^0.7.0",
"@xterm/addon-fit": "0.10.0",
"@xterm/xterm": "^5.5.0",
@@ -81,9 +81,9 @@
"react-dom": "19.1.0",
"react-error-boundary": "^5.0.0",
"react-simple-code-editor": "^0.14.1",
- "sass": "^1.86.0",
+ "sass": "^1.86.3",
"superjson": "2.2.2",
- "swagger-ui-react": "^5.20.2",
+ "swagger-ui-react": "^5.20.6",
"use-deep-compare-effect": "^1.8.1",
"zod": "^3.24.2"
},
@@ -92,10 +92,10 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"@types/chroma-js": "3.1.1",
- "@types/node": "^22.13.14",
+ "@types/node": "^22.14.0",
"@types/prismjs": "^1.26.5",
- "@types/react": "19.0.12",
- "@types/react-dom": "19.0.4",
+ "@types/react": "19.1.0",
+ "@types/react-dom": "19.1.1",
"@types/swagger-ui-react": "^5.18.0",
"concurrently": "^9.1.2",
"eslint": "^9.23.0",
diff --git a/apps/nextjs/src/components/board/items/item-content.tsx b/apps/nextjs/src/components/board/items/item-content.tsx
index 7ee901ac8..709d52182 100644
--- a/apps/nextjs/src/components/board/items/item-content.tsx
+++ b/apps/nextjs/src/components/board/items/item-content.tsx
@@ -5,8 +5,6 @@ import combineClasses from "clsx";
import { NoIntegrationSelectedError } from "node_modules/@homarr/widgets/src/errors";
import { ErrorBoundary } from "react-error-boundary";
-import { useSession } from "@homarr/auth/client";
-import { isWidgetRestricted } from "@homarr/auth/shared";
import { useRequiredBoard } from "@homarr/boards/context";
import { useEditMode } from "@homarr/boards/edit-mode";
import { useSettings } from "@homarr/settings";
@@ -17,7 +15,6 @@ import type { SectionItem } from "~/app/[locale]/boards/_types";
import classes from "../sections/item.module.css";
import { useItemActions } from "./item-actions";
import { BoardItemMenu } from "./item-menu";
-import { RestrictedWidgetContent } from "./restricted";
interface BoardItemContentProps {
item: SectionItem;
@@ -62,7 +59,6 @@ interface InnerContentProps {
const InnerContent = ({ item, ...dimensions }: InnerContentProps) => {
const settings = useSettings();
const board = useRequiredBoard();
- const { data: session } = useSession();
const [isEditMode] = useEditMode();
const Comp = loadWidgetDynamic(item.kind);
const { definition } = widgetImports[item.kind];
@@ -74,16 +70,6 @@ const InnerContent = ({ item, ...dimensions }: InnerContentProps) => {
const widgetSupportsIntegrations =
"supportedIntegrations" in definition && definition.supportedIntegrations.length >= 1;
- if (
- isWidgetRestricted({
- definition,
- user: session?.user ?? null,
- check: (level) => level === "all",
- })
- ) {
- return ;
- }
-
return (
{({ reset }) => (
diff --git a/apps/nextjs/src/components/board/items/item-menu.tsx b/apps/nextjs/src/components/board/items/item-menu.tsx
index 771279679..e7072fea4 100644
--- a/apps/nextjs/src/components/board/items/item-menu.tsx
+++ b/apps/nextjs/src/components/board/items/item-menu.tsx
@@ -3,8 +3,6 @@ import { ActionIcon, Menu } from "@mantine/core";
import { IconCopy, IconDotsVertical, IconLayoutKanban, IconPencil, IconTrash } from "@tabler/icons-react";
import { clientApi } from "@homarr/api/client";
-import { useSession } from "@homarr/auth/client";
-import { isWidgetRestricted } from "@homarr/auth/shared";
import { useEditMode } from "@homarr/boards/edit-mode";
import { useConfirmModal, useModalAction } from "@homarr/modals";
import { useSettings } from "@homarr/settings";
@@ -39,7 +37,6 @@ export const BoardItemMenu = ({
const currentDefinition = useMemo(() => widgetImports[item.kind].definition, [item.kind]);
const { gridstack } = useSectionContext().refs;
const settings = useSettings();
- const { data: session } = useSession();
// Reset error boundary on next render if item has been edited
useEffect(() => {
@@ -94,16 +91,6 @@ export const BoardItemMenu = ({
});
};
- if (
- isWidgetRestricted({
- definition: currentDefinition,
- user: session?.user ?? null,
- check: (level) => level !== "none",
- })
- ) {
- return null;
- }
-
return (