Skip to content

0.18.26

Choose a tag to compare

@bjorndarri bjorndarri released this 20 Jan 11:28
· 2582 commits to main since this release

Changes

is.codion.common.model

  • TableConditionModel.ConditionModelFactory removed, related refactoring.
  • ConditionModel.SetCondition added along with set().

is.codion.swing.common.model

  • FilterComboBoxModel.Builder.filterSelected() added, now final, ComboBoxSelection removed.

is.codion.swing.common.ui

  • ColumnConditionPanel.ControlKeys.CLEAR added.
  • ComponentBuilder.TRANSFER_FOCUS_ON_ENTER removed.
  • DefaultControlsBuilder.separatorAt() bug fixed, appended instead of inserting at index.
  • DefaultControlsBuilder, now prevents multiple consecutive separators from being added via actions().
  • DefaultFilterTableSearchModel optimized, searchResults no longer ValueList based.
  • DefaultFilterTableSearchModel now clears the search text when columns are modified, which also clears the result.

is.codion.framework.server

  • Demo server split into separate demo-server module.

is.codion.framework.model

  • DefaultEntityQueryModel.conditionChanged() bug fixed, no longer active when limit, orderBy or attributes have changed.
  • EntityQueryModel.resetConditionChanged() removed.
  • EntitySearchModel.Builder.condition() added.
  • ForeignKeyConditionModel.equalSearchModel() and inSearchModel() moved to ForeignKeyOperands.
  • EntityConditionModel.attribute() replaced with column() and foreignKey().
  • ForeignKeyConditionModel now an interface.
  • EntityConditionModel renamed EntityTableConditionModel.
  • AttributeConditionModelFactory renamed EntityConditionModelFactory.
  • ForeignKeyConditionModel.ForeignKeyOperands removed.
  • EntityConditionModelFactory.conditionModel(ForeignKey) now returns ForeignKeyConditionModel.
  • EntitySearchModel.Builder.columns() renamed searchColumns().
  • EntityTableConditionModel no longer extends TableConditionModel.
  • EntityTableConditionModel.setEqualOperand() and setInOperands() removed.
  • DefaultEntityQueryModel bug fixed, refactored in order to prevent ConcurrentModificationException, no longer List based.

is.codion.swing.framework.model

  • SwingForeignKeyConditionModel.equalComboBoxModel() and inSearchModel() moved to SwingForeignKeyOperands.

is.codion.swing.framework.ui

  • EntityTablePanel.SHOW_REFRESH_PROGRESS_BAR renamed REFRESH_PROGRESS_BAR, now true by default.
  • EntitySearchField bug fixed, no longer updates the background color when disabled.
  • EntitySearchField.searchOnFocusLost now final, searchOnFocusLost() removed.
  • EntityEditComponentPanel.InputFocus.transferOnEnter() removed.
  • SwingEntityTableModel.EntityColumnFilterFactory bug fixed, did not include foreign key filters.
  • SwingForeignKeyConditionModel now an interface, extends ForeignKeyConditionModel.
  • SwingAttributeConditionModelFactory renamed SwingEntityConditionModelFactory.
  • SwingForeignKeyConditionModel.SwingForeignKeyOperands removed.
  • EntitySearchField.selectionToolTip() now performs some basic html escaping.
  • EntitySearchField bug fixed, no longer selects all and moves the cursor when returning from the selection dialog.
  • EntityEditComponentPanel.InputFocus.transferOnEnter() reintroduced.
  • DefaultEditComponentFactory, EntitySearchField no longer performs search on focus lost.
  • EntitySearchField.Builder, method return type fixed.
  • EntityComponents.textField() bug fixed, did not set the format and tooltip text for numerical and temporal fields.
  • EntityEditComponentPanel.InputFocus.AfterInsert bug fixed, component supplier initialized incorrectly, always returned null.