v1.7.1
NebulaCMS v1.7.1
Release type: patch
Focus: Fix AppearanceContext sharing in pre-built Inertia plugins
Release commit: 66cffa4
Summary
This patch release fixes a critical production error (useAppearance must be used within an AppearanceProvider) that occurred when accessing pre-built Inertia.js plugins.
Both the core CMS and the pre-built plugins now share a single global AppearanceContext instance via the browser's window object, resolving the duplicate context instantiation issue.
Key Changes
- Fixed useAppearance Error: Shared the
AppearanceContextinstance globally viawindow.__NebulaCMS_AppearanceContext__to prevent duplicate context instances from breaking pre-built plugin rendering. - Updated Starter Plugin: Rebuilt the
starter-inertia-prebuiltplugin assets to apply the context sharing fix. - Version Bump: Updated the internal version to
1.7.1inconfig/nebula.php.
Upgrade notes
- Plugins: If you have custom pre-built Inertia plugins that import
@/contexts/appearance-context, please rebuild them using the latest build configuration to apply this fix. - Database: No database migrations are introduced in this release.
Full Changelog: https://github.com/AngkasaLabs/NebulaCMS/compare/v1.7.0...v1.7.1