Take a look of these three changelog of FuelPHP for backward compatibility notes:
Take a look of release notes of Wijmo between 2013v3.20 and 2013v1.4: http://wijmo.com/wiki/index.php/Version_Histories
The config key migrations.enabled_types.metadata is no longer supported, and method Migration::canUpdateMetadata() no longer exist. During migration, all files in local/metadata are supposed be writable.
A new event migrate.exception is triggered if a migration throws an exception. This event can stop exception propagation.
This code do nothing in Dubrovka:
<?php
\Event::register_function('config|an_application::metadata', function (&$config) {
//...
});
You must do that:
<?php
\Event::register_function('config|!an_application::metadata', function (&$config) {
//...
});
Add a leading ! on the metadata path.
Those updates are not mandatory but desirable to be able to migrate without trouble when next version is released.
The translation system of Novius OS now respect plural forms of languages. Some i18n keys of CRUD config are affected.
These keys now must contain an array of different plurals of translation, and not the translated text:
These keys are unnecessary:
Second argument can be just an array, not an array with an args key containing an array.
Deprecated code:
<?php
\Nos::hmvc('request/url/', array('args' => array($first_parameter, $second_parameter)));
Replace with:
<?php
\Nos::hmvc('request/url/', array($first_parameter, $second_parameter));
The method \Config::loadConfiguration(). Use \Config::load().
Deprecated code:
<?php
$config = \Config::loadConfiguration('application_name', 'file_name');
//or
$config = \Config::loadConfiguration('application_name::file_name');
Replace with:
<?php
$config = \Config::load('application_name::file_name', true);
The method \Nos\Application::applicationRequiredFromMetadata() is not intended to be called outside the \Nos\Application class. It will become protected in future.
You can get all applications dependencies by loading the app_dependencies metadata file.
<?php
$dependencies = \Nos\Config_Data::get('app_dependencies', array());
In metadata files, the extends key containing an array with an application key is deprecated.
The extends key must contain only an array with applications names in values.
Deprecated code:
<?php
return array(
'name' => 'Application name',
//...
'extends' => array(
'application' => 'application_name',
'extend_configuration' => false,
),
);
Replace with:
<?php
return array(
'name' => 'Application name',
//...
'extends' => array(
'application_name',
),
);
Config files extended by application extending mechanism must be defined in a subdirectory apps/application_name/
For sample, if your application A extends the sample.config.php file of the application B.
Deprecated location: local/applications/application_a/config/sample.config.php
Move to: local/applications/application_a/config/apps/application_b/sample.config.php
The use of advanced theme is deprecated, use only theme nos.
Theme nos is now an extension of advanced theme. All configuration keys starting with theme_nos_ are deprecated and should be replaced by their equivalent starting theme_advanced_.