Skip to content

chore(deps): React 19, Babel 8 and other major bumps (0.3.1) - #90

Merged
hphoeksma merged 3 commits into
mainfrom
chore/deps-majors
Nov 19, 2026
Merged

hphoeksma merged 3 commits into
mainfrom
chore/deps-majors

Conversation

@hphoeksma

@hphoeksma hphoeksma commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Combines the open major Dependabot bumps, which depend on each other for a green npm ci:

  • react / react-dom 16 → 19 (Bump react from 16.14.0 to 19.3.1 #88): the color picker now mounts with createRoot, since ReactDOM.render was removed in React 19. react-color 2.19.3 accepts any React (peer react: *).
  • @babel/core 7 → 8 (Bump @babel/core from 7.29.7 to 8.0.9 #87), together with @babel/preset-env and @babel/preset-react 8 and babel-loader 10 (the 7.x presets only accept @babel/core 7, which is why CI failed).
  • sass-loader 16 → 17 (Bump sass-loader from 16.0.2 to 17.0.1 #84), auto-changelog 1 → 2 (Bump auto-changelog from 1.16.4 to 2.7.0 #86).
  • style-loader removed instead of bumped (Bump style-loader from 1.3.0 to 4.0.0 #85): it was chained on top of MiniCssExtractPlugin.loader, which has no default export, so style-loader 4 warned and would inject nothing. main.css is loaded via Settings.yaml anyway.
  • babel-loader gets envName from webpack's mode. Babel 8's preset-react otherwise compiled JSX to jsxDEV, which React 19's production build lacks, so no picker rendered (CI only builds, so it stayed green). Found in the browser test.
  • Unused babel-plugin-syntax-dynamic-import removed; npm audit fix for two transitive dev-dependency advisories.

Resources/Public/main.js is rebuilt; main.css is byte-identical.

Released as 0.3.1 (patch: JS build only, no behaviour change). Tested end to end on the Neos 8.3, 8.4, 9.0, 9.1 and 9.2 dev installs.

🤖 Generated with Claude Code

- react/react-dom 16 -> 19: mount with createRoot (ReactDOM.render is gone)
- @babel/core, preset-env, preset-react 7 -> 8, babel-loader 8 -> 10
- sass-loader 16 -> 17, auto-changelog 1 -> 2
- drop style-loader: it was chained on top of MiniCssExtractPlugin.loader,
  which yields no default export; main.css is loaded via Settings.yaml
- drop unused babel-plugin-syntax-dynamic-import
- rebuild Resources/Public/main.js
Babel 8's preset-react takes its development default from the Babel env,
which webpack --mode does not set. The bundle called jsxDEV, which React
19's production build does not have, so no color picker rendered.
@hphoeksma
hphoeksma merged commit 873cb19 into main Nov 19, 2026
2 checks passed
@hphoeksma
hphoeksma deleted the chore/deps-majors branch November 19, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant