github getkirby/kirby 5.0.0-beta.6

latest releases: 5.2.1, 5.2.0, 6.0.0-alpha.1...
pre-release8 months ago

Pre-release notes: https://getkirby.com/releases/5

Changelog since 5.0.0-beta.5

✨ Enhancements

  • Form improvements #7114 #7115 #7125 #7126
    • New Fields::validate() method
    • New Form::validate() method, which is a proxy for Fields::validate()
    • Use Form::validate() in ModelWithContent::update()
    • New ::isTranslatable($language) method for Field and FieldClass
    • New ::extendModels() method in HasModels trait.
    • New ::isSubmittable method for Field and FieldClass

✨Enhancements from previous betas

  • Form and Field improvements #7117 #7123
    • FieldClass::fill() now returns static instead of void. This no longer introduces a difference to the Field class and also makes ::fill() chainable, which can be handy.
    • Value-related methods and properties are now all moved to the Value mixin
    • Required methods and properties are now moved to the Validation mixin
    • ::fill() is no longer setting a null default value, which makes no sense.

🐛 Fixed regressions from previous betas

  • Fixed notice issue in the Field::fill() method when no computed properties exist. #7113
  • Avoid broken field component state after :fill() method call #7113
  • Fixed named exports on global Vue constructor for plugins (thx @johannschopplich)
  • Fix App::$events initialization #7121
  • User and page models can be registered without lowercase keys again #7124

🚨 Breaking changes

  • All Kirby\Blueprint classes have been removed. Those classes never were involved in rendering Blueprints. We used a small part of it for the field options, but had them mostly in there in preparation for a Blueprint code refactoring that never happend as planned. The removal should not cause any damage, because the code was internal and never useful for plugins. But we still want to mention it here. #7119
  • The Field class no longer exposes public properties value and default. Public access to properties has not been documented or encouraged anywhere, so it technically should not have been used anyway. #7123
  • ::isSaveable has been renamed to ::hasValue in the FieldClass class. #7125

♻️ Refactored

  • k-panel-menu: simplify gap #7108

♻️ Refactored from previous betas

  • ::isSaveable has been renamed to ::hasValue in all form classes. #7125

🧹 Housekeeping

  • Update JS dependencies

Don't miss a new kirby release

NewReleases is sending notifications on new releases.