Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps(changelog): Bump Sentry SDK to 8.34.0 and Next to rc 1 #11578

Merged
merged 2 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions apps/changelog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-toolbar": "^1.0.4",
"@radix-ui/themes": "^2.0.3",
"@sentry/nextjs": "8.29.0",
"@sentry/nextjs": "8.34.0",
"@spotlightjs/spotlight": "^2.1.1",
"next": "^15.0.0-canary.83",
"next": "15.0.0-rc.1",
"next-auth": "^4.24.5",
"next-mdx-remote": "^4.4.1",
"nextjs-toploader": "^1.6.6",
"nuqs": "^1.17.7",
"prism-sentry": "^1.0.2",
"react": "beta",
"react-dom": "beta",
"react": "19.0.0-rc-cd22717c-20241013",
"react-dom": "19.0.0-rc-cd22717c-20241013",
"react-select": "^5.7.3",
"react-textarea-autosize": "^8.5.3",
"rehype-prism-plus": "^1.6.3",
Expand All @@ -44,8 +44,8 @@
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18.3.0",
"@types/react": "npm:[email protected]",
"@types/react-dom": "npm:[email protected]",
"@types/rss": "^0.0.32",
"autoprefixer": "^10.4.17",
"dotenv-cli": "^7.4.2",
Expand All @@ -58,5 +58,9 @@
},
"volta": {
"extends": "../../package.json"
},
"resolutions": {
"@types/react": "npm:[email protected]",
"@types/react-dom": "npm:[email protected]"
}
}
}
5 changes: 4 additions & 1 deletion apps/changelog/src/app/changelog/%5Fadmin/[id]/edit/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ import Link from 'next/link';
import {prismaClient} from '@/server/prisma-client';
import {EditChangelogForm} from '@/client/components/forms/editChangelogForm';

export default async function ChangelogCreatePage({params}: {params: {id: string}}) {
export default async function ChangelogCreatePage(props: {
params: Promise<{id: string}>;
}) {
const params = await props.params;
const categories = await prismaClient.category.findMany({
orderBy: {
name: 'asc',
Expand Down
6 changes: 4 additions & 2 deletions apps/changelog/src/app/changelog/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ import {mdxOptions} from '@/server/mdxOptions';
export const dynamic = 'force-dynamic';

export async function generateMetadata(
{params}: {params: {slug: string}},
props: {params: Promise<{slug: string}>},
parent: ResolvingMetadata
): Promise<Metadata> {
const params = await props.params;
let changelog: Changelog | null = null;
try {
changelog = await getChangelog(params.slug);
Expand Down Expand Up @@ -57,7 +58,8 @@ const getChangelog = unstable_cache(
{tags: ['changelog-detail']}
);

export default async function ChangelogEntry({params}: {params: {slug: string}}) {
export default async function ChangelogEntry(props: {params: Promise<{slug: string}>}) {
const params = await props.params;
const changelog = await getChangelog(params.slug);

if (!changelog) {
Expand Down
Loading
Loading