@primer/doctocat-nextjs 0.0.0-20251204102228 → 0.0.0-20251204172724

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +5 -2
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,16 +1,18 @@
1
1
  # @primer/doctocat-nextjs
2
2
 
3
- ## 0.0.0-20251204102228
3
+ ## 0.0.0-20251204172724
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Fake entry to force publishing
8
8
 
9
- ## 0.0.0-20251204102226
9
+ ## 0.0.0-20251204172721
10
10
 
11
11
  ### Minor Changes
12
12
 
13
13
  - [#73](https://github.com/primer/doctocat-nextjs/pull/73) [`8e57e27`](https://github.com/primer/doctocat-nextjs/commit/8e57e272cb57b63e77b184f3e6a74410c97d9fd2) Thanks [@danielguillan](https://github.com/danielguillan)! - Add React 19 support
14
+
15
+ 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.
14
16
  - Updated React peer dependency to support React 19
15
17
  - Updated @primer/react from v37.11.2 to 38.0.0
16
18
  - Updated `@primer/react-brand` from v0.54.0 to v0.60.1
@@ -19,6 +21,7 @@
19
21
  - Migrated `Label` components to `Token` for React 19 compatibility
20
22
  - Fixed type errors in `ReactCodeBlock` and `getRelatedPages` for stricter React 19 types
21
23
  - Added explicit `as="button"` to `IconButton` and `as="input"` to `TextInput` components
24
+ - Updated Next.js and related packages from v15.5.2 to v15.5.7
22
25
 
23
26
  ### Patch Changes
24
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/doctocat-nextjs",
3
- "version": "0.0.0-20251204102228",
3
+ "version": "0.0.0-20251204172724",
4
4
  "description": "A Next.js theme for building Primer documentation sites",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -25,7 +25,7 @@
25
25
  "react-dom": ">=18.0.0 <20.0.0"
26
26
  },
27
27
  "dependencies": {
28
- "@next/mdx": "15.5.2",
28
+ "@next/mdx": "15.5.7",
29
29
  "@primer/octicons-react": "19.15.1",
30
30
  "@primer/react": "^38.0.0",
31
31
  "@types/lodash.debounce": "^4.0.9",
@@ -49,7 +49,7 @@
49
49
  "@vitest/ui": "^3.2.4",
50
50
  "clsx": "2.1.1",
51
51
  "jsdom": "^26.0.1",
52
- "next": "15.5.2",
52
+ "next": "15.5.7",
53
53
  "styled-components": "5.3.11",
54
54
  "vitest": "^3.2.4"
55
55
  }