Path

ez components / resources / news archive / ez components 2007.2


eZ Components 2007.2

Author: Derick Rethans
Date: 2007-12-17 11:04

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

New Components

In this release, there are two new components.

Tree

This component enables you to create, manipulate and query tree structures. There are several back-ends available, each with different performance-related properties. There are two tie-ins for this extension: TreeDatabaseTiein stores tree structures in a database (recommended) and TreePersistentObjectTiein enables you to store the data belonging to the tree structure as a persistent object.

Note: The Tree component requires PHP 5.2.1 or higher.

Webdav

The Webdav component enables you to easily set up a WebDAV-enabled HTTP server. Users can then create and edit site content by uploading and downloading files to and from their desktop. The current implementation is compatible with RFC 2518. It also supports clients that do not conform to the standard and provides an interface to support these clients. This component does not have any other dependencies besides PHP (and the required extensions), nor does it require any Apache modules.

Note: The WebDAV component requires PHP 5.2.1 or higher.

Other Improvements

Other major new features include better OpenID support, support for APC and memcache back-ends to the Cache component, a Unix syslog format writer for EventLog, stacked bar charts and Odmeter charts in the Graph component, and more SMTP authentication mechanisms (DIGEST-MD5, CRAM-MD5, NTLM and LOGIN).

For this release, the development team addressed 63 bugs, implemented 42 new features and completed 12 tasks - 117 issues in total.

Upgrading

You can download the eZ Components bundle on the download page. Updated documentation is available on the documentation page. Please note that eZ Components now requires PHP 5.1.6 or higher.

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.

ChangeLog

The full changelog follows:

Archive

1.2.4 - Wednesday 28 November 2007

  • Fixed issue #12044: Strange long link file.

Authentication

1.1beta1 - Wednesday 28 November 2007

  • Fixed issue #11926: Renamed __toString() to toString() for math classes (BC break, but required for PHP 5.3 and up).

1.1alpha2 - Monday 29 October 2007

  • No external changes. This release features some internal code improvements only.

1.1alpha1 - Tuesday 18 September 2007

  • Implemented feature feature #10971: Added the possibility to fetch extra data during authentication for Database, LDAP, OpenID and TypeKey filters.
  • Implemented feature feature #10997: Added support for OpenID check_immediate mode.
  • Implemented feature feature #10998: Added a Database backend for OpenID authentication.
  • Implemented feature feature #11001: Added multiple credentials support in the Group filter.
  • Implemented feature feature #11006: Added the isValid() method in the ezcAuthenticationSession class which can be used to avoid creating the authentication filters if the credentials are already stored in the session.
  • Fixed the OpenID filter so that it no longer converts dots to underscores in URLs.

AuthenticationDatabaseTiein

1.1alpha1 - Monday 29 October 2007

  • Implemented feature feature #10998: Added a Database backend for OpenID authentication.
  • Implemented feature feature #10971: Added the possibility to fetch extra data during authentication for Database, LDAP, OpenID and TypeKey filters.
  • Fixed issue #11412: The Database filter does not trigger a PDO General Error 2014 with MySQL.
  • Fixed issue #11465: Fetching extra authentication data in Database filter does not trigger a PDO General Error 904 with Oracle.

Base

1.4alpha2 - Monday 29 October 2007

  • Added the ezcBaseFile::copyRecursive() method, to recursively copy files or directories
  • Fixed issue #11540: Problems with ezcFile::findRecursive and ezcFile::calculateRelativePath on systems where DIRECTORY_SEPERATOR is not //.

1.4alpha1 - Tuesday 18 September 2007

  • Added the ezcBaseFile class, which was moved from the File component.
  • Added the ezcBaseFile::isAbsolutePath() method, which returns whether a path is absolute or relative.

Cache

1.3beta1 - Wednesday 28 November 2007

  • Fixed issue #11888: Small fixes to PHPDoc in memory_backend.php.

