IoC ConfigRelease Notes

Versions

v1.1.2

  • New: ConfigClass.dumpFields() to dump more than @Config fields.
  • New: Config from secret.props files are added by default.
  • Chg: ConfigClass is no longer const.

v1.1.0

  • New: ConfigProviders may be contributed to ConfigSource.
  • New: Config from environment varaibles are added by default.
  • New: Config from a config.props file are added by default.
  • New: Environmental config properties override default config properties.
  • New: Now available in Javascript!
  • New: Added public ctor to ConfigSource.
  • Chg: Updated to work with IoC v3.
  • Chg: Config defaults to optional should the field be nullable.

v1.0.16

  • New: Added even more default ID options; the alphaNum search.
  • New: @Config.optional and ConfigSource.get(..., Bool checked) param for config values that might not exist.
  • Chg: Updated to IoC 2.0.0.
  • Chg: @Config is standalone, it no longer needs to be paired with @Inject.
  • Chg: Renamed IocConfigModule --> ConfigModule.

v1.0.14

  • New: Added more default ID options.
  • Chg: Updated to IoC 1.7.6.
  • Chg: Renamed IocConfigSource --> ConfigSource.
  • Chg: Removed ability to contribute your @Config facets. (An unused feature.)

v1.0.12

v1.0.10

v1.0.8

  • Chg: Updated to IoC 1.6.4 and removed dependencies on deprecated classes / methods.

v1.0.6

  • New: Unknown config ids are inferred from the field and pod name.
  • Chg: Updated to IoC 1.6.0.
  • Chg: Replaced ConcurrentState usage with new const TypeCoercer.

v1.0.4

  • Chg: Exposed the underlying config map in IocConfigSource.

v1.0.2

  • Chg: Updated to IoC 1.5.2.
  • Bug: IocConfigSource.get() threw an Err if coerceTo type was null.

v1.0.0

  • New: @Config has a default id of the field name it is being injected into.
  • New: ConfigProvider can be configured with bespoke Config facets. (As used by BedSheet.)
  • Chg: Removed ConfigSource.getCoerced() in favour of a default value in ConfigSource.get().
  • Chg: Upgraded to IoC 1.5.0.

v0.0.2

  • New: Preview Release