Skip to content

0.18.49

Choose a tag to compare

@bjorndarri bjorndarri released this 14 Sep 15:38
· 1677 commits to main since this release

Changes

is.codion.common.core

  • AbstractValue bug fixed, get() now guaranteed to return a non-null value if a nullValue is specified, as promised by javadoc.
  • Observable.isEqualTo() and isNotEqualTo() renamed is() and isNot(), to not be confused with equals().

is.codion.common.model

  • FilterModel, count() renamed to size().

is.codion.swing.common.model

  • FilterComboBoxModel.Builder.onSelection() added.
  • FilterComboBoxModel.Builder.refresh() added, related refactoring.

is.codion.swing.common.ui

  • NumberDocument.NumberRangeValidator bug fixed, values now included correctly in error message.
  • NumberField.valueRange(), minimumValue() and maximumValue() removed, accessible via builder, builder validation improved, related refactoring.
  • NumberField, setters removed, only used in tests, accessible via builder.
  • NumberField.Builder.valueRange(), minimumValue() and maximumValue() renamed range(), minimum() and maximum().
  • NumberField.Builder.groupingUsed() renamed grouping().
  • Remaining usages of SwingConstants.LEFT and RIGHT replaced with LEADING and TRAILING.
  • LabelBuilder.HORIZONTAL_ALIGNMENT removed.
  • NumberDocument, value included in range validation exception message.
  • NumberDocument, translate single minus sign to -1, in order to prevent minus sign input when negative numbers are not valid.
  • ColumnConditionPanel, now displays the selected operator in a tooltip when changed via the keyboard, if the view is SIMPLE and the operator combo box hidden.
  • FilterTable.Export moved to FilterTableModel, related refactoring.
  • NumberField.Builder.maximumFractionDigits() renamed fractionDigits().
  • FilterTableCellRenderer.UISettings.filteredBackground() removed.
  • LookAndFeelEnabler.uiDefaults() added.
  • ConditionPanel.focusGained() event now with JComponent parameter.

is.codion.framework.domain

  • KeyGenerator.Identity removed.
  • AttributeDefinition.Builder.valueRange(), minimumValue() and maximumValue() renamed range(), minimum() and maximum().
  • AttributeDefinition.maximumFractionDigits() and decimalRoundingMode() renamed to fractionDigits() and roundingMode().
  • AttributeDefinition.Builder.numberFormatGrouping() renamed numberGrouping().
  • AttributeDefinition.Builder.localeDateTimePattern() renamed dateTimePattern().

is.codion.framework.model

  • EntityEditModel.EditEvent removed.

is.codion.swing.framework.model

  • DefaultEntityCombBoxModel refactored.
  • EntityComboBoxModel.Builder.onSelection() added.
  • EntityComboBoxModel.Builder.refresh() added.

is.codion.swing.framework.ui

  • EntityTablePanel, minor refactoring to get rid of table builders after initialization.

is.codion.plugin.flatlaf.intellij

  • Catppuccin themes added.
  • VSCode themes added.
  • Halcyon theme added.