Skip to content

0.18.20

Compare
Choose a tag to compare
@bjorndarri bjorndarri released this 28 Oct 12:44
· 68 commits to main since this release

Changes

is.codion.common.model

  • FilterModel.VisibleItems.comparator() removed.

is.codion.framework.domain

  • DefaultAttribute.DefaultType.validateType() bug fixed, error message now contains the attribute.
  • DefaultEntityDefinition, improved error message on duplicate attribute names.

is.codion.swing.common.model

  • DefaultFilterComboBoxModel.DefaultComparator bug fixed, did not use collator to sort strings.
  • FilterComboBoxModel.NullItem removed.
  • FilterComboBoxModel.Builder added, related refactoring.
  • FilterComboBoxModel.ComboBoxSelection.translator() removed, Builder.translator() added.
  • ItemComboBoxModel.SelectedItemTranslator refactored.

is.codion.swing.common.ui

  • FilterTableSortModel.sortingChanged() renamed observer, now propagates the sorting state instead of a column identifier.
  • FilterTableSortModel.sortOrder() replaced with columnSortOrder(), sortPriority() removed, ColumnSortOrder.priority() added.
  • FilterTableSortModel.sorted() removed.
  • FilterTableSortModel.setSortingEnabled() and isSortingEnabled() replaced with State based sortingEnabled().
  • FilterTableSortModel, refactoring mistake fixed, sortOrder() no longer returns Optional.
  • FilterTableSortModel moved back to swing.common.model.

is.codion.swing.framework.model

  • EntityComboBoxModel.Filter and ForeignKeyFilter added.
  • DefaultEntityComboBoxModel bug fixed, now uses the comparator from the entity it is based on.
  • EntityComboBoxModel.ForeignKeyFilter.set() overloaded for a single Key.
  • EntityComboBoxModel.Builder.comparator() added.
  • DefaultEntityComboBoxModel.SelectedItemTranslator removed.
  • EntityComboBoxModel.ForeignKeyFilter.get() added.

is.codion.swing.framework.ui

  • EntityApplicationPanel now disposes all windows on exit.
  • EntityTablePanel, row limit configuration field now selects all on focus gained.
  • EntityTablePanel, row limit configuration now accessible by double clicking the status panel.

is.codion.tools.generator.domain

  • DomainSource refactored.
  • DomainSource can now generate DTOs.