Skip to content

0.18.34

Choose a tag to compare

@bjorndarri bjorndarri released this 07 May 09:12
· 2266 commits to main since this release

Changes

is.codion.common.core

  • DefaultValue.DefaultBuilder now adds listeners in the order they were added to the builder.
  • Version.parse() input validation improved.
  • Value.map() parameter now UnaryOperator instead of Function.

is.codion.common.model

  • FilterModel.VisibleItems and FilteredItems.get() annotated as NonNull.
  • FilterModel.Sorter renamed Sort, sorter() renamed sort().
  • FilterModel renamed FilterListModel and moved to list package.
  • FilterListModel renamed back to FilterModel and moved to filter package.
  • FilterListModel.Items.Builder added along with ItemsListener.
  • DefaultFilterListItems added, extracted from DefaultFilterTableItems, related refactoring.
  • FilterModel.Sort now extends Comparator, comparator() removed.
  • FilterModel.AbstractRefresher no longer refreshes if no supplier is available.
  • FilterModel.AbstractRefresher, async constructor parameter added.

is.codion.common.rmi

  • ServerAdmin, removed a few public accessors for values included in ServerStatistics, related cleanup.

is.codion.framework.domain

  • Column.Getter and Setter renamed GetValue and SetParameter respectively.
  • Entity.put() renamed set().
  • DerivedAttributeDefinition.Builder.ProviderStage added, related refactoring.

is.codion.framework.domain.test

  • DefaultEntityFactory.value() now handles UUIDs.

is.codion.framework.model

  • EntityQueryModel.conditions() renamed condition().
  • EntityEditModel.EntityEditor.isNull(attribute) replaced with EditorValue.present().
  • DefaultForeignKeyModelLink bug fixed, clearing the condition did not change it if the entities involved had been deleted, problem masked by referential integrity.

is.codion.swing.common.model

  • FilterTableModel.TableSelection moved to list package and renamed FilterListSelection, related refactoring.
  • FilterTableSort.sorted() moved to FilterListModel.Sort.
  • DefaultFilterTableItems.DefaultVisibleItems no longer adds a table model listener, changes to visible items notified explicitly.
  • FilterListModel and FilterListSort added.
  • FilterComboBoxModel.Builder.asyncRefresh() added.
  • FilterListModel, FilterTableModel.Builder.visible() added.
  • ProgressWorker.Task and ProgressTask added, related changes.
  • ProgressWorker refactored.
  • ProgressWorker.ProgressTask and ResultProgressTask.maximumProgress() added.

is.codion.swing.common.ui

  • LookAndFeelSelectionDialogBuilder.createControl() overloaded without parameter.
  • BackgroundColorValidIndicator bug fixed, did not refresh state when colors changed during updateUI().
  • LookAndFeelSelectionDialogBuilder.INCLUDE_PLATFORM_LOOK_AND_FEELS moved to LookAndFeelComboBox.
  • LookAndFeelComboBox.Builder added.
  • TextPaneBuilder added.
  • FilterTable.ScrollToAdded.scrollToAddedRow() no longer calls moveLeadSelectionIndex(), caused a selection event.
  • Control.Builder.name() renamed caption().
  • Utilities.linkToEnabledState() renamed enableActions() and enableComponents().
  • ValidIndicatorFactory.instance() now returns Optional.
  • AbstractComponentBuilder no longer throws exception if the specified ValidIndicatorFactory is not found.
  • ValidIndicatorFactory.instance() overloaded with factoryClassName parameter.
  • DefaultFileSelectionDialogBuilder.selectFileToSave() and selectFilesOrDirectories() bug fixed, incorrect class used for synchronization.
  • SelectionDialogBuilder split into ListSelectionDialogBuilder and ComboBoxSelectionDialogBuilder.
  • Dialogs.selectionDialog() renamed listSelectionDialog() and comboBoxSelectionDialog() added.
  • ListSelectionDialogBuilder.SingleSelector and MultiSelector removed.
  • Dialogs.singleSelector() and multiSelector() removed.
  • TextFieldBuilder.selector() removed.
  • DefaultButtonPanelBuilder.enableTransferFocusOnEnter() implemented.
  • ControlPanelBuilder, Builder suffix removed from a few methods.
  • DefaultButtonPanelBuilder.enableTransferFocusOnEnter() bug fixed, was restricted to JButton.
  • ButtonPanelBuilder.fixedButtonSize() and buttonGroup() added.
  • SelectionDialogBuilder.defaultSelection() moved to sub-interfaces.
  • ProgressDialogBuilder.onPublish() added.
  • DefaultComboBoxSelectionDialogBuilder bug fixed, did not validate default selection item.
  • TemporalFieldPanel and TextFieldPanel, minor button related improvements.
  • FilterList added, ListBuilder now FilterList based.
  • ListSelectionDialogBuilder.comparator() added.
  • Dialogs.inputDialog() overloaded with ComponentBuilder.
  • FilterList now scrolls to the selected item.
  • FilterTableColumn.Builder.fixedWidth() added.
  • FilterTable.doubleClick() renamed doubleClicked().
  • FilterTable.Builder.doubleClickAction() renamed doubleClick().
  • LookAndFeelComboBox.Builder.onSelection() added.
  • LookAndFeelPanel no longer prints to err when encountering an IllegalAccessException while loading defaults, LookAndFeel not exported from module.
  • LookAndFeelEnabler.platform() is now installed(), PlatformLookAndFeelEnabler renamed InstalledLookAndFeelEnabler, related refactoring.

is.codion.swing.framework.ui

  • EntityApplicationPanel.Builder.applicationModelFactory() and applicationPanelFactory() renamed applicationModel() and applicationPanel().
  • EntityApplicationPanel.createLogControls() now protected final.
  • EntityTablePanel.conditions() renamed condition().
  • EntityPanel.createEditControlPanel() no longer adds an empty border.
  • EntityApplicationPanel no longer abstract.
  • EntityEditPanel constructors now protected.
  • EntityEditPanel.insertCommandBuilder(), updateCommandBuilder() and deleteCommandBuilder() renamed insertCommand(), updateCommand() and deleteCommand().
  • EntityComponentFactory.componentValue() renamed component().

is.codion.plugin.flatlaf.intellij

  • IntelliJThemeProvider, disable FlatLaf logging due to FlatLaf #990.
  • material.Dracula theme renamed DraculaMaterial, conflicted with the other Dracula theme.