Releases: outl1ne/nova-page-manager
Releases · outl1ne/nova-page-manager
5.9.3
[5.9.3] - 09-09-2024
Added
- Custom locale display config options (thanks to @Gertiozuni)
Changed
- NB! Removed SEO image field from defaults since deleting media no longer works
- Suggested replacement is nova-media-hub
- Updated packages
Migrating SEO images to nova-media-hub migration example:
Page::all()->each(function ($page) {
$page->seo = collect($page->seo)->map(function ($seoInfo) {
if ($imagePath = $seoInfo['image'] ?? null) {
if (!Storage::disk('public')->exists($imagePath)) {
$seoInfo['image'] = null;
return $seoInfo;
}
$base64File = base64_encode(Storage::disk('public')->get($imagePath));
$media = rescue(fn() => MediaHub::storeMediaFromBase64($base64File, 'public', 'default'), null);
$seoInfo['image'] = $media?->id ?? null;
}
return $seoInfo;
})->toArray();
$page->save();
});
5.9.2
Changed
- Fix broken layout with too many locales (thanks to @Gertiozuni)
- Fix Nova::script() and Nova::style() loading (thanks to @matthewjumpsoffbuildings)
- Updated packages
5.9.1
Changed
- Improved required rules for page creation and added automatic fill
- Fixed displayUsing not being executed correctly (thanks to @marttinnotta)
- Updated packages
5.9.0
Added
- Added Italian translations (thanks to @trippo)
- Added ->withSeoFields() function to PageManager tool for easier SEO fields override
Changed
- Fixed an error on index view when a Template has gone missing (thanks to @kaareloun)
- Fixed DateTime casting error (thanks to @kaareloun)
- Fixed Vapor Image fields (thanks to @ferdiunal)
- Fixed image not deleted from filesystem after removing it from SEO section (thanks to @ndrez-outl1ne)
- Fixed SEO field titles translations (thanks to @RibesAlexandre)
- Fixed rare crash with missing SEO fields
5.8.6
Changed
- Fixed
getPagesStructure
error when template for page has been deleted (thanks to @KaarelOun) - Fixed
nova-page-manager.php
config typos (thanks to @marcelosantos89) - Updated dependencies
5.8.5
5.8.4
4.0.10
Fixed
- Fix undefined $this->resource->published value used in updateRules.
4.0.9
Fixed
- Fields defined after DraftButton were not saved to draft.
4.0.8
Fixed
- Fields defined after DraftButton were not saved to draft.