- Add v2.1.4 changelog entry with SPA fix and overlap() method - Add SPA Mode Compatible feature to README - Add overlap() method to methods table - Update examples to show overlap() usage
2.5 KiB
2.5 KiB
Changelog
All notable changes to filament-image-gallery will be documented in this file.
v2.1.4 - 2025-12-17
Added
overlap()method forImageGalleryColumnto match Filament's APIgetOverlap()method as an alias for consistency
Fixed
- SPA Mode Compatibility: Fixed image gallery viewer not loading without page reload when using
spa()mode- Moved Viewer.js initialization to dynamically loaded JavaScript
- Assets are now loaded on-demand when galleries are detected
- Works seamlessly with Livewire 3.x SPA navigation
- Stacked Layout: Fixed stacked images not displaying correctly due to Tailwind dynamic class generation
- Replaced Tailwind
-space-x-*classes with inlinemargin-inline-startstyles
- Replaced Tailwind
Changed
- Viewer.js CDN assets are now loaded dynamically via JavaScript instead of inline in Blade templates
- Improved MutationObserver for better detection of dynamically added galleries
v2.1.3 - 2025-12-16
Changed
- Renamed
circle()tocircular()
v2.1.0 - 2025-12-13
Added
imageGallery()macro forFilament\Tables\Columns\ImageColumnimageGallery()macro forFilament\Infolists\Components\ImageEntry- Support for using standard Filament Image components with the gallery viewer
v2.0.6 - 2024-12-12
Fixed
- Minor bug fixes
v2.0.5 - 2024-12-11
Fixed
- Image clicks no longer trigger Filament's table row navigation (
recordUrl). Users no longer need to add->recordUrl(null)to their tables to use the image preview feature.
v2.0.1 - 2024-12-11
Added
disk()method for Storage integration (both Column and Entry)visibility()method for private files with temporary URLs- Cursor pointer on image hover
Changed
- Renamed
gap()toimageGap()in Entry to avoid Filament v4 conflict - Removed empty text display when no images
Fixed
- Filament v4 compatibility for ImageGalleryEntry
v2.0.0 - 2024-12-11
Added
- Support for Filament v4.x
circle()method for circular image thumbnailsring(width, color)method for customizable bordersstacked(overlap)method with configurable overlap spacing
Changed
- PHP requirement updated to
^8.2 - Compatible with both Filament v3.x and v4.x
v1.0.0 - 2024-12-11
Added
- Initial release
ImageGalleryColumnfor Filament tablesImageGalleryEntryfor Filament infolistsx-image-gallery::image-galleryBlade component- Viewer.js integration for image manipulation
- Dark mode support
- RTL support
- English and Arabic translations