Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Wiki Markup
{scrollbar}

Contents

Table of Contents
maxLevel2
minLevel2

Breaking Changes

The following changes have been made in Tapestry 5.2 that are likely to result in unexpected behavior if your application relies on the changed functionality. Please review this list carefully before upgrading from 5.1 to 5.2. Also check the Deprecated API List for non-breaking changes.

  • Page classes with instance variables that are not thread safe must be created in a method rather than declared as an instance variable. For example, creating an instance variable private final DateFormat format = DateFormat.getDateInstance(DateFormat.MEDIUM, locale); in a page and using it will cause problems because DateFormat is not thread safe. Instead, you must create the DateFormat in a method. See Release Notes: Tapestry 5.2.0 (below) for details.
  • Link.toAbsoluteURI() now returns the absolute URL, which includes the scheme, hostname and possibly port (e.g., "http://example.com:8080/myapp/viewproduct/4"), rather than a relative URL (e.g., "/myapp/viewproduct/4"). See Release Notes: Tapestry 5.2.2 (below) for details.
  • The Label component no longer outputs an id:

Previously valid code in 5.1.0.5:

Code Block
languagexml
<t:form><t:label for="search"/><t:textfield t:id="search" size="50"/></t:form>

Combined with JavaScript that references the id:

Code Block
languagejs
jQuery('#search-label').text('This is the search label');   

New JavaScript code for 5.2:

Code Block
languagejs
jQuery('label[for=search]').text('This is the search label');
  • ContributeTranslatorSource compatibility is broken. Service 'TranslatorSource' is now configured using a MappedConfiguration, not a Configuration. See issue TAP5-1395
  • Code that uses Form.getDefaultTracker().getHasErrors()) fails if it assumes that getDefaultTracker() is not null when validation is successful. See issue TAPS-1401.
  • Virtual folders, used to define root packages for component libraries, may no longer contain slashes.
  • The path prefix of a LibraryMapping may no longer contain the slash character.

Release Notes: Tapestry 5.2.6

Include Page
Release Notes 5.2.6
Release Notes 5.2.6

Release Notes: Tapestry 5.2.5

Include Page
Release Notes 5.2.5
Release Notes 5.2.5

Release Notes: Tapestry 5.2.4

Include Page
Release Notes 5.2.4
Release Notes 5.2.4

Release Notes: Tapestry 5.2.3

Include Page
Release Notes 5.2.3
Release Notes 5.2.3

Anchor
Tap5.2.2
Tap5.2.2

Release Notes: Tapestry 5.2.2

Include Page
Release Notes 5.2.2
Release Notes 5.2.2

Release Notes: Tapestry 5.2.1

Include Page
Release Notes 5.2.1
Release Notes 5.2.1

Anchor
Tap5.2.0
Tap5.2.0

Release Notes: Tapestry 5.2.0

Include Page
Release Notes 5.2.0
Release Notes 5.2.0
Wiki Markup
{scrollbar}