Skip to content

0.17.27

Compare
Choose a tag to compare
@bjorndarri bjorndarri released this 05 Feb 10:20
· 1834 commits to main since this release

Changes

is.codion.common.core

  • Value, default implementations added for accept() and map().

is.codion.framework.domain

  • DefaultEntityDefinition.validatePrimaryKeyAttributes(), key column indexes now sorted before being displayed in error message.

is.codion.framework.db.local

  • DefaultLocalEntityConnection.delete(keys) bug fixed, maximum number of parameters taken into account.
  • DefaultLocalEntityConnection.update() now throws UpdateException in case of unmodified entities.
  • DefaultLocalEntityConnection bug fixed, maximum number of parameters did not take composite keys into account.

is.codion.swing.framework.ui

  • EntityTablePanel, popup menu for configuring the limit added to status message panel along with INCLUDE_LIMIT_MENU configuration value, default false.

is.codion.framework.model

  • AbstractEntityEditModel.insert(), update() and delete(), exception order now consistent.
  • AbstractEntityEditModel refactored, events, states and related methods moved to separate inner classes.
  • AbstractEntityEditModel.modified() now final, modifiedPredicate() should suffice.
  • AbstractEntityEditModel.updateModifiedState() added.
  • AbstractEntityEditModel.modifiedState() removed.
  • AbstractEntityEditModel.modified(entities) removed.
  • EntityEditModel.validator() removed.
  • AbstractEntityEditModel.validator() now protected and Value based, overloaded constructor removed.
  • AbstractEntityEditModel, validator, modifiedPredicate and existsPredicate values now trigger an update in their respective states when changed.

is.codion.swing.framework.ui

  • SwingEntityTableModel.handleEditEvents() renamed editEvents() for consistency.