Skip to content

v1.7.1

Choose a tag to compare

@github-actions github-actions released this 16 Jun 08:26
· 4 commits to main since this release
66cffa4

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 AppearanceContext instance globally via window.__NebulaCMS_AppearanceContext__ to prevent duplicate context instances from breaking pre-built plugin rendering.
  • Updated Starter Plugin: Rebuilt the starter-inertia-prebuilt plugin assets to apply the context sharing fix.
  • Version Bump: Updated the internal version to 1.7.1 in config/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