Releases: codion-is/codion
Releases · codion-is/codion
0.18.47
Changes
is.codion.common.core
- ProxyBuilder no longer an interface.
- TaskScheduler no longer an interface.
- MessageBundle no longer an interface.
- PropertyStore no longer an interface.
- LocaleDateTimePattern no longer an interface.
is.codion.common.model
- FilterModel.Builder.visiblePredicate() renamed visible().
- FilterModel.visible() and filtered() renamed included() and excluded(), related renaming.
- FilterModel.AbstractRefresher.supplier() renamed items().
- FilterModel.Builder.include() renamed included(), related renaming.
is.codion.swing.common.model
- ProgressWorker, internal interfaces sealed.
is.codion.swing.common.ui
- FilterTable.Builder.rowSelection() and columnSelection() added.
- ControlBuilder.icon() parameter now nullable.
- FilterTable.DefaultBuilder refactored, nulls used instead of defaults.
- AbstractComponentBuilder, AbstractButtonBuilder and AbstractTextComponentBuilder refactored, nulls used instead of defaults.
- Layout specific panel builders added.
- DefaultInputDialogBuilder.show(Predicate) bug fixed, no longer closes dialog on ok, regardless of the close predicate.
is.codion.framework.domain
- DerivedAttribute removed, DerivedValue added instead, related renaming.
- ForeignKeyCondition removed, Factory moved up to package level as ForeignKeyConditionFactory.
- ColumnCondition.Factory moved up to package level as ColumnConditionFactory.
- ConditionProvider renamed ConditionString.
- Interfaces sealed where applicable, related refactoring.
is.codion.framework.db.local
- MethodTracer.NO_OP_TRACE added, exit() no longer returns null.
is.codion.framework.server
- EntityServer.setTraceToFile() and isTraceToFile() added along with associated methods in EntityServerAdmin.
is.codion.framework.model
- EntityEditModel.InsertTask, UpdateTask and DeleteTask merged into EditTask.
is.codion.swing.framework.ui
- EntityApplicationPanel.TRACING renamed SQL_TRACING.
- EntityEditComponentPanel.EditorComponent.replace() added.
is.codion.tools.monitor.ui
- ClientUserMonitorPanel, trace to file checkbox added.
is.codion.tools.loadtest.ui
- LoadTestPanel, user can now be removed, minor ui improvements.
0.18.46
Changes
is.codion.common.db
- AbstractConnectionPoolWrapper now logs check out times in microseconds.
is.codion.swing.common.model
- FilterTableModel.TableColumns.caption() added.
- FilterTableModel.TableColumns.description() added.
- FilterTableModel.Builder.supplier() renamed items().
- FilterModel.Builder.SelectionBuilder and SortBuilder renamed SelectionStep and SortStep.
is.codion.swing.common.ui
- FilterTable now automatically creates columns, Builder.columns() now allows column builder configuration.
- FilterTableColumn can no longer be instantiated outside FilterTable, Builder.build() removed, related refactoring.
- CalendarPanel bug fixed, clicking day filler labels now sets the year as well as the month.
- Icons.icons() size parameter added, Icons.SIZE removed.
- ControlIcon added along with ControlBuilder.icon(ControlIcon).
- FrameworkIcons now ControlIcon based.
- ComponentValue type parameters reordered.
- ComponentValueBuilder type parameters reordered.
- ListBuilder.Items and SelectedItems.nullable() added.
- CalendarPanel refactored to reduce number of mouse listeners.
- LogViewer added, extracted from ClientInstanceMonitorPanel.
is.codion.framework.domain
- Entities.primaryKeys() overloaded with Collection.
is.codion.framework.db.core
- EntityConnectionTracer added.
is.codion.framework.db.local
- LocalEntityConnectionProvider.tracing() and traces() added, related refactoring.
- LocalEntityConnectionProvider now implements EntityConnectionTracer.
is.codion.framework.model
- AbstractEntityEditModel.afterInsertUpdateOrDelete() now includes the entities involved, related refactoring.
- EntityEditModel.events() now takes entityType parameter, related refactoring.
is.codion.swing.framework.ui
- EntityTableColumns removed.
- FrameworkIcons.SIZE added.
- EditComponentFactory type parameters reordered.
- EntityTablePanel.userPreferencesKey() renamed preferencesKey(), EntityPanel.preferencesKey() added.
- EntityEditPanel.writePreference() and applyPreferences() added along with preferencesKey().
- EntityApplicationPanel, log menu now contains controls for tracing, in case of a EntityConnectionTracer enabled connection provider.
- EntityApplicationPanel, Keyboard shortcuts menu caption now Shortcuts.
is.codion.framework.server
- LocalConnectionHandler.TRACER logger added, handling client method traces.
is.codion.tools.loadtest.core
- DefaultLoadTest.user() now nullable, defaultUncaughtExceptionHandler set.
is.codion.tools.loadtest.ui
- LoadTestPanel, multiple user handling improved.
is.codion.tools.monitor.model
- ClientUserMonitor bug fixed, user history now correctly counts multiple user connections.
0.18.45
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.
0.18.44
Changes
is.codion.common.core
- State.Combination.add() and remove() removed.
- DefaultStateCombination refactored, no longer locks on read.
is.codion.common.model
- FilterModel.Items.remove(Predicate) added.
is.codion.swing.common.ui
- AbstractControlPanelBuilder bug fixed, button builders no longer shared, stack overflow during value linking, same button linked to multiple values.
- ComponentBuilder.visible() and focusable() overloaded with ObservableState.
- AbstractComponentBuilder.configureComponent(), set label for component moved to top, so it's available during component configuration.
- BorderLayoutPanelBuilder.add() added.
- CalendarPanel now displays the last days of previous month and first days of next month.
- ComponentBuilder.label() overloaded with Consumer parameter.
- ComponentBuilder now extends Supplier.
- PanelBuilder and BorderLayoutPanelBuilder now accept Supplier when adding components.
- ComponentDialogBuilder.component() overloaded with Supplier.
- ScrollPaneBuilder.view() overloaded with Supplier.
- CalendarPanel week number labels now styled like day filler labels, as in, disabled.
- ActionDialogBuilder.component() overloaded with Supplier.
- SplitPaneBuilder, component methods overloaded with Supplier.
- DefaultBorderLayoutPanelBuilder.add() bug fixed, BorderLayout.CENTER was missing.
- DefaultBorderLayoutPanelBuilder and DefaultPanelBuilder refactored.
- ComponentValueBuilder split from ComponentBuilder, for components that don't have an associated value, such as panels.
- InputPanelLayout and InputPanelBorderLayoutBuilder added.
- LabelBuilder.builder() overloaded with text parameter.
- BorderLayoutPanelBuilder methods renamed, Component suffix removed.
- Control.Builder now extends Supplier, builder parameters replaced.
- Control.Builder renamed ControlBuilder.
- Control.ControlBuilder and co. moved up to package level.
is.codion.framework.model
- EntityApplicationModel.refresh() removed.
is.codion.swing.framework.ui
- EntityEditComponentPanel.createLabel() removed, label(attribute) added, setComponentBuilder() now initializes a default label.
- EntityEditComponentPanel.InputPanelBuilder added.
- EntityEditComponentPanel.createLabel() added for read-only value linking.
- EntityEditComponentPanel.InputPanelBuilder.label() and component() overloaded with Supplier parameter.
- EntityEditComponentPanel.InputPanelBuilder now extends ComponentBuilder.
- EntityEditComponentPanel.InputPanelBuilder.label() overloads with constraints removed.
- EntityEditComponentPanel.InputPanelBuilder moved to package is.codion.swing.common.ui.component.panel.
- EntityEditComponentPanel.label(attribute) removed.
- EntityEditComponentPanel.EditComponent added, components can no longer be replaced once set.
- EntityEditComponentPanel.EditComponent no longer extends Value.
- EntityEditComponentPanel.EditComponent renamed EditorComponent.
0.18.43
Changes
is.codion.common.core
- Values renamed ValueCollection.
- TaskScheduler.Builder.IntervalStep added.
- State no longer extends Value, State.is(), toggle() and value() added, ObservableState no longer extends Observable.
- package is.codion.common.observable renamed observer.
- Item.value() renamed back to get(), getOrThrow() added.
- DefaultMethodTrace bug fixed, missing newline.
is.codion.common.model
- FilterModel.RefreshStrategy removed, no longer necessary after recent refresh related selection improvements.
is.codion.swing.common.model
- NullableToggleButtonModel.ToggleState removed, get() and set() added, related refactoring.
- FilterListModel.Builder.ItemsStep.items() parameterless overload added.
- DefaultListSelection.SelectedIndexes no longer clears the selection when set, preventing an empty selection event.
- DefaultFilterModelItems.clearAndAdd() no longer triggers an empty selection event if selection before and after overlaps.
is.codion.swing.common.ui
- FilterTableCellEditor.Builder added, cellEditable now configurable.
- CalendarPanel.Builder.includeWeekNumbers added along with WEEK_NUMBERS configuration value.
- NumberField, minimum and maximum values now Value based.
- NumberDocument.getNumber(), setNumber() and getFormat() renamed get(), set() and format() respectively.
- MenuBuilder.ControlsStep added, simplified, now only Controls based.
- ControlPanelBuilder.ControlsStep added, related refactoring.
- MenuBuilder.menuItemBuilder() and toggleMenuItemBuilder() renamed controlMenuItem() and toggleControlMenuItem(), now take Function instead of builder, actionMenuItem() added.
- ToggleButtonBuilder, ToggleMenuItemBuilder.toggleControl() renamed toggle().
- ColumnConditionPanel bug fixed, changes to wildcards in the model now reflected in the popup menu.
- ListSelectionDialogBuilder.SelectionStep added.
- ToggleButtonBuilder, ToggleMenuItemBuilder and subclasses refactored and simplified.
is.codion.framework.domain
- EntityDefinition.Attributes.getOrThrow(attributeName) added.
is.codion.framework.model
- DefaultEntityEditor.DefaultEditorValue no longer nullable in case of non-null boolean attributes.
is.codion.framework.db
- EntityConnection.Update.set() value parameter now @nullable.
is.codion.swing.framework.ui
- EditComponentFactory.component(), value parameter removed.
- EntityDialogs.EntitySelectionDialogBuilder.SelectionStep added.
- EntityDialogs.EntitySelectionDialogBuilder now throws CancelException when selection is cancelled.
is.codion.framework.server
- LocalConnectionHandler, now uses a single final entityConnection field, related refactoring.
0.18.42
Changes
is.codion.common.model
- UserPreferences.file() and delete() no longer accept empty string for filename.
is.codion.swing.common.model
- JSpecify annotations added.
- NullableToggleButtonModel, constructor now private, factory methods added.
is.codion.swing.common.ui
- FilterTable.Builder.columnReorderingAllowed() renamed columnReordering().
- FilterTable.Builder.columnResizingAllowed() renamed columnResizing().
- FilterTable.COLUMN_RESIZING configuration value added.
- FilterTable.Builder.cellSelectionEnabled() renamed cellSelection().
- JSpecify annotations added.
- TemporalFieldPanel.getTemporal() and setTemporal() renamed get() and set().
- FrameBuilder, now handles multiple listeners.
- NullableCheckBox, constructor protected, factory methods added.
is.codion.framework.domain
- DefaultEntity.validateTypes() performance bug fixed, unnecessary HashMap lookup removed, renamed validate().
- DefaultKey.setSerializer() and serializerForDomain() moved to EntitySerializer.
- SingleColumnKey added, DefaultKey renamed CompositeColumnKey.
- Entity.Builder.key() removed, Entities.key() added.
- Entities.builder() renamed entity().
is.codion.framework.db.local
- EntityResultPacker, minor optimization to eliminate HashMap resizing.
is.codion.swing.framework.model
- JSpecify annotations added.
is.codion.swing.framework.ui
- EntityTablePanelPreferences bug fixed, no longer applies empty preferences.
- EntityApplicationPanel.Builder.frameSupplier() renamed frame().
- JSpecify annotations added.
0.18.41
Changes
is.codion
- Builder step suffix now Step instead of Builder.
- Publish config moved from bom build files to root build, revapi plugin removed for now.
is.codion.common.core
- PropertyStore now accepts null default values.
- DefaultMethodTrace.appendTo(), minor optimization.
is.codion.common.model
- FilePreferencesFactory removed, UserPreferences.file() added.
- UserPreferences.flush() now flushes all file based preferences as well.
- UserPreferences.delete() added, unit tests now cleanup preferences files.
is.codion.common.rmi
- Authenticator.type() renamed clientType().
is.codion.swing.common.model
- NullableToggleButtonModel.toggleState() renamed state().
- ProgressWorker now throws exception in case the task is not of the correct type.
is.codion.swing.common.ui
- FilterTableCellRenderer.Builder.ColumnClassBuilder added.
- FilterTable.Builder.rowHeight(), rowMargin(), intercellSpacing(), gridColor(), showGrid(), showHorizontalLines(), showVerticalLines() and dragEnabled() added.
- ConditionPanel.focusGainedObserver() renamed focusGained().
- Utilities.propertyObserver() renamed observer().
is.codion.framework.db.local
- MethodLogger renamed MethodTracer, logger package renamed tracer.
- DefaultLocalEntityConnection.NoOpTracer added, tracer no longer nullable.
is.codion.framework.server
- LocalConnectionHandler.logExit(), now checks if trace is enabled before calling trace.appendTo().
is.codion.swing.framework.model
- EntityApplicationModel.USER configuration value added.
- EntityApplicationModel.USERNAME_PREFIX configuration value removed, not really used anymore.
- EntityApplicationModel.preferences and PREFERENCES_KEY configuration value added, file based preferences now application model based.
is.codion.swing.framework.ui
- EntityApplicationPanel.USER_PREFERENCES_ENABLED renamed USER_PREFERENCES.
- EntityApplicationPanel.preferences removed, USER_PREFERENCES and RESTORE_DEFAULT_PREFERENCES moved to EntityApplicationModel.
- EntityTablePanelPreferences.fromLegacyPreferences() bug fixed, now uses empty json objects.
- EntityTablePanelPreferences.LEGACY_PREFERENCES_ENABLED removed.
- EntityApplicationPanel.WRITE_LEGACY_PREFERENCES renamed LEGACY_PREFERENCES.
- EntityTablePanelPreferences, CONDITIONS_KEY and COLUMNS_KEY only used in legacy preferences, related refactoring.
- EntityApplicationPanel.applyPreferences(Preferences) added.
- EntityApplicationPanel.Builder.setUncaughtExceptionHandler(), includeMainMenu() and displayStartupDialog() renamed uncaughtExceptionHandler(), mainMenu() and startupDialog().
- DefaultEntityApplicationPanelBuilder minor refactoring.
- DefaultEntityApplicationPanelBuilder.applicationName now has a default value.
- EntityApplicationPanel, EntityPanel, EntityTablePanel, savePreferences() renamed writePreferences().
is.codion.tools.loadtest.core
- LoadTest.Builder.CreateApplicationStep and CloseApplicationStep.
is.codion.tools.loadtest.model
- QueryLoadTestModel removed.
0.18.40
Changes
is.codion
- Builder step class names now consistently end with Builder, with one exception.
is.codion.common.core
- Unit tests improved.
- DefaultValue no longer exposes Lock interface to subclasses.
- DefaultEvent.observer field now volatile.
- MethodLogger.noOpLogger() added.
- MethodLogger.Entry moved to package level as MethodTrace.
- MethodLogger moved to framework.db.local.logger package, now internal only.
- TaskScheduler.Builder.TaskStep added.
- State, overloaded builder() method removed.
- ProxyBuilder.builder() renamed of().
- DefaultProxyBuilder now thread-safe and reusable.
is.codion.common.db
- Unit tests improved.
- DatabaseConnection.getMethodLogger() now returns MethodLogger.noOpLogger() in case of no logger.
- DatabaseConnection no longer uses MethodLogger.
is.codion.common.model
- Unit tests improved.
- FilePreferencesFactory added.
- UserPreferences moved to preferences package.
- SimpleFilePreferences renamed to FilePreferences.
- FilePreferencesFactory and JsonPreferencesStore refactored.
- FilterModel.Builder.RefresherStage added.
- ConditionModel.Builder.ValueClassBuilder added.
is.codion.common.rmi
- Unit tests improved.
- ClientLog moved to framework.server module.
is.codion.framework.domain
- Unit tests improved.
is.codion.framework.db.core
- Unit tests improved.
- EntityConnection.Count.Builder.WhereStage added.
is.codion.framework.db.http
- HttpEntityConnection.DISCONNECT_ON_CLOSE configuration value added.
is.codion.framework.db.local
- Unit tests improved.
- LocalEntityConnection.methodLogger() removed, MethodLogger no longer public api.
- MethodLogger.noOpLogger() removed.
is.codion.framework.model
- Unit tests improved.
- EntitySearchModel.Builder.EntityTypeBuilder and ConnectionProviderBuilder added.
is.codion.framework.server
- ClientLog removed, was just a wrapper for method traces.
- EntityServerConfiguration.clientLogging() renamed methodTracing(), related renaming.
is.codion.swing.common.model
- Unit tests improved.
- ProgressWorker.BuilderFactory added, replacing overloaded ProgressWorker.builder() methods.
- FilterTableModel.Builder.Columns added, replacing the columns parameter in FilterTableModel.builder().
- FilterTableModel.RowEditor renamed Editor.
- FilterComboBoxModel.Builder.ItemsBuilder added, replacing overloaded builder() methods.
- FilterListModel.Builder.ItemsBuilder added, replacing overloaded builder() methods.
is.codion.swing.common.ui
- Unit tests improved.
- HintTextField.hintForegroundColor() bug fixed, returns null if either foreground or background is unspecified.
- AbstractControl bug fixed, default enabledObservable now an ObservableState instance instead of State.
- Utilities.enableActions() and enableComponents() renamed enabled().
- Utilities.linkBoundedRangeModels() renamed link().
- Windows.FrameBuilder.onBuild() added.
- Sizes, set prefix removed from methods.
- Windows.FrameBuilder moved to frame package, Frames added.
- Windows.setSizeWithinScreenBounds() renamed sizeWithinScreenBounds().
- Windows moved to window package.
- Sizes moved to component package.
- Colors moved to color package.
- Cursors moved to cursor package.
- FileTransferHandler moved to transfer package.
- UiManagerDefaults renamed UIManagerDefaults.
- FontSize added. DefaultLookAndFeelEnabler now handles updating the font size when enabling.
- FontSize.updateFontSize() bug fixed, Element Of character got lost and Font instances did not get resized, now uses deriveFont() for FontUIResource instead of instantiation.
- TextFieldBuilder.SELECT_ALL_ON_FOCUS_GAINED configuration value added.
- DefaultIcons now reacts to changes in Icons.ICON_SIZE, replacing each icon with a resized instance.
- FrameBuilder.component() added.
- ComponentDialogBuilder.component() added.
- Dialogs.componentDialog() renamed dialog().
- ActionDialogBuilder.component() added.
- Dialogs, Dialog suffix removed from method names.
- SelectionDialogBuilderFactory added.
- Windows.resizeWindow() renamed resize().
- FontSize replaced with Scaler, default implementation font size based while the FlatLaf one is based on the flatlaf.uiScale property.
- FilterTable.Builder.Columns added, replacing the columns parameter in FilterTable.builder().
- FilterTable.Builder.Model added, replacing the tableModel parameter in FilterTable.builder().
- FileSelectionDialogBuilder.fileFilter() renamed filter().
- ProgressWorkerDialogBuilder.BuilderFactory added, replacing overloaded methods in Dialogs.
- InputDialogBuilder.ComponentStep added, replacing overloaded methods in Dialogs.
- AbstractComponentBuilder, Value constructor parameter removed.
- KeyEvents, overloaded builder() methods removed.
- FontImageIcon.Builder.IkonBuilder added.
- TextFieldBuilder.ValueClassBuilder added.
- TemporalField.Builder.TemporalClassBuilder added.
- TemporalFieldPanel.Builder.TemporalClassBuilder added.
- NumberField.Builder.NumberClassBuilder added.
- ButtonBuilder, overloaded builder() methods removed.
- ButtonPanelBuilder, overloaded builder() methods removed.
- MenuBuilder, overloaded builder() methods removed.
- MenuItemBuilder, overloaded builder() methods removed.
- ToolBarBuilder, overloaded builder() methods removed.
- LabelBuilder, overloaded builder() methods removed.
- BorderLayoutPanelBuilder, overloaded builder() methods removed.
- PanelBuilder, overloaded builder() methods removed.
- ProgressBarBuilder, overloaded builder() methods removed.
- ScrollPaneBuilder, overloaded builder() methods removed.
- ColumnConditionPanel.Builder.ModelBuilder.added.
- DefaultMenuBuilder refactoring bug fixed, captions were missing.
- NumberSpinnerBuilder.NumberClassBuilder added.
- SpinnerBuilder.model() added.
- SearchHighlighter.Builder.component() added.
- FilterTableColumn.Builder.IdentifierBuilder and ModelIndexBuilder added.
- DefaultFilterListModel.DefaultItemsBuilder.items() refactoring bug fixed, now allows null.
- ListBuilder.ModelBuilder added.
- SliderBuilder.ModelBuilder added.
- ComboBoxBuilder.ModelBuilder added.
- ItemComboBoxBuilder.BuilderFactory added.
- Components.temporalField() parameter removed.
- ListBoxBuilder.ItemValueBuilder and LinkedValueBuilder added.
is.codion.swing.framework.model
- EntityComboBoxModel.Builder.EntityTypeBuilder and ConnectionProviderBuilder added.
is.codion.swing.framework.ui
- ApplicationPreferences.fromString() bug fixed, FRAME_MAXIMIZED_KEY now used.
- EntityComboBoxPanel.Builder.EditPanel added, replacing the editPanel parameter in EntityComboBoxPanel.builder().
- EntitySearchFieldPanel.Builder.EditPanel added, replacing the editPanel parameter in EntitySearchFieldPanel.builder().
- EntityComboBox.Builder.ModelBuilder added.
- EntitySearchField.Builder.ModelBuilder added.
- EntitySearchFieldPanel.Builder.ModelBuilder added.
- EntityComboBoxPanel.Builder.ModelBuilder added.
- TabbedDetailLayout.Builder.PanelBuilder.added.
- WindowDetailLayout.Builder.PanelBuilder.added.
- EntityPanel.Builder.EntityTypeBuilder and PanelBuilder added.
is.codion.framework.lambda
- LambdaEntityHandler refactored.
0.18.39
Changes
is.codion.common.core
- DefaultPropertyStore, synchronization added.
- Configuration, error handling and javadocs improved.
- ValueLink.updatingLinked and updatingOriginal now volatile, javadocs improved.
- DefaultMessageBundle now provides a fallback resource indicating a missing key instead of throwing exception.
- Configuration, security validation added for paths.
is.codion.common.db
- AbstractConnectionPoolWrapper.closeStatisticsCollection() added.
- SLF4J dependency added, DefaultDatabaseConnection logging improved.
- ConnectionPoolWrapper.DEFAULT_CHECK_OUT_TIMEOUT added.
- ConnectionPoolWrapper.VALIDATE_CONNECTIONS_ON_CHECKOUT added.
is.codion.common.model
- DefaultFilterModelItems.filterIncremental() added.
is.codion.common.i18n
- Messages, mnemonic bounds checking added.
- Messages, icelandic Clear mnemonic fixed.
is.codion.common.rmi
- SerializationFilter, minor refactoring.
- ConnectionRequest.id() and type() renamed back to clientId() and clientType().
is.codion.dbms.h2
- H2Database, security validation for the H2 database script injection.
is.codion.swing.common.ui
- KeyEvents.keyStroke() overloaded with String parameter.
is.codion.plugin.swing.mcp
- is.codion.plugin.swing.mcp module added.
- SwingMcpServer, unnecessary title bar click removed, refactoring.
- SwingMcpServer.takeApplicationScreenshot() reimplemented, bypassing the robot, window no longer has to be in front.
- SwingMcpServer, window listing tool added and window screenshot functionality improved, refactoring.
- SwingMcpPlugin.startMcpServer() removed, mcpServer() returning State added.
- SwingMcpPlugin, major overhaul, refactoring, cleanup and bugfixes.
is.codion.swing.common.model
- FilterTableModel.Builder.filterModelFactory() renamed filters().
- ProgressWorker.Builder.maximumProgress() renamed maximum, related renaming.
- FilterTableModel.Builder.asyncRefresh() renamed async(), related renaming.
is.codion.swing.common.ui
- FilterTable.Builder.sortingEnabled() renamed sortable().
is.codion.framework.domain
- ColumnDefinition.columnHasDefaultValue() renamed hasDatabaseDefault().
- DerivedAttributeDefinition.sourceAttributes() renamed sources().
- EntityDefinition.selectTableName() renamed selectTable().
- EntityDefinition.tableName() renamed table().
- ColumnDefinition.primaryKeyIndex() renamed keyIndex().
- ColumnDefinition.Builder.columnClass() renamed converter().
- DerivedAttributeDefinition.valueProvider() renamed provider().
is.codion.framework.db.core
- EntityConnectionProvider.Builder.domainType() renamed domain().
- EntityConnection.setQueryCacheEnabled() and isQueryCacheEnabled() renamed queryCache().
- EntityConnection.MAXIMUM_BATCH_SIZE added.
is.codion.framework.db.local
- LocalEntityConnection, getter/setter combos renamed for consistency.
- DefaultLocalEntityConnection, resource handling improved.
is.codion.framework.model
- EntityQueryModel bug fixed, did support including non-selected columns.
- EntityTableModel.orderQueryBySortOrder() renamed orderQuery().
- AbstractEntityTableModel.orderByFromSortModel() renamed orderBy().
- EntitySearchModel.handleEditEvents() renamed editEvents().
- EntityEditModel.postEditEvents() renamed editEvents(), editEvents() renamed events().
is.codion.swing.framework.model
- EntityComboBoxModel.handleEditEvents() renamed editEvents().
is.codion.swing.framework.ui
- EntityApplicationPanel.Builder.domainType() renamed domain().
- EntityApplicationPanel.exitObserver() renamed exiting().
is.codion.framework.bom
- BOM module added.
is.codion.common.bom
- Common BOM module added.
is.codion.framework.lambda
- Add codion-framework-lambda module for serverless deployment
- LambdaEntityHandler, removed env variables, now configured with EntityServer system properties.
v0.18.38
Changes
is.codion
- module-version added to module-info.class files.
is.codion.common.core
- Value.Notify.WHEN_CHANGED and WHEN_SET renamed CHANGED and SET respectively.
- MethodLogger.Entry.getChildren() renamed children(), enterMessage() renamed message(), ArgumentToString renamed ArgumentFormatter.
- PropertyValue.propertyName() renamed name().
- Item.itemI18n() renamed i18n().
- Text.parseCommaSeparatedText() renamed parseCSV().
is.codion.common.db
- Database.URL_SCOPED_INSTANCE configuration value added.
- ConnectionPoolStatistics.averageGetTime(), minimumCheckOutTime() and maximumCheckOutTime() renamed averageTime(), minimumTime() and maximumTime() respectively.
- ConnectionPoolWrapper.getIdleConnectionTimeout() and setIdleConnectionTimeout() renamed getIdleTimeout() and setIdleTimeout().
- Database.maximumNumberOfParameters() renamed maximumParameters().
is.codion.common.model
- UserPreferences, UserPreference suffix removed from method names.
- ConditionModel.equalWildcards() renamed equalWithWildcards().
- SummaryModel.Summary.summary() renamed get().
is.codion.common.rmi
- ServerInformation, server prefix removed from methods.
- AuxiliaryServer.startServer() and stopServer() renamed start() and stop().
- ConnectionRequest, client prefix renamed from methods.
- Authenticator.clientType() renamed type().
is.codion.swing.common.model
- FilterComboBoxModel.createSelectorValue() renamed createSelector().
is.codion.swing.common.ui
- FilterTable.ScrollToSelected bug fixed, rowVisible() now based on viewport.getViewRect().
- FlexibleGridLayout re-implemented.
- FlexibleGridLayout edge case for zero rows/columns bug fixed, test added.
is.codion.framework.domain
- fetchDepth renamed referenceDepth.
- ForeignKeyDefinition.Builder.referenceDepth() added, ForeignKeyDefiner.foreignKey(referenceDepth) removed.
- TransientAttribute.modifiesEntity() and Builder.modifiesEntity() renamed modifies().
- SelectQuery renamed EntitySelectQuery.
is.codion.framework.db.local
- SelectQueriesTest improved.
is.codion.framework.model
- EntitySearchModel.singleSelection() removed.
is.codion.swing.framework.ui
- EntityApplicationPanel, support table now known as lookup table.
- NullableCheckBox, FlatLaf hack removed.
- QueryInspector added, available with Ctrl-Alt-Q in EntityTablePanel, when using a local connection.
- EntityTableExport added.
- EntityEditPanel, query inspector available with Ctrl-Alt-Q, when using a local connection, QueryInspector split into SelectQueryInspector and InsertUpdateQueryInspector.
- SelectQueryInspector.BasicFormatterImpl bug fixed, now handles single quoted values.
- SelectQueryInspector.BasicFormatterImpl now inserts line breaks in insert column and value lists.
- EntityEditPanel, EntityTablePanel.updateUI() now includes queryInspector.
- EntityApplicationPanel, log file/dir controls now with icons.
- EntitySearchField.singleSelection() added.
is.codion.swing.framework.ui.test
- is.codion.swing.framework.ui.test module removed