Search code examples
guiceguice-3

Is guice 4.0 backwards compatible with 3.x?


Is guice 4.0 backwards compatible with 3.x? Cannot figure it out from the release-notes or FAQ...

If not, is there a list of compatibility issues somewhere?


Solution

  • I haven't any official source but from my experience there isn't any compatibility issue.

    I use several guice features (bindings, provider, scopes...) and some extensions (assisted injection, multibindings, custom scopes).

    I switched from guice 3.0 to guice 4.0-beta4 (then 4.0-beta5, 4.0) without any problem. My initial motivation was the java-8 support of the new version.