Skip to content

Commit d76fe26

Browse files
committed
beta 4 + changelog
1 parent 42cce53 commit d76fe26

2 files changed

Lines changed: 29 additions & 1 deletion

File tree

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

1717
val isBeta = "beta" in version.toString()
1818
val changelogText = rootProject.file("changelogs/${project.version}.md").takeIf { it.exists() }?.readText() ?: "No changelog provided."

changelogs/3.0.0-beta.4+1.20.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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.

0 commit comments

Comments
 (0)