-
Notifications
You must be signed in to change notification settings - Fork 2k
Comparing changes
Open a pull request
base repository: google/dagger
base: dagger-2.56.1
head repository: google/dagger
compare: dagger-2.56.2
- 19 commits
- 108 files changed
- 5 contributors
Commits on Mar 25, 2025
-
Update Dagger yml and README with new latest version number.
RELNOTES=N/A PiperOrigin-RevId: 740488311
Configuration menu - View commit details
-
Copy full SHA for 515601c - Browse repository at this point
Copy the full SHA 515601cView commit details
Commits on Mar 26, 2025
-
[XPoet Migration]: Migrate more CodeBlock usages to XCodeBlock.
RELNOTES=N/A PiperOrigin-RevId: 740802635
Configuration menu - View commit details
-
Copy full SHA for 59a6734 - Browse repository at this point
Copy the full SHA 59a6734View commit details
Commits on Mar 27, 2025
-
[XPoet Migration]: Migrate more CodeBlock usages to XCodeBlock.
RELNOTES=N/A PiperOrigin-RevId: 741161983
Configuration menu - View commit details
-
Copy full SHA for abc6458 - Browse repository at this point
Copy the full SHA abc6458View commit details -
RELNOTES=n/a PiperOrigin-RevId: 741219198
Configuration menu - View commit details
-
Copy full SHA for c6e37c0 - Browse repository at this point
Copy the full SHA c6e37c0View commit details -
Remove #delayErrors() from processing step.
This feature was originally added to allow Hilt to continue processing and potentially generate files that would otherwise show up as missing symbols and potentially pollute the error logs. However, the implementation of this feature doesn't work with KSP2 which will crash if elements are accessed outside of the round they were created. We could work around this issue by storing identifying information about elements (e.g. parameter name -> method signature -> class name) to recreate elements in the current round; but we decided to just remove this feature since it's not clear it has a lot of benefit. RELNOTES=N/A PiperOrigin-RevId: 741279228
Configuration menu - View commit details
-
Copy full SHA for 6beec64 - Browse repository at this point
Copy the full SHA 6beec64View commit details
Commits on Mar 31, 2025
-
Add memoization to
BindingGraph#dependencyGraph().This method is private, but is called from the public method `BindingGraph#entryPointEdgesDependingOnBinding(MaybeBinding)` and without memoization will create a new (identical) graph each time it's called. RELNOTES=N/A PiperOrigin-RevId: 742410107
Configuration menu - View commit details
-
Copy full SHA for 292eb6f - Browse repository at this point
Copy the full SHA 292eb6fView commit details
Commits on Apr 1, 2025
-
Replace KSP1 usages in Dagger/Hilt compiler tests with KSP2.
RELNOTES=N/A PiperOrigin-RevId: 742453757
Configuration menu - View commit details
-
Copy full SHA for da35c51 - Browse repository at this point
Copy the full SHA da35c51View commit details -
RELNOTES=n/a PiperOrigin-RevId: 742852939
Configuration menu - View commit details
-
Copy full SHA for 270cdfd - Browse repository at this point
Copy the full SHA 270cdfdView commit details
Commits on Apr 2, 2025
-
[XPoet Migration]: Migrate TypeSpec usages to XTypeSpec.
This CL also creates a wrapper class for XTypeSpec.Builder, which has a few benefits: 1. Has method overloads for both JavaPoet and XPoet 2. Has method API that is very similar to JavaPoet 3. Allows adding in functionality specific to all Dagger generated types (e.g. setting common default values for all of the builders). The first two benefits are mostly for migration purposes, but my thought is that we'll likely keep these builders around even after the migration because it just makes it easier to customize the API to Dagger's needs. RELNOTES=N/A PiperOrigin-RevId: 743193970
Configuration menu - View commit details
-
Copy full SHA for 7c4622d - Browse repository at this point
Copy the full SHA 7c4622dView commit details -
[XPoet Migration]: Migrate remaining TypeSpec to XTypeSpec.
RELNOTES=N/A PiperOrigin-RevId: 743228588
Configuration menu - View commit details
-
Copy full SHA for 592ff20 - Browse repository at this point
Copy the full SHA 592ff20View commit details
Commits on Apr 3, 2025
-
PiperOrigin-RevId: 743682120
Configuration menu - View commit details
-
Copy full SHA for 9d2fda1 - Browse repository at this point
Copy the full SHA 9d2fda1View commit details
Commits on Apr 8, 2025
-
[XPoet Migration]: Migrate all MethodSpec to XFunSpec.
This CL adds a new utility class, `XFunSpecs.java`, which includes a wrapper of `XFunSpec.Builder` to expose an API that's easier for migration. In particular, the wrapper is very similar to JavaPoet's API, and it allows setting input as both JavaPoet and/or XPoet. The JavaPoet APIs are marked as `@Deprecated` and they will be cleaned up in a future CL. RELNOTES=N/A PiperOrigin-RevId: 745249141
Configuration menu - View commit details
-
Copy full SHA for dc3a8b3 - Browse repository at this point
Copy the full SHA dc3a8b3View commit details
Commits on Apr 9, 2025
-
RELNOTES=N/A PiperOrigin-RevId: 745621882
Configuration menu - View commit details
-
Copy full SHA for 7a92bc8 - Browse repository at this point
Copy the full SHA 7a92bc8View commit details
Commits on Apr 11, 2025
-
This was motivated by #4658. The lock file has [a few benefits](https://github.com/bazel-contrib/rules_jvm_external?tab=readme-ov-file#pinning-artifacts-and-integration-with-bazels-downloader): * Explicitly keeps track of versions (which might be different than the versions we declare in MODULE.bazel). * Verifies artifacts against their checksums * Improves caching of external dependencies. RELNOTES=N/A PiperOrigin-RevId: 746316091
Configuration menu - View commit details
-
Copy full SHA for b3ba9b3 - Browse repository at this point
Copy the full SHA b3ba9b3View commit details -
Pin Guava to version 33.0.0 specified in MODULE.bazel.
Fixes #4658 Typically, this shouldn't be an issue because we declared Guava 33.3.1 in [Dagger's pom file](https://repo1.maven.org/maven2/com/google/dagger/dagger-compiler/2.56.1/dagger-compiler-2.56.1.pom), which should force downstream users to get the upgraded dependency. However, a bug in Gradle (https://youtrack.jetbrains.com/issue/KT-76388) is currently pulling in Guava 32.1.2 onto the ClassLoader first resulting in the following error: ``` java.lang.NoSuchMethodError: 'com.google.common.collect.ImmutableSet com.google.common.graph.Graphs.reachableNodes(com.google.common.graph.Graph, java.lang.Object)' ``` RELNOTES=Fixes #4658: Pin version of Guava to the one specified in our maven.install (i.e. v33.0.0). PiperOrigin-RevId: 746529208
Configuration menu - View commit details
-
Copy full SHA for 9fc3df4 - Browse repository at this point
Copy the full SHA 9fc3df4View commit details
Commits on Apr 16, 2025
-
Disable ad-hoc support for type-use nullability on generated jave typ…
Configuration menu - View commit details
-
Copy full SHA for 5d59aed - Browse repository at this point
Copy the full SHA 5d59aedView commit details -
[XPoet Migration]: Migrate FieldSpec to XPropertySpec.
This CL adds a new utility class, XPropertySpecs.java, which includes a wrapper of XPropertySpec.Builder to expose an API that's easier for migration. In particular, the wrapper is very similar to JavaPoet's API, and it allows setting input as both JavaPoet and/or XPoet. The JavaPoet APIs are marked as @deprecated and they will be cleaned up in a future CL. RELNOTES=N/A PiperOrigin-RevId: 748332454
Configuration menu - View commit details
-
Copy full SHA for cccec89 - Browse repository at this point
Copy the full SHA cccec89View commit details -
[XPoet Migration]: Migrate ParameterSpec to XParameterSpec.
RELNOTES=N/A PiperOrigin-RevId: 748367336
Configuration menu - View commit details
-
Copy full SHA for 96e755c - Browse repository at this point
Copy the full SHA 96e755cView commit details -
Dagger Team committed
Apr 16, 2025 Configuration menu - View commit details
-
Copy full SHA for cb98d97 - Browse repository at this point
Copy the full SHA cb98d97View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff dagger-2.56.1...dagger-2.56.2