Skip to content

Commit abeed68

Browse files
Version Packages
1 parent a06099d commit abeed68

File tree

6 files changed

+31
-33
lines changed

6 files changed

+31
-33
lines changed

.changeset/improve-sidebar-navigation-accessibility.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/rotten-coins-teach.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

packages/site/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# doctocat-nextjs-site
22

3+
## 0.0.12
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`b75584e`](https://github.com/primer/doctocat-nextjs/commit/b75584edb6936a70ea94925fc743989422cc3d9a), [`a06099d`](https://github.com/primer/doctocat-nextjs/commit/a06099d65d36bdb361fc9a20b2b811990bb6d353)]:
8+
- @primer/doctocat-nextjs@0.8.0
9+
310
## 0.0.11
411

512
### Patch Changes

packages/site/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "doctocat-nextjs-site",
3-
"version": "0.0.11",
3+
"version": "0.0.12",
44
"private": true,
55
"description": "Documentation theme",
66
"type": "module",
@@ -21,7 +21,7 @@
2121
},
2222
"homepage": "https://github.com/primer/doctocat-nextjs#readme",
2323
"dependencies": {
24-
"@primer/doctocat-nextjs": "^0.7.0",
24+
"@primer/doctocat-nextjs": "^0.8.0",
2525
"@primer/octicons-react": "19.15.1",
2626
"eslint-config-next": "15.5.7",
2727
"next": "15.5.7",

packages/theme/CHANGELOG.md

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,31 @@
11
# @primer/doctocat-nextjs
22

3+
## 0.8.0
4+
5+
### Minor Changes
6+
7+
- [#73](https://github.com/primer/doctocat-nextjs/pull/73) [`a06099d`](https://github.com/primer/doctocat-nextjs/commit/a06099d65d36bdb361fc9a20b2b811990bb6d353) Thanks [@danielguillan](https://github.com/danielguillan)! - Add React 19 support
8+
9+
This update is backwards compatible with React 18. However, it upgrades `@primer/react` to v38, which includes breaking changes such as the removal of the `Box` component and `sx` prop. Projects using this theme may need to update their code accordingly.
10+
- Updated React peer dependency to support React 19
11+
- Updated @primer/react from v37.11.2 to v38.3.0
12+
- Updated `@primer/react-brand` from v0.54.0 to v0.60.1
13+
- Updated `framer-motion` from v12.4.0 to v12.23.24
14+
- Updated `react-focus-on` from v3.9.4 to v3.10.0
15+
- Migrated `Label` components to `Token` for React 19 compatibility
16+
- Fixed type errors in `ReactCodeBlock` and `getRelatedPages` for stricter React 19 types
17+
- Added explicit `as="button"` to `IconButton` and `as="input"` to `TextInput` components
18+
- Updated Next.js and related packages from v15.5.2 to v15.5.7
19+
20+
### Patch Changes
21+
22+
- [#68](https://github.com/primer/doctocat-nextjs/pull/68) [`b75584e`](https://github.com/primer/doctocat-nextjs/commit/b75584edb6936a70ea94925fc743989422cc3d9a) Thanks [@janmaarten-a11y](https://github.com/janmaarten-a11y)! - Improve screen reader accessibility by updating sidebar navigation heading hierarchy. The sidebar title now uses a semantic `<Heading>` component with visually hidden text to clarify it's a navigation area, and is properly connected to the `<NavList>` via `aria-labelledby`.
23+
324
## 0.7.0
425

526
### Minor Changes
627

728
- [#65](https://github.com/primer/doctocat-nextjs/pull/65) [`dc680ec`](https://github.com/primer/doctocat-nextjs/commit/dc680ec51605bd7a40dedc71cd3bb107632035dd) Thanks [@rezrah](https://github.com/rezrah)! - Updated Next.js compatibility to v15.5.x, Nextra to v4, and fix React code block rendering
8-
929
- **Next.js v15.5.2**: Upgraded to latest stable version across all workspaces
1030
- **Nextra v4 compatibility**: Updated type definitions for `ReactNode` titles
1131
- **Fixed code block rendering**: Added client-side rendering for interactive code examples to handle React lazy components properly
@@ -63,7 +83,6 @@
6383
```
6484

6585
- [#48](https://github.com/primer/doctocat-nextjs/pull/48) [`ce73c24`](https://github.com/primer/doctocat-nextjs/commit/ce73c24b2e4e924667bf7446a504bd88d8f2ccf0) Thanks [@rezrah](https://github.com/rezrah)! - - Fix inline code font-size in markdown headings. Now inherits size used in the heading.
66-
6786
- Increased spacing below React code blocks, which was previously too small.
6887

6988
- [#50](https://github.com/primer/doctocat-nextjs/pull/50) [`5d67989`](https://github.com/primer/doctocat-nextjs/commit/5d679895408c1a58342419692db4234dfddefd80) Thanks [@rezrah](https://github.com/rezrah)! - Add `menu-position` frontmatter support for custom sidebar navigation ordering
@@ -81,7 +100,6 @@
81100
### Patch Changes
82101

83102
- [#41](https://github.com/primer/doctocat-nextjs/pull/41) [`e1ffb3a`](https://github.com/primer/doctocat-nextjs/commit/e1ffb3a630c51316a19e25869f731b4ef3660d2b) Thanks [@danielguillan](https://github.com/danielguillan)! - - Updated sidebar styles.
84-
85103
- Added active header link as sidebar heading.
86104
- Made active header the root item of breadcrumbs, if available.
87105
- Made sidebar group headlines link to the index page.
@@ -105,7 +123,6 @@
105123
### Minor Changes
106124

107125
- [#30](https://github.com/primer/doctocat-nextjs/pull/30) [`cdcb65e`](https://github.com/primer/doctocat-nextjs/commit/cdcb65e087d647a6d61c87d9122f105dcda64e35) Thanks [@joshfarrant](https://github.com/joshfarrant)! - - Arbitrary links can now be added to the sidebar and header using the `Theme` component's `headerLinks` and `sidebarLinks` props.
108-
109126
- Updated the header navigation to more closely visually align it with the existing Primer docs navigation.
110127
- Removed `_meta.global.ts` and instead directly pass header and sidebar links into the Doctocat `Theme` component.
111128

@@ -135,7 +152,6 @@
135152
### Patch Changes
136153

137154
- [#34](https://github.com/primer/doctocat-nextjs/pull/34) [`ccf198c`](https://github.com/primer/doctocat-nextjs/commit/ccf198cca25b1f021c5ae78b8e2760c141a77dcc) Thanks [@rezrah](https://github.com/rezrah)! - Collection of UI bugfixes:
138-
139155
- Sidebar offset added to prevent links being trapped under fixed header
140156
- Narrow viewport overflow bug fixed
141157
- Table of contents presentation fixed on narrow viewport, and has improved presentation on wider breakpoints.
@@ -184,7 +200,6 @@
184200
### Minor Changes
185201

186202
- [#20](https://github.com/primer/doctocat-nextjs/pull/20) [`be8bc6a`](https://github.com/primer/doctocat-nextjs/commit/be8bc6af733ba40bdd4393b876b2653017d7e846) Thanks [@rezrah](https://github.com/rezrah)! - Dropped support for Next.js Pages router in favor of App Router + Nextra v4
187-
188203
- [Read the migration guide from `v0.1.0` to `v0.2.0`](https://github.com/primer/doctocat-nextjs/blob/main/migration-guides/v0.2.0-app-router.md)
189204

190205
## 0.1.0
@@ -194,7 +209,6 @@
194209
- [#18](https://github.com/primer/doctocat-nextjs/pull/18) [`bfe68b1`](https://github.com/primer/doctocat-nextjs/commit/bfe68b14e8e3b4383ea41dcbf47373df8a130567) Thanks [@rezrah](https://github.com/rezrah)! - Upgraded internal framework to [Nextra v3](https://the-guild.dev/blog/nextra-3).
195210

196211
To migrate Doctocat to this release, follow these steps:
197-
198212
1. Install the latest version `npm i @primer/[email protected]`
199213
2. Rename your `next.config.js` to be `next.config.mjs`. Add `type="module"` to your `package.json` and update the file contents to match the following:
200214

@@ -270,7 +284,6 @@
270284
- [`6f21970`](https://github.com/primer/doctocat-nextjs/commit/6f21970c74f7635be89fc4cd20376d7fe5ca35e7) Thanks [@rezrah](https://github.com/rezrah)! - Switch hero image order with description and reduce `h2` block start margin
271285

272286
- [#6](https://github.com/primer/doctocat-nextjs/pull/6) [`afd4e17`](https://github.com/primer/doctocat-nextjs/commit/afd4e1762f6294a14942d415c693319a874cd3fb) Thanks [@rezrah](https://github.com/rezrah)! - - Add MDX to HTML overrides mechanism and apply to headings and anchors
273-
274287
- Added anchor links to headings to match current functionality on primer.style
275288

276289
- [`b49f218`](https://github.com/primer/doctocat-nextjs/commit/b49f218e9bbc2de720476e21888956bee6081967) Thanks [@rezrah](https://github.com/rezrah)! - Removed sidebar links and added skip to main content a11y link

packages/theme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@primer/doctocat-nextjs",
3-
"version": "0.7.0",
3+
"version": "0.8.0",
44
"description": "A Next.js theme for building Primer documentation sites",
55
"main": "index.js",
66
"type": "module",

0 commit comments

Comments
 (0)