Itโs time for a new patch release
Changelog
https://github.com/getkirby/kirby/releases/tag/3.1.2
- The
image()
helper uses the current$page
if no path is specified - API routes can be defined as callbacks in plugins
- Emails can have an HTML template only without the requirement for a text template
- The Number field no longer strips negative sign when typing
-0
- The wrong order of files in API responses is fixed
- Falsely translated field options in select fields, checkboxes, etc. are fixed
- The unnecessary overflow on the login view is gone
- Setting an empty value in time fields is working as expected
- The time field preview is fixed in structure fields
- You can now set a white image background for icons in sections
- Sorting files in paginated files sections is fixed
- The search button is no longer hidden in unregistered installations
- Textarea dialogs (email, links) can now be closed without creating unwanted tags
- Regex characters are correctly escaped in the multiselect field
- Content is now kept when programmatically creating users
-
$pageโpreviewUrl()
can now handle query strings in blueprint definitions correctly -
$fileโmodified()
returns the correct timestamp when the content has been modified - The
min
requirement message in pages sections is fixed - The
svg()
helper is now working reliably with OPcache and also avoids loading PHP code - Url setting, translations and other custom props are no longer deleted when saving languages
- The pages cache is now automatically disabled when there are params in the URL. This also fixes pagination issues when caching is enabled.
- Default values for structure fields work reliably now
- The template switcher now works in multi-language installations without data-loss.
- Finding users by email is now case insensitive
- Setting a min value for the following fields now also implies that the field is required:
- checkboxes, tags, structure, users, pages, files
- Setting required: true for the fields above now also implies min: 1
Download
https://github.com/getkirby/kirby/archive/3.1.2.zip
How to update
- Download the latest version of the kirby folder here: https://github.com/getkirby/kirby/archive/3.1.2.zip
- Unzip it and rename the folder to
kirby
- Use it to replace your old kirby folder in your installation