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

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

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

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

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

Loading…
Cancel
Save