1.3alpha1 - Monday 29 October 2007

  • Implemented issue #10533: ezcCacheManager::getCache does not support delayed initialization.
  • Fixed issue #11064: Marked search() as protected in ezcCacheStorageFile.
  • Implemented feature feature #11049: Added APC and Memcache backends for caching. Based on a patch from Grady Kuhnline.
  • Fixed issue #11181: A physical location is not required anymore for pure memory backends.
  • Fixed issue #11413: The search flag is off by default for restore() and delete().
  • Fixed issue #11138: The validateLocation() method is defined as abstract in ezcCacheStorage.

ConsoleTools

1.3.1 - Wednesday 28 November 2007

  • Fixed issue #11378: Example code throws Exception.

Database

1.3.3 - Wednesday 05 December 2007

  • Fixed bug #12152: The SQLite's unixTimestamp() expression function implementation uses the current UTC offset, instead of the UTC offset that belongs to the date for which a Unix timestamp should be generated.

1.3.2 - Wednesday 28 November 2007

  • Fixed bug #11345: Encoding problem with Database component (No info about it).

1.3.1 - Monday 12 November 2007

  • Fixed issue #11609: Subselect query documentation is incorrect.
  • Fixed issue #11687: Mssql DSN with port does not work.
  • Fixed issue #11700: Subselects only work when there is a database instance set.

DatabaseSchema

1.3beta1 - Wednesday 28 November 2007

  • Fixed bug #12022: PersistentObjectDatabaseSchemaTiein not passing it's tests. (Whitespace changes in generated PersistentObject definitions made PersistentObjectDatabaseSchemaTiein fail.)

1.3alpha1 - Monday 29 October 2007

  • Implemented feature #11047: Make ConvertToDDL() methods accept the database name instead of only the database handler.
  • Fixed bug #11281: DatabaseSchema's XML reader does not understand '1' for the notnull, autoincrement and unsigned fields.
  • Fixed bug #11282: DatabaseSchema's SQLite reader doesn't understand the float and varchar data types.
  • Fixed bug #11283: DatabaseSchema's PersistentObject definition writer generates a sequence generater even when the field is not auto-increment.
  • Fixed bug #11285: Documentation example code comment glitch.

EventLog

1.2alpha1 - Monday 12 November 2007

  • Implemented feature #10434: unix syslog writer, also works with the windows event system.

Execution

1.1alpha1 - Monday 12 November 2007

  • Implemented change #10677: Removed the throwing of an exception of the execution mechamisn was not initialized.

File

1.2alpha1 - Tuesday 18 September 2007

  • Moved the ezcFile class to Base/ezcBaseFile. That means that the ezcFile class is now deprecated. As this is the only class in this component, the whole component is now deprecated. Backwards compatibility is kept by making the ezcFile class extend ezcBaseFile - So long and thanks for all the fish.

Graph

1.2 - Monday 17 December 2007

  • Fixed issue #12238: Documentation error.
  • Fixed issue #12246: dataBorder doesn't works in 2D renderer for piecharts.

1.2beta1 - Wednesday 28 November 2007

  • Fixed issue #12064: Gradients are not rendered correctly in Flash driver.
  • Implemented support for odometer charts. Thanks to Lars Jankowski from Oxid esales for the initial patch.

1.2alpha1 - Monday 29 October 2007

  • Fixed issue #11640: Polygon size reducement fails for very thin four edged polygons.
  • Fixed issue #11511: Line thickness wasn't used for rendering.
  • Fixed issue #11509: Typo in line chart option.
  • Implemented feature #10978: Add support for stacked bar charts.
  • Implemented feature #11325: Allow values of 0 to be added to pie charts, to be included in the legend and not rendered in the actual pie.
  • Implemented feature #11247: Custom highlight values in line and bar charts. Thanks to Elger Thiele for the basic patch.
  • Implemented feature #10322 and #10565: Support for multiple x, y axis, vertical and horizontal lines in line and bar charts.

