Files
yii/docs/guide/changes.txt
2009-12-18 19:33:34 +00:00

99 lines
3.8 KiB
Plaintext

New Features
============
This page summarizes the main new features introduced in each Yii release.
Version 1.1.0
-------------
* [Added support for writing unit and functional tests](/doc/guide/test.overview)
* [Added support for using widget skins](/doc/guide/topics.theming#skin)
* [Added an extensible form builder](/doc/guide/form.builder)
* Improved the way of declaring safe model attributes. See
[Securing Attribute Assignments](/doc/guide/form.model#securing-attribute-assignments).
* Changed the default eager loading algorithm for relational active record queries so that all tables are joined in one single SQL statement.
* Changed the default table alias to be the name of active record relations.
* [Added support for using table prefix](/doc/guide/database.dao#using-table-prefix).
* Added a whole set of new extensions known as the [Zii library](http://code.google.com/p/zii/).
Version 1.0.11
--------------
* Added support for parsing and creating URLs with parameterized hostnames
- [Parameterizing Hostnames](/doc/guide/topics.url#parameterizing-hostnames)
Version 1.0.10
--------------
* Enhanced support for using CPhpMessageSource to manage module messages
- [Message Translation](/doc/guide/topics.i18n#message-translation)
* Added support for attaching anonymous functions as event handlers
- [Component Event](/doc/guide/basics.component#component-event)
Version 1.0.8
-------------
* Added support for retrieving multiple cached values at one time
- [Data Caching](/doc/guide/caching.data)
* Introduced a new default root path alias `ext` which points to the directory
containing all third-party extensions.
- [Using Extensions](/doc/guide/extension.use)
Version 1.0.7
-------------
* Added support for displaying call stack information in trace messages
- [Logging Context Information](/doc/guide/topics.logging#logging-context-information)
* Added `index` option to AR relations so that related objects can be indexed
using the values of a specific column
- [Relational Query Options](/doc/guide/database.arr#relational-query-options)
Version 1.0.6
-------------
* Added support for using named scope with `update` and `delete` methods:
- [Named Scopes](/doc/guide/database.ar#named-scopes)
* Added support for using named scope in the `with` option of relational rules:
- [Relational Query with Named Scopes](/doc/guide/database.arr#relational-query-with-named-scopes)
* Added support for profiling SQL executions
- [Profiling SQL Executions](/doc/guide/topics.logging#profiling-sql-executions)
* Added support for logging additional context information
- [Logging Context Information](/doc/guide/topics.logging#logging-context-information)
* Added support for customizing a single URL rule by setting its urlFormat and caseSensitive options:
- [User-friendly URLs](/doc/guide/topics.url#user-friendly-urls)
* Added support for using a controller action to display application errors:
- [Handling Errors Using an Action](/doc/guide/topics.error#handling-errors-using-an-action)
Version 1.0.5
-------------
* Enhanced active record by supporting named scopes. See:
- [Named Scopes](/doc/guide/database.ar#named-scopes)
- [Default Named Scope](/doc/guide/database.ar#default-named-scope)
- [Relational Query with Named Scopes](/doc/guide/database.arr#relational-query-with-named-scopes)
* Enhanced active record by supporting lazy loading with dynamic query options. See:
- [Dynamic Relational Query Options](/doc/guide/database.arr#dynamic-relational-query-options)
* Enhanced [CUrlManager] to support parameterizing the route part in URL rules. See:
- [Parameterizing Routes in URL Rules](/doc/guide/topics.url#parameterizing-routes)
<div class="revision">$Id$</div>