Skip to content

v1.6.0

Choose a tag to compare

@github-actions github-actions released this 13 Jun 10:32
· 19 commits to main since this release

NebulaCMS v1.6.0

Release type: minor
Focus: Media picker, link management, rich text editor enhancements, post auto-save with preview links, and ESLint rule updates

Release commit: 98b7dafa21419d83f69e3f254b3de2343dc523f9

Summary

This release introduces a comprehensive media picking and management workflow in the admin panel, featuring reusable media library and link dialog components, drag-and-drop or paste image uploads, and URL validation. The rich text editor has been significantly enhanced with these integrated media and link tools.

Additionally, this release adds post auto-save preview links (utilizing Laravel signed URLs for secure draft previews), local draft persistence, and fixes frontend linting issues by aligning with React Hooks and ESLint rules.

Added

  • Media Picker Endpoint: Added the admin.media.picker route and controller endpoint to filter, search, and paginate media folders and assets.
  • Media & Link Dialogs: Created reusable MediaLibraryDialog and LinkDialog components for choosing assets and validating link destinations with URL sanitization.
  • Rich Text Editor Upgrades: Integrated the image/media picker and link tools directly into the editor, along with native drag-and-drop or paste-to-upload support for images.
  • Auto-Save Preview: Added secure draft preview links (via Laravel signed URLs) to the auto-save response, allowing authors to preview drafts before publishing.
  • Test Suite: Added comprehensive feature tests covering the admin.media.picker endpoint and post auto-save preview signatures.

Changed

  • Post Form Refactoring: Updated the post editor form (Form.tsx) to support the new media picker workflow, handle optional media properties, and prevent null pointer references.
  • Auth & Bulk Actions Refactoring: Streamlined authentication facade usage and optimized bulk action routes for media files.
  • ESLint & Code Quality: Resolved ESLint violations related to React Hooks rules and updated the ESLint configuration file (eslint.config.js).

Upgrade notes

  • Database: No database migrations are introduced in this release.
  • Configuration: The application version in config/nebula.php has been bumped to 1.6.0.
  • Testing: Verify all new features and tests pass by running php artisan test.

Full changelog

https://github.com/AngkasaLab/NebulaCMS/compare/v1.5.0...v1.6.0