Migrating from RC1 to RC2
Programming Model
Removed
-
ActionLayout#bookmarking… had conflicting semantics withDomainObjectLayout#bookmarking, that is, if the latter was present on an Action’s return type, hence removed.(Also, originally the intent was for action prompts to be bookmarked, but this was never implemented).
-
The
causeway-extensions-shiro-realm-ldapextension has been removed.This extension extended Shiro’s own
DefaultLdapRealmrealm to provide support for authorisation (statically defined in theshiro.inifile). Instead, use Shiro’s ownDefaultLdapRealmbut configure with some other authorisation mechanism, eg Secman.
Marked Deprecated for Removal
-
Action#hidden… useActionLayout#hiddeninstead -
Collection#hidden… useCollectionLayout#hiddeninstead -
Property#hidden… usePropertyLayout#hiddeninstead
Parameter support method validateNXxx(…) is now supported to only have a single argument,
namely the parameter, that is subject to validation.
|
This may potentially change behavior for cases when the action’s first and the n-th parameter are the same type and given a single argument parameter support method with same type also, then previously it interpreted the support to be associated with the first parameter, while now it will interpret the support to be associated with the n-th parameter. (using n as 1-based here) |
Maven Artifacts
Incubator projects viewer-vaadin and viewer-javafx were discontinued in version 2.x,
but these are continued in version 3.x.
v1 schemas
The v1 versions of the schemas for common, chg, cmd and ixn have been made available (again) under https://causeway.apache.org/schema-v1.
causeway-mavendeps-webapp
The following dependencies:
<dependency>
<groupId>org.apache.causeway.viewer</groupId>
<artifactId>causeway-viewer-wicket-viewer</artifactId>
</dependency>
<dependency>
<groupId>org.apache.causeway.viewer</groupId>
<artifactId>causeway-viewer-restfulobjects-jaxrsresteasy</artifactId>
</dependency>
<dependency>
<groupId>org.apache.causeway.security</groupId>
<artifactId>causeway-security-bypass</artifactId>
</dependency>
were removed from
<dependency>
<groupId>org.apache.causeway.mavendeps</groupId>
<artifactId>causeway-mavendeps-webapp</artifactId>
<type>pom</type>
</dependency>