1.1.1 - Monday 13 August 2007

  • Fixed issue #11107: Floating point inaccuracies caused missing grid in line chart.
  • Fixed issue #11157: Wrong display of single record with labeled axis.
  • Fixed issue #11180: Color Palette: $dataSetColor in ezcGraphPalette starts with index 1 and not zero in pie charts.
  • Fixed issue #11207: Missing URL property for legend, or missing legend, may cause PHP notice.
  • Fixed issue #11233: Path for circular arcs in SVG driver may break because of locale settings.
  • Fixed issue #11235: In interactive 3D bar charts circle and bullet bars are not linked.
  • Fixed issue #11236: Legend is not properly linked in interactive 3D line and bar charts.

ImageConversion

1.3.3 - Monday 17 December 2007

  • Fixed issue #12166: Undefined attribute in ezcImageImagemagickBaseHandler.

1.3.2 - Wednesday 05 December 2007

  • Fixed issue #12126: ImageConversion test is incorrect.
  • Fixed issue #12160: Conversion of transparent backgrounds does not work on certain systems.
  • Fixed issue #12171: Monochrome colorspace conversion does not work on some systems with the ImageMagick handler.

1.3.1 - Wednesday 28 November 2007

  • Fixed issue #11029: Converting transparent PNG to JPG cause an strange effect. A new option $transparencyReplacementColor has been introduced to ezcImageSaveOptions, which will be utilized if a potentially tranparent image is converted to a format that does not support a transparent background.

Mail

1.4rc1 - Wednesday 05 December 2007

  • Fixed issue #12138: Mail's IMAP transport can hang when connection gets dropped.

1.4beta1 - Wednesday 28 November 2007

  • Fixed issue #11906: Only files inside an image tag are attached to the composed email.
  • Fixed issue #11965: Reading from a transport connection is stopped at CRLF or a problem in the connection, and not after a hard-coded number of loops.
  • Fixed issue #12062: Mails with no space or tabs after the colon in headers are parsed correctly now.

1.4alpha2 - Monday 29 October 2007

  • Fixed issue #11582: ezcMailImapSet won't be caught in an infinite loop if the mail headers or body contain an IMAP tag.
  • The IMAP, POP3 and SMTP transports and the ezcMailParser class can receive options objects in the constructor. They can still receive options as arrays to keep compatibility.

1.4alpha1 - Tuesday 18 September 2007

  • Implemented feature feature #8436: Added the method validateEmailAddress() in ezcMailTools.
  • Implemented feature feature #10459: Added the searchMailbox() method to the IMAP transport. Based on a patch from Sinisa Dukaric.
  • Implemented feature feature #10659: Added the getHierarchyDelimiter() method to the IMAP transport.
  • Implemented feature feature #10996: Added support for the SMTP authentication methods DIGEST-MD5, CRAM-MD5, NTLM and LOGIN.
  • Implemented feature feature #10999: Added the possibility to refer to messages by their unique IDs in IMAP.
  • Implemented feature feature #11061: Added missing conditions for SMTP methods.
  • Implemented feature feature #11299: Added an optional argument to the setHeader() method in ezcMailPart to assign a charset to a header.
  • Added the fetchSizes() method in IMAP which returns the sizes of the specified messages.

PersistentObject

1.3.3 - Monday 17 December 2007

  • Fixed issue #12214: persistent object documentation error. (Simple mapping example now uses ezcPersistentNativeGenerator and gives a hint on ezcPersistentSequenceGenerator.)

1.3.2 - Wednesday 28 November 2007

  • Documentation updates and fixes.
  • Fixed issue #11405: Ambiguous column names when using ezcPersistentManyToManyRelation. Column names are now correctly prefixed with their corresponding table names.
  • Fixed issue #12082: Restoring a definition from var_export( $definition ) PHP code.

