Migrating from M8/M9 to RC1
Project Rename
Any occurrences of isis
within source code, including configuration resources, have been replaced with causeway
while keeping variants:
-
lower-case
isis
→causeway
-
upper-case
ISIS
→CAUSEWAY
-
or capital case
Isis
→Causeway
XSDs
The namespace and location of XSDs has changed:
Note the change from http
to https
.
To update your app:
-
the
menubars.layout.xml
should now declare the following namespaces and locations:menubars.layout.xml<mb3:menuBars xsi:schemaLocation="https://causeway.apache.org/applib/layout/menubars/bootstrap3 https://causeway.apache.org/applib/layout/menubars/bootstrap3/menubars.xsd https://causeway.apache.org/applib/layout/component https://causeway.apache.org/applib/layout/component/component.xsd" xmlns:mb3="https://causeway.apache.org/applib/layout/menubars/bootstrap3" xmlns:cpt="https://causeway.apache.org/applib/layout/component" xmlns:lnk="https://causeway.apache.org/applib/layout/links" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> ... </mb3:menuBars>
-
while any
Xxx.layout.xml
files (forXxx
domain object) should declare:Xxx.layout.xml<bs3:grid xsi:schemaLocation="https://causeway.apache.org/applib/layout/component https://causeway.apache.org/applib/layout/component/component.xsd https://causeway.apache.org/applib/layout/grid/bootstrap3 https://causeway.apache.org/applib/layout/grid/bootstrap3/bootstrap3.xsd" xmlns:bs3="https://causeway.apache.org/applib/layout/grid/bootstrap3" xmlns:cpt="https://causeway.apache.org/applib/layout/component" xmlns:lnk="https://causeway.apache.org/applib/layout/links" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> ... </bs3:grid>
If you are still using the "isis" artifacts, then the old schemas are still available, but have moved to the layout-v1
directory.
Adjust the locations in your .layout.xml
files accordingly:
-
the
menubars.layout.xml
should now declare the following locations (namespace unchanged):menubars.layout.xml<mb3:menuBars xsi:schemaLocation="http://isis.apache.org/applib/layout/menubars/bootstrap3 https://causeway.apache.org/applib/layout-v1/menubars/bootstrap3/menubars.xsd http://isis.apache.org/applib/layout/component https://causeway.apache.org/applib/layout-v1/component/component.xsd http://isis.apache.org/applib/layout/links https://causeway.apache.org/applib/layout-v1/links/links.xsd" xmlns:mb3="http://isis.apache.org/applib/layout/menubars/bootstrap3" xmlns:cpt="http://isis.apache.org/applib/layout/component" xmlns:lnk="http://isis.apache.org/applib/layout/links" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> ... </mb3:menuBars>
-
while any
Xxx.layout.xml
files (forXxx
domain object) should declare:Xxx.layout.xml<bs3:grid xsi:schemaLocation="http://isis.apache.org/applib/layout/component https://causeway.apache.org/applib/layout-v1/component/component.xsd http://isis.apache.org/applib/layout/grid/bootstrap3 https://causeway.apache.org/applib/layout-v1/grid/bootstrap3/bootstrap3.xsd http://isis.apache.org/applib/layout/links https://causeway.apache.org/applib/layout-v1/links/links.xsd" xmlns:bs3="http://isis.apache.org/applib/layout/grid/bootstrap3" xmlns:cpt="http://isis.apache.org/applib/layout/component" xmlns:lnk="http://isis.apache.org/applib/layout/links" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> ... </bs3:grid>
Configuration
The following configuration properties have been changed:
previously | new |
---|---|
|
|
|
|
|
|
|
|
|
|
The following configuration properties have been removed (with no replacement):
-
causeway.extensions.command-log.publish-policy
As a result, commands for actions that do not change state (eg queries) are now also persisted.
Maven Artifacts
The following changed:
previously | new |
---|---|
|
|
Programming Model
The following changed:
previously | new |
---|---|
|
If the |
|
removed as deprecated since 2.0.0-M8; use |
|
removed as deprecated since 2.0.0-M8; use |
|
removed as deprecated since 2.0.0-M8; use |