-
Notifications
You must be signed in to change notification settings - Fork 346
Changelog v1.3
WanWizard edited this page Sep 9, 2012
·
9 revisions
This keeps track of important changes to the 1.x branch. Important changes that need extra attention when releasing v1.3. Besides these changes there were lots of bug fixes and core and speed improvements.
-
Controller: Deprecated
$responseproperty has been removed from all base controller classes. All controller actions now HAVE TO return their results, either aResponseobject, or something that can be cast to string. If you are still on pre v1.2 controller code, your application will NO LONGER work after the upgrade to v1.3.
-
Orm: Model method
values()has been deprecated. Useset()instead.
- PHPSecLib: Has been updated to v0.2.2.
- HTMLawed: Has been updated to v1.1.12.
-
Debug_: You can now modify the default display behaviour of
dump()throughDebug::$js_toggle_open. - Upload: Now allows you to set custom messages in validation callbacks.
-
Config:
Config::loadnow always returns the loaded configuration. - Pagination: Now uses anchors for all pagination enties, which allows for better styling.
-
Arr:
Arr::pluckhas been added. -
Arr:
Arr::remove_prefixedhas been added. -
Arr:
Arr::insert_assochas been added. - Asset: Has been updated to work better on Windows.
-
Asset:
Asset::find_filehas been added. -
Asset:
Asset::add_typehas been added. -
DB:
DB::in_transactionhas been added. -
DB: Added support for compressed MySQL connections through the new
compressconfig key. - Error: PHP notices/warnings/errors are now caught and thrown as an Exception.
- Event: The Event class has been converted to be instance based.
-
Fieldset: You can now choose to overwrite existing options when using
set_options. - File: download() has been made to work when shutdown events are defined that set headers.
- Image: New option on load() to force a file extension.
- Format: CSV file handling has been improved.
- Log: Now supports custom log levels.
- Log: Now allows you to configure an array of specific log levels to log.
- Migrate: Now supports multiple package paths.
-
Mongo_Db:
Mongo_Db::get_collectionhas been added. -
Pagination: Added
attrskeys to the configuration to define custom anchor attributes. -
Redis: Added support for connection timeouts through the new
timeoutconfig key. -
Str:
Str::starts_withhas been added. -
Str:
Str::ends_withhas been added. -
Str:
Str::is_jsonhas been added. -
Str:
Str::is_htmlhas been added. -
Str:
Str::is_serializedhas been added.
-
Auth:
get_profile_fields()now allows you to fetch a single profile field. -
Email: New
NoOpemail driver allows testing without sending emails out. - Oil: Now returns a non-zero exit code on failures.
- Oil: Added support for PHPunit clover, text and phpformat Code Coverage methods.
-
Orm: New model method
register_observer()andunregister_observer()to define new observers at runtime. -
Orm: Added support for
whereandorder_byclauses to relation conditions. -
Orm:
set()method has been updated to provide the same API as Model_Crud. - Orm: PK's are now typecast on retrieval if a type has been defined in the properties.
- Orm: Update query code has been improved for better support of PostgreSQL.
-
Parse: Smarty driver now supports the
plugin_dirpath.