File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ architectury {
1212 minecraft = libs.versions.minecraft.get()
1313}
1414
15- version = " 3.0.0-beta.3 +1.20"
15+ version = " 3.0.0-beta.4 +1.20"
1616
1717val isBeta = " beta" in version.toString()
1818val changelogText = rootProject.file(" changelogs/${project.version} .md" ).takeIf { it.exists() }?.readText() ? : " No changelog provided."
Original file line number Diff line number Diff line change 1+ # YetAnotherConfigLib 3.0 Beta 4
2+
3+ ## Additions
4+
5+ - Added ` OptionDescription.Builder.customImage() ` to add your own renderer for the option description.
6+
7+ ## API Changes
8+
9+ This release brings a few API breakages, getting them out the way, as it is a major update.
10+
11+ - All controllers now have an API builder for creating them. This is to make it easier to add
12+ more options to them in the future. This also creates a new API layer to remove simple implementations of YACL
13+ from using the GUI package. The old constructors are still available and you can pass your own controller
14+ with ` .customController() ` . An example would be ` .controller(TickBoxControllerBuilder::create) ` or:
15+ ``` java
16+ .controller(opt - > IntegerSliderControllerBuilder . create(opt)
17+ .range(0 , 10 )
18+ .step(1 ))
19+ ```
20+ - Completely removed ` .tooltip() ` from groups and options. You should use ` .description() ` instead.
21+ To make this a little easier, ` OptionDescription.of(Component...) ` has been added so you don't need to
22+ create a builder.
23+ - Removed ` OptionDescription.Builder.name(Component) ` as it now just uses the option name.
24+
25+ ## Bug Fixes
26+
27+ - Fixed option descriptions being stuck on the last clicked option when not hovering.
28+ - Fixed category tooltips not being displayed with the new tabs.
You can’t perform that action at this time.
0 commit comments