Skip to content

Releases: outl1ne/nova-page-manager

5.9.3

08 Nov 12:08
Compare
Choose a tag to compare

[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

09 Sep 09:49
Compare
Choose a tag to compare

Changed

5.9.1

23 Nov 13:48
Compare
Choose a tag to compare

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

03 Jul 10:16
Compare
Choose a tag to compare

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

12 Jan 08:55
Compare
Choose a tag to compare

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

21 Dec 14:21
Compare
Choose a tag to compare

Changed

  • Fixed issue where after deleting an image, it was not possible to save the resource due to timestamp update
  • Fixed crash regarding the resolving of DateTime fields
  • Fixed issue where SEO image would block title and description from saving

5.8.4

22 Nov 12:19
Compare
Choose a tag to compare

Changed

  • Fixed issue with multiple Flexible fields on the same page
  • Removed usages of Arr::map() to support Laravel 8
  • Updated packages

4.0.10

22 Nov 10:21
Compare
Choose a tag to compare

Fixed

  • Fix undefined $this->resource->published value used in updateRules.

4.0.9

21 Nov 14:29
Compare
Choose a tag to compare

Fixed

  • Fields defined after DraftButton were not saved to draft.

4.0.8

21 Nov 14:29
Compare
Choose a tag to compare

Fixed

  • Fields defined after DraftButton were not saved to draft.