Skip to content

Latest commit

 

History

History
261 lines (205 loc) · 9.21 KB

CHANGELOG.md

File metadata and controls

261 lines (205 loc) · 9.21 KB

Changelog

All notable changes to this project will be documented in this file.

0.9.5-Pre - 30.01.2024

Added

  • Added HexOrientation to HexagonGrid and HexagonView to support different orientations of hexagons.

0.9.4-Pre - 15.01.2024

Fixed

  • Fixed TextInputUIComponent not showing prompt text when text is empty.

0.9.2-Pre - 15.12.2023

Added

  • Added missing Cursor CSS styles.

Changed

  • Refactored Visual styling properties observer.
  • Propagate compound visual styles to children.

Fixed

  • Fixed CSS style properties not being set correctly.

0.9 - 27.11.2023

Added

  • Simple CSS support for components e.g. BorderRadius, BorderWidth and BorderColor
  • Smooth scrolling for CameraPane
  • Horizontal and vertical pan lock for CameraPane
  • Added zoom lock for CameraPane
  • Added keysForward and keysBackward attributes to BiDirectionalMap
  • Added put and putAll functions to BiDirectionalMap
  • Added conventional map indexing syntax to BiDirectionalMap
  • Added visuals to TextInputUIComponent

Fixed

  • Fixed HexagonView not updating visual properly
  • Fixed rotation of hexagons in HexagonGrid
  • Fixed CameraPane panning to work only with specified mouse button
  • Fixed CameraPane panning only allowed when interactive is set to true
  • Fixed Drag and Drop in CameraPane
  • Fixed ComboBox throwing exception when trying to deselect an item
  • Fixed CameraPane zoom to work properly with panBy and `pan function
  • Fixed constructor overload for individual alignments in LinearLayout

0.8.1 - 21.07.2023

Fixed

  • Library dependency back to Java 11 (accidentally was 17 in 0.8)

Removed

  • faulty config from spring-vaadin-conventions.

0.8 - 18.07.2023

Added

  • setZIndex ability for components to change there view order in parent components.
  • CameraPane component.
  • HexagonView component.
  • HexagonGrid with two coordinate systems. axial and offset coordinates.
  • Additional onSceneShown and onSceneHid event handlers.
  • MouseEvent now also gives information about the coordinates.

Fixed

  • onKeyPressed listener not working on scenes.
  • showMenuScene fade animation not firing on consecutive runs.

0.7.3 - 31.08.2022

Added

  • Spectator join feature in bgw-net.
  • PasswordField.

Fixed

  • Wrong main class in build config of bgw-net protocol client
  • Prompt text displayed twice in ComboBox.

0.7.2 - 14.08.2022

Added

  • Debug mode in network client now prints JSON of sent game message.

Changed

  • Hide "Connections and Sessions" from non-admin users in BGW-net frontend.
  • Unified named arguments in KeyEvent.

Removed

  • DSL package.

Fixed

  • Messages passing each other in clients asynchronous receiver function resolution.
  • PlayerLeftNotification not sent upon socket close.
  • Exception thrown in asynchronous coroutine not displayed in default exception handler.
  • Validation of non-JSON files in bgw-net frontend showing incorrect messages.

0.7.1 - 05.08.2022

Added

  • BGW-Net Protocol client.
  • onScroll event.
  • Style property for SingleLayerVisuals.
  • flip() function in CardView.

Changed

  • BoardGameApplication.runOnGUIThread may now be called without starting an application for headless testing.

Removed

  • Disabled default undo operation in TextField and TextArea as it causes NPEs in JavaFX.
  • Write access to Animation.isRunning

Fixed

  • Grid.grow() not updating row heights array.
  • Format function not getting applied to selected item in ComboBox.
  • Drag and Drop rollback on panes.
  • Exception when changing GameScenes in onDragDropped
  • Flip Animation resetting size of ImageVisuals.

0.7 - 15.07.2022

Added

  • BGW-Net.
  • Non-blocking Dialog option.

Changed

  • Keyboard input events for elements on BoardGameScene are now blocked while MenuScene is shown.

0.6 - 01.04.2022

Added

  • Fullscreen mode and Fullscreen-Exit-Combination.
  • Taskbar Icon.
  • Text for RadioButtons and changed default width.
  • Selection model for ListView and TableView.
  • Custom fonts may now be loaded.
  • Additional functions for GridPane to set all column widths or row heights.

Changed

  • Renamed module bgw-core into bgw-gui.
  • Background of ListView and TableView is now transparent.
  • Dragged elements keep their stacked rotation instead of snapping to components rotation.
  • Updated OpenFX to Version 17.

Fixed

  • MovementAnimation.toComponentView now considers rotation and scale of containers.
  • Drag & Drop now works from rotated GridPanes.
  • Background of MenuScene no longer changes when switching between menus.
  • Scene background can now be changed.
  • Removed blur animation between menu scene changes.
  • Position of nested GridPanes no longer resets on update.
  • FontFamily with whitespace in name no longer has to be escaped.

0.5 - 31.10.2021

Added

  • ParallelAnimation and SequentialAnimation.
  • Scene wide key events.
  • BoardGameApplication.runOnGUIThread function to update components from asynchronous environments.
  • Sudoku example.
  • Tetris example.

Changed

  • Moved examples to dedicated submodule
  • Disable deselection of last RadioButton in ToggleGroup.
  • Empty grid columns and rows no longer get rendered size 0.0 in case of fixed dimensions.

Fixed

  • Drag and drop target for custom inter-cell-alignments.
  • Offset for grids nested in grid cells.
  • MovementAnimation.toComponentView missing layoutFromCenter offset for Grid.
  • MovementAnimation.toComponentView now working with scale.
  • wrong parent in rollback search for containers after drag and drop.
  • BoardGameScene getting shown blurred if showGameScene gets called after hideMenuScene.
  • FileDialogs returning list of nulls instead of Optional.EMPTY.

0.4 - 22.09.2021

Fixed

  • Empty grid columns and rows no longer get rendered size 0.0 in case of fixed dimensions.
  • Race condition while changing GameScenes caused by slow renderer.
  • FileDialogs returning list of nulls instead of empty optional.
  • Snap back from Drag and Drop.
  • MovementAnimation#toComponentView offset when animating to GridPane.
  • BoardGameScene getting shown blurred if showGameScene gets called after hideMenuScene.

0.3 - 09.09.2021

Added

  • Value Scene.components for getting a snapshot of the currently contained root components of a Scene.
  • onAdd and onRemove function references in Pane.
  • Readonly Properties.
  • Scale Animation.
  • Additional constructors, default parameters and nullable functions for Stack.
  • div and times operator for Coordinate.

Changed

  • Changed removeAll() in Pane to now accept a collection of components to remove.
  • Changed various Exception types to more meaningful ones.
  • Opacity property is now restricted to [0.0, 1.0].
  • Increased render performance by caching and only updating deltas.

Removed

  • Items property from ListView as it was not observable.

Fixed

  • Items not being updated dynamically in ListView.
  • Components in grid not aligned correctly and size calculation not accounting for scale and rotation.
  • Font color in TableView.
  • Complete Drag and Drop reworking to account for scale, rotation, and nesting.
  • ColorVisuals with colors near black caused CSS parse error.

0.2 - 10.08.2021

Added

  • Visual as default parameter for all components.
  • Introduced alignment feature for UIComponents.
  • Introduced alignment feature for TextVisual.
  • Text wrapping in LabledUIComponents and optional parameter isWrapText.
  • Additional checks in ImageView for sub-image parameters to check for bounds.
  • New helper functions in CoordinatePlain.
  • Constants file with default parameter values.

Changed

  • Changed order of constructor parameters for all components to height > width > posX > posY.
  • Added minimum spacing in LinearLayout.
  • Scale feature now applies scaling factor instead of altering dimensions directly.
  • Renamed label to text in LabledUIComponents.
  • Renamed Table to TableView.
  • Renamed KStack to Stack.

Fixed

  • Fixed text color not working on all components.
  • Fixed ToggleButton not being added to specified ToggleGroup.

Removed

  • Infix operators for GameComponentViews.

0.1 - 03.08.2021

First release of the BGW framework.