Skip to content

Commit

Permalink
Merge branch 'feature/release-2.0.0beta3'
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Mar 2, 2012
2 parents 58fa683 + c272d78 commit db3e13d
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 46 deletions.
125 changes: 80 additions & 45 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ Welcome to the Zend Framework 2.0.0 Release!

RELEASE INFORMATION
---------------
Zend Framework 2.0.0beta2
Zend Framework 2.0.0beta3

THIS RELEASE IS A DEVELOPMENT RELEASE AND NOT INTENDED FOR PRODUCTION USE.
PLEASE USE AT YOUR OWN RISK.

This is the second in a series of planned beta releases. The beta release
This is the third in a series of planned beta releases. The beta release
cycle will follow the "gmail" style of betas, whereby new features will
be added in each new release, and BC will not be guaranteed; beta
releases will happen approximately every six weeks.
Expand All @@ -16,55 +16,90 @@ Once the established milestones have been reached and the featureset has
reached maturity and reasonable stability, we will freeze the API and
prepare for Release Candidate status.

NEW FEATURES IN BETA2
NEW FEATURES IN BETA3
---------------------

- Refactored Mail component
- Does not change existing Storage API, except:
- Zend\Mail\MailMessage was moved to Zend\Mail\Storage\MailMessage
- Zend\Mail\MailPart was moved to Zend\Mail\Storage\MailPart
- Zend\Mail\Message was moved to Zend\Mail\Storage\Message
- Zend\Mail\Part was moved to Zend\Mail\Storage\Part
- Zend\Mail\Mail was renamed to Zend\Mail\Message
- Encapsulates a mail message and all headers
- MIME messages are created by attaching a Zend\Mime\Message object as the
mail message body
- Added Zend\Mail\Address and Zend\Mail\AddressList
- Used to represent single addresses and address collections, particularly
within mail headers
- Added Zend\Mail\Header\* and Zend\Mail\Headers
- Representations of mail headers
- Zend\Mail\Transport interface defines simply "send(Message $message)"
- Smtp, File, and Sendmail transports rewritten to consume Message objects,
and to introduce Options classes.
- Refactored Zend\Cache
- Completely rewritten component.
- New API features storage adapters and adapter plugins for implementing cache
storage and features such as serialization, clearing, and optimizing.
- Current adapters include filesystem, APC, memcached, and memory.
- All adapters can describe capabilities.
- Plugins are implemented as event listeners.
- New "Pattern" API created to simplify things like method, class, object, and
output caching.
- MVC updates
- Zend\Module\Manager was stripped of most functionality; it now simply
iterates requested modules and triggers events.
- Former manager functionality such as class loading and instantiation,
"init()" triggering, configuration gathering, and autoloader seeding were
moved to event listeners.
- Post-module loading configuration globbing support was added.
- Simplifies story of overriding module configuration.
- Recommended filesystem no longer uses plurals for directory names.
- Recommendations now include a chdir(__DIR__ . '/../') from the
public/index.php file, and specifying configuration paths to be relative to
application directory.

In addition, over 100 bug and feature requests were handled since beta1.
- Refactored Config component (Ben Scholzen, Artur Bodera, Enrico Zimuel, Evan Coury)
- All readers moved under Zend\Config\Reader
- JSON and YAML readers removed until beta4
- New API:
$xml = new Zend\Config\Reader\Xml();
$config = new Zend\Config\Config($xml->fromFile($filename);

or:
$xml = new Zend\Config\Reader\Xml();
$config = $xml->fromFile($filename, true);

or, simpler:
$config = Zend\Config\Factory::fromFile($filename);
- All constant injection removed from readers
- New Processor API allows processing the retrieved configuration to do
optional injection/manipulation of configuration values.
- Ability to import other configuration files within a configuration file
added.
- Factory added, to simplify retrieving configuration from any configuration
format supported.
- New View layer (Matthew Weier O'Phinney)
- View layer is now:
- Models, for aggregating and representing data to render; models may be
nested to represent complex view hierarchies
- Renderers, which render templates, using either variables provided or
Models
- Resolvers, which resolve template names to resources a renderer may
consume
- View, which allows attaching strategies for determining the renderer to
use, as well as how to inject the response when done.
- Old Zend_View is now Zend\View\Renderer\PhpRenderer
- Composes a Resolver, a PluginBroker (for helpers), a Variables container
(for aggregating variables to pass to the view script), and a FilterChain
(for output filtering).
- render() now accepts View\Models
- allows rendering stacks of templates under the same variable scope, via
the addTemplate() mechanism
- moves escaping to an Escape view helper; no auto-escaping is enabled
- MVC integration
- Strategy listeners for:
- Handling and returning 404 pages
- Handling and returning error pages due to exceptions
- RAD support for creation and injection of view models from action
controller return values
- Addition of a "render" event, executing after "dispatch" and before
"finish"
- New Db layer (Ralph Schindler)
- Complete rewrite from the ground up.
- New architecture features low-level drivers, which also provide access to
the PHP resource being consumed; adapters, which provide basic abstraction
for common CRUD operations; new SQL abstraction layer, with full predicate
support; abstraction for ResultSet's, with the ability to cast rows to
specific object types; abstraction for SQL metadata; and a revised Table and
Row Data Gateway.
- New Zend\Service\AgileZen component (Enrico Zimuel)
- Support for the full AgileZen (http://www.agilezen.com) API
- Developed for use with http://framework.zend.com/zf2/board
- PHP 5.4 support
- A number of issues when running ZF2 under PHP 5.4 were identified and
corrected.
- Other components that received attention:
- Zend\GData (Maks3w)
- Zend\Navigation (Kyle Spraggs, Frank Brückner)
- Zend\Session (Mike Willbanks)
- Zend\Service\Technorati (Maks3w)
- Zend\Service\StrikeIron (Maks3w)
- Zend\Service\Twitter (Maks3w)
- Zend\Http\Header\Accept* (Matthew Weier O'Phinney, Enrico Zimuel)
- Adds support for q priority, level identifiers, and wildcard media and
submedia types
- Zend\Ldap (Maks3w, Stefah Gehrig)
- Zend\Oauth (bakura10)
- Zend\Mvc and Zend\Module (Evan Coury, many others)

Around 200 pull requests for a variety of features and bugfixes were handled
since beta2.

SYSTEM REQUIREMENTS
-------------------

Zend Framework 2 requires PHP 5.3 or later; we recommend using the
Zend Framework 2 requires PHP 5.3.3 or later; we recommend using the
latest PHP version whenever possible.

INSTALLATION
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ final class Version
/**
* Zend Framework version identification - see compareVersion()
*/
const VERSION = '2.0.0beta2';
const VERSION = '2.0.0beta3';

/**
* The latest stable version Zend Framework available
Expand Down

0 comments on commit db3e13d

Please sign in to comment.