chore: update nightConfig to v3.7.1 #1404
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.6.7
->3.7.1
3.6.7
->3.7.1
3.6.7
->3.7.1
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
TheElectronWill/night-config (com.electronwill.night-config:json)
v3.7.1
: 3.7.1 Gradle fixFixes
JsonParser
You should use v3.7.1 instead of v3.7.0.
Please read the release notes of v3.7.0 ✨ to learn what has changed since v3.6.x.
Full Changelog: TheElectronWill/night-config@v3.7.0...v3.7.1
v3.7.0
: 3.7.0: NightConfig rejuvenated ✨Major changes
FileWatcher
now comes with out-of-the-box debouncing, which improves the performance of autoreloading and autosaving configurations ⚡, see https://github.com/TheElectronWill/night-config/pull/148FileConfig
instances are now actually thread-safe and work better with autoreload, which should prevent most of the corruption issues 🛡️, see https://github.com/TheElectronWill/night-config/pull/152serde
package 🚀, see https://github.com/TheElectronWill/night-config/pull/163.Unlike the old
ObjectConverter
, the newObjectSerializer
andObjectDeserializer
are 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 oldObjectConverter
still works but is now deprecated. The goal is to remove the oldconversion
package in version 4.0.0.Enhancements
conversion
package; the newserde
package supports multiple@SerdeAssert
conditions out of the box)serde
Deserializer, automatically apply some "risky" conversions (e.g. long -> int) when it is not lossy, close https://github.com/TheElectronWill/night-config/issues/119Config
storage inConfigSpec
, by @PaintNinja in https://github.com/TheElectronWill/night-config/pull/168Bug fixes
ObjectConverter
by @TheElectronWill in https://github.com/TheElectronWill/night-config/pull/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#addWatch
no longers throws anIOException
, which can result in a compiler errorunreachable code
on the associated try/catch (example in forge).New Contributors
Thank you everyone!
Full Changelog: TheElectronWill/night-config@v3.6.7...v3.7.0
Configuration
📅 Schedule: Branch creation - "before 6:00am" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.