Skip to content

0.18.18

Compare
Choose a tag to compare
@bjorndarri bjorndarri released this 13 Oct 16:00
· 332 commits to main since this release

Changes

is.codion.common.db

  • DatabaseFactory.createDatabase() renamed create().
  • DatabaseConnection.rollbackTransaction() and commitTransaction() no longer ignore exceptions, now throw SQLException.

is.codion.common.model

  • ColumnConditions renamed TableConditionModel.
  • TableConditionModel.ColumnConditionFactory renamed ConditionModelFactory.

is.codion.swing.common.ui

  • FilterColumnConditionPanel.Builder.operatorCaptions() added.
  • ColumnConditionPanel.identifier() removed along with type parameter.
  • FilterColumnConditionPanel column identifier type parameter removed, related refactoring.
  • FilterTableCellEditorFactory.tableCellEditor() renamed create() for consistency.
  • FilterTableCellRendererFactory.tableCellRenderer() renamed create() for consistency.
  • ColumnConditionsPanel.selectableConditionPanels() back to returning Collection instead of Map.
  • ColumnConditionPanels.conditionPanels(), selectableConditionPanels() and selectConditionPanel() renamed panels(), selectablePanels() and selectPanel() respectively.
  • FilterTable.filterPanel() renamed filters().
  • FilterTableCellRendererFactory moved to FilterTableCellRenderer and renamed Factory.
  • FilterTableCellEditorFactory moved to FilterTableCellEditor and renamed Factory.
  • ColumnConditionPanels.selectablePanels() and selectPanel() renamed selectable() and select() respectively.
  • FilterTable.Builder.conditionState() renamed filterState().
  • DefaultToolBarBuilder bug fixed, now cleans up separators like DefaultMenuBuilder, related refactoring.
  • ColumnConditionPanel.caption() removed, related refactoring.
  • ColumnConditionsPanel captions function added as constructor parameter.
  • ColumnConditionPanel renamed ConditionPanel.
  • ColumnConditionsPanel.panels() and panel() renamed get().
  • ColumnConditionsPanel renamed TableConditionPanel.
  • ConditionPanel.ConditionState renamed ConditionView.
  • FilterColumnConditionPanel.Fields added.
  • FilterTableColumnModel.Visible and Hidden added, related refactoring.
  • FilterTableColumnModel.containsColumn() and resetColumns() renamed contains() and reset() respectively.
  • FilterColumnConditionPanel bug fixed, did not link all components to locked state.
  • TableConditionPanel bug fixed, incorrect baseBundleName in MessageBundle.
  • FilterColumnConditionPanel renamed ColumnConditionPanel.
  • ConditionPanel.conditionView() and TableConditionPanel.conditionView() renamed view().
  • FilterTableCellRenderer.CellColors replaced with ColorProvider, Builder.foreground() and background() added, related refactoring.
  • FilterTableCellRenderer.Builder, column identifier type parameter removed.
  • FilterTableCellRenderer.Factory.create() parameter now column identifier instead of column.
  • FilterTableCellRenderer.Builder, column value type parameter added.
  • FilterTableCellEditor.Factory.create() parameter now column identifier instead of column.
  • FilterTableCellRenderer.UISettings added, DefaultFilterTableCellRenderer refactored.
  • FilterTable.Builder.cellEditor() and cellRenderer() added, related refactoring.
  • FilterTableCellRenderer.Color.Provider.color() column parameter added.
  • FilterTableCellRenderer.Builder row and column identifier type parameters added.
  • FilterTable.Builder.cellEditor() and cellRenderer() now long Supplier based.
  • FilterTableCellRenderer, renaming and refactoring.
  • FilterTableCellRenderer.ColorProvider.color() row and column index parameters replaced with row item and column identifier.
  • FilterTableCellRenderer column type parameter added, related refactoring.

is.codion.framework.domain

  • Entity.copy(), copyBuilder() and deepCopy() moved to Entity.Copy, renamed mutable(), builder() and deep() respectively, immutable() added.
  • ImmutableEntity bug fixed, StackOverflowError when creating an immutable entity with cyclical foreign key dependencies, some refactoring.
  • Entity.Copy.deep() removed.
  • EntityDefinition.backgroundColorProvider() and foregroundColorProvider() removed.
  • EntityDefinition.conditionProvider() renamed condition().

is.codion.framework.db

  • EntityConnection.rollbackTransaction() and commitTransaction() no longer ignore exceptions, now throw DatabaseException.
  • EntityConnection.transaction() added along with Transactional and TransactionalResult.
  • EntityConnection.Transactional and TransactionalResult.execute() now throw Exception instead of DatabaseException.

is.codion.framework.db.local

  • DefaultLocalEntityConnection.valueMissingOrModified() bug fixed, could not discern a missing value from a null original value, since the incorrent entity was being used when checking, test case improved.

is.codion.framework.model

  • EntityConditions.AdditionalCondition moved to EntityQueryModel, additionalWhere() and additionalHaving() renamed where() and having() respectively.
  • EntityConditions renamed EntityConditionModel.
  • EntityColumnConditionFactory renamed AttributeConditionModelFactory.
  • EntityTableModel.backgroundColor() and foregroundColor() removed.

is.codion.swing.framework.model

  • SwingEntityColumnConditionFactory renamed SwingAttributeConditionModelFactory

is.codion.swing.framework.ui

  • EntityApplicationPanel.Builder.ConnectionProviderFactory.createConnectionProvider() renamed create().
  • EntityTablePanel.conditionPanel() renamed conditions().
  • EntityTablePanel.Config.includeFilterPanel(), includeConditionPanel() and includeSummaryPanel() renamed includeFilters(), includeConditions() and includeSummary() respectively.
  • EntityDependenciesPanel, dependencies dialog no longer modal.
  • EntityTablePanel.Config.conditionState() and filterState() added.
  • EntityDialogs.EntitySelectionDialogBuilder.configureTablePanel() added.
  • EntityTableCellRendererBuilder removed.
  • EntityTablePanel.Config.configureTable() renamed table().
  • EntityTableCellRendererFactory replaced with EntityTableCellRenderer.
  • EntityTable.Config.configureTable() renamed table().
  • EntityTableCellRenderer.EntityColorProvider and Factory added.