Apache Cocoon 2.1.12 Released -----------------------------
The Apache Cocoon Community is proud to announce the new release of Apache Cocoon. Apache Cocoon is a web development framework built around the concept of separation of concerns (that is: allowing people to do their job without having to step on each other toes) and component-oriented web RAD. The latest version is downloadable from http://cocoon.apache.org/mirror.cgi (Please use the mirrors to download the release - it might take a little bit more time until the latest release is available on all mirrors, so give the mirrors some time - approx. 24h to update.) This release includes many bug fixes and smaller enhancements. For more information about Apache Cocoon 2.1.12, please go to http://cocoon.apache.org. You'll find the whole list of changes at http://cocoon.apache.org/2.1/changes.html. The Apache Cocoon Project -- Cédric Damioli
For more information about Apache Cocoon 2.1.12, please go to http://cocoon.apache.org Changes with Apache Cocoon 2.1.12 *) Starting with 2.1.12 the minimum required Java version will be 1.4.2. [all] *) Core: Update xml-commons-resolver to 1.2 [DC] *) Allow usage of SLF4J for traces [CD] *) I18nTranformer should consume and stop propagating start/endPrefixMapping of its namespace [CD] *) Cocoon 2.1 is not initialized when building without samples [CD] *) Serializers block: Added support of XHTML5 in the XHTMLSerializer [CD] *) Core: When interrupted, the ResourceReader may store incomplete data in the cache [CD] *) Core: Allow to override the upload parameters in CocoonServlet [CD] *) Core: Update xercesImpl to 2.11.0 and xml-apis to 1.4.01. [AG] *) Add base URI fixup support to XIncludeTransformer [JSJ] *) Repository block: WebDAV Returns improper status on PUT [JSJ] *) FOP block: Backport from FOPNGSerializer (C2.2) to FOPSerializer. Upgraded FOP dependency from 0.20.5 to 0.95. [JSJ] *) XSP block: Make SOAPHelper use https, not just http [JSJ] *) Serializer block: charset data won't load if there's a space in the path to the jar file (e.g "C:\Program Files\MyApp\...") [SW] *) JCR block: Missing modCount attribute in JCR sample content. [JSJ] *) Updated ant to 1.7.1. This ant detects correctly java 1.6. [AG] *) Change HostSelector to be case-insensitive according to RFC3986 section 3.2.2. [JH] *) Handle case in ApplicationUtil.isUserInRole(..) when User is null. [JH] *) Forms: MultiValueField list-type="double-listbox" does not work correctly in ajax enabled forms. [AG] *) StripNameSpacesTransformer does not strip namespace prefix of attributes [JSJ] *) ImageOp block: If parameter width or height in resize operation is zero, use the original image size. If both are zero, then handle as no-op. Set default values to zero to allow using that feature by leaving out the parameters. [AN] *) ImageOp block: Addition of "allow-enlarge" parameter to resize operation. [AN] *) Mail block: Allow mime-type to explicitly set a charset as in mime-type="text/html;charset=UTF-8". [AN] *) Mail block: Make a difference between plain text mails and mails that have a multi-part body. If the mail-body has set the mime-type="text/plain", then the message body isn't send as body part but as simple content. That avoids getting a plain text-message without attachment being marked as mail with attachment. [RP] *) Core: Cocoon's pipeline buffer increases from an initial buffer size of 8192 bytes to the configurable flush buffer size rather than allocating the complete buffer beforehand. [JH] *) POI Block: formatted style regions stop creating style at 2000 rows. [AG] *) Eventcache: Events are persisted and restored and sample works [AS] *) POI Block: Update to poi-3.0.2. [AN] *) HTML: Fix encoding issue in NekoHTMLTransformer. Fix similar issue in NekoHTMLGenerator when reading a request parameter value. [VG, JH] *) Forms: Fix @id handling on fi:group/fi:struct element in conjunction with AJAX requests. [JH] *) Core: Fix CachingOutputStream not caching all content or leading to ArrayIndexOutOfBoundsException when using write(byte[], int, int). [JH] *) Core: Set the default output buffer size of the pipeline to 1,048,576 (1 MB) rather than -1 (complete buffering) to avoid potential OutOfMemoryErrors on too large output. [JH] *) Core: In Cocoon 2.2 the org.apache.cocoon.environment.Session interface is deprecated, and the return type of getSession() changes to vanilla javax.servlet.HttpRequest. For migrating from Cocoon 2.1 to 2.2, replace in your custom code all calls to getSession() by getCocoonSession(). That allows for a common codebase usable on both version. [AN] *) Core: Allow multiple file uploads of the same field name. If there are multiple file uploads Request.get(String) will return a Vector. If there is only one file upload it will return the Part as it did before. This is now the same behavior as for inline parts. [JH] *) Core: Update commons-lang to 2.4. [AG] *) Forms: Fix suggest list for which the initial value was not displayed. [AG] *) Core: Fix synchronization issues in ContinuationsManager implementation. [JH] *) Forms: Dispatch only one TreeSelectionEvent on multiple selection rather than one event for each selected tree item. [JH] *) Core: Fix clean up of continuations. [JH] *) Javaflow: Minimize the data that's stored with ContinuationContext to limit the Continuation's memory footprint. [JH] *) Forms: Widget Label is not Show/Hide when we change the widget state in ajax mode. [AG] *) Use current HTTP request as a pipeline lock object instead of current thread. Resolves deadlock when request is processed in multiple threads. [VG] *) Core: Close streams properly after copying Parts (MultipartParser). Allow to access InputStream of PartInMemory multiple times. [JH] *) Portal: Remove user management tools. [CZ] *) Core: Fix flow scripts reload check logic. [VG] *) Forms: CAPTCHA <input> element should have autocomplete="off" [AG] *) Lucene block: Added optimize-frequency configuration parameter to LuceneIndexTransformer. This gives a huge performance increase on large Lucene indexes when not optimizing after every update. [AN] *) Forms Block: Fix ambiguous rule issue with Forms stylesheets when using Saxon. [JH] *) Validation Block: Fix error in JaxpResolver#resolveResource(..) where publicId and systemId where swapped. [CZ] *) Forms Block: Fixed concurrency issue in form definition builders code. If you have custom widgets, please implement WidgetDefinitionBuilder.buildWidgetDefinition(Element, WidgetDefinitionBuilderContext) method. Do not use WidgetDefinitionBuilder.buildWidgetDefinition(Element) method, it is intended to be implemented only by the top level widget (Form). [VG] *) Add capability to IncludeTransformer to strip the root element from included XML content. [JH] *) Auth Block: Fix error in PipelineSecurityHandler which prevented additional data to be added to the user properties. [CZ] *) Fix javadoc in PropertySettings. RunningMode is not supported in 2.1.x [RG] *) Core: XMLByteStreamCompiler hard-coded limits of 0xffff Strings prevents large XML documents from being handled in Cocoon. [AG]