Skip to content

0.18.27

Choose a tag to compare

@bjorndarri bjorndarri released this 27 Jan 12:00
· 2527 commits to main since this release

Changes

is.codion.common.core

  • Value.set() and map() return value removed.
  • AbstractValue now only compares the values when set if the notification policy requires it.
  • Configuration property value methods now statically imported.

is.codion.common.model

  • DefaultConditionModel.DefaultSetCondition refactored.
  • MultiSelection.Indexes now extends Value.
  • MultiSelection.Items now extends Value.
  • SingleSelection.Item replaced with Value.
  • ConditionModel.Builder.operands() added, InitialOperands removed.
  • MultiSelection.Indexes.set(Collection) removed.

is.codion.common.rmi

  • SerializationWhitelist renamed SerializationFilter, whitelist implementation removed, now based on the built in pattern based filter.
  • SerializationFilterFactory, configuration properties renamed, some cleanup, docs improved.

is.codion.swing.common.ui

  • ColumnConditionPanel.ComponentFactory, component() methods replaced with equal(), upper(), lower() and in().
  • LookAndFeelEnabler.enableLookAndFeel() now fallbacks to the defaultLookAndFeel, if the user preference one is not available.
  • DialogBuilder.onBuild() added.
  • CalendarPanel.doubleClicked() added.
  • DefaultCalendarDialogBuilder now accepts the selected date when the day selection panel is double clicked.
  • FilterTable.Export.replaceNewline(String) added, defaults to a single space, DefaultExport now automatically trims strings.
  • FilterTable.Builder.cellSelectionEnabled().
  • FilterTable, column moving, resizing and sorting now based on lead selection index instead of selected column.

is.codion.framework.db.rmi

  • LocalConnectionHandler, method logging improved, fetch/return connection no longer logged during an open transaction.
  • LocalConnectionHandler, local connection creation logged.

is.codion.framework.domain

  • Entity.entityType() renamed type().
  • EntityDefinition.entityType() renamed type().
  • Entity.Key.entityType() renamed type().
  • Column.Setter added.
  • Column.Fetcher renamed Getter for consistency.
  • DefaultColumnDefinitionBuilder bug fixed, columnClass() did not replace the default setter.

is.codion.framework.model

  • DefaultForeignKeyConditionModel now links search models to their respective operands.
  • ForeignKeyDetailModelLink, configuration methods renamed along with associated properties.
  • DefaultEntityModel, type parameters now refer to EntityModel and EntityEditModel instead of DefaultEntityModel and AbstractEntityEditModel.
  • DefaultEntityModel now abstract, renamed AbstractEntityModel.
  • DetailModelLink and ForeignKeyDetailModelLink now Builder based, implementations package private and final.
  • DetailModelLink and ForeignKeyDetailModelLink renamed ModelLink and ForeignKeyModelLink.
  • EntityModel.DetailModels.linked() renamed active().
  • EntityModel.DetailModels.link() replaced with active().
  • ModelLink, type parameters removed.
  • EntityModel.link() added, now throws exception in case multiple fitting foreign keys are found.
  • EntityModel.DetailModels.contains(EntityType) and contains(Class) removed.
  • AbstractEntityModel bug fixed, now initializes a detail model link if active when added.
  • AbstractEntityModel now calls onSelection() for all detail model links, not just active ones.
  • DefaultModelLink.onSelection() does nothing unless link is active.
  • EntityEditModel.value() removed.
  • EntityEditModel.PERSIST_FOREIGN_KEYS moved to EntityEditor, some docs fixes and minor cleanup.
  • ForeignKeyModelLink.Builder now extends ModelLink.Builder.

is.codion.swing.framework.model

  • DefaultSwingForeignKeyConditionModel now links search and combo box models to their respective operands.

is.codion.swing.framework.ui

  • EntityConditionComponentFactory no longer links foreign key components to operands.
  • DefaultEntityApplicationPanelBuilder now adds the framework version to system properties along with the application version.
  • EntityPanel.DetailPanels.linked() renamed active().

is.codion.tools.monitor.ui

  • Demo server monitor split into separate demo-server-monitor module.

is.codion.tools.generator.ui

  • Demo domain generator split into separate demo-domain-generator module.