aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle.kts2
-rw-r--r--changelogs/3.1.0+1.20.md28
2 files changed, 29 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index e04d0c9..5c1ba48 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -13,7 +13,7 @@ architectury {
minecraft = libs.versions.minecraft.get()
}
-version = "3.0.3+1.20"
+version = "3.1.0+1.20"
val isBeta = "beta" in version.toString()
val changelogText = rootProject.file("changelogs/${project.version}.md").takeIf { it.exists() }?.readText() ?: "No changelog provided."
diff --git a/changelogs/3.1.0+1.20.md b/changelogs/3.1.0+1.20.md
new file mode 100644
index 0000000..ff3f8ca
--- /dev/null
+++ b/changelogs/3.1.0+1.20.md
@@ -0,0 +1,28 @@
+# YetAnotherConfigLib 3.1.0 for 1.20
+
+## API Changes
+
+### `ListOption` changes
+
+A PR by [Crendgrim](https://github.com/isXander/YetAnotherConfigLib/pull/89) - thanks a lot!
+
+- Allow to specify size limits for option lists.
+ - This allows to set a minimum and maximum length for the option list with the `minimumNumberOfEntries`
+ and `maximumNumberOfEntries` builder methods.
+- Allow "reversed" lists that add new options at their end.
+ - List options until now always grew at the top. This patch allows you to manipulate this behaviour with the
+ `insertEntriesAtEnd` builder method.
+
+### `ImageRenderer` changes
+
+Added a `tick()` method to image renderers that allows to update the image in a regular interval.
+
+## Bug Fixes
+
+- Fixed a bug where image renderers were rendered twice per frame.
+- Updated the ImageIO dependency to fix sometimes buggy animated WebP rendering.
+- Fixed the name of the list being rendered on every entry of said list.
+
+## Language Updates
+
+- Added Tatar translation (by [Amirhan-Taipovjan-Greatest-I](https://github.com/isXander/YetAnotherConfigLib/pull/90))