Guice510
Googler edited this page Jan 31, 2022
·
2 revisions
Guice 5.1.0
Released Jan, 24th, 2022.
Maven
Guice:
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>5.1.0</version>
</dependency>Extensions:
<dependency>
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-${extension}</artifactId>
<version>5.1.0</version>
</dependency>Downloads
- Guice: guice-5.1.0.jar
- Guice extensions are all directly downloadable from this search page. Just click on the "jar" link for the appropriate extension.
Docs
Changes since Guice 5.0.1
This minor release adds support for Java 17.
Details
See https://github.com/google/guice/compare/5.0.1...5.1.0 for a complete list of changes.
Guice Core
- Java 17 support: updated asm version and fixed unsafe class defining to work with Java 17.
- Support
TYPE_USEtype@Nullableannotations. - Improved multibinding to avoid unnecessary linked binding.
- Added API to access
InterceptorBindingsin SPI. - Removed
COMPLETEoption forguice_include_stack_tracesflag.
AssistedInject
- Fixed JDK17+ private lookup behavior.
Dagger Adapter
- Instantiate modules if necessary in
DaggerAdapter.
Servlet
- Fixed bug in
UriEncoderthat interpreted and stripped numeric prefixes.
Migrating from 5.0.1
See the JDiff change report for complete details.
-
User's Guide
-
Integration
-
Extensions
-
Internals
-
Releases
-
Community