Skip to content

Releases: kontenta/kontour

Laravel 10 support

02 May 14:18
0cea1b6
Compare
Choose a tag to compare

Added

  • Added support for Laravel 10.

Full Changelog: v2.0.1...v2.0.2

Laravel 9 support

28 Apr 11:51
d3f7322
Compare
Choose a tag to compare

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

28 Sep 14:51
9685963
Compare
Choose a tag to compare

Changed

  • HTML attribute title is no longer used for tooltips and is replaced with aria-label and data-kontour-description, see #177.
  • New method getLabel() is required on any class implementing the AdminLink 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 to aria-label for same behaviour.
  • Removed support for PHP 7.2

Fixed

  • Font inheritance on form elements.

v1.0.0

15 May 09:55
d784da4
Compare
Choose a tag to compare

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

20 Mar 14:10
b3bdb12
Compare
Choose a tag to compare
Support Laravel 7 Pre-release
Pre-release

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

27 Sep 10:30
f2b74b2
Compare
Choose a tag to compare
Support Laravel 6 Pre-release
Pre-release

Changed

  • Uppercase html doctype declaration.

Added

  • Support for Laravel 6.

Removed

  • Removed unnecessary type attribute on css link html tags.

v0.9.0

05 Jul 07:43
3626ed5
Compare
Choose a tag to compare
v0.9.0 Pre-release
Pre-release

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

15 Mar 14:42
47957b3
Compare
Choose a tag to compare
Support Laravel 5.8 Pre-release
Pre-release

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

30 Jan 14:28
7f1251b
Compare
Choose a tag to compare
v0.8 Pre-release
Pre-release

Changed

  • Style revamp affecting both HTML structure and CSS
  • MessageWidget::addHtmlMessage() now takes any string and converts to Htmlable
  • 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

10 Jan 11:05
9fabbae
Compare
Choose a tag to compare
v0.7 Pre-release
Pre-release

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