Introducing 3.1 - Chamaeleo
We are very excited to share our first major 3.x release with you and release it into the wild: Say hello to 3.1 - Chamaeleo!
A word on our release schedule:
We set out the goal for Kirby 3 to work with a much quicker release cycle, in short: bi-weekly minor releases for bug fixes, bi-monthly major releases for features. We are quite happy to see that this has all worked out so far and we feel very good moving forward like this. We hope you do too - you can follow our release schedule here: https://roadmap.getkirby.com
So let’s dive into what 3.1 - Chamaeleo is all about:
Conditional fields
We know, this has been on your lists for a while - even way back in v2. A lot of the efforts that went into the groundwork of Kirby 3 is paying off now and we are happy to tell you that a first version of conditional fields is finally here and here to stay:
fields:
category:
label: Category
type: select
options:
a: A
b: B
c: C
other: Other …
other:
label: Enter your category
type: text
when:
category: other
We wanted to start with a basic version but will include more possibilities to it in upcoming releases.
File uploads in textareas
Select and upload files right from the textarea field (via dropdown or drag’n’drop)
Srcset support
<img
src="<?= $image->url() ?>"
srcset="<?= $image->srcset([300, 800, 1024]) ?>"
alt="<?= $image->alt() ?>">
Inline KirbyText
Render kirbytext and markdown without wrapping the text in a <p>
tag with $field→kirbyTextInline()
and kirbyTextInline()
… and a lot more.
You can find a full list of all the features, improvements and fixes: https://github.com/getkirby/kirby/releases/tag/3.1.0
Download
https://github.com/getkirby/kirby/archive/3.1.0.zip
How to update
- Download the latest version of the kirby folder here: https://github.com/getkirby/kirby/archive/3.1.0.zip
- Unzip it and rename the folder to
kirby
- Use it to replace your old kirby folder in your installation
We are looking forward to hearing what you think. Have a great day!