Skip to content

0.18.45

Compare
Choose a tag to compare
@bjorndarri bjorndarri released this 18 Aug 10:09
· 104 commits to main since this release

Changes

is.codion.common.core

  • Text.DEFAULT_COLLATOR_LANGUAGE renamed COLLATOR_LANGUAGE.

is.codion.common.db

  • Database.DATABASE_INIT_SCRIPTS renamed INIT_SCRIPTS.
  • Database.DATABASE_URL renamed URL.
  • ConnectionPoolWrapper, configuration values renamed, DEFAULT prefix removed.

is.codion.swing.common.ui

  • FilterTableColumn.setFixedWidth() added.
  • FilterTableColumn.Builder.ModelIndexBuilder renamed ModelIndexStep.
  • TabbedPaneBuilder refactored, methods overloaded with Supplier.
  • DefaultIcons is now scaling aware.
  • Icons.ICON_SIZE and ICON_COLOR renamed SIZE and COLOR.
  • Scaler.scale() added.
  • FontSizeScaler now uses Scaler.scale().
  • Icons.size() and color() added, SIZE and COLOR property values no longer used for dynamic update.
  • FontImageIcon.Builder refactored.
  • Scaler.RATIO renamed SCALING.
  • ScalingSelectionDialogBuilder.createControl() removed, related refactoring.
  • FileInputPanel, button caption not used if icon is specified, layout fix.

is.codion.framework.domain

  • ColumnDefinition.get(ResultSet) overloaded without index, fetches value by column name.
  • KeyGenerator.returnGeneratedKeys() renamed generatedKeys().
  • ForeignKeyDefinition.DEFAULT_FOREIGN_KEY_REFERENCE_DEPTH removed, FOREIGN_KEY_REFERENCE_DEPTH renamed REFERENCE_DEPTH.

is.codion.framework.db

  • DefaultLocalEntityConnection, selecting single values of entities with custom query columns now supported.
  • EntityResultPacker now fetches values by column name when the entity query has custom columns, query column order no longer has to match the attribute definition order.
  • EntityConnection.Select.queryTimeout() renamed timeout().
  • LocalEntityConnection.defaultQueryTimeout() renamed queryTimeout(), QUERY_TIMEOUT_SECONDS renamed QUERY_TIMEOUT.

is.codion.framework.model

  • AbstractEntityEditModel.DefaultUpdateEntities bug fixed, did not respect editor.modified() when updating.

is.codion.swing.framework.ui

  • EntityPanel.USE_KEYBOARD_NAVIGATION renamed KEYBOARD_NAVIGATION, Config.useKeyboardNavigation renamed keyboardNavigation.
  • DefaultFrameworkIcons bug fixed, logo color now updated along with other icons, related refactoring.
  • FrameworkIcons.logo(size) removed.
  • DefaultFrameworkIcons no longer contains a standard sized LOGO, unused.
  • FrameworkIcons.refreshRequired() removed.

is.codion.tools.generator.model

  • DomainGeneratorModel.DEFAULT_DOMAIN_PACKAGE and DEFAULT_SOURCE_DIRECTORY renamed DOMAIN_PACKAGE and SOURCE_DIRECTORY.