feat(changelog): add GPT-5 models support and AI SDK Provider v2.0 release notes - #591
Conversation
…lease notes - Introduced new changelog entries for the release of GPT-5 model family, detailing model specifications, pricing, and usage examples. - Added draft entry for AI SDK Provider v2.0, highlighting improved integration with Vercel AI SDK and simplified model access. - Updated content collections to include optional draft field for changelog entries. - Added new images for changelog entries. This commit enhances the documentation and visibility of new features in the changelog.
WalkthroughThis change introduces an optional Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant ChangelogPage
participant ContentCollection
participant MarkdownRenderer
User->>ChangelogPage: Requests changelog page
ChangelogPage->>ContentCollection: Fetch changelog entries
ContentCollection-->>ChangelogPage: Return entries (some with draft: true)
ChangelogPage->>ChangelogPage: Filter out draft entries
ChangelogPage->>MarkdownRenderer: Render non-draft entries with markdown options
MarkdownRenderer->>ChangelogPage: Rendered HTML with syntax highlighting
ChangelogPage-->>User: Display filtered, rendered changelog
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~15 minutes Possibly related PRs
Suggested reviewers
Note 🔌 MCP (Model Context Protocol) integration is now available in Early Access!Pro users can now connect to remote MCP servers under the Integrations page to get reviews and chat conversations that understand additional development context. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (3)**/*.{js,jsx,ts,tsx}📄 CodeRabbit Inference Engine (.github/copilot-instructions.md)
Files:
apps/ui/**/*.{js,jsx,ts,tsx}📄 CodeRabbit Inference Engine (.github/copilot-instructions.md)
Files:
**/*.{ts,tsx}📄 CodeRabbit Inference Engine (.cursor/rules/general.mdc)
Files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (3)
apps/ui/public/changelog/ai-sdk-provider-v2.pngis excluded by!**/*.pngapps/ui/public/changelog/gpt-5-models.pngis excluded by!**/*.pngpnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (7)
apps/ui/content-collections.ts(1 hunks)apps/ui/src/app/changelog/page.tsx(1 hunks)apps/ui/src/content/changelog/2025-01-26-gpt-5-models-support.md(1 hunks)apps/ui/src/content/changelog/2025-08-07-ai-sdk-provider-v2.md(1 hunks)apps/ui/src/lib/utils/markdown.ts(0 hunks)apps/ui/src/lib/utils/markdown.tsx(1 hunks)apps/ui/src/types/content-collections.d.ts(1 hunks)
💤 Files with no reviewable changes (1)
- apps/ui/src/lib/utils/markdown.ts
🧰 Additional context used
📓 Path-based instructions (4)
**/*.{js,jsx,ts,tsx}
📄 CodeRabbit Inference Engine (.github/copilot-instructions.md)
Use localStorage instead of cookies for client-side data persistence
Files:
apps/ui/src/app/changelog/page.tsxapps/ui/content-collections.tsapps/ui/src/types/content-collections.d.tsapps/ui/src/lib/utils/markdown.tsx
apps/ui/**/*.{js,jsx,ts,tsx}
📄 CodeRabbit Inference Engine (.github/copilot-instructions.md)
In apps/ui (a tanstack router project), always use navigate() for navigation
Use localStorage instead of cookies for client-side data persistence
Files:
apps/ui/src/app/changelog/page.tsxapps/ui/content-collections.tsapps/ui/src/types/content-collections.d.tsapps/ui/src/lib/utils/markdown.tsx
**/*.{ts,tsx}
📄 CodeRabbit Inference Engine (.cursor/rules/general.mdc)
Never use
as anyor: anyin TypeScript files.
Files:
apps/ui/src/app/changelog/page.tsxapps/ui/content-collections.tsapps/ui/src/types/content-collections.d.tsapps/ui/src/lib/utils/markdown.tsx
**/*.{js,ts}
📄 CodeRabbit Inference Engine (.github/copilot-instructions.md)
**/*.{js,ts}: Use drizzle with the latest object syntax for database operations
For read queries, always usedb().query.<table>.findMany()ordb().query.<table>.findFirst()
Files:
apps/ui/content-collections.tsapps/ui/src/types/content-collections.d.ts
🧬 Code Graph Analysis (1)
apps/ui/src/app/changelog/page.tsx (1)
apps/ui/src/types/content-collections.d.ts (1)
Changelog(2-16)
🪛 Gitleaks (8.27.2)
apps/ui/src/content/changelog/2025-01-26-gpt-5-models-support.md
61-62: Discovered a potential authorization token provided in a curl command header, which could compromise the curl accessed resource.
(curl-auth-header)
🔇 Additional comments (10)
apps/ui/src/app/changelog/page.tsx (1)
11-11: LGTM! Draft filtering implemented correctly.The filter uses optional chaining to safely exclude draft entries, ensuring backward compatibility with existing changelog entries that don't have the draft property. The filtering is correctly applied after sorting but before mapping.
apps/ui/content-collections.ts (1)
14-14: LGTM! Schema properly extended for draft support.The optional boolean draft property is correctly implemented using Zod's
optional()method, maintaining backward compatibility with existing changelog entries while enabling the new draft functionality.apps/ui/src/types/content-collections.d.ts (1)
8-8: LGTM! Type definition properly aligned with schema.The optional draft boolean property correctly matches the Zod schema definition and maintains type consistency across the codebase.
apps/ui/src/content/changelog/2025-08-07-ai-sdk-provider-v2.md (1)
1-63: LGTM! Well-structured changelog entry with appropriate draft status.The changelog entry is comprehensive and well-formatted, including proper metadata, clear feature descriptions, and helpful code examples. The
draft: truesetting ensures this won't be displayed until ready for publication.apps/ui/src/content/changelog/2025-01-26-gpt-5-models-support.md (2)
1-79: LGTM! Comprehensive changelog entry with excellent documentation.The changelog entry provides thorough coverage of the GPT-5 model family with clear specifications, pricing details, and practical usage examples. The content structure and formatting are excellent.
61-62: Static analysis false positive - documentation example is safe.The authorization header in the curl example uses placeholder text (
YOUR_API_KEY) and is clearly documentation, not a real credential. This is standard practice for API documentation examples.apps/ui/src/lib/utils/markdown.tsx (4)
1-191: Inconsistency between AI summary and actual file content.The AI summary states this file was "deleted entirely," but the code shows a new file with complete implementation. This creates confusion about the actual changes being made.
Likely an incorrect or invalid review comment.
43-102: Excellent dual-theme syntax highlighting implementation.The syntax highlighting implementation effectively handles both light and dark themes with proper theme switching using Tailwind classes. The token mapping and styling are well-structured.
105-121: Well-defined TypeScript interfaces.The
ChangelogFrontmatterandChangelogEntryinterfaces are properly structured with appropriate typing and good inheritance pattern.
124-190: Comprehensive markdown styling configuration.The
getMarkdownOptionsfunction provides thorough styling for all markdown elements with consistent Tailwind CSS classes and proper integration of the custom syntax highlighting component.
What's new
This commit enhances the documentation and visibility of new features in the changelog.
Summary by CodeRabbit
New Features
Improvements
Refactor