aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisXander <xandersmith2008@gmail.com>2023-10-29 14:54:37 +0000
committerisXander <xandersmith2008@gmail.com>2023-10-29 14:54:37 +0000
commit62820fc8116f19c2be3e73d0ab90b1078eafdb2b (patch)
treeec5a863ccfe75916c5f99006fceaa046f4ad521b
parentaeedaf10708e2a9d44b453f0e2671e6899ee5e3e (diff)
downloadYetAnotherConfigLib-62820fc8116f19c2be3e73d0ab90b1078eafdb2b.tar.gz
YetAnotherConfigLib-62820fc8116f19c2be3e73d0ab90b1078eafdb2b.tar.bz2
YetAnotherConfigLib-62820fc8116f19c2be3e73d0ab90b1078eafdb2b.zip
Bump deps, version + changelog
-rw-r--r--build.gradle.kts3
-rw-r--r--changelogs/3.3.0-beta.1+1.20.2.md43
-rw-r--r--gradle/libs.versions.toml6
-rw-r--r--test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java9
4 files changed, 47 insertions, 14 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index a6943bc..9b54b7d 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -13,7 +13,7 @@ architectury {
minecraft = libs.versions.minecraft.get()
}
-version = "3.3.0+1.20.2"
+version = "3.3.0-beta.1+1.20.2"
val isBeta = "beta" in version.toString()
val changelogText = rootProject.file("changelogs/${project.version}.md").takeIf { it.exists() }?.readText() ?: "No changelog provided."
@@ -51,7 +51,6 @@ allprojects {
includeGroup("maven.modrinth")
}
}
- maven("https://jitpack.io")
}
pluginManager.withPlugin("publishing") {
diff --git a/changelogs/3.3.0-beta.1+1.20.2.md b/changelogs/3.3.0-beta.1+1.20.2.md
new file mode 100644
index 0000000..8eb7d48
--- /dev/null
+++ b/changelogs/3.3.0-beta.1+1.20.2.md
@@ -0,0 +1,43 @@
+# YetAnotherConfigLib 3.3.0 (Beta 1) for Minecraft 1.20.2
+
+As you can see, a lot of the contributions to this release are from other people! That's incredible, and I'm very
+thankful for the community commitment to this project!
+
+This release is a beta release, which just means that I'm not 100% sure that everything works as intended.
+I encourage developers to at least try this build out, and if there are no problems, you're safe to release (I hope!).
+
+## New Features
+
+- Added new methods to add options to groups and categories, including conditional adding and option suppliers.
+ This increases the chances you don't need to break the huge builder chain present of YACL, so you can just keep writing,
+ even if you need to conditionally add an option, or run some code around the option. Look for `optionIf`!
+
+## Changes
+
+- Support for the `Home` and `End` keys. ([#108](https://github.com/isXander/YetAnotherConfigLib/pull/108))
+- Add functionality for `Ctrl + Left/Right` (you can now jump over words, without selecting it). ([#108](https://github.com/isXander/YetAnotherConfigLib/pull/108))
+- Make the 'finding the next word' functionality more consistent with other programs. ([#108](https://github.com/isXander/YetAnotherConfigLib/pull/108))
+- Caret now pauses flickering when moving it. ([#108](https://github.com/isXander/YetAnotherConfigLib/pull/108))
+- Position the caret and the highlight area being the same height as the text. ([#108](https://github.com/isXander/YetAnotherConfigLib/pull/108))
+- Render the caret above the selection, instead of below. ([#108](https://github.com/isXander/YetAnotherConfigLib/pull/108))
+
+## Fixes
+
+- Fix `NumberFieldController` increasing their values by a power of 10 when clicking on the screen. Issue @ [#103](https://github.com/isXander/YetAnotherConfigLib/issue/103) PR @ [#108](https://github.com/isXander/YetAnotherConfigLib/pull/108)
+- Fix values not updating when unfocusing a string controller. ([#108](https://github.com/isXander/YetAnotherConfigLib/pull/108))
+- Fix a bug where the caret is not rendered at the beginning of the text in string/number field controllers. ([#108](https://github.com/isXander/YetAnotherConfigLib/pull/108))
+- Fix dropdowns not being sorted correctly with capital letters. ([#114](https://github.com/isXander/YetAnotherConfigLib/pull/114))
+
+## Misc
+
+- Added debug JVM property `-Dyacl3.debug.imageFiltering=true/false` which applies experimental filtering to images
+ to make them look better. I'd like your feedback on this!
+- You now no longer need to add additional repositories to your `build.gradle`.
+ You can safely remove:
+ - `https://maven.quiltmc.org/repository/release/`
+ - `https://oss.sonatype.org/content/repositories/snapshots/`
+
+## Translation Updates
+
+- Add Dutch translation. ([#121](https://github.com/isXander/YetAnotherConfigLib/pull/121))
+- Add Italian translation. ([#107](https://github.com/isXander/YetAnotherConfigLib/pull/107))
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 0cee7de..df3326b 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -20,11 +20,10 @@ twelvemonkeys_imageio = "3.10.0"
quilt_parsers = "0.2.1"
# Fabric-like Dependencies
-fabric_api = "0.89.1+1.20.2"
-mod_menu = "7.2.2"
+fabric_api = "0.90.4+1.20.2"
# Forge Dependencies
-forge = "1.20.2-48.0.4"
+forge = "1.20.2-48.0.33"
[libraries]
minecraft = { module = "com.mojang:minecraft", version.ref = "minecraft" }
@@ -43,7 +42,6 @@ quilt_parsers_gson = { module = "org.quiltmc.parsers:gson", version.ref = "quilt
# Fabric-like Dependencies
fabric_api = { module = "net.fabricmc.fabric-api:fabric-api", version.ref = "fabric_api" }
-mod_menu = { module = "com.terraformersmc:modmenu", version.ref = "mod_menu" }
# Forge Dependencies
forge = { module = "net.minecraftforge:forge", version.ref = "forge" }
diff --git a/test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java b/test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java
index 3b5c122..a20312e 100644
--- a/test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java
+++ b/test-common/src/main/java/dev/isxander/yacl3/test/GuiTest.java
@@ -43,17 +43,10 @@ public class GuiTest {
.option(ButtonOption.createBuilder()
.name(Component.literal("Auto-gen test"))
.action((screen, opt) -> {
- AutogenConfigTest.INSTANCE.serializer().load();
+ AutogenConfigTest.INSTANCE.load();
Minecraft.getInstance().setScreen(AutogenConfigTest.INSTANCE.generateGui().generateScreen(screen));
})
.build())
- .option(ButtonOption.createBuilder()
- .name(Component.literal("Skyblocker test"))
- .action((screen, opt) -> {
- SkyblockerConfig.HANDLER.serializer().load();
- Minecraft.getInstance().setScreen(SkyblockerConfig.HANDLER.generateGui().generateScreen(screen));
- })
- .build())
.group(OptionGroup.createBuilder()
.name(Component.literal("Wiki"))
.option(ButtonOption.createBuilder()