Skip to content

v1.7.2

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Jun 01:53
v1.7.2
7102941

NebulaCMS v1.7.2

Release type: patch
Focus: Fix Inertia SPA plugin asset loading, duplicate ReactDOM instances, and MediaPicker form submission

Release commit: 71029418d39e9f608e737cbd4b475ff48f87924d

Summary

This patch release resolves several critical issues concerning client-side routing (Inertia SPA visits) on plugin pages, duplicate React DOM runtime instances in pre-built bundles, esbuild compilation target conflicts under modern Node.js environments, and accidental form submissions in the MediaPicker component.

Key Changes

  • Dynamic SPA Asset Loading: Implemented dynamic script and style injection inside the Inertia page resolver to resolve the Plugin page not found error during client-side navigation.
  • React DOM Runtime Shim: Created a ReactDOM shim (window.ReactDOM) to share the host's React DOM instance with plugin bundles, fixing Floating UI / Radix Select component crashes (flushSync error).
  • Modern Node.js (Node 24) Dev Server Support: Configured Vite's esbuild and optimizeDeps target to esnext in vite.config.ts to prevent destructuring syntax down-compilation errors during local development.
  • Accidental Form Submission Prevented: Fixed a bug in MediaPicker where action buttons default to submit triggers, causing premature form redirects when clicking on "Select Featured Image".
  • UI/UX Form Enhancements: Enhanced responsiveness in MyFlashChangelogForm with improved breakpoints (lg: grid column classes) and made upload validation errors more user-friendly via toast notifications.

Upgrade notes

  • Plugins: If you are using custom pre-built Inertia plugins, please rebuild them using the latest configurations to apply the shared ReactDOM shim and Prevent-Submit updates.
  • Database: No database migrations are introduced in this release.

Full Changelog: https://github.com/AngkasaLabs/NebulaCMS/compare/v1.7.1...v1.7.2