This is the first public release of platform version 6.4. All significant changes from version 6.3 are listed below.
cuba-
CSS class prefix has been replaced with c-
ListComponent.refresh()
has been removed, method ListComponent.setMultiSelect()
has been moved to Table
and Tree
, methods Table.getRowsCount()
and setRowsCount()
have been moved to the new HasRowsCount
interface implemented by Table
.Entity
to an attribute of an entity or as a value of PickerField
or LookupPickerField
components, change listeners are invoked even if the new value equals to an old value but it is a different instance. It ensures that listeners are notified if the value is changed to another instance with the same ID.MaskedField.ValueMode
does not implement EnumClass
anymore.Creatable.LOGIN_FIELD_LEN
constant has been removed.DataManager
load transactions are now marked as read-only and cannot be committed if there are changed entities. So if some BeforeDetachEntityListener
modifies an entity on load, IllegalStateException
will be thrown. Set cuba.useReadOnlyTransactionForLoad app property to false to use normal load transactions as before.SystemLevel
, EnableRestore
, TrackEditScreenHistory
annotation values now stored in meta-annotations as Map<String, Object>
. Use MetadataTools.getMetaAnnotationAttributes()
method to obtain them from metadata.propagate
attribute of the SystemLevel
annotation is replaced with propagateToSubclasses
which is standard for all meta-annotations and true by default.getItems()
method of standard CollectionDatasource
implementations now returns a lightweight read-only view instead of full collection copy, so the result cannot be modified when iterating through it.startDb
Gradle task now starts HSQLDB server in deploy/hsqldb
project folder. Use dbDataDir
parameter to specify a different folder, e.g. dbDataDir = "$rootProject.buildDir/hsqldb"
addRightClickListener/removeRightClickListener
now accept ChartRightClickListener
addGraphItemRightClickListener/removeGraphItemRightClickListener
now accept GraphItemRightClickListener
addLegendMarkerClickListener/removeLegendMarkerClickListener
now accept LegendMarkerClickListener
addSliceRightClickListener/removeSliceRightClickListener
now accept SliceRightClickListener
metadata.xml
files. It enables inheriting custom datatypes from application components.installApp
task configuration in build.gradle
with installDist
before opening the project in Studio 6.4.updateDb
Gradle task.