Skip to content

0.18.7

Compare
Choose a tag to compare
@bjorndarri bjorndarri released this 31 Jul 16:03
· 652 commits to main since this release

Changes

is.codion.common.core

  • DatabaseConnection.getConnection() now throws IllegalStateException if the connection has been closed, valid() added.
  • State.Builder.validator() type parameter widened, now consistent with Value.addValidator().

is.codion.common.model

  • ColumnConditionModel.Builder.operator() added for specifying the default condition operator.

is.codion.swing.common.ui

  • SearchHighlighter.Builder added, scrollYRatio and scrollXRatio added.
  • TextComponentBuilder.initialCaretPosition() added along with InitialCaretPosition enum.
  • TextComponentBuilder.caretUpdatePolicy() added.
  • SearchHighlighter now updates its color scheme dynamically when the look and feel is changed.

is.codion.framework.domain

  • DomainModel.add(EntityDefinition.Builder... builders) removed.
  • DomainModel, DefaultEntities.setStrictForeignKeys() renamed validateForeignKeys().
  • AttributeDefinition.prepareValue() removed, functionality moved to DefaultEntity, decimal fraction digits coming from database no longer modified.
  • AbstractAttributeDefinitionBuilder.attribute no longer protected, public accessor available.
  • DerivedAttributeDefinition caching can now be disabled, cached() added, default true, cached values can be removed via remove() and are included when entities are serialized.
  • AttributeDefinition.denormalized() removed, no longer used.
  • KeyGenerator.Identity added.
  • DefaultColumnDefinition.BigDecimalFetcher now strips trailing zeros from values coming from the database.

is.codion.framework.model

  • ForeignKeyConditionModel now defaults to Operator.IN when available.
  • DefaultForeignKeyDetailModelLink.setForeignKeyCondition() now always uses Operator.IN.
  • EntityTableModel.getRowCount() renamed rowCount().

is.codion.swing.framework.ui

  • EntityTablePanel, bug fixed, three methods that should have been final are now final.
  • SwingForeignKeyConditionModel now defaults to Operator.IN when available.

is.codion.tools.generator.domain

  • DomainSource no longer adds KeyGenerator.identity() import unless it is actually used.

is.codion.plugin.jasperreports

  • JasperReports automatic module names updated, hopefully the ones they end up using.