7.1 Migration Guide
In this document, we will see the major steps to migrate from 7.0 to 7.1.
Please check the change log for detailed list of fixes, changes and improvements introduced in 7.1 |
Dependencies upgrade
Some dependencies have been upgraded to newer versions. Check the change log for detailed list.
Gradle has also been upgraded to a newer version. Upgrade the Gradle Wrapper to benefit from new features and
improvements : ./gradlew wrapper --gradle-version 8.7
.
Note that running the wrapper task once will update |
Check Gradle migration to update your builds :
-
7.5
→8.0
: Upgrading your build from Gradle 7.x to 8.0 -
8.0
→8.7
: Upgrading your build from Gradle 8.x to the latest
Gradle can display such warning : A possible workaround is to create a symbolic link to the directory containing the
|
Kanban views
In Kanban views, the template has some automatic styles applied, especially for img
and h4
.
This makes different rendering and styles between cards and kanban views. In order to align them, these
automatic predefined styles has been removed in React template only. Here are the changes :
What is concerned ? | Old styles | Migration |
---|---|---|
Any |
This put img on right bottom corner
|
Image should be embedded in an appropriate container
|
Any |
|
|
Usage of |
|
|
Usage of |
Apply circle image style
|
Use
|
Here is a full example from legacy Angular template :
<h4>{{name}}</h4>
<img ng-if="user" ng-src="{{$image('user', 'image')}}">
<div class="card-body">{{notes}}</div>
<div class="card-footer">
<i class='fa fa-clock-o'></i>
<span ng-if="startDate">{{$moment(startDate).format('LLL')}}</span>
</div>
should be migrated in React template :
<Box as="strong">
{name}
</Box>
<Box d="flex" mt={2}>
{notes}
</Box>
<Box d="grid" gridTemplateColumns="auto auto" style={{ fontSize: "0.85rem", color: "grey" }} mt={2}>
<Box d="flex" g={2}>
<Icon icon={"clock"} />
{startDate && <span>{$moment(startDate).format('LLL')}</span>}
</Box>
<Box d="flex" justifyContent="flex-end">
{user && <Image src={$image('user', 'image')} style={{ width: "1.5rem", height: "1.5rem", borderRadius: "100%" }}/>}
</Box>
</Box>
Model#cid
We added support to identify collection items from save/action response. In order to achieve this, we
added an cid
field in base abstract model class Model
. This will cause conflicts with any entities already having an cid
field. Update your entities if this is the case.
Others Notable Changes
-
Exclude archived M2O from selection : when M2O is used as a selection (
NavSelect
widget or inKanban#columnBy
), archived records are now excluded. -
Move view collaboration to Axelor Enterprise Edition
-
Move SSO authentications to Axelor Enterprise Edition
-
Remove deprecated AppInfo in favor of InfoService
Check the change log for detailed list.