Matomo 2.6.1
5 September 2014
Matomo version 2.6.1 is now available (major release).
Upgrading to Matomo 2.6.1
Matomo 2.6.1 can be upgraded to (or installed) using any of Installatron's products. Use Installatron's optional Automatic Update feature to automatically apply Matomo updates as new versions are released, or use Installatron's Clone feature to duplicate an existing Matomo install to test the 2.6.1 upgrade prior to applying it live. Get started managing your Matomo installations with Installatron
What's New in Matomo 2.6.1
In this release there are API deprecations (regarding the json format), a new commmand (to let you execute scheduled tasks) and some Internal changes.
Deprecations
- The 'json' API format is considered deprecated. We ask all new code to use the 'json2' format. Eventually when Piwik 3.0 is released the 'json' format will be replaced with 'json2'. Differences in the json2 format include:
- A bug in JSON formatting was fixed so API methods that return simple associative arrays like array('name' => 'value', 'name2' => 'value2') will now appear correctly as {"name":"value","name2":"value2"} in JSON API output instead of [{"name":"value","name2":"value2"}]. API methods like SitesManager.getSiteFromId & UsersManager.getUser are affected.
Reporting API
- If an API returns an indexed array, it is now possible to use filter_limit and filter_offset. This was before only possible if an API returned a DataTable.
- The Live API now returns only visitor information of activated plugins. So if for instance the Referrers plugin is deactivated a visitor won't contain any referrers related properties. This is a bugfix as the API was crashing before if some core plugins were deactivated. Affected methods are for instance getLastVisitDetails or getVisitorProfile. If all core plugins are enabled as by default there will be no change at all except the order of the properties within one visitor.
New commands
- core:run-scheduled-tasks Let's you run all scheduled tasks due to run at this time. Useful for instance when testing tasks.
Internal change
- We removed our own autoloader that was used to load Piwik files in favor of the composer autoloader which we already have been using for some libraries. This means the file core/Loader.php will no longer exist. In case you are using Piwik from Git make sure to run php composer.phar self-update && php composer.phar install to make your Piwik work again. Also make sure to no longer include core/Loader.php in case it is used in any custom script.
- We do no longer store the list of plugins that are used during tracking in the config file. They are dynamically detect instead. The detection of a tracker plugin works the same as before. A plugin has to either listen to any Tracker.* or Request.initAuthenticationObject event or it has to define dimensions in order to be detected as a tracker plugin.
Bugs fixed
- #6089 Reports for today will be processed every 150 seconds instead of previous default 10s (real time reports)
- #5977 When there are many goals, show them grouped in a selector [by @tsteur]
- #5982 PiwikDebugger: a new plugin to debug a Piwik instance without FTP access (troubleshooting toolkit).
- #5989 Let users define a Goal as "Goal is triggered when visitor send an Event" [by @tsteur]
- #6045 Add hooks to Live plugin and let other plugins extend it [by @tsteur]
- #6071 Use an event to collect visitor information and made sure UI works even when minimum plugins are enabled [by @tsteur]
- #5414 Entering Settings doesn't work after update to 2.4.0 [by @tsteur]
- #5850 Piwik.js JS tracker: allow developer to pass a 'callback' argument [by @Sija, @mattab]
- #5863 Split core language files into plugins where possible [by @tsteur]
- #6035 Fix xhprof integration, install xhprof through composer and build xhprof through composer. [by @diosmosis]
- #6036 Enables code coverage reports using coveralls.io [by @sgiehl]
- #5924 Let Piwik admins run the 'core:archive' through the browser
- #5952 Error when switching 'report tables' view of DBStats plugin to pie chart [by @tsteur]
- #5970 Unexpected hijacking user after clicking on sparkline and chart [by @tsteur]
- #5971 Unclear indication of current state of Real-time widget [by @tsteur]
- #5973 Lack of "Cancel" option when editing users [by @tsteur]
- #5993 Add FAQ to explain how to configure CORS Cross-origin resource sharing hosts
- #5990 Duplicated "create new goal" text
- #5995 Fix XHProf implementation [by @diosmosis, @tsteur, @mattab]
- #5997 Lacking label in "Create new Goal" view [by @tsteur]
- #6011 Find only components and settings of activated plugins [by @tsteur]
- #6012 Make ./console core:archive work on CGI (use case 1&1 hosting/managed server) [by @tsteur]
- #6013 /misc/cron/archive.php mistake web execution for command line [by @tsteur]
- #6014 "The string Goals_Ecommerce was not loaded in javascript" … Massive Error message on "Websites Management" [by @tsteur]
- #6024 Switch to composer for autoloading. [by @diosmosis, @tsteur]
- #6025 On version 2.5.0 under the "Event Actions" report, the second-level aggregate table is now showing "Unique Visitors", it used to be "Total Events" [by @tsteur]
- #6026 Goals condition and examples do not update when creating/editing a goal [by @tsteur]
- #6028 Field 'location_browser_lang' doesn't have a default value In query [by @tsteur, @mattab]
- #6030 Object of class Piwik\Plugins\Proxy\Controller could not be converted to string in core/FrontController.php on line 173 [by @mattab]
- #6038 Theming - changing font variable does not work [by @tsteur]
- #6043 fixed composer.json to download the same set of vendors as with use of c… [by @mgazdzik, @mattab]
- #6048 Refactor piwikApi angularjs object to allow aborting individual requests and all requests. [by @diosmosis]
- #6049 2.5.0 Upgrade - Breaks Visitor Log [by @tsteur]
- #6057 Bug in JSON renderer renders simple associative array as indexed array containing object. [by @diosmosis]
- #6059 Move translations from core to plugins and cache all plugin translations for better performance [by @tsteur]
- #6065 Cache list of Tracker plugins in tracker than config file [by @tsteur]
- #6066 Move JSON format bug fixes to new JSON2 format so existing clients will not fail. [by @diosmosis]
- #6067 at installation step 2, warning message: "GET request to piwik.php failed." [by @mattab]
- #6070 When a Goal is matching a pattern containing >, <, ', " goal will not match [by @mattab]
- #6072 dynamically detect tracker plugins and cache them instead of using config [by @tsteur, @mattab]
- #6084 Removing pre PHP 5.3 checks (SPL ArrayObject) [by @ThaDafinser, @mattab]
- #6086 2.6b1: API returned an error: Date format.. [by @diosmosis]
- #6092 After updating to 2.5.0 the plugin page don't work [by @diosmosis]
- #6102 Processed report does not add all metrics to columns [by @tsteur]
- #6107 xhprof removed their composer.json file, adding it to our composer.json file so we can still use composer to manage xhprof [by @diosmosis]
- #6112 Fix getProcessedReport does not include all metrics in columns [by @tsteur]
- #6114 Norwegian Bokmål name is written wrong [by @sgiehl]
- #6117 [automatic translation update] Updated 129 strings in 6 languages (fa, tr, ru, cs, ja, nl) [by @sgiehl]
- #6127 xhprof is needed in production after update to 2.6