1.3.1 - Monday 13 August 2007

  • Documentation updates and fixes.

PersistentObjectDatabaseSchemaTiein

1.2.1 - Wednesday 28 November 2007

  • Fixed issue #12022: PersistentObjectDatabaseSchemaTiein not passing it's tests.

Translation

1.1.6 - Wednesday 05 December 2007

  • Fixed bug #12112: ezcTranslation's constructor is wrongly documented.

1.1.5 - Wednesday 28 November 2007

  • Documentation updates and fixes.

Tree

1.0 - Monday 17 December 2007

  • Added the xmlId parameter to the YUI visitor constructor, as it is a required argument it does not belong in the options class.
  • Removed the xmlId option from the ezcTreeVisitorYUIOptions class.

1.0alpha1 - Monday 12 November 2007

  • Initial release of this package.

Url

1.2alpha2 - Monday 12 November 2007

  • Fixed issue #11477: Fixed errors in documentation.

1.2alpha1 - Tuesday 18 September 2007

  • Implemented feature feature #10896: Allow aggregation of unordered parameter values if the parameter names appear more than once.
  • Implemented feature feature #10897: Added the getParams() method in ezcUrl which fetches the unordered parameters as a flat array, useful for working with URLs without delimiters for parameter names.
  • Implemented feature feature #11000: Added ability to include script name when building an URL through a buildUrl() parameter.
  • Implemented feature feature #11296: added the function getCurrentUrl() to ezcUrlTools to build the current URL from the $_SERVER array or another array source.
  • Fixed issue #11277: The dots in the query string parameter names are not converted to underscores.

UserInput

1.2beta1 - Wednesday 28 November 2007

  • Fixed bug #11998: Use === instead of == where possible.

1.2alpha1 - Monday 12 November 2007

  • Implemented feature #10249: Added a hint text field for ezcUserInputDefinitionElement. Based on a patch by Thomas Koch.

Webdav

1.0rc1 - Wednesday 05 December 2007

  • Fixed issue #12085: Webdav docblocks are missing in many classes.
  • Fixed issue #12145: Content-Length header is not detected on Apache.

1.0alpha1 - Monday 29 October 2007

  • Initial release of this package.

Workflow

1.1 - Monday 17 December 2007

  • Added explicit calls to __toString() for PHP 5.1 compatiblity.
  • Changed default value for the ezcWorkflowExecutionListener::notify() method's $type argument from self::INFO to ezcWorkflowExecutionListener::INFO to work around an issue in PHP 5.1's Reflection API that breaks the test suite.

1.1rc1 - Wednesday 05 December 2007

  • Fixed issue #12144: Resuming from synchronization of parallel split fails.

1.1beta1 - Wednesday 28 November 2007

  • Implemented issue #11862: Allow arrays to have automatically generated keys.

1.1alpha1 - Monday 29 October 2007

  • Added ezcWorkflowNodeLoop class to conveniently express loops.
  • Refactored the XML definition storage:
    • DOM is now used for both the loading and saving of workflows (issue #10702).
    • The marshalling of the node configuration is now handled in the individual node classes. This makes it possible to have custom node classes handled by the XML definition storage.
  • Default node configurations are handled better now.
  • Implemented issue #10883: Apply comparison conditions to two variables.
  • Implemented issue #10918: Error messages when loading invalid XML.
  • Implemented issue #10985: Mapping variables between parent and sub workflows.
  • Implemented issue #11003: Add ELSE option to exclusive choice.
  • Fixed issue #11068: Implement ezcWorkflowExecution::hasVariable().

WorkflowEventLogTiein

1.1 - Monday 17 December 2007

  • Changed default value for the ezcWorkflowEventLogListener::notify() method's $type argument from self::::INFO to ezcWorkflowEventLogListener::INFO to work around an issue in PHP 5.1's Reflection API that breaks the test suite.

Author: Derick Rethans

Published: December 17th, 2007