Skip to content

Refactor and enhance AI translation features#49

Merged
Shashank3736 merged 2 commits into
developmentfrom
feat/next-15-upgrade
Aug 9, 2025
Merged

Refactor and enhance AI translation features#49
Shashank3736 merged 2 commits into
developmentfrom
feat/next-15-upgrade

Conversation

@Shashank3736

Copy link
Copy Markdown
Owner

Refactor revalidation constants and functions to use async syntax. Implement core translation utilities and integrate AI translation into chapter creation and admin interfaces. Update documentation and streamline database migration processes. Enhance error handling and improve component structure for better maintainability.

…ed invalidation for Next.js 15

- Add export const dynamic = 'force-static' and export const revalidate = 3600 to:
  - src/app/rss.xml/route.ts
  - src/app/(main)/novels/[slug]/rss.xml/route.ts
- Retain unstable_cache with tags to allow immediate cache busting via revalidateTag

Aligns with Next.js v15 where GET handlers are not cached by default, providing hourly revalidation plus on-demand invalidation.
@Shashank3736 Shashank3736 merged commit 4005ceb into development Aug 9, 2025
1 check failed
@Shashank3736 Shashank3736 deleted the feat/next-15-upgrade branch August 9, 2025 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant