-
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
$response
property has been removed from all base controller classes. All controller actions now HAVE TO return their results, either aResponse
object, 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::load
now always returns the loaded configuration. - Pagination: Now uses anchors for all pagination enties, which allows for better styling.
-
Arr:
Arr::pluck
has been added. -
Arr:
Arr::remove_prefixed
has been added. -
Arr:
Arr::insert_assoc
has been added. - Asset: Has been updated to work better on Windows.
-
Asset:
Asset::find_file
has been added. -
Asset:
Asset::add_type
has been added. -
DB:
DB::in_transaction
has been added. -
DB: Added support for compressed MySQL connections through the new
compress
config 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_collection
has been added. -
Pagination: Added
attrs
keys to the configuration to define custom anchor attributes. -
Redis: Added support for connection timeouts through the new
timeout
config key. -
Str:
Str::starts_with
has been added. -
Str:
Str::ends_with
has been added. -
Str:
Str::is_json
has been added. -
Str:
Str::is_html
has been added. -
Str:
Str::is_serialized
has been added.
-
Auth:
get_profile_fields()
now allows you to fetch a single profile field. -
Email: New
NoOp
email 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
where
andorder_by
clauses 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_dir
path.