aboutsummaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorisXander <xander@isxander.dev>2023-05-27 21:38:06 +0100
committerisXander <xander@isxander.dev>2023-05-27 21:38:06 +0100
commitd76fe26ed5511427212ec3687cadf6239144ab64 (patch)
tree1389baed5207d026d8058ea30088d47520582393 /changelogs
parent42cce53d6b5eccd1218c0fe0ea576417cb5e0119 (diff)
downloadYetAnotherConfigLib-d76fe26ed5511427212ec3687cadf6239144ab64.tar.gz
YetAnotherConfigLib-d76fe26ed5511427212ec3687cadf6239144ab64.tar.bz2
YetAnotherConfigLib-d76fe26ed5511427212ec3687cadf6239144ab64.zip
beta 4 + changelog
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/3.0.0-beta.4+1.20.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/changelogs/3.0.0-beta.4+1.20.md b/changelogs/3.0.0-beta.4+1.20.md
new file mode 100644
index 0000000..2bf1354
--- /dev/null
+++ b/changelogs/3.0.0-beta.4+1.20.md
@@ -0,0 +1,28 @@
+# YetAnotherConfigLib 3.0 Beta 4
+
+## Additions
+
+- Added `OptionDescription.Builder.customImage()` to add your own renderer for the option description.
+
+## API Changes
+
+This release brings a few API breakages, getting them out the way, as it is a major update.
+
+- All controllers now have an API builder for creating them. This is to make it easier to add
+ more options to them in the future. This also creates a new API layer to remove simple implementations of YACL
+ from using the GUI package. The old constructors are still available and you can pass your own controller
+ with `.customController()`. An example would be `.controller(TickBoxControllerBuilder::create)` or:
+ ```java
+ .controller(opt -> IntegerSliderControllerBuilder.create(opt)
+ .range(0, 10)
+ .step(1))
+ ```
+- Completely removed `.tooltip()` from groups and options. You should use `.description()` instead.
+ To make this a little easier, `OptionDescription.of(Component...)` has been added so you don't need to
+ create a builder.
+- Removed `OptionDescription.Builder.name(Component)` as it now just uses the option name.
+
+## Bug Fixes
+
+- Fixed option descriptions being stuck on the last clicked option when not hovering.
+- Fixed category tooltips not being displayed with the new tabs.