Release Notes 5.3

This is the consolidated list of changes between Tapestry versions 5.2 and 5.3. To upgrade from 5.2 to 5.3, most users who are not using deprecated features will be able to just update the Maven dependency in their POM file (or download the new JAR file) and the new version will just work. However, please read carefully below before upgrading, and also review the How to Upgrade instructions.

Contents

Breaking Changes

Tapestry now depends on Servlet API version 2.5 (prior releases worked with 2.4).

Tapestry no longer supports the ability to inject the component id into a String field. This was rarely (if ever) used functionality that caused unwanted conflicts elsewhere. When a component needs to know its component id, it may inject the ComponentResources object, and invoke getCompleteId().

Tapestry templates without a <!DOCTYPE> are treated a bit differently in Tapestry 5.3; they are treated as if they have the HTML5 doctype (<!DOCTYPE html>). See further notes about component templates.

Many classes and interfaces that were deprecated in prior releases of Tapestry have been removed in Tapestry 5.3. See the full list. As always, you should use your IDE to find and replace all deprecated items before you upgrade. The following are the most significant of these:

  • @IncludeJavaScriptLibrary and @IncludeStylesheet annotations (replaced by @Import)
  • @ApplicationState annotation (replaced with @SessionState)
  • "validateForm" event triggered by Form component (replaced with "validate" event)
  • Code and constants related to page pooling

In addition, some of the abstract base classes used with the tapestry-func library have changed into interfaces; you will want to recompile, but may also need to adjust your code, depending on your compiler settings and use of the standard Java @Override annotation.

Because of the upgrade to Prototype 1.7, existing JavaScript that uses value.toJSON() may break; replace with Object.toJSON(value).

Some number of interfaces and APIs in Tapestry 5.3 will be removed in Tapestry 5.4 or later. These include:

New Features

Underscore.js

Tapestry now bundles Underscore.js, a useful library for expressive functional programming in the browser. It is used in no conflict mode, made available as the T5._ object.

User Alerts

Tapestry now has a central mechanism for handling user alerts; this includes the AlertManager service and the Alerts component. Just add an Alerts component to your application's standard layout component and Tapestry takes care of the rest. Alerts can be added during both traditional and Ajax requests, and may be transient (displayed for a few seconds), normal, or sticky (persist until the user expressly dismisses them). Alerts support three severities: info, warn(ing) and error; the look and feel can be customized by overriding Tapestry's default CSS rules.

Rendering comments

It is now possible to have Tapestry emit rendering comments; these are comments (such as <!--BEGIN Index:loop (context:Index.tml, line 15)-->) that can assist you in debugging markup output on the client-side. This is enabled for all requests using the configuration symbol tapestry.component-render-tracing-enabled, and can be added to any request by adding the query parameter t:component-trace=true to the URL. This will significantly increase the size of the rendered markup, but can be very helpful with complex layouts to determine which component was responsible for which portion of the rendered page.

Adaptable service contributions

When making contributions to a service, you are no longer restricted to contributing a value that is assignable to the type associated with the configuration; objects of any type may be contributed, and the TypeCoercer service is used to coerce the value to the configuration's type.

Component debugging improvements

Because of how Tapestry instruments your pages and components, using a debugger has been difficult with Tapestry page and component classes; any mutable field shows its default value in the debugger, regardless of what has been written to the field or read out of it. In Tapestry 5.3, when in development mode, Tapestry now shadows values read from or written to such fields into the fields themselves (this has also been fixed in the 5.2.5 maintenance release). This shadowing does not occur in production, to avoid potential memory leaks.

Reloading disabled in production

Tapestry no longer checks for changes to Tapestry component class files, templates, or message catalogs in production mode. It is assumed that Tapestry applications are packaged as WAR files in production, and that changing the WAR file causes the servlet container to redeploy the entire application. This change is to improve throughput and reduce memory consumption in production applications.

String-to-Enum coercions

The TypeCoercer service now automatically generates String-to-Enum coercions without requiring a specific contribution. This coercion is case insensitive. A contribution is still allowed, and will take priority over the default coercion, but is only necessary to support "aliases" for enum values outside those defined by the enum type itself.

JavaScript and CSS minimization

A new optional library, tapestry-yuicompressor, has been added. This library adds support for compressing JavaScript libraries and CSS files using the YUICompressor library.

ComponentClassTransformWorker Service

