Resources
Changelog
Version history for the brease-next package.
v0.2.2 (Current)
- Added template selection to CLI scaffolding — choose between Starter and Base templates when running
npx brease-next - Simplified ISR caching configuration for easier revalidation setup
- Added BreaseLink component for rendering link elements with proper internal/external handling
- Added BreaseStructuredData and BreaseCustomCode components for SEO and script injection
- Added ensureSuccess utility and BreaseFetchError class for streamlined error handling in fetch calls
- Added fetchLocales and fetchAlternateLinks functions for multi-locale support
- Added generateBreaseRobots and generateSitemap functions for SEO automation
- Added validateBreaseConfig for explicit configuration validation at startup
v0.2.1
- Fixed BreaseClientProvider state sync for App Router navigation
Upgrade recommended
Without this fix, navigating between pages in a Next.js App Router application would show stale content. The client provider now correctly syncs state when the route changes.
v0.2.0
- Added preview mode integration with PostMessage protocol
- Added BreasePreviewListener component for iframe communication between the CMS Builder and your frontend
- Added SectionToolbar component for in-preview section editing (click-to-edit from the preview iframe)
- Improved revalidation handling for more reliable ISR cache updates
v0.1.0
Initial release of brease-next.
- Core fetch functions: fetchPage, fetchAllPages, fetchSite, fetchCollectionById, fetchEntryById, fetchNavigation, fetchRedirects
- BreasePage component with section mapping via
sectionMap - BreaseImage component with responsive variant support
- BreaseContext server component and useBrease hook for global data (navigations, collections)
- generateBreasePageParams for dynamic route generation and generateBreasePageMetadata for SEO metadata
- CLI scaffolding tool (
npx brease-next) for bootstrapping a new Brease-powered Next.js project