Skip to content

Carbon Config 1.1.0

Compare
Choose a tag to compare
@Speiger Speiger released this 15 Feb 12:11
· 16 commits to master since this release

Refactoring of the IConfigProxy system. (Breaking change)

This refactoring was necessary due to how proxies worked before and how they should work instead.
The original System was a Stack Based System that would create configs based on the stack and always load the top level.
Which basically was a useless implementation.

New System provides you with the ConfigFile path and you can decide which entry to load instead.
You can technically parse the config, check for a entry and then unload it again to figure out which one to load instead.

Changelog:

  • Changed: IConfigProxy now returns a Path instead of a list of Paths.
  • Changed: IConfixProxy gets the relative config file to test against.
  • Removed: The Stack System now is deleted since it wasn't useful to begin with.
  • Updated: Examples