Bump com.electronwill.night-config:toml from 3.6.7 to 3.7.1
Bumps com.electronwill.night-config:toml from 3.6.7 to 3.7.1.
Release notes
Sourced from com.electronwill.night-config:toml's releases.
3.7.1 Gradle fix
Fixes
- Resolve a misconfiguration of the Gradle build, see TheElectronWill/night-config#173 for more details
- Fix a minor issue with the new options of
JsonParserYou should use v3.7.1 instead of v3.7.0. Please read the release notes of v3.7.0 :sparkles: to learn what has changed since v3.6.x.
Full Changelog: https://github.com/TheElectronWill/night-config/compare/v3.7.0...v3.7.1
3.7.0: NightConfig rejuvenated ✨
Major changes
FileWatchernow comes with out-of-the-box debouncing, which improves the performance of autoreloading and autosaving configurations :zap:, see TheElectronWill/night-config#148FileConfiginstances are now actually thread-safe and work better with autoreload, which should prevent most of the corruption issues :shield:, see TheElectronWill/night-config#152- A new Serialization/Deserialization framework is available in the
serdepackage :rocket:, see TheElectronWill/night-config#163. Unlike the oldObjectConverter, the newObjectSerializerandObjectDeserializerare modular and extensible: you can register your own serializers and deserializers. Deserializers (config -> object) are chosen based on the generic type of the field to set and the type of the config value to deserialize. This allows for fine-grained deserialization. The oldObjectConverterstill works but is now deprecated. The goal is to remove the oldconversionpackage in version 4.0.0.Enhancements
- Allow multiple spec conditions to be checked by
@vaperionin TheElectronWill/night-config#151 (Note: this fix applies to the deprecatedconversionpackage; the newserdepackage supports multiple@SerdeAssertconditions out of the box)- Support UTF-16 and UTF-8 BOM by
@TheElectronWillin https://github.com/TheElectronWill/night-config/commit/68502b9d6a119a20367c4c1ec4d5352c118b4133- In ConfigSpec and in the new
serdeDeserializer, automatically apply some "risky" conversions (e.g. long -> int) when it is not lossy, close TheElectronWill/night-config#119- Allow custom
Configstorage inConfigSpec, by@PaintNinjain TheElectronWill/night-config#168- More unit tests, on Java 8, Java 11 and Java 17, by
@TheElectronWillBug fixes
- toml: Fix squeezed Files by
@Stein-Nin TheElectronWill/night-config#154- toml: Align List ending when in a "group" by
@Stein-Nin TheElectronWill/night-config#160- toml: Allow header comments by
@Stein-Nin TheElectronWill/night-config#162- json: Disallow trailing data (configurable) by
@TheElectronWill, close TheElectronWill/night-config#167- Multiple bugs have been fixed in
ObjectConverterby@TheElectronWillin TheElectronWill/night-config#163Compatibility Note
NightConfig 3.7.0 is backward-compatible with previous releases, therefore I encourage you to upgrade your dependency on NightConfig in order to benefit from the new version.
Binary-wise, the backward-compatibility has been checked with
japicmp. Source-wise, there is one small incompatible change:FileWatcher#addWatchno longers throws anIOException, which can result in a compiler errorunreachable codeon the associated try/catch (example in forge).New Contributors
@vaperionmade their first contribution in TheElectronWill/night-config#151@Stein-Nmade their first contribution in TheElectronWill/night-config#154@PaintNinjamade their first contribution in TheElectronWill/night-config#168Thank you everyone!
Full Changelog: https://github.com/TheElectronWill/night-config/compare/v3.6.7...v3.7.0
Commits
2ca3b8cBump version to 3.7.1d8664e2Fix dependencies of non-core modules on night-config core, close #173f235417json: Actually apply setting trailingDataAccepted7285e06Bump version to 3.7.007c866fjson: Disallow trailing data by default, close #167fc3df2aAllow potentially risky number conversions during the deserialization5e7789bcore: Make ConfigSpec more lenient with ranges by applying some006dd91core: More comments3777eefcore: Minor cleanupa2fcf42core: Cleanup and documentation- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)