Update version to 4.0.0

This update contains several new features:

* Support for Java records
* Support for File, Path, URL, URI, Instant
* New project structure that makes it easier to add support
  for additional file types

... and some breaking changes:

* The code for saving and loading YAML files was moved from the
  configlib-core to the configlib-yaml module:
  * The Configurations class has been renamed to YamlConfigurations
    and its methods lost their -YamlConfiguration affix.
* FieldFormatter has been renamed to NameFormatter
dev v4.0.0
Exlll 2 years ago
parent d1acb875c2
commit bfbda2f629

@ -657,7 +657,7 @@ replace `configlib-yaml` with `configlib-paper`
<dependency>
<groupId>de.exlll</groupId>
<artifactId>configlib-yaml</artifactId>
<version>3.1.0</version>
<version>4.0.0</version>
</dependency>
```
@ -666,13 +666,13 @@ replace `configlib-yaml` with `configlib-paper`
```groovy
repositories { maven { url 'https://maven.pkg.github.com/Exlll/ConfigLib' } }
dependencies { implementation 'de.exlll:configlib-yaml:3.1.0' }
dependencies { implementation 'de.exlll:configlib-yaml:4.0.0' }
```
```kotlin
repositories { maven { url = uri("https://maven.pkg.github.com/Exlll/ConfigLib") } }
dependencies { implementation("de.exlll:configlib-yaml:3.1.0") }
dependencies { implementation("de.exlll:configlib-yaml:4.0.0") }
```
## Future work

@ -1,4 +1,4 @@
allprojects {
group = "de.exlll"
version = "3.1.0"
version = "4.0.0"
}

@ -1,5 +1,5 @@
name: ConfigLib
version: 3.1.0
version: 4.0.0
website: https://github.com/Exlll/ConfigLib
description: A library for working with YAML configurations.
author: Exlll

@ -8,7 +8,7 @@ import com.velocitypowered.api.plugin.Plugin;
@Plugin(
id = "configlib",
name = "ConfigLib",
version = "3.1.0",
version = "4.0.0",
url = "https://github.com/Exlll/ConfigLib",
description = "A library for working with YAML configurations.",
authors = {"Exlll"}

@ -1,5 +1,5 @@
name: ConfigLib
version: 3.1.0
version: 4.0.0
website: https://github.com/Exlll/ConfigLib
description: A library for working with YAML configurations.
author: Exlll

Loading…
Cancel
Save