Skip to content

Commit

Permalink
Added release notes for 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
goldenapples committed Nov 16, 2016
1 parent 8d2f567 commit 9101cb7
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 4 deletions.
26 changes: 24 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
**Tags:** shortcodes
**Requires at least:** 4.3
**Tested up to:** 4.4
**Stable tag:** 0.6.2
**Stable tag:** 0.7.0
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -35,7 +35,7 @@ Shortcake doesn't support custom key=>value pairs as shortcode attributes becaus

We have test coverage for PHP using PHPunit, and JavaScript using Jasmine.

*Running tests locally*
### Running tests locally ###

Jasmine tests can be run using `grunt jasmine` and are also run as part of the `grunt scripts` task. To update the core WordPress files used by the Jasmine test suite, run `grunt updateJasmineCoreScripts --abspath="/path/to/wordpress-install"`.

Expand Down Expand Up @@ -66,6 +66,27 @@ We've removed the compatibility shim for the magical `content` attribute. If you

## Changelog ##

### 0.7.0 (November 18, 2016) ###
* Adds "Add post element" button to media buttons - one click to open the shortcode list, rather than clicking "Add media" button and then finding "insert post element" in the menu.
* Added "Term Select" field type.
* Added "User Select" field type.
* Added new hooks that fire on rendering/editing/closing a shortcode, which can be used for field types which require custom javascript initialization or cleanup.
* Select fields: add full support for multiple select fields.
* Select fields: support custom ordering of options.
* Select fields: support grouping option in `<optgroup>`s by passing them as a nested array.
* Attachment fields: support multiple selection.
* Attachment fields: support SVG images (if svg uploads are enabled by a plugin or theme).
* Bug fix: Handle percent signs when decoding fields with `encode=true` specified.
* Bug fix: fix issue where it takes two clicks on a shortcode in editor to bring up the Edit Shortcode modal.
* Bug fix: fix issue when searching for shortcodes by name where if multiple shortcodes start with the search string, only the first is returned.
* Bug fix: only output a description field on an attribute if it's not empty.
* Compatability: Remove shims for handling the media modal in WP 4.1 and 4.2.
* Compatability: Upgrade Select2 library to 4.0.3 to avoid conflicts with other plugins which use the latest version of Select2.
* Added Turkish translation.
* Added Finnish translation.
* Added Swedish translation.
* Added Hungarian translation.

### 0.6.2 (November 12, 2015) ###
* Bug fix: Listens for "change" event on radio buttons and checkboxes to ensure shortcode attributes are updated.
* Bug fix: Ensures `register_shortcode_ui` is always run before calling get_shortcodes(). Fixes post select AJAX callback when using `register_shortcode_ui` hook.
Expand Down Expand Up @@ -168,3 +189,4 @@ We've removed the compatibility shim for the magical `content` attribute. If you
* Re-labeled the UI around “Post Elements”, which is more descriptive than “Content Items.”
* Many bug fixes.
* [Full release notes](http://next.fusion.net/2014/12/23/shortcake-v0-1-0-live-previews-fieldmanager-integration/).

30 changes: 29 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapple
Tags: shortcodes
Requires at least: 4.3
Tested up to: 4.4
Stable tag: 0.6.2
Stable tag: 0.7.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -31,6 +31,13 @@ New in 0.4.0 is the ability to [attach javascript functions to event attribute u

Shortcake doesn't support custom key=>value pairs as shortcode attributes because it isn't a great user experience.

== Running tests ==

We have test coverage for PHP using PHPunit, and JavaScript using Jasmine.

= Running tests locally =

Jasmine tests can be run using `grunt jasmine` and are also run as part of the `grunt scripts` task. To update the core WordPress files used by the Jasmine test suite, run `grunt updateJasmineCoreScripts --abspath="/path/to/wordpress-install"`.

== Screenshots ==

Expand All @@ -51,6 +58,27 @@ We've removed the compatibility shim for the magical `content` attribute. If you

== Changelog ==

= 0.7.0 (November 18, 2016) =
* Adds "Add post element" button to media buttons - one click to open the shortcode list, rather than clicking "Add media" button and then finding "insert post element" in the menu.
* Added "Term Select" field type.
* Added "User Select" field type.
* Added new hooks that fire on rendering/editing/closing a shortcode, which can be used for field types which require custom javascript initialization or cleanup.
* Select fields: add full support for multiple select fields.
* Select fields: support custom ordering of options.
* Select fields: support grouping option in `<optgroup>`s by passing them as a nested array.
* Attachment fields: support multiple selection.
* Attachment fields: support SVG images (if svg uploads are enabled by a plugin or theme).
* Bug fix: Handle percent signs when decoding fields with `encode=true` specified.
* Bug fix: fix issue where it takes two clicks on a shortcode in editor to bring up the Edit Shortcode modal.
* Bug fix: fix issue when searching for shortcodes by name where if multiple shortcodes start with the search string, only the first is returned.
* Bug fix: only output a description field on an attribute if it's not empty.
* Compatability: Remove shims for handling the media modal in WP 4.1 and 4.2.
* Compatability: Upgrade Select2 library to 4.0.3 to avoid conflicts with other plugins which use the latest version of Select2.
* Added Turkish translation.
* Added Finnish translation.
* Added Swedish translation.
* Added Hungarian translation.

= 0.6.2 (November 12, 2015) =
* Bug fix: Listens for "change" event on radio buttons and checkboxes to ensure shortcode attributes are updated.
* Bug fix: Ensures `register_shortcode_ui` is always run before calling get_shortcodes(). Fixes post select AJAX callback when using `register_shortcode_ui` hook.
Expand Down
2 changes: 1 addition & 1 deletion shortcode-ui.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Plugin Name: Shortcake (Shortcode UI)
* Version: 0.7.0-alpha
* Version: 0.7.0
* Description: User Interface for adding shortcodes.
* Author: Fusion Engineering and community
* Author URI: http://next.fusion.net/tag/shortcode-ui/
Expand Down

0 comments on commit 9101cb7

Please sign in to comment.