Skip to content

v0.18.15

Compare
Choose a tag to compare
@bjorndarri bjorndarri released this 26 Sep 10:06
· 472 commits to main since this release

Changes

is.codion.common.core

  • StateObserver.isNull(), isNotNull() and nullable() now have default implementations.

is.codion.common.model

  • FilterModel.Items.visiblePredicate() moved to Items.Visible and renamed predicate().
  • FilterModel, methods for adding and removing items now return true if the items are/were visible.
  • FilterModel, addSorted() methods removed.
  • FilterModel, index based add and remove methods moved to Items.Visible.
  • FilterModel.comparator() and sort() moved to Items.Visible.
  • FilterModel.Refresher.items() renamed supplier().
  • FilterModel.refreshThen() and Refresher.refreshThen() renamed refresh().
  • FilterModel.addItem(), addItems(), removeItem() and removeItems() moved to FilterModel.Items.

is.codion.swing.common.ui

  • FilterTableCellRenderer now caches the filter condition models to reduce memory churn during repaint.

is.codion.framework.model

  • ForeignKeyDetailModelLink, configuration values renamed for clarity, a couple more added along with tests.
  • EntityEditModel.EditableEntity and EditableValue added, related refactoring.
  • AbstractEntityEditModel.validate(Entity) now final.
  • AbstractEntityEditModel bug fixed, inserting, updating and deleting modified entities no longer trigger modification warnings.
  • EntityEditModel.EditableEntity.clear() overridden, now clears all values from the entity as opposed to setting defaults.
  • EntityComboBoxModel.createForeignKeyFilterComboBoxModel() and createForeignKeyConditionComboBoxModel() replaced with foreignKeyComboBoxModel() returning a ForeignKeyComboBoxModelFactory.

is.codion.swing.framework.ui

  • EntityPanel.Config.description now initialized with entity description.
  • EntityTableCellRenderer now caches the query condition models to reduce memory churn during repaint.
  • EntityComboBox.createForeignKeyFilterComboBox() replaced with foreignKeyComboBox() returning a ForeignKeyComboBoxFactory.

is.codion.tools.generator.domain

  • DomainSource.apiSearchString() bug fixed, space added after interface name, since table names can have common prefixes.