kangaru v4.0.0 Release Notes

Release Date: 2017-12-11 // over 4 years ago
  • I'm happy to announce that kangaru 4.0.0 is officially out!

    ๐Ÿ‘ Kangaru is an inversion of control container for C++11 and later. We support features like operation between containers, injection via function parameter, automatic call of member function on instance creation and much more!

    Our goal is to create a container capable of automatic, recusive dependency injection. We also want to do most diagnostics at compile time, while keeping the simplest interface possible. On top of that, we don't want to be intrusive into user/library code.

    For more information, please take our readme a tour!

    A great number of things has changed, and some of those are breaking changes. We still want the transition to be as smooth as possible, so we added a compatibility header that cover most of cases, and a migration guide.

    • A new naming convention has been chose to more closely match STL and Boost #46
    • ๐Ÿšš The old service map support has been removed
    • ๐Ÿ“š Documentation has been almost completely rewritten
    • ๐Ÿ“š Examples now reflect more closely code snippet found in documentation
    • Compiler requirements have been pushed back to GCC 5.4 and Clang 3.6
    • โž• Added final services #27
    • type_id is now more stable #45
    • โž• Added unit tests and continuous integration #26
    • Single service don't use virtual call anymore, and enable polymorphism only if needed #22
    • Multiple service maps can be sent to the container to map parameter to services #33
    • Autocall can be enabled for any service in a simple manner #36
    • โž• Added supplied services
    • Simplified kgr::generic_service and making custom services

    ๐Ÿ“š If you're interested to read more about kangaru, please visit our documentation