Skip to content

Releases: backstagephp/cms

v2.0.0-beta1

12 Dec 11:52
b2eab60

Choose a tag to compare

What's changed

  • Fields package now provides the hydrate method to allow you to transform raw values stores in the database into a runtime representation. Useful when you want to convert stored IDs into models, format dates or process JSON data into specific objects.
  • Media package now provides an event to handle file uploads via custom providers (like Uploadcare) or to perform file processing before saving.
  • Backstage Uploadcare Field now contains a "media grid picker" to pick already uploaded media files to prevent duplicate files in Uploadcare.
  • All uploaded media files are now saved in the media table, including metadata in the media_relationships table. Here unique (meta)data for each content_field_value is stored.
  • The media package now includes laravel-translations to set (and translate) alt text for each configured language.

Breaking changes

  • Media ULIDs are now stored in the content_field_values table instead of the whole file objects. You can migrate existing Uploadcare data using php artisan vendor:publish --tag=backstage/uploadcare-field-migrations && migrate. When you want to get the meta of an "edit", you can access it like $media->edit.
  • Relationships on Content model will now be returned as a Collection instead of an array.
  • $item->field('image') will now return a Media model

To upgrade when using Uploadcare, run:

composer update && php artisan vendor:publish --tag=backstage/uploadcare-field-migrations && migrate

else run:

composer update.

Full Changelog: v1.1.39...v2.0.0-beta1

v1.1.0

18 Nov 09:23
6262754

Choose a tag to compare

🎲 Improvements to composer, version management, monorepo.

Please read careful. There may be some breaking changes.

Removed backstage/translations and backstage/laravel-translations from core

New (or existing) projects should use the packages directly if you need multi-language support.

Add statis.backstagephp.com to composer.json.

{
  "repositories": [{
    "type": "composer",
    "url": "https://satis.backstagephp.com"
  }]
}

Require backstage/translations

composer require backstage/translations

Add translations plugin in /config/backstage/cms.php:

// config/backstage/cms.php
return [
    'panel' => [
        'default' => true,

        'plugins' => [
            // ...
            Backstage\Translations\Filament\TranslationsPlugin::make(),
        ],
        // ...
]

PHP 8.3 or greater is required

Backstage/cms now requires PHP 8.3 and higher. You can change that in composer.json.

{
    "require": {
        "php": "^8.3",
    }
}

Other updates

  • All packages has been upgraded to Filament v4
  • This mono repo (on Github) now includes the following packages: announcements, core, fields, filament-uploadcare-field, laravel-redirects. laravel-translations, media, redirects and uploadcare-field. These should be modified through this repository. See contribution for more information.

v1.0.0 - Welcome, backstage.

07 Nov 16:13

Choose a tag to compare

🎪 After months in rehearsal with our 0.x shows… the curtain rises. CMS v1.0 has finally TAKEN THE STAGE!

Initial release

04 Nov 15:46

Choose a tag to compare

🧑‍🚀 The initial release of backstage/cms.