Releases: akkadotnet/HOCON
HOCON v2.0.4
2.0.4 October 14 2021
- 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
Changes:
- 7f336cb 2.0.4 Release
- dfbe363 Merge branch 'dev'
- 44759a5 Update RELEASE_NOTES.md for 2.0.4 release (#357)
- 49b1a6e Update CI/CD pipeline template and build script (#356)
- 8141e45 Update CI/CD pipeline template and build script (#356)
- 1c883b2 Escape Backslash when serializing (#351)
- f5e3dd6 Upgrade to GitHub-native Dependabot (#348)
- 482a9c1 Bump Microsoft.NET.Test.Sdk from 16.7.0 to 16.7.1 (#317)
- f861890 Bump Microsoft.NET.Test.Sdk from 16.6.1 to 16.7.0 (#309)
- 809c33f Bump System.Collections.Immutable from 1.7.0 to 1.7.1 (#291)
See More
- e7f87b9 Bump Microsoft.Extensions.Configuration.FileExtensions (#286)
- d9d9597 Bump Microsoft.Extensions.FileProviders.Physical from 3.1.3 to 3.1.4 (#289)
- bf64aae Bump Microsoft.Extensions.FileSystemGlobbing from 3.1.3 to 3.1.4 (#290)
- f85de61 Bump Microsoft.Extensions.FileProviders.Abstractions from 3.1.3 to 3.1.4 (#287)
- 65cb9ea Bump Microsoft.Extensions.Configuration from 3.1.3 to 3.1.4 (#285)
- 5fb8ba1 Bump Microsoft.Extensions.Configuration.Abstractions from 3.1.3 to 3.1.4 (#288)
- 91c67e4 Bump Microsoft.Extensions.Primitives from 3.1.3 to 3.1.4 (#284)
- 9b54c1b Bump Hocon.Extensions.Configuration from 2.0.1 to 2.0.3 (#259)
- 9e601b3 Bump Microsoft.Extensions.Configuration.FileExtensions (#274)
- b72e590 Fix root flatten implementation (#280)
- 3ad6bd2 Performance test for #276 (#279)
- 7a9487c Bump web app example asp.net version to 3.1 (#281)
- 4b0b2f5 Quoted string should be closed by the same token as the starting token. (#278)
- 338eae0 Bump Microsoft.NET.Test.Sdk from 16.5.0 to 16.6.1 (#282)
- 8132e40 Bump BenchmarkDotNet from 0.12.0 to 0.12.1 (#283)
- 851d29e Bump Microsoft.Extensions.Primitives from 3.1.2 to 3.1.3 (#275)
- aa9f53a Bump Microsoft.Extensions.FileSystemGlobbing from 3.1.2 to 3.1.3 (#273)
- bac0dbb Bump FluentAssertions from 5.10.2 to 5.10.3 (#268)
- cd11db5 Fix performance issue #276 (#277)
- aedbf48 Add local nuget repo publishing option to build script (#257)
- a2738e7 adding benchmarks for measuring fallback create and lookup performance (#263)
- edbca65 added spec to try to reproduce duplicate config section (#262)
- 1f7ab13 #159 Config file load priority (#260)
This list of changes was auto generated.
HOCON v2.0.3
2.0.3 February 28 2020
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.
Changes:
- 9ff5adc Merge pull request #256 from akkadotnet/dev
- 27d61c4 V2.0.3 release notes (#255) [ #249, #248, #247, #240 ]
- 3d81d90 Reverting HOCON 2.0.2 (#254) [ #249, #248, #247, #240 ]
- c88a902 Add ASP.NET Core web app example (#246)
This list of changes was auto generated.
HOCON v2.0.2
2.0.2 February 27 2020
HOCON 2.0.2 contains a final stabilization of the HOCON 2.0 milestone, designed to provide 100% immutability to HOCON objects and high performance on reads.
See the HOCON 2.0.2 milestone for a full set of changes.
Changes:
- ad18d89 Merge pull request #250 from akkadotnet/dev
- 828a292 Change the default file names and load priority (#249)
- b4ad447 HOCON v2.0.2 Release Notes (#248)
- 94981ce Hyperion support (#247)
- 9bff257 Simplify HOCON data structure. (#240)
This list of changes was auto generated.
HOCON v2.0.1
2.0.1 February 25 2020
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.
Changes:
- a833f55 Merge pull request #244 from akkadotnet/dev
- 204f64c add v2.0.1 release notes (#243)
- c1afa8f remove old Azure pipelines YAML (#242)
- e1bcff1 consolidate Azure DevOps pipelines (#241)
- 6570fde Add NBench perf spec (#236)
- be0227d Adapt build scripts s.t. it is possible to run the commands in directories where the absolute path contains spaces. (#238)
- 6254180 Fix for #233: TryGetObject threws. (#237)
- 9d176be close #222 - fixed symbol publishing (#232)
- 2bc0641 Fix unquoted key error during serialization. (#223)
- bdf9a34 Bump Microsoft.Extensions.Configuration.FileExtensions (#230)
HOCON 2.0.0
2.0.0 February 13 2020
- Add JSON serialization by implementing
ISerializable
. - Resolve
Config
containing a single empty object as an emptyConfig
. - Refactor
Hocon.Parser
class toHocon.HoconParser
for clarity. - Add
IEquitable<Config>
interface implementation toConfig
class. - Change
GetString()
,GetStringList()
,GetInt()
, andGetDouble()
throws on failure instead of returning a default value to conform to Hocon spec. - Add
TryGet[DataType]()
functions to all getters to eliminate as much Exception throwing as possible to improve performance. - Remove as much wrapping functions as possible to improve performance.
- Move
ConfigurationException
fromAkka.Configuration
toHocon
- Fix
Config.WithFallback()
with hocon files containing substitution failed to merge the fallbacks correctly.. - Hocon is now compatible with Hyperion serializer.
HOCON v1.3.3
1.3.3 January 27 2020
Bugfix release for HOCON v1.3.0
Key changes include:
You can see the full set of changes in the HOCON v1.3.3 milestone.
Changes:
- c22b2fa Merge pull request #209 from akkadotnet/dev
- 6597065 added v1.3.3 release notes (#208)
- ad7ff94 Akka.NET compatibility fixes (#204)
- ce2a551 Added spec + quick fix (#207)
This list of changes was auto generated.
HOCON v1.3.2
1.3.2 January 24 2020
Bugfix release for HOCON v1.3.0
Key changes include:
- Critical bugfix: Fallbacks are mutable during traversal
- Added HOCON Debugger tools
- Performance: Lookups on configs with fallback are performing merge and allocations each time
You can see the full set of changes in the HOCON v1.3.2 milestone.
Changes:
- fcf6951 Merge pull request #203 from akkadotnet/dev
- 305ed46 Update RELEASE_NOTES.md
- fdb2566 added v1.3.2 release notes (#202)
- 2261470 close #189 - make ConfigurationFactory.Load behavior backwards compatible (#201)
- cabbdde Fix config.Root calculation (#199)
- 506c709 Fix config internal Fallback mutation (#197)
- 8ec27ff HOCON Debugger tools (#192)
- 32ca43b fix string unquoting upon parse (#191) [ #190 ]
This list of changes was auto generated.
HOCON v1.3.1
1.3.1 January 22 2020
Bugfix release for HOCON v1.3.0
You can see the full set of changes in the HOCON v1.3.1 milestone.
Changes:
- 21a7b07 Merge pull request #188 from akkadotnet/dev
- 415228a added v1.3.1 release notes (#187)
- 452e155 Fixed merging of quoted keys with "invalid" characters (#186)
- 81339d4 Fix Clone method to perform deep cloning, and made fallback immutable (#185)
- d945735 Config.Root should contain fallback values (#181)
- 4216028 Create placeholder for nightly builds
- 09950ec add readme NuGet installation instructions
- 17a3785 close #85 - added nightly build definition. (#182)
- 8f2e63c Updated HoconValue.AtKey implementation (#180)
- c718aa0 Added test + fixed config deserialization (#179)
HOCON v1.3.0
1.3.0 January 14 2020
HOCON 1.3.0 contains some significant API changes:
- API parity with pre-existing Akka.NET HOCON implementation
- Added
HoconType.String
,HoconType.Number
,HoconType.Bool
, and removedHoconType.Literal
- now it's possible to discover data types more easily while inspecting individual HOCON objects. - Fixed: Need to be able to include Config fallback values to string representation
- Added SourceLink.Github support
For a set of complete bug fixes and changes, please see the HOCON v1.3.0 milestone on Github.
Changes:
- f287a0f Merge branch 'dev' into new-master
- e213c96 added v1.3.0 release notes (#169)
- d979e67 close #158 - added proper tags for NuGet packages (#170)
- 5682acb Test api changes (#165) [ #164, #163 ]
- 6d511c7 added SourceLink.Github support (#166)
- a2ad67d Bump FluentAssertions from 5.9.0 to 5.10.0 (#160)
- 560db07 Add config.ToString(bool useFallbackValues) overload to include fallback values (#162)
- 0b05f64 added v1.2.1 release notes (#154)
- 79fa720 fix-readme (#155)
- 85b23a9 simplify Microsoft.Extensions.Configuration dependencies so dependabot can update them more easily (#153)
See More
- 118c146 Bump Microsoft.Extensions.Configuration.FileExtensions (#135)
- 1734274 add default HOCON loading methods (#151) (#152)
- 320a57c Bump Microsoft.Extensions.Configuration from 3.0.1 to 3.1.0 (#133)
- 8153246 Bump Microsoft.Extensions.Configuration.Abstractions from 3.0.1 to 3.1.0 (#136)
- 463a59d Bump System.Collections.Immutable from 1.6.0 to 1.7.0 (#132)
- 36d6294 Overloads with values for HoconRoot getters (#144)
- 526e6de Fix config.ToString (#143)
- 48b90b4 Wrap all Config/HoconRoot getters with HoconValueException (#148)
- e832d51 Fix removing substitutions that are still to be resolved (#142)
- 581740f Added test for cyclic substitution loop error (#141)
- feea5e4 Fix racy ConfigReload spec (#150)
- 8216bd9 Revert "Update linux-pr-validation.yaml (#146)" (#149)
- e1619f9 Update linux-pr-validation.yaml (#146)
- 604b4ce Improve exception text when failed to parse TimeSpan value (#145)
- 48888a2 Fix arrays merge (#139)
- 37bacb8 Fixed merge for substitutions (#138)
- b9eb927 Fix parsing of quoted keys (#140)
- 223fe89 Bump System.Configuration.ConfigurationManager from 4.6.0 to 4.7.0 (#134)
- 06d6a9a Bump BenchmarkDotNet from 0.11.5 to 0.12.0 (#124)
- b834f88 Bump Microsoft.Extensions.Configuration.FileExtensions (#129)
- 8b77322 Bump Microsoft.Extensions.Configuration from 3.0.0 to 3.0.1 (#130)
- c04fe25 Bump Microsoft.Extensions.Configuration.Abstractions from 3.0.0 to 3.0.1 (#131)
- 8cacab5 Merge pull request #126 from akkadotnet/dependabot/nuget/Microsoft.NET.Test.Sdk-16.4.0
- 2985822 Bump Microsoft.NET.Test.Sdk from 16.3.0 to 16.4.0
- 311e0df Merge pull request #122 from akkadotnet/dependabot/nuget/System.Collections.Immutable-1.6.0
- 458b895 Bump System.Collections.Immutable from 1.5.0 to 1.6.0
This list of changes was auto generated.
HOCON v1.2.1
1.2.1 December 27 2019
HOCON 1.2.1 contains many minor bug fixes and behavioral changes.
Default HOCON loading order
Per issue 151, HOCON.Configuration
now looks for default HOCON content in the following places in the following order:
- [.NET Core / .NET Framework] An "app.conf" or an "app.hocon" file in the current working directory of the executable when it loads;
- [.NET Framework] - the
<hocon>
ConfigurationSection
insideApp.config
orWeb.config
; or - [.NET Framework] - and a legacy option, to load the old
<akka>
HOCON section for backwards compatibility purposes with all users who have been using HOCON with Akka.NET.
Bug fixes:
For a set of complete bug fixes and changes, please see the HOCON v1.2.1 milestone on Github.
Changes:
- 6cfd951 added v1.2.1 release notes (#154)
- 7e072a8 fix-readme (#155)
- fe6fd65 simplify Microsoft.Extensions.Configuration dependencies so dependabot can update them more easily (#153)
- 7ff5092 Bump Microsoft.Extensions.Configuration.FileExtensions (#135)
- 159aa83 add default HOCON loading methods (#151) (#152)
- 77461a7 Bump Microsoft.Extensions.Configuration from 3.0.1 to 3.1.0 (#133)
- 6b068f8 Bump Microsoft.Extensions.Configuration.Abstractions from 3.0.1 to 3.1.0 (#136)
- 8adaa5b Bump System.Collections.Immutable from 1.6.0 to 1.7.0 (#132)
- 1d81ae7 Fix config.ToString (#143)
- 3cca01a Wrap all Config/HoconRoot getters with HoconValueException (#148)
See More
- 6cbc4bb Fix removing substitutions that are still to be resolved (#142)
- f7806c2 Added test for cyclic substitution loop error (#141)
- 7feac50 Fix racy ConfigReload spec (#150)
- efb399a Revert "Update linux-pr-validation.yaml (#146)" (#149)
- c5d3c20 Update linux-pr-validation.yaml (#146)
- 016505f Improve exception text when failed to parse TimeSpan value (#145)
- 2e9f47f Fix arrays merge (#139)
- c386b2e Fixed merge for substitutions (#138)
- 6d14466 Fix parsing of quoted keys (#140)
- 77c7c0e Bump System.Configuration.ConfigurationManager from 4.6.0 to 4.7.0 (#134)
- 01bea1a Bump BenchmarkDotNet from 0.11.5 to 0.12.0 (#124)
- a58b216 Bump Microsoft.Extensions.Configuration.FileExtensions (#129)
- 865a001 Bump Microsoft.Extensions.Configuration from 3.0.0 to 3.0.1 (#130)
- 8bfcf6b Bump Microsoft.Extensions.Configuration.Abstractions from 3.0.0 to 3.0.1 (#131)
- f5a200e Bump Microsoft.NET.Test.Sdk from 16.3.0 to 16.4.0
- 795fdef Bump System.Collections.Immutable from 1.5.0 to 1.6.0
This list of changes was auto generated.