Perch Update 2.6
15 August 2014
We’ve updated Perch with some new features and bug fixes discovered through our support forums. This is an update to Perch 2. Please read the full Perch 2.0 update notes if updating from Perch 1.
Do I need to install this?
This update is recommended for those experiencing the below issues or those wanting to receive technical support.
What does it fix?
This release fixes the below issues:
- Attempts to fix an issue with asset thumbnail dimensions for server locales using a decimal comma
- Improves static asset versioning and caching
- Changes mime type of JSON files to from
application/json
toapplication/javascript
- Fixes a bug with repeated bucket names in the Assets smart bar
What features does it add?
This release adds the following:
- Adds categories
- Adds logic string parsing to perch:if exists attribute,
exists="a AND (b OR c)"
- Header now scrolls out of view to give more space
- Updates license agreement to clear-English version
- Adds new
indelible
attribute to slug field - Adds new
editable
attribute to slug field type
and makes the following improvements to the developer API (new API docs are to follow):
- API: Adds
PerchUtil::get()
likeperch_get()
- API: Adds
PerchAPI_Form::complete
for outputting a complete form from a template - API: Adds
PerchAPI_Form::get_posted_content
- API: Adds new smartbar building API
PerchAPI_HTML::smartbar
,smartbar_breadcrumb
,smartbar_link
- API: Adds new table output function
PerchAPI_HTML::listing
- API: Adds
PerchAPI_Form::submitted_with_add_another()
- API: Adds event pub/sub
- API: Adds new
add_class_dependancies
method toPerchFieldType
What impact does it have for my clients?
Perch 2.5 made user interface changes, especially around the uploading of images and files. You may wish to walk your clients through the changes on a staging site before making them live. This update (2.6) makes improvements and fixes bugs but doesn’t change the interface significantly.
Where do I get the update?
Log into your account and re-download the files. The download has been replaced with the newest version.
Always make a back-up of your files and database before updating.
- Unzip the download and replace your
perch/core
folder with the newperch/core
folder. - Perch will update itself when you log in.
Important note
Perch 2.5 and greater requires PHP 5.3 with JSON support. Please check your diagnostics report before updating to be sure that your hosting supports these requirements.
We always advocate updating your staging or development copy of the site and testing the changes first. We do not recommend updating a live site without checking everything’s going to work first.
If updating from a version prior to 2.5 and using the Blog, Events or Comments add-ons, you should update those also.