Upgrading config 0.11 to 0.12
Breaking0.11.0 → 0.12.0Breaking1Deprecated9New8Changed1Other1
BreakingUpgrade verdict
1 breaking change.
In plain terms
- Configuration files written in HJSON can no longer be loaded.
- Deprecates Environment::new().
- Deprecates large parts of the Config interface.
- Deprecates Config::merge().
Must act Top 4 of 10 that need code or config changes
What you must change
Breaking1
Removes HJSON format support.
Deprecations to plan for
Deprecated9
Deprecates Environment::new().
Environment::new()Deprecates large parts of the Config interface.
ConfigDeprecates Config::merge().
Config::merge()Deprecates Config::with_merged().
Config::with_merged()Deprecates Config::refresh().
Config::refresh()Deprecates Config::set_default().
Config::set_default()Deprecates Config::set().
Config::set()Deprecates Config::set_once().
Config::set_once()Deprecates Config::deserialize().
Config::deserialize()