Skip to content

Feature Release 4.3.0

Compare
Choose a tag to compare
@gracicot gracicot released this 13 Feb 18:48
· 37 commits to master since this release

Finally after much efforts and time, I'm happy to announce that the version 4.3.0 of kangaru, the C++11 and C++14 dependency injection container has been released!

For those who are new here, kangaru is an inversion of control container for C++11, C++14 and later. We support features like operation between containers, injection via function parameter, automatic call of member function on instance creation, autowiring and more. Please visit our README and our documentation for more informations.

It's a library that helps automating the wiring of classes in order to make dependency injection easier and less prone to source breaking changes when refactoring.

In this version, we added several new features to this library. Here are the highlights:

  • Added a hash based type id, stable between compiler and dlls. Must be activated using -DKANGARU_HASH_TYPE_ID=On #97
  • Prohibited circular dependencies when using kgr::autowire #87
  • Added kgr::optional, an optional type able to handle reference types, intended to be used with service types #72

Thanks to all of you who reported issues and discussed with us. This has contributed to make this library better and to cover more use cases.

Feedback and contributions are welcome. Thanks for considering kangaru! 🦘