Releases: primer/doctocat-nextjs
@primer/doctocat-nextjs@0.7.0
Minor Changes
-
#65
dc680ecThanks @rezrah! - Updated Next.js compatibility to v15.5.x, Nextra to v4, and fix React code block rendering-
Next.js v15.5.2: Upgraded to latest stable version across all workspaces
-
Nextra v4 compatibility: Updated type definitions for
ReactNodetitles -
Fixed code block rendering: Added client-side rendering for interactive code examples to handle React lazy components properly
Next.js v15.4+ changed how lazy components render on the server, breaking interactive code blocks. This update uses client-side code snippet extraction to convert lazy components to clean code strings for the live editor, preventing hydration mismatches and preserving existing behavior.
-
Improved 404 page experience: New 404 page to replace default Next.js version. Also removed stray 0 in top-left.
-
@primer/doctocat-nextjs@0.6.0
@primer/doctocat-nextjs@0.5.8
@primer/doctocat-nextjs@0.5.7
@primer/doctocat-nextjs@0.5.6
Patch Changes
-
#56
e6a55faThanks @danielguillan! - Updated theme switcher aria label -
#54
a57f42fThanks @danielguillan! - Fixed a bug that caused breadcrumbs to display an incorrect title for pages with tabs
@primer/doctocat-nextjs@0.5.5
Patch Changes
- #52
dd67040Thanks @danielguillan! - Fixes breadcrumbs with duplicate and missing items
@primer/doctocat-nextjs@0.5.4
Patch Changes
-
#51
4c76c4fThanks @rezrah! - Add auto-collapsed React code blocks for large code snippets. This feature only applies to code fences with thejsx livelanguage identifiers.E.g.
<>Your code</>
-
#48
ce73c24Thanks @rezrah! - - Fix inline code font-size in markdown headings. Now inherits size used in the heading.- Increased spacing below React code blocks, which was previously too small.
-
#50
5d67989Thanks @rezrah! - Addmenu-positionfrontmatter support for custom sidebar navigation ordering
@primer/doctocat-nextjs@0.5.3
@primer/doctocat-nextjs@0.5.2
Patch Changes
-
#41
e1ffb3aThanks @danielguillan! - - Updated sidebar styles.- Added active header link as sidebar heading.
- Made active header the root item of breadcrumbs, if available.
- Made sidebar group headlines link to the index page.
-
#39
9090a35Thanks @danielguillan! - Updated index pages to use a grid of Cards with thumbnails.Use
thumbnailandthumbnail_darkModeto set custom thumbnail URLs for light and dark color modes respectively. -
#38
e950c9aThanks @danielguillan! - Updated Primer Brand library tov0.54.0 -
#42
c9c2d16Thanks @rezrah! - Added placeholder images to the Index page cards, wherethumbnailandthumbnail_darkModearen't provided through the frontmatter