You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added overridable controller methods (which are now called by the current
controller actions). This'll let you customize controller actions without
overriding the entire action.
Added customizable error handling for the #destroy action
Added a warning and an explicit end to Super::ViewChain
Added a way to override the Super::Display attribute name
Deprecations
Deprecated Super::Display:SchemaTypes#badge. Prefer using #real and #computed, and return an instance of Super::Badge
Deprecated #real(:column) and #computed(:column). Prefer using #real(:attribute) and #computed(:attribute)
Deprecated Super::Navigiation.new needing a block that yields an array
Deprecated Super::Badge.new(text, styles:) in favor of the singular style:. Example: Super::Badge.new(text, style: :blue)
Deprecated Super::Badge's handling of string styles
Breaking changes
Super::Navigation no longer supports #menu(title)[*links]; method
signature is now #menu(title) do
Rework Super::Query. This should only affect you if you've fully overrode an
action or created your own database querying class
Fixed
#destroy now redirects to the index page (instead of to the record that was
just deleted)
Fixed typo Super::Error::Initalization to Initialization