The type of this service has changed from ComponentClassTransformWorker to ComponentClassTransformWorker2. Contributions of type ComponentClassTransformWorker will automatically be coerced to the new ComponentClassTransformWorker2 interface. However, if you use the @Contribute annotation to mark the method that makes contributions, you will need to update the annotation to indicate the new service interface. If you followed the naming convention, and named your method contributeComponentClassTransformWorker(), you don't need to change anything.

AjaxResponseRenderer

The AjaxResponseRenderer service makes it easier to customize the partial page response generated when updating a Zone component, replacing the MultiZoneUpdate object as an event handler method return value.

Tapestry JavaDoc

Tapestry now includes a new library, tapestry-javadoc, that replaces the old Maven-based component report. Simply by placing a @tapestrydoc annotation into your component's JavaDoc, Tapestry will generate complete documentation as part of JavaDoc ... no more switching back and forth between JavaDoc and the Maven-generated component report, and no more reliance on Maven for component documentation.

Skinning / Theming Support

Tapestry now adds the ability to skin and/or theme your pages and components. Its an extension of how Tapestry manages pages per locale, but adds new application-defined axes along with rules to find the resources. See ComponentResourceSelector and ComponentRequestSelectorAnalyzer.

There's also a new Dynamic component, which uses an external template, not a Tapestry template, which can be selected at runtime.

Tree Component

Tapestry finally has a proper Tree component for navigating hierarchical data. It's efficient and Ajax-enabled, and fully customizable.

Form Cancelled Event

Form components now recognize when the client-side form was cancelled. A new "cancelled" event is triggered early in the submission process, which allows the page to bypass all property updates and input validations, when desired.

Implicit OrderedConfiguration Constraints

When using OrderedConfiguration.add() with no constraints, Tapestry will now implicitly order the added element after the previously added element, within the same method. In prior releases, such elements were added with no constraints. This makes it easier to contribute a group of related items with an implicit ordering.

New Component Class Validations

Tapestry includes new validations of component classes to help cut down on many common errors; Tapestry now checks that component ids referenced by an event handler method (the Fromcomponent id part of the method name) actually matches a component defined in the template ... this quickly identifies typos in method names. This check can be disabled with a configuration symbol, as existing 5.2 apps may have such errors and still operate (that is, they may have dead event handler methods that will never be invoked).

Application Folder

Tapestry can now be configured to execute inside a folder, which can be useful when running Tapestry inside a web application that contains other servlets or filters, as a way to prevent conflicts.

Improved Quickstart Archetype

The Maven quickstart archetype has been brought up to date, and now demonstrates several new bits of common useful functionality. It also generates support for Gradle as the build tool.

Whitelisted Pages

The new @WhitelistAccessOnly annotation marks a page as accessible only from white-listed clients; the rules for the whitelist are extensible. The default rule is that only access from localhost is on the white-list. Use this annotation on pages that may expose sensitive data, such as built-in application dashboards and the like.

Page Catalog

Tapestry applications now include a built-in "PageCatalog" page, which lists all the loaded pages of the application, with details about construction time and number of components. The page requires whitelist access (see above comment), and some functionality is only available in development mode. PageCatalog can be used to load all pages of your application, which is useful to quickly spot problems in your pages ... especially useful when upgrading from a prior release of Tapestry.

Client-Side JavaScript Logging

The integrated Blackbird client-side console has been removed. In its place are the floating console messages combined with logging to the Firebug or WebKit console. Tapestry no longer captures JavaScript initialization exceptions, so that they may be properly reported to the native console. These changes should make debugging client-side JavaScript much easier.

In addition, Tapestry will now display a pop-up window containing the full exception report for a server-side error that occurs during an Ajax request, which makes debugging server-side problems that occur as part of an Ajax request significantly easier. Note that this logic is tied to performing a Zone update.

