github getkirby/kirby 3.6.0-rc.2

latest releases: 4.2.0, 4.2.0-rc.1, 4.1.2...
pre-release2 years ago

3.6 RC

To learn more about Kirby 3.6 and the RC phase, check out our dedicated preview site: https://getkirby.com/releases/3.6

🎉 Features

New system view #3821

139032777-b602a0c0-03a4-47b8-92db-6a87148c908d

We received a lot of feedback about the confusing state of the Settings view in the Panel. Technically, it was never really about settings. It was a mixture of system information and languages. This is why we decided to replace this view with two new views. A new system view with all kinds of additional information about your Kirby installation and a brand new languages view.

The system view contains the version and license information from the previous settings view. But now it also features additional health information about your setup, which will be extended step by step in later releases. It also contains a list of your installed plugins.

Languages and system views can be switched on or off by role with the new access permissions:

# users/editor.yml
title: Editor
permissions: 
  access: 
    system: false
    languages: false

New languages view #3821

139032758-1d442952-c2a5-4c2e-98eb-69cbc5fb0e37

The new languages view is now only visible in the menu when you switch to a multi-language setup. It features the same language editor from previous versions. We will be extending this view with more options in the future.

New home option for user blueprints to control redirect after login #3834

When a user logs in to the Panel, they normally get redirected to the last view they've been on before they've been logged out or the Site view. When you work with permissions, you might want to block the Site view or redirect the user to a completely different view instead. This is now possible with the new home option for user blueprints. This way you can define the redirect for each role individually. Redirects can be simple paths or dynamic locations via string queries.

Simple paths

title: Editor
home: /panel/account

Queries to panel views

title: Editor
home: "{{ site.find('blog').children.first.panel.url }}"

Queries to pages

title: Editor
home: "{{ site.find('blog').children.first.url }}"

New slug field #3613

Technically this has been in there for ages, but we never documented it :)

The new slug field is perfect when you want to create sanitized strings for IDs, URL paths, css class names, etc.

Setup

fields: 
  className:
    label: Class Name 
    type: slug

Sync option
You can sync the slug field with another field. Whenever the editor types something into the synced field, the slug field will update with a sluggified version of the input:

fields: 
  className:
    label: Class Name 
    type: slug
    sync: title

Allow option
By default, the slug field will strip out or replace any non-alphabetic, non-numeric character with a simple dash. You can define additional allowed characters with the allow option:

fields: 
  className:
    label: Class Name 
    type: slug
    sync: title
    allow: _

✨ Enhancements

  • Updated inline docs for the writer field
  • The Remote class now by default prefers the system certificate authority bundle (CA bundle) for verifying remote TLS connections if a bundle is configured in php.ini (curl.cainfo option). If no bundle is configured, Kirby will still use its internal CA bundle.
  • Additional unit tests for Filesystem, CMS, Form, Image and Panel classes
  • Fixed validation code for the Kirby\Form\FieldClass class
  • Better error handling for dialogs without proper handlers
  • Cleaner solution to ignore entire files from code coverage

🐛 Fixed regressions from 3.6.0-rc.1

  • Fixed issue in slug field with undefined value #3826
  • Fix writer field caret position on blocks/layout field #3838
  • Fix writer field height on blocks/layout field
  • Fixed collision when changing the user language #3844

Don't miss a new kirby release

NewReleases is sending notifications on new releases.