{% extends "_layouts/cp" %} {% set title = "What’s new in Craft 2.2" %} {% includeCssResource "css/whats-new.css" %} {% block pageHeader %}{% endblock %} {% set url = 'http://buildwithcraft.com/updates/2.2' %} {% set content %}

{{ title }}

With 140 new features and improvements, Craft 2.2 is the biggest little release yet.
And this one’s all about the details.

Position Select Fields

Position Select is a new field type that was written with Matrix in mind. It gives you a simple new way to define block positions when you’re using Matrix to create long-form articles.

A Matrix field with a Position Select sub-field.

Logout Warnings

The Control Panel now warns you when you’re about to be logged out, giving you the chance to extend your session with the click of a button, and get back to your writing.

If you do get logged out, Craft will give you a dialog where you can quickly enter your password to be logged back in, without losing any work.

A logout warning in the Control Panel.

Single Titles and Statuses

Your Singles now have the same “Show the Title field?”, “Title Field Label”, and “Title Format” settings that your Channel and Structure sections have, and you can also toggle the status of your singles.

A single’s Edit page.

Security Improvements

Craft now supports CSRF Protection, and Rich Text fields have a new “Purify HTML?” setting, which will run their values through HTML Purifier before getting saved to the database, removing any potentially malicious code.

Lots more!

Craft 2.2 is packed full of other new features, improvements, APIs, and even a few bug fixes. Check out the release notes for a complete list!

{% endset %}