Sub-tasks Completed

  • [TAP5-1433] - Remove deprecated methods of PerthreadManager service
  • [TAP5-1434] - Remove old IOCSymbols class, and outdated constants from IOCConstants
  • [TAP5-1435] - Remove proxy-related building method from ClassFabUtils, since moved to ClassFactory#createProxy()
  • [TAP5-1436] - Remove @ApplicationState annotation, replaced with @SessionState
  • [TAP5-1437] - Remove @IncludeJavaScriptLibrary and @IncludeStylesheet annotations, replaced by @Import
  • [TAP5-1438] - Remove OptimizedApplicationStateObject, replaced with OptimizedSessionStateObject
  • [TAP5-1439] - Remove PrimaryKeyEncoder (replaced by ValueEncoder)
  • [TAP5-1440] - Remove "validateForm" event triggered by Form component (replaced with "validate" event)
  • [TAP5-1441] - Remove ValidationMessagesSource, replaced with ComponentMessagesSource
  • [TAP5-1455] - Remove code and constants related to page pooling
  • [TAP5-1456] - Remove symbol for absolute URIs (now always absolute since 5.2)
  • [TAP5-1457] - Remove SCRIPTS_AT_TOP from SymbolConstants
  • [TAP5-1459] - Remove AbstractField.createDefaultParameterBinding() and AbstractTextField.defaultValue()
  • [TAP5-1460] - Remove deprecated constants from FormInjector
  • [TAP5-1461] - Remove Loop.volatile parameter (replaced with formState parameter in 5.1)
  • [TAP5-1462] - Remove Element.getParent()
  • [TAP5-1463] - Remove EndTagStyle.OMIT
  • [TAP5-1464] - Remove ClasspathAssetAliasManager.toResourcePath()
  • [TAP5-1465] - Remove Environment.getAccess()
  • [TAP5-1466] - Remove deprecated methods from TapestryTestCase
  • [TAP5-1467] - Remove deprecated methods from ClassTransformation
  • [TAP5-1561] - Remove Dependency on ClassTransformer

