Releases: ybainier/Hypodermic
Releases · ybainier/Hypodermic
v2.5.3
v2.5.2
Changes
- [BREAKING] The container builder will no longer static assert that a base type is already registered or not.
- A log at warn level will be appended if a base type fails to get registered when it already is.
Bug fixes
- Fix mixed up base type registration by both type and name.
v2.5.1
v2.5
Changes
- Introduce container validation that allows to check that everything registered in the container can be resolved.
- Introduce
Behavior
to configure the runtime registration mechanism. - [BREAKING] The container will throw an exception when a component cannot be resolved; it used to return
nullptr
. Therefore, it encourages devs to provide noop components instead of constructing objects with invalid dependencies.
Bug fixes
- Fix resolution through more than one nested container.
- Fix pkg-config support (Thanks to Paul Kunysch @pck).