Skip to content

v2.5

Compare
Choose a tag to compare
@ybainier ybainier released this 15 Nov 09:22
· 13 commits to master since this release

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).