Bugs Fixed

  • [TAP5-35] - During an Ajax update, using a "var:" binding prefix causes an exception indicating that the page is not rendering
  • [TAP5-508] - Exception reports can over-zealously squash exceptions
  • [TAP5-698] - PageTester's setupRequestFromURI incorrectly uses substring twice on same string
  • [TAP5-724] - Tapestry generates invalid HTML (for strict and transitional doctypes)
  • [TAP5-763] - Documentation for RenderSupport.addScriptLink() is invalid about where the included links go
  • [TAP5-821] - Compnent event URLs for page in a library whose name contains the dash character will not be recognized by ComponentEventLinkEncoder
  • [TAP5-832] - Hidden input field fails with coercion problem on empty value (patch incl)
  • [TAP5-835] - Palette keeps resetting order of selected values on page reload
  • [TAP5-845] - Informal Parameters are not allowed to have the value "" (the empty string)
  • [TAP5-875] - BigTypesFormatter should allow for plain space as a grouping separator since FF2 replaces non-breaking space character \u00A0 (grouping separator for Sweden, Finland , etc) with normal space \u0020
  • [TAP5-877] - Fade effect for error popups should be disabled in IE since it can't properly fade the images
  • [TAP5-891] - RequestImpl.getSession(true) is broken
  • [TAP5-892] - Use of Injection to provide Locale instances to components breaks when multiple Locales are configured as Spring Beans in AppContext
  • [TAP5-922] - Allow a null or blank value to be supplied in Link.addParameter(), and render out the parameter name with the missing value
  • [TAP5-990] - Add a ElementEffect of "none" that does no animation
  • [TAP5-998] - Exception when a form element component is not enclosed by a Form is odd: uses the form's label to identify the component in question
  • [TAP5-1117] - Exception message when binding a service interface (and service implementation not found) is confusing
  • [TAP5-1146] - In a Multi-Zone update, if the identified Zone does not exist, the content is silently dropped (should log an error to the client-side console)
  • [TAP5-1227] - Binding a parameter whose type is primitive to null results in a difficult to understand NullPointerException
  • [TAP5-1251] - Spring integration should not assume the external context is successfully initialized
  • [TAP5-1257] - Javascript error with IE Prototype still in 1.7
  • [TAP5-1329] - Tapestry allows a template to define the same extension-point id twice, which causes difficult to understand duplicate component id exceptions
  • [TAP5-1331] - EnumValueEncoder should identify legal values when a non-matching string is passed to it for conversion
  • [TAP5-1336] - Changed classes do not reload under Tomcat
  • [TAP5-1339] - Provide a single extension point to provide a ValidationDecorator instance for both traditional and Ajax renders
  • [TAP5-1355] - Threading issue with SessionStateObjects
  • [TAP5-1366] - Tapestry must honor the position of added tags in the <head> relative to the <meta> tags, for IE compatibility
  • [TAP5-1367] - ajaxExceptionHandler Method name typo
  • [TAP5-1368] - The onFailure function provided to Tapestry.ajaxRequest does not always get invoked
  • [TAP5-1369] - ExceptionUtils.findCause() does not use the same approach as ExceptionAnalyzer
  • [TAP5-1372] - BaseURLSource uses getLocalPort() rather than getServerPort()
  • [TAP5-1374] - Quickstart layout component uses deprecated IncludeStyleSheet annotation
  • [TAP5-1383] - TypeCoercer should "promote" coercions to primitive types into coercions to the corresponding wrapper type
  • [TAP5-1392] - SVG assets rended with wrong content type
  • [TAP5-1393] - Form component shoould push the BeanValidationContext into the Environment only after onPrepare()
  • [TAP5-1408] - datefield popup does not have option to cancel
  • [TAP5-1409] - datefield - cannot select same day in different month
  • [TAP5-1418] - Image submits do not set the javascript submitting element value.
  • [TAP5-1422] - java.util.ConcurrentModificationException when shutting down jmx server
  • [TAP5-1423] - Selenium test failures attempt to take a screenshot, which fails on most browsers besides firefox
  • [TAP5-1428] - When a parameter is bound but does not match a formal parameter, the exception should also include a list of formal parameter names
  • [TAP5-1429] - PageTester does not call registry.performRegistryStartup or TapestryAppInitializer.announceStartup
  • [TAP5-1442] - XSS vulnerability in calendar component
  • [TAP5-1444] - Index pages in subfolders should have precedence over start pages
  • [TAP5-1448] - Example for org.apache.tapestry5.corelib.components.Errors uses invalid xml
  • [TAP5-1475] - In a multipart file upload, request parameters in the URL are not exposed, only parameters in the request body
  • [TAP5-1483] - AssetPathConstructorImpl should use BaseURLSource
  • [TAP5-1486] - When Tapestry adds CSS and JS files to the page, it should ensure that CSS files are above any JavaScript files
  • [TAP5-1491] - In Chrome the buttons in the Palette component do not appear greyed-out when disabled
  • [TAP5-1497] - No error message upon exception calling initializer function with German locale
  • [TAP5-1500] - Update ComponentClassResolve's JavaDocs
  • [TAP5-1510] - The @Advise annotation limits advice to just a specific interface type
  • [TAP5-1511] - RequestSecurityManager.checkPageSecurity() should return request security instead of INSECURE in case when security is disabled
  • [TAP5-1527] - BeanEditForm loses object found by onPrepare() during render
  • [TAP5-1533] - File download breaks zone managers due to unload event
  • [TAP5-1535] - When there's a type mismatch between a container component at the field with @InjectComponent, the type of the containing component should be part of the exception message
  • [TAP5-1546] - TranslatorSource incorrectly annotated with @UsesConfiguration when it should now be @UsesMappedConfiguration (as of 5.2)
  • [TAP5-1549] - ParameterWorker forces evaluation of default method, even if the parameter is bound by other means
  • [TAP5-1551] - FormFragment change visibility/hide and remove event listeners should call event.stop() to prevent container fragments from also being hidden
  • [TAP5-1554] - Tapestry fails on OpenJDK with a java.lang.reflect.GenericSignatureFormatError
  • [TAP5-1555] - Property Expression Array Disallows null and this
  • [TAP5-1562] - Tree leafs are not selectable
  • [TAP5-1563] - Need configuration for queue size w/ ParallelExecutor; as is, limited to pool core size threads, rather than pool max size
  • [TAP5-1571] - t5-console.js throws exception in Chrome for debug, info, and warn
  • [TAP5-1576] - JPA Integration 5.3.0 with Primary Key Entity Classes Fails
  • [TAP5-1577] - Duplication in operation trace when invoking certain methods
  • [TAP5-1578] - When toggling the visibility of a form fragment, the effective visibility doesn't change until after the animation completes
  • [TAP5-1580] - A Form with an event listener for "canceled" event can cause an NPE popping off a BeanEditContext from the Environment that wasn't pushed
  • [TAP5-1585] - @InjectPage annotation can leak page instances from one locale to another
  • [TAP5-1593] - Type org.apache.tapestry5.services.HttpError should be an allowed return value from Ajax action requests
  • [TAP5-1596] - Tapestry should validate that component ids reference in event handler method names (or @OnEvent annotation) exist
  • [TAP5-1598] - AlertManager service does the wrong thing if the Ajax request will terminate with a redirect
  • [TAP5-1599] - Upgrade Selenium to 2.3.1
  • [TAP5-1605] - Template parsing of expansions can't handle map expressions
  • [TAP5-1608] - tapestry-ioc establishes dependency on TestNG that brings much unwanted stuff into runtime classpath
  • [TAP5-1612] - Tapestry.updateZoneOnEvent() has a poorly formatted message when the element is not found
  • [TAP5-1613] - Mixin inherited from parent model does not inherit order
  • [TAP5-1614] - Component Javadocs need clarification on encoder parameter being "required"
  • [TAP5-1620] - Tml parsing expression error
  • [TAP5-1629] - A Tree component that does not have a selection model bound should not track selections on the client or server
  • [TAP5-1630] - A TreeModelAdapter that returns null from getChildren() causes an NPE
  • [TAP5-1631] - Tapestry creates client ids for error popups containing the ':' character, which is problematic for some browsers (and some testing tools)
  • [TAP5-1632] - When a submit component does not have a specific id, the default id "submit" collides ont the client side with the HTMLFormElement.submit() method, causing JavaScript errors when the form is submitted
  • [TAP5-1636] - Tapestry does not compile using OpenJDK
  • [TAP5-1642] - A mixin parameter that is required but also provides a default property results in an "unbound parameter" exception, starting in Tapestry 5.3
  • [TAP5-1643] - Restore ability to contribute a library mapping that includes the "/" character (as was possible in 5.1)
  • [TAP5-1644] - Symbol tapestry.compatibility.unknown-component-id-check-enabled when set to false still acts as if true
  • [TAP5-1647] - PerThreadOperationTracker uses a synchronized block with high thread contention
  • [TAP5-1648] - AbstractReloadableObjectCreator is still based on Javassist APIs, not plastic
  • [TAP5-1650] - On a cold start with a large number of incoming requests, Tapestry can deadlock inside PlasticClassLoader/PlasticClassPool
  • [TAP5-1652] - template expansion no longer trims whitespace off the right side of the expansion
  • [TAP5-1656] - Problem when inheriting annotated methods from a abstract superclass
  • [TAP5-1657] - Environment should use the UnknownValueException class, for better reporting on the exception page
  • [TAP5-1664] - @InjectResource annotation should be removed, behavior of @Inject on a field should be changed to consider resources first
  • [TAP5-1670] - Debug output includes [[invoking-method]] (i.e., missing message key) when invoking contribution methods
  • [TAP5-1671] - Running "gradle idea" fails on a clean checkout
  • [TAP5-1673] - Tapestry 5.2 property expressions supported references to public static fields of classes; this is not supported by 5.3
  • [TAP5-1675] - Tapestry 5.3 allows a subcomponent to define a parameter with the same name as a base component
  • [TAP5-1676] - When an @InjectComponent annotation fails due to missing component, it should identify the class name and field for the injection
  • [TAP5-1680] - A mixin with a formal parameter will prevent an informal parameter of the same name from being bound on the component
  • [TAP5-1682] - 5.3-beta-x Maven Archetype does not work
  • [TAP5-1685] - TapestryModule contributes a MarkupRendererFilter with id 'InjectDefaultStyleheet' ; the id has a typo and should be 'InjectDefaultStylesheet'
  • [TAP5-1686] - Exceptions at application startup when the current directory includes spaces in the path name
  • [TAP5-1687] - ImportWorker (responsible for @Import) creates improper advice for importing stacks, calling invocation.proceed() too often
  • [TAP5-1693] - Spring beans of type java.lang.String can confuse Tapestry, which will use them in preference to other injections, such as @Symbol
  • [TAP5-1699] - JpaValueEncoder.toValue throws NPE when mapping annotations are placed on methods
  • [TAP5-1700] - Changes to partial markup rendering mean that the critical elementId JSON key is no longer set in the response when injecting content into a Form
  • [TAP5-1701] - If the incoming request does not include a locale in the path, the application uses the server locale (not a locale extracted from the request headers)
  • [TAP5-1706] - JS syntax error in Tapestry.ajaxRequest() when Ajax fails
  • [TAP5-1710] - AssetSource service can retain large numbers of Asset and Resource objects
  • [TAP5-1712] - Tapestry.DEBUG_ENABLED, when false (default), should prevent debugging output from being displayed, but is ignored
  • [TAP5-1713] - A property expression that generates a list can not reference public static field
  • [TAP5-1716] - Zone updates fail due to underscore.js critical bug
  • [TAP5-1717] - Assets get cache expiry header of year 1979 in production mode
  • [TAP5-1720] - HTML 5 doctype is not preserved, gets transformed into XHTML 1.0
  • [TAP5-1721] - A JavaScript typo prevents the error icon for fields containing validation errors from appearing
  • [TAP5-1723] - Tapestry should honor the javax.annotation.PostConstruct as the same as Tapestry PostInjection annotation
  • [TAP5-1724] - In rare cases, Tapestry may fail to transform a class due to a "JSR/RET are not supported with computeFrames option" exception
  • [TAP5-1726] - JavaScript Assets fail to load for already-minified JS assets in Production mode
  • [TAP5-1727] - PageCatalog page can fail with an odd ClassCastException
  • [TAP5-1728] - Quickstart archetype does not include the build.gradle
  • [TAP5-1731] - Dynamic loading of JavaScript libraries is sometimes broken in IE (in rare cases)
  • [TAP5-1732] - Tapestry should not swallow client-side initialization exceptions, as that makes it harder to debug
  • [TAP5-1737] - Loading all pages using PageCatalog page fails with java.lang.ClassFormatError: Illegal field modifiers in class org/apache/tapestry5/corelib/pages/package-info: 0x12
  • [TAP5-1742] - AfterRender() in Loop component should not short circuit

Improvements Made

  • [TAP5-1653] - Update dependencies to latest versions
  • [TAP5-83] - add a contructor with page class as parameter to BeanBlockContribution
  • [TAP5-98] - The TypeCoercer should be able to coerce String to Enum types, even without a specific contribution
  • [TAP5-450] - Add to t:grid sort links
  • [TAP5-455] - Allow discarding of persistent field changes for specific strategy only
  • [TAP5-606] - Add Finnish translation to javascript messages (Translated messages attached.)
  • [TAP5-650] - Enhance form autofocus to accept fieldname as a value
  • [TAP5-683] - The Tapestry object should include an info() for logging to the console (as it already includes error(), debug(), etc.)
  • [TAP5-741] - CSS files should be automatically minimalized, like JavaScript files
  • [TAP5-743] - It is too much work to hide all T5 pages inside a virtual folder, for use in mixed-implementation deployments
  • [TAP5-746] - Zone should include an option to periodically update itself
  • [TAP5-840] - Support character references in tml files with HTML 5 Doctype
  • [TAP5-853] - Move away from Javassist
  • [TAP5-888] - The Tapestry.ErrorPopup client-side class should create the div/span as needed (not at page initialization)
  • [TAP5-933] - EnumValueEncoder will create a ValueEncoder even when there's a specific String->Enum type coercion
  • [TAP5-939] - Chinese localization for ValidationMessages_zh_CN
  • [TAP5-941] - Chinese localization for corelib components
  • [TAP5-955] - Add @Optional annotation to mark contribution methods that can be ignored if the indicated service does not exist
  • [TAP5-980] - ValidationDecorator should be a service, rather than just a contributed object, to make it easier to override
  • [TAP5-1040] - Allow HTML5 doctype to be printed
  • [TAP5-1199] - ClassTransformation should include an API specifically for adding a component event handler to a component class
  • [TAP5-1208] - In development mode, Tapestry should "shadow" field & parameter values to instance variables, to assist with debugging
  • [TAP5-1308] - When an Ajax requests replies with the error page, Tapestry should present the contents in a popup window
  • [TAP5-1310] - The Enum ValueEncoder should be case insensitive
  • [TAP5-1320] - ServiceActivity improvements
  • [TAP5-1323] - Change Quickstart Template to Match New Site Design
  • [TAP5-1348] - Component report should accept multiple root packages
  • [TAP5-1350] - TapestryFilter should allow sub-classes to specify additional module classes, not just ModuleDefs
  • [TAP5-1356] - When contributing to a service configuration, values should be coerced to the correct type rather than rejected if not the correct type
  • [TAP5-1359] - Add way to be notified that the Registry is about to shutdown (but before service proxies are disabled)
  • [TAP5-1361] - Tapestry should include a coercion from Flow to List
  • [TAP5-1362] - Tapestry should provide coercions from String to JSONObject and JSONArray
  • [TAP5-1378] - Allow Delegate component to be used for creating in-template components
  • [TAP5-1382] - Tapestry should provide a coercion from Flow to boolean, that evaluates to true if the Flow is not empty
  • [TAP5-1389] - Access properties of generic page and component fields
  • [TAP5-1390] - Functional programming improvements
  • [TAP5-1396] - Invocation class should provide access to the annotations placed on the method beeing invoked
  • [TAP5-1414] - Add HOSTNAME symbol to SymbolConstants, use in BaseUrlSource
  • [TAP5-1419] - Tapestry tests should be able to be run from more than just Jetty
  • [TAP5-1431] - Quickstart should enable the Blackbird client-side console
  • [TAP5-1450] - Component report should print information about deprecated components or deprecated parameters
  • [TAP5-1451] - Form component should indicate that a form submission was canceled on the client side
  • [TAP5-1458] - Mark tapestry.suppress-redirect-from-action-requests as deprecated, for removal in Tapestry 5.4
  • [TAP5-1469] - Allow for multiple application root packages by contributing additional LibraryMappings with empty virtual folder
  • [TAP5-1473] - Running integration tests with Tomcat6Runner it should be possible to configure the application under test by providing a local context.xml file
  • [TAP5-1476] - Deprecate MultiZoneUpdate, replace with an injectable service to collect zone updates
  • [TAP5-1482] - Upgrade Prototype to 1.7 / Scriptaculous 1.9.0
  • [TAP5-1485] - Quickstart archetype should define a ProductionModeModule and DevelopmentModeModule with support inside web.xml
  • [TAP5-1489] - Re-storage of session attributes at end of request should be configurable (can be set to off for non-clustered applications)
  • [TAP5-1492] - New features for SeleniumTestCase
  • [TAP5-1495] - Tapestry's property expression language should support map creation
  • [TAP5-1496] - Link components should support easily adding request parameters to the generated link
  • [TAP5-1508] - Reduce memory utilization of Tapestry page instances
  • [TAP5-1519] - Ensure that all calls to invoke methods and constructors with dependencies are tracked with the OperationTracker
  • [TAP5-1521] - JavaScriptSupport.addInitializerCall() should support JSONArray of function parameters, as RenderSupport does
  • [TAP5-1523] - Dutch validation messages
  • [TAP5-1538] - Optimize client-side URL rebuilding in IE 7
  • [TAP5-1539] - Optimize document scans used by Tapestry.FieldEventManager to not locate the label or icon until actually needed
  • [TAP5-1541] - Optimization load of scripts (javascripts and stylesheets)
  • [TAP5-1547] - Tapestry should include built-in coercions from String to JSONObject and JSONArray
  • [TAP5-1558] - FormFragment should allow more fine grained control over when to be considered "invisible"
  • [TAP5-1564] - RenderSupport is used in Upload.java even though it has been deprecated
  • [TAP5-1565] - It should be easier to make a series of contributions to an OrderedConfiguration so that the contributions are in sequential orderer
  • [TAP5-1567] - Contributions to the ValueEncoderSource service should allow bare ValueEncoders, which can be coerced to ValueEncoderFactory
  • [TAP5-1574] - Provide constants for available data types
  • [TAP5-1581] - MarkupWriterImpl makes many, many defensive copies of its listener list
  • [TAP5-1588] - French properties file for the kaptcha component
  • [TAP5-1591] - tapestry-ioc should not depend on tapestry-json
  • [TAP5-1594] - Provide edit block for Kaptcha component
  • [TAP5-1597] - Update Italian local support
  • [TAP5-1603] - Tapestry should omit stack frames related to the OperationTracker from exception report
  • [TAP5-1617] - PeriodicExecutor should support CRON expressions
  • [TAP5-1621] - TypeCoercer currently uses Object -> String and String -> Boolean, there should be a direct coercion from Object -> Boolean for <t:if/> performance.
  • [TAP5-1627] - Enable OperationTracker to produce debug trace of all operations
  • [TAP5-1628] - Have Submit documentation explicitly state when the disabled attribute is evaluated
  • [TAP5-1633] - Hardcoded value for "Dismiss All" in AlertManager
  • [TAP5-1637] - Tapestry should use SoftReferences for page instances, rather than run a janitor thread to clean them up
  • [TAP5-1638] - Reduce thread contention inside ComponentClassResolverImpl
  • [TAP5-1639] - Missing danish translations
  • [TAP5-1641] - The ValueEncoder for Hibernate entity types should encode transient instances as null rather than throw an exception
  • [TAP5-1649] - ComponentClassResolver should allow "common package root name" of a single term, and not require two terms
  • [TAP5-1651] - It should be possible for a LinkCreationListener to override Tapestry and make a Link secure or insecure after the fact
  • [TAP5-1663] - The @BindParameter annotation should support inherited parameters
  • [TAP5-1665] - Tapestry could create non-singleton services more efficiently
  • [TAP5-1669] - Palette Documentation
  • [TAP5-1674] - Add ServiceBinder.withSimpleId() that generates a service id from the implementation class name
  • [TAP5-1677] - Use Symbols for Default Component Parameter Values
  • [TAP5-1683] - RegistryShutdownHub broken link on "Service Life Cycle" documentation page
  • [TAP5-1690] - OperationTracker should be injectable in Tapestry components
  • [TAP5-1692] - Underscore.js should be used in no-conflict mode
  • [TAP5-1702] - T5 to log where it thinks the Application Module should be if not found
  • [TAP5-1747] - Make labels generated by Checklist component clickable
  • [TAP5-1748] - Alerts component should render informal parameters
  • [TAP5-1413] - Add Test to make sure the ability to give a multizoneupdate a String rather than a zone works
  • [TAP5-953] - org.apache.tapestry5.dom.Node.remove() should set nextSibling to null
  • [TAP5-1505] - Let URLEventContext implement its own toString()

New Features Implemented

  • [TAP5-71] - Add a Tree component in corelib
  • [TAP5-73] - JavaScript libraries should be automatically packed/minimalized
  • [TAP5-149] - Add JPA-annotation-driven validator
  • [TAP5-546] - ObjectLocator.getService(Class) should be expanded to pass a varargs of marker annotation types
  • [TAP5-742] - Add optional component tracing comments to rendered output
  • [TAP5-753] - Provide some way to get the current page instance being rendered inside a service
  • [TAP5-1385] - Provide support for JSR-330
  • [TAP5-1421] - Create a standard way to track messages to be presented to the user
  • [TAP5-1472] - Provide basic integration with JPA 2
  • [TAP5-1502] - Make it easier to create JavaScript Stacks using a standard implementation with an OrderedConfiguration
  • [TAP5-1528] - Tapestry-specific JavaDoc plugin that generates parameter documentation, etc.
  • [TAP5-1542] - Support for skinning/theming Tapestry pages
  • [TAP5-1543] - Introduce Tapestry schema in version 5_3
  • [TAP5-1550] - Provide a multiple selection component that renders check boxes for available selection options
  • [TAP5-1572] - Discard unused page instances if not used within a certain period
  • [TAP5-1586] - Introduce the Kaptcha component
  • [TAP5-1587] - Provide support for Serbian locale
  • [TAP5-1595] - Provide support for Macedonian locale
  • [TAP5-1609] - Generate Maven archetype from within gradle builds
  • [TAP5-1678] - Add a builtin PageCatalog page that gives a listing of all loaded pages, with option to force load all pages
  • [TAP5-1688] - Tapestry should expose environment variables as symbols
  • [TAP5-1696] - Tapestry should include a @WhitelistOnly page annotation that only allows access to the page when it is accessed from a local (or otherwise acceptable) host
  • [TAP5-1708] - Add ability to control where Ajax-injected CSS links are placed

Tasks Completed

  • [TAP5-116] - Replace Maven build with Gradle build
  • [TAP5-161] - Devise test stategy for DateField and other DHTML/JS intensive components
  • [TAP5-973] - Identify and fix the issue that causes intermittent build failures
  • [TAP5-1286] - Remove Maven APT files for documentation that has moved into the Confluence wiki
  • [TAP5-1397] - Remove Tutorial source from SVN
  • [TAP5-1402] - Remove deprecated Alias service (which was replaced in 5.1 with the simpler ServiceOverride service)
  • [TAP5-1432] - Remove classes and methods deprecated in Tapestry 5.2
  • [TAP5-1514] - Upgrade YUICompressor dependency to latest, 2.4.6
  • [TAP5-1610] - Provide JavaDoc styling similar to Tapestry website's style