diff --git a/README.md b/README.md index eb8f38ff..e7b03470 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Shortcake (Shortcode UI) # -**Contributors:** fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver +**Contributors:** fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver, garyj, mte90, fredserva, khromov **Tags:** shortcodes **Requires at least:** 4.1 -**Tested up to:** 4.3 -**Stable tag:** 0.5.0 +**Tested up to:** 4.4 +**Stable tag:** 0.6.0 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -59,12 +59,24 @@ We've removed the compatibility shim for the magical `content` attribute. If you ## Changelog ## -### 0.6.0 (???) ### -* Core integration: Fully support PHP 5.2. +### 0.6.0 (November 2, 2015) ### +* Supports an optional `encode=true` argument for attributes, to allow limited HTML support. Attributes need to be run through `shortcode_atts()` in order to be properly decoded. * Defines a `SHORTCODE_UI_DOING_PREVIEW` constant when rendering a shortcode preview, which enables callbacks to serve a different representation of the shortcode in TinyMCE. +* When an attachment is already selected for a shortcode attribute, opening media library will include it selected. +* Cleaned up icon vertical alignment in the Insert Post Element UI. +* Added CSS utility classes to all field HTML. For instance, the attachment field is now wrapped with `shortcode-ui-field-attachment`. +* Added filters to modify shortcode UI arguments on registration. +* Cleaned up the example plugin, so it's a much more useful developer reference. +* Uses core's JavaScript regex for parsing shortcodes, instead of maintaining separate regex. +* Permits HTML in field labels and descriptions. * Added Danish translation. * Added Italian translation. -* When an attachment is already selected for a shortcode attribute, opening media library will include it selected. +* Added German translation. +* Core integration: Fully supports PHP 5.2. +* Bug fix: Persists shortcode attributes and inner content when there isn't UI registered for them. Previously, they would be discarded. +* Bug fix: Display the description on the post select field. +* Bug fix: Attribute field change event binds to `input` event rather than `keyup`. +* [Full release notes](http://fusion.net/story/225765/introducing-shortcake-v0-6-0-cream/) ### 0.5.0 (August 26, 2015) ### * Attachment field: Made it easier to change the attachment by clicking on the thumbnail; added attachment metadata in the field view. diff --git a/readme.txt b/readme.txt index 037aef4b..97d05442 100644 --- a/readme.txt +++ b/readme.txt @@ -1,9 +1,9 @@ === Shortcake (Shortcode UI) === -Contributors: fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver +Contributors: fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver, garyj, mte90, fredserva, khromov Tags: shortcodes Requires at least: 4.1 -Tested up to: 4.3 -Stable tag: 0.5.0 +Tested up to: 4.4 +Stable tag: 0.6.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -51,12 +51,24 @@ We've removed the compatibility shim for the magical `content` attribute. If you == Changelog == -= 0.6.0 (???) = -* Core integration: Fully support PHP 5.2. += 0.6.0 (November 2, 2015) = +* Supports an optional `encode=true` argument for attributes, to allow limited HTML support. Attributes need to be run through `shortcode_atts()` in order to be properly decoded. * Defines a `SHORTCODE_UI_DOING_PREVIEW` constant when rendering a shortcode preview, which enables callbacks to serve a different representation of the shortcode in TinyMCE. +* When an attachment is already selected for a shortcode attribute, opening media library will include it selected. +* Cleaned up icon vertical alignment in the Insert Post Element UI. +* Added CSS utility classes to all field HTML. For instance, the attachment field is now wrapped with `shortcode-ui-field-attachment`. +* Added filters to modify shortcode UI arguments on registration. +* Cleaned up the example plugin, so it's a much more useful developer reference. +* Uses core's JavaScript regex for parsing shortcodes, instead of maintaining separate regex. +* Permits HTML in field labels and descriptions. * Added Danish translation. * Added Italian translation. -* When an attachment is already selected for a shortcode attribute, opening media library will include it selected. +* Added German translation. +* Core integration: Fully supports PHP 5.2. +* Bug fix: Persists shortcode attributes and inner content when there isn't UI registered for them. Previously, they would be discarded. +* Bug fix: Display the description on the post select field. +* Bug fix: Attribute field change event binds to `input` event rather than `keyup`. +* [Full release notes](http://fusion.net/story/225765/introducing-shortcake-v0-6-0-cream/) = 0.5.0 (August 26, 2015) = * Attachment field: Made it easier to change the attachment by clicking on the thumbnail; added attachment metadata in the field view. diff --git a/shortcode-ui.php b/shortcode-ui.php index 9ce2b228..1ae08d1d 100644 --- a/shortcode-ui.php +++ b/shortcode-ui.php @@ -1,7 +1,7 @@