From 98ed306f24dad4ab0ef19d3f44c2f53254f9bb2b Mon Sep 17 00:00:00 2001 From: Fulminazzo Date: Tue, 13 Feb 2024 23:11:49 +0100 Subject: [PATCH] YAMLParser now supports YAML lists not parsed by the parser itself. This means that list of type ```yaml list: - test: "Hello" - test: "Hi" ``` will be parsed as a list of (ConfigurationSection)[src/main/java/it/fulminazzo/yamlparser/configuration/ConfigurationSection]. Totally reworked classes separation to respect packaging conventions. Reworked FileConfiguration#addParsers method. Renamed `it.fulminazzo.yamlparser.configurations` package to `it.fulminazzo.yamlparser.configuration`. Made FileConfiguration and ConfigurationSection final. Added support for escaped dot characters: now it will be able to use `\.` in paths to allow for dotted strings to be parsed. Added support for BigDecimal notation when getting Number types. Updated README.md Updated FulmiCollection --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 4768604..004284a 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ plugins { } group = 'it.fulminazzo' -version = '1.5.5' +version = '1.5.6' repositories { mavenCentral() @@ -19,7 +19,7 @@ dependencies { compileOnly 'org.jetbrains:annotations:24.1.0' implementation 'org.yaml:snakeyaml:2.2' - api 'it.fulminazzo:FulmiCollection:1.2.8' + api 'it.fulminazzo:FulmiCollection:1.3' testImplementation platform('org.junit:junit-bom:5.9.1') testImplementation 'org.junit.jupiter:junit-jupiter'