Releases: backstagephp/cms
v2.0.0-beta1
What's changed
- Fields package now provides the
hydratemethod 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_relationshipstable. Here unique (meta)data for eachcontent_field_valueis stored. - The media package now includes
laravel-translationsto set (and translate) alt text for each configured language.
Breaking changes
- Media ULIDs are now stored in the
content_field_valuestable instead of the whole file objects. You can migrate existing Uploadcare data usingphp artisan vendor:publish --tag=backstage/uploadcare-field-migrations && migrate. When you want to get themetaof an "edit", you can access it like$media->edit. - Relationships on Content model will now be returned as a
Collectioninstead of anarray. $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
🎲 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/translationsAdd 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.
🎪 After months in rehearsal with our 0.x shows… the curtain rises. CMS v1.0 has finally TAKEN THE STAGE!
Initial release
🧑🚀 The initial release of backstage/cms.