ez components / resources / news archive / ez components 2009.1

eZ Components 2009.1

Author: Derick Rethans
Date: 2009-06-29 11:49 UTC

The development team is happy to announce the release of the eight major version of eZ Components: version 2009.1.

New Components

The main new development of this release was focussed on improving existing components, however two MvcTools related components have been added:


This component adds functionality to the MvcTools component by providing an authentication mechanism. The standard implementation provides authentication through the database backend and sessions, but care has been taken to make it easy to extend and overload any provided functionality.


This components implements a RSS/ATOM rendering view for the MvcTools component by using the Feed component.

Other Improvements

Other important improvements in this release include support for OpenID 2 in the Authentication component, identity mapping in PersistentObject, string extraction methods for the Template and Translation components and PDF writing support for the Document component.


OpenID is "an open, decentralized, free framework for user-centric digital identity. OpenID takes advantage of already existing internet technology (URI, HTTP, SSL, Diffie-Hellman) and realizes that people are already creating identities for themselves whether it be at their blog, photostream, profile page, etc. With OpenID you can easily transform one of these existing URIs into an account which can be used at sites which support OpenID logins." OpenID 2.0 adds more functionality, and its support is required to work with Yahoo!'s OpenID provider.


The Document component enables you to convert documents between different formats. In this release we added basic support for outputting PDFs from any of the other input formats. PDFs can be styled by a CSS like language. We will continue to improve the PDF writer during the next cycle.


The PersistentObject now ships with an implementation of the identity map pattern. This pattern allows you to keep your data objects consistent through highly modularized applications, by re-using existing object identities if an object is to be fetched twice or more times. In addition, the new ezcPersistentSessionIdentityDecorator can save you a sensible amount of SQL queries, if your modules tend to load the same data each on its own. The identity map can also take care for related objects and cache complete query results.


Together with the Template component, the Translation component can be used as provider for translatable strings in template. In this release, we've added a script to extract, update, and maintain translatable strings in templates as well as means of comparing already extracted strings to the set of templates to check for updates, modifications and deletions.


For this release, the development team addressed 42 bugs, implemented 27 new features and completed 3 tasks - 72 issues in total.


You can download the eZ Components bundle on the download page. Updated documentation is available on the documentation page. Please note that eZ Components requires PHP 5.2.1 or higher, but a more recent version such as 5.2.10 is recommended.

Users of the PEAR installer can upgrade to the new version with this command:

pear upgrade ezc/ezcomponents

General installation instructions can be found here.


The full changelog follows:


1.3rc1 - Monday 22 June 2009

  • Fixed an issue with PHP compiled with --with-curlwrappers.

1.3alpha1 - Tuesday 26 May 2009

  • Implemented feature feature #14426: OpenID 2.0 support for Authentication.


1.7rc1 - Monday 22 June 2009

  • Fixed an issue with the PEAR reader as sometimes the returned structure is different.

1.7beta1 - Monday 08 June 2009

  • Made sure that we (try) to load the PEAR Registry class so that PEAR doesn't have to be in autoload.

1.7alpha1 - Tuesday 26 May 2009

  • Added 'SunOS' to the list of Unices to make finding binaries work on Solaris as well.
  • Implemented issue #13718: Include metadata about installed components that can be queried to figure out required PHP versions, dependencies and component versions.


1.5.2 - Monday 22 June 2009

  • Fixed issue #15009: Empty tables are now rendered correctly.
  • Fixed issue #14073: ConsoleTools is not binary safe, presuming UTF-8 input. Note that the component now depends on ext/iconv which is bundled with PHP and active by default.


1.2 - Monday 29 June 2009

  • Fixed: Handling of internal links in wiki writer.
  • Fixed: Registering of custom node class does sometimes not work on existing documents.
  • Fixed: Overlapping text on widdow backtracking
  • Fixed: Do not introduce spaces before punctuation on inline markup.

1.2beta1 - Monday 08 June 2009

  • Fixed: Invalid font creation in haru driver.
  • Fixed: Implementation of PDF wrapper class, to call correct renderer.
  • Fixed: Implementation of style loading in PDF wrapper class.
  • Implemented: Method to register additional PDF parts in wrapper class.
  • Implemented: Global error reporting interface, now also used by the PDF renderer.
  • Implemented: Maintain document location in all conversions, so that embedded files can be located.
  • Fixed: Text blocks are continued on the same page wrapped images are rendered on.
  • Fixed: Handle unescaped references containing special chars in RST parser.
  • Fixed: Also recurse into section titles in RST visitor AST preprocessing to find all reference targets.
  • Fixed: Ensure valid XML IDs in visitor.

1.2alpha1 - Tuesday 26 May 2009

  • Implemented CSS based PDF rendering for basic docbook markup.


1.4alpha1 - Tuesday 26 May 2009

  • Implemented feature #14104: Stack writer to store log messages in memory. (Based on a patch by Thomas Koch)


1.4.3 - Monday 08 June 2009

  • Fixed #14538: Performance degration for very high numbers of data points.
  • Fixed #14857: Highlight text misplaced in charts with multiple bar data sets.


1.3.7 - Monday 22 June 2009

  • Fixed issue #15011: Corrected determining of ImageMagick binary from settings.


1.6.3 - Monday 22 June 2009

  • Fixed issue #15068: false ezcMail tests. Based on a patch from Thomas Koch.


1.1beta1 - Monday 08 June 2009

  • Renamed ezcMvcNoNamedRouteException to ezcMvcNamedRouteNotFoundException.
  • Renamed ezcMvcReversedRoute to ezcMvcReversibleRoute.
  • Removed the ->router property of ezcMvcController, and replaced this with the setRouter() and getRouter() methods.

1.1alpha1 - Tuesday 26 May 2009

  • Implemented issue #14250: Support for the Content-Disposition headers in the abstract result and response objects.
  • Implemented issue #13844: Support reverse route generation: create an URL from an argument.
  • Implemented issue #14740: Make overriding the pattern to match in routes easier.
  • Implemented issue #14775: Prevent a fatal redirect from looping by spawning more fatal redirects.


1.0beta1 - Monday 08 June 2009

  • Refactored out the password hashing into its own method to facilitate easier overloading.

1.0alpha1 - Tuesday 26 May 2009

  • Initial release of this package.


1.0alpha2 - Monday 10 November 2008

  • Fixed issue #13788: array_key_exists() function receives parameters in wrong order.

1.0alpha1 - Monday 06 October 2008

  • Initial release of this package.


1.6 - Monday 29 June 2009

  • Fixed message in testcase.

1.6beta1 - Monday 08 June 2009

  • Note: This release changes the indexing of arrays returns by ezcPersistentSession and its decorators. These arrays are now indexed by object IDs.

1.6alpha2 - Tuesday 26 May 2009

  • Renamed ezcPersistentIdentitySession to ezcPersistentSessionIdentityDecorator.
  • Introduced new ezcPersistentSessionFoundation interface, for ezcPersistentSession and its decorators.
  • Finalized implementation of identity management and relation pre-fetching.

1.6alpha1 - Tuesday 21 April 2009

  • Started implementation of #12473: PersistentObject now supports basic identity management.


1.3beta1 - Monday 08 June 2009

  • Implemented enhancement #12943: Class and definition files can now be generated from templates (using the Template component). Templates return the mangled file name.


1.0.5 - Monday 22 June 2009

  • Fixed issue #15085: ezcSearchZendLuceneHandler fails on writing index to relative path.


1.4alpha1 - Tuesday 26 May 2009

  • Implemented issue #14898: Deactivate whitespace removal in Template output.


1.1alpha1 - Tuesday 26 May 2009

  • Implemented issue #13236: Create a script to extract translatable scripts from templates, and merge different language versions.


1.3alpha1 - Tuesday 26 May 2009

  • Added the getContextNames() method to the TsBackend.


1.1.3 - Monday 22 June 2009

  • Refactored the XHTML visitor so that you can override the way how paths are generated by overloading the formatPath() method.


1.1.1 - Monday 08 June 2009

  • Fixed issue #13324: Uploads are now working in Konqueror (tested 3.5.10). Fix based on a patch by Erwin Eggenberger.

Author: Derick Rethans

Published: June 29th, 2009