Releases: kontenta/kontour
Releases · kontenta/kontour
Laravel 10 support
Laravel 9 support
Added
- Added support for Laravel 9.
Removed
- Dropped support for Laravel 8 and lower.
Fixed
- Correct underscores in html
lang
attributes.
Full Changelog: v2.0.0...v2.0.1
Laravel 8 support
Changed
- HTML attribute
title
is no longer used for tooltips and is replaced witharia-label
anddata-kontour-description
, see #177. - New method
getLabel()
is required on any class implementing theAdminLink
contract. - Changed styling of focused/hovered links, they now show tooltip contents from data-attributes.
- Changed styling of links in the team-recent widget showing usernames with focused/hovered links.
- Updated button styles.
- Updated sticky-actions styles.
- Make links in most widgets
<small>
to be less intrusive. - Uses two-word verbs for most actions so "Login" and "Logout" are now "Log in" and "Log out".
- Updated wording for action "Menu" to "Open menu".
Added
- Support for Laravel 8.
- Ability to translate default button texts.
- A "cluster" CSS layout utility, for nice flex-boxing with gaps.
Removed
- Removed
$description
for button Blade templates, so anyone using them needs to change it toaria-label
for same behaviour. - Removed support for PHP 7.2
Fixed
- Font inheritance on form elements.
v1.0.0
Release 1.0.0
– ready for production use 🎉
Kontour has been feature-complete since a few releases back, but now we're finally happy with the shape of the API and the overall developer experience – and the documentation is decent enough!
The docs will see even more improvements soon after this release, but the code itself is stable now.
The authors have been running Kontour for admin pages in a few of their private projects for quite some time, now others may enjoy it too!
Upgrade guide
Search though your code for any references to ariaDescribedById
, and check the controlAttributes
docs for setting aria-describedby
there instead.
Changed
- Old
$ariaDescribedById
replaced by$controlAttributes['aria-describedby']
for form control Blade includes.
Added
- New config to disable/enable route registration.
- New email input Blade include with sensible default attributes.
Fixed
- Added missing space between HTML attributes in some views.
- Kept semantics for unstyled lists in some browsers.
- Improved screen-reader only CSS utility classes.
- Improved display of boolean env-values in dashboard view.
Support Laravel 7
Changed
- Only named html inputs are marked as dirty
Added
- Compatibility with Laravel 7
- Styling for
kontourStickyActions
section
Removed
- Support for Laravel 5.7 and PHP 7.1
Support Laravel 6
Changed
- Uppercase html doctype declaration.
Added
- Support for Laravel 6.
Removed
- Removed unnecessary type attribute on css link html tags.
v0.9.0
Changed
- Only repopulate form inputs with old submitted data if there are errors on any fields.
- Generated ids on form inputs now use dot-syntax instead of brackets.
- The password reset now uses the
MessageWidget
. - Inputs not belonging to any form and search inputs are no longer marked as dirty.
- Saving state is set on all inputs, not just dirty ones.
Added
- Added autofocus. placeholder and disabled options parameters to form templates.
- Put csrf-token in
<meta>
for use with js. - New template for displaying
<time>
elements. - Added autocomplete hints and autofocus to the authentication inputs.
Fixed
- Button styling in password reset now uses generic button template.
- Confirm delete and confirm leave page scripts now also works with elements outside the form tag.
- Input names with dot-notation and brackets.
Support Laravel 5.8
Added
- Support for Laravel 5.8
- Javascript to confirm delete actions.
- Javascript to confirm before leaving a "dirty" page
- Button templates (create/update/destroy/link/generic) and CSS for them.
- Support for dot-syntax in form input templates.
- Aria-label for admin links.
- Aria Role in alerts.
- Method
MessageWidget::addMessageIfSessionHasErrors()
.
Fixed
- Print correct time format in item history widget.
v0.8
Changed
- Style revamp affecting both HTML structure and CSS
MessageWidget::addHtmlMessage()
now takes any string and converts toHtmlable
- Upgrade to Laravel Mix 4
- Form templates revamped for easier customization
- Allow abilities to be
null
to make it possible passing ability names directly from config
Added
- Hamburger menu on small screens
MessageWidget::addErrorsFromSession()
- Configuration to hide menu items
v0.7
Added
- Hidden empty input to indicate presence of multi-select array fields in form templates
- Overridable views for
AdminLink
- Configuration for javascript urls
- Skip-to-content link
- Configuration for global widgets
- Recent links widgets are registered by default
- Trait to authorize request and dispatch view/edit-events in one go
- Configs for menu widget display
Changed
- Require Laravel 5.7
- Require users to implement
AdminUser
- Input styling
Removed
- Dynamic blade section names are removed and need to be hard-coded as strings
- Removed the old
DispatchesAdminToolEvents
trait
Fixed
- Ensure errorsId is set even when options is empty in form templates
- Remove password from fillable in users model
- Password resets
- Filter out unauthorized links from crumbtrail, recent and menu widgets
- Sorting and limiting recent links