Skip to content

Commit 531285f

Browse files
committed
Update version to 4.6.0
**Add better support for environment variables** See corresponding documentation in the README. **Fix: Enforce serializers to only produce valid target types** All serializers were already required (by the specification) to only produce valid target types. However, this restriction hasn't been enforced so far and can cause unexpected errors during deserialization if custom serializers are involved. This fix constitutes a breaking change if you have custom serializers that don't follow the spec. The output of serializers is now checked during serialization; if it's not of a valid target type, an exception is thrown.
1 parent 73bc32e commit 531285f

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ replace `configlib-yaml` with `configlib-paper`
11701170
<dependency>
11711171
<groupId>de.exlll</groupId>
11721172
<artifactId>configlib-yaml</artifactId>
1173-
<version>4.5.0</version>
1173+
<version>4.6.0</version>
11741174
</dependency>
11751175
```
11761176

@@ -1179,7 +1179,7 @@ replace `configlib-yaml` with `configlib-paper`
11791179
```kotlin
11801180
repositories { mavenCentral() }
11811181
1182-
dependencies { implementation("de.exlll:configlib-yaml:4.5.0") }
1182+
dependencies { implementation("de.exlll:configlib-yaml:4.6.0") }
11831183
```
11841184

11851185
<details>
@@ -1198,7 +1198,7 @@ dependencies { implementation("de.exlll:configlib-yaml:4.5.0") }
11981198
<dependency>
11991199
<groupId>com.github.Exlll.ConfigLib</groupId>
12001200
<artifactId>configlib-yaml</artifactId>
1201-
<version>v4.5.0</version>
1201+
<version>v4.6.0</version>
12021202
</dependency>
12031203
```
12041204

@@ -1207,13 +1207,13 @@ dependencies { implementation("de.exlll:configlib-yaml:4.5.0") }
12071207
```groovy
12081208
repositories { maven { url 'https://jitpack.io' } }
12091209
1210-
dependencies { implementation 'com.github.Exlll.ConfigLib:configlib-yaml:v4.5.0' }
1210+
dependencies { implementation 'com.github.Exlll.ConfigLib:configlib-yaml:v4.6.0' }
12111211
```
12121212

12131213
```kotlin
12141214
repositories { maven { url = uri("https://jitpack.io") } }
12151215
1216-
dependencies { implementation("com.github.Exlll.ConfigLib:configlib-yaml:v4.5.0") }
1216+
dependencies { implementation("com.github.Exlll.ConfigLib:configlib-yaml:v4.6.0") }
12171217
```
12181218

12191219
</details>
@@ -1238,7 +1238,7 @@ trouble with that.
12381238
<dependency>
12391239
<groupId>de.exlll</groupId>
12401240
<artifactId>configlib-yaml</artifactId>
1241-
<version>4.5.0</version>
1241+
<version>4.6.0</version>
12421242
</dependency>
12431243
```
12441244

@@ -1247,13 +1247,13 @@ trouble with that.
12471247
```groovy
12481248
repositories { maven { url 'https://maven.pkg.github.com/Exlll/ConfigLib' } }
12491249
1250-
dependencies { implementation 'de.exlll:configlib-yaml:4.5.0' }
1250+
dependencies { implementation 'de.exlll:configlib-yaml:4.6.0' }
12511251
```
12521252

12531253
```kotlin
12541254
repositories { maven { url = uri("https://maven.pkg.github.com/Exlll/ConfigLib") } }
12551255
1256-
dependencies { implementation("de.exlll:configlib-yaml:4.5.0") }
1256+
dependencies { implementation("de.exlll:configlib-yaml:4.6.0") }
12571257
```
12581258

12591259
</details>

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
allprojects {
22
group = "de.exlll"
3-
version = "4.5.0"
3+
version = "4.6.0"
44
}

configlib-paper/src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: ConfigLib
2-
version: 4.5.0
2+
version: 4.6.0
33
website: https://github.com/Exlll/ConfigLib
44
description: A library for working with YAML configurations.
55
author: Exlll

configlib-velocity/src/main/java/de/exlll/configlib/ConfigLib.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@Plugin(
99
id = "configlib",
1010
name = "ConfigLib",
11-
version = "4.5.0",
11+
version = "4.6.0",
1212
url = "https://github.com/Exlll/ConfigLib",
1313
description = "A library for working with YAML configurations.",
1414
authors = {"Exlll"}

configlib-waterfall/src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: ConfigLib
2-
version: 4.5.0
2+
version: 4.6.0
33
website: https://github.com/Exlll/ConfigLib
44
description: A library for working with YAML configurations.
55
author: Exlll

0 commit comments

Comments
 (0)