- Change config file load priority
- Bugfix: Performance issue reported in #276
- Bugfix: Quoted string should be closed by the same starting token
- Bugfix: Flatten did not flatten all the way down
- Bugfix: Escape backslash when serializing
-
HoconConfigurationFactory.Default()
will try and load HOCON configuration from default named files based on this priority:- application.conf
- application.hocon
- application.properties
- app.conf
- app.hocon
- app.properties
-
If
HoconConfigurationFactory.FromFile()
is called without any file extensions, it will try to load the file using these extensions: .conf, .hocon, and finally .properties
Bugfixes and improvements made to HOCON 2.0.0
- Bugfix: HoconValue.TryGetObject can throw System.ArgumentNullException
- Bugfix: System.InvalidOperationException : Collection was modified; enumeration operation may not execute
- Bugfix: unquoted key error during serialization
- Fixed NuGet symbol package publication
For more details, please see the issues in the HOCON v2.0.1 milestone here.