embedded_config 0.4.1
embedded_config: ^0.4.1 copied to clipboard
Allows application configurations to be embedded directly into source code at build-time, to solve the problem of needing different configurations per build environment.
0.4.1 #
- Updated
analyzerdependency to>=5.2.0 <6.0.0(was>=2.0.0 <4.0.0). - Updated
source_gendependency to^1.2.0(was^1.0.0).
0.4.0 #
- Updated
analyzerdependency to>=2.0.0 <4.0.0(was^1.0.0).
0.3.0+1 #
- No code changes, added a description for what purpose this package is intended for.
0.3.0 #
- (breaking change) Migrated to null-safety.
- (breaking change) When
nullis provided for a config key that maps to a config class, that property will be set tonullnow instead of an instance of that class with allnullproperties (Note: This does not happen for non-nullable properties as those are considered 'required' in this release). - (breaking change) The escape character for the environment variable prefix is now
\instead of a second$. This allows for the case where an environment variable's name starts with a$, which previously was impossible to embed. - (breaking change) Private getters will now look for a configuration key without the leading
_present in private Dart identifiers. Use the new@EmbeddedPropertyNameannotation to map the old way. - Support the new
@EmbeddedPropertyNameannotation to let a key other than the property name in Dart to be used for that property's configuration key. - Getter types can now be
dynamic. - Changed minimum SDK version to
2.12.0. - Package dependency changes (for
embedded_config):analyzer:>=0.32.4 <0.40.0->^1.0.0build:^1.0.0->^2.0.0code_builder:^3.2.0->^4.0.0source_gen:^0.9.0->1.0.0
0.2.0 #
- Support for
embedded_config_annotationsv0.2.0.
0.1.3 #
- Non-abstract getters are now ignored when generating the embedded config class.
0.1.2 #
- Fix usage of multiple configuration sources with embedded configs mapped to specific paths not working.
0.1.1 #
- Address a few package scoring issues including public API documentation.
0.1.0 #
- Configuration can now be sourced from JSON files and/or inline build.yaml.
- Build errors now specify the language element which caused the error.
- Added support for numeric configuration values.
- Added support for non-string-only lists.
- Added support for environment variables.