Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: google/dagger
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dagger-2.54
Choose a base ref
...
head repository: google/dagger
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dagger-2.55
Choose a head ref
  • 13 commits
  • 69 files changed
  • 4 contributors

Commits on Dec 23, 2024

  1. Update Dagger yml and README with latest version number.

    RELNOTES=N/A
    PiperOrigin-RevId: 709094695
    bcorso authored and Dagger Team committed Dec 23, 2024
    Configuration menu
    Copy the full SHA
    e9e8deb View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2024

  1. Migrating ClassName to XClassName as part of the migration to XPoet.

    There's more to migrate, this is only a first pass migrating most of SourceFiles and the APIs that call into it.
    
    RELNOTES=N/A
    PiperOrigin-RevId: 710093844
    bcorso authored and Dagger Team committed Dec 27, 2024
    Configuration menu
    Copy the full SHA
    3ac3681 View commit details
    Browse the repository at this point in the history
  2. Support injecting jakarta.inject.Provider type in the places `javax…

    ….inject.Provider` can be used.
    
    RELNOTES=Support injecting `jakarta.inject.Provider`
    PiperOrigin-RevId: 710101199
    Chang-Eric authored and Dagger Team committed Dec 27, 2024
    Configuration menu
    Copy the full SHA
    caa7e17 View commit details
    Browse the repository at this point in the history
  3. Fix LazyClassKey proguard file issues.

      * Fixes the name of the proguard file to contain an underscore between the package and simple names (e.g. `test.FooModule` was `testFooModule_LazyClassKeys.pro` and is now `test_FooModule_LazyClassKeys.pro`).
      * Fixes incremental processing by adding the originating element to the `writeResource` call (#4549).
      * Fixes bug where `StringBuilder` was declared outside module for-loop, which could lead to duplicate entries across proguard rules for different modules.
      * Fixed `ClassName#toString()` usage to `ClassName#canonicalName()`, since `toString()` is ambiguous and will silently break things when we migrate to `XClassName`.
      * Added test coverage for the proguard file name and contents.
    
    Fixes #4549
    
    RELNOTES=Fixes #4549: Fixes incremental processing for LazyClassKey proguard files by adding the originating element to the `writeResource` call.
    PiperOrigin-RevId: 710126913
    bcorso authored and Dagger Team committed Dec 27, 2024
    Configuration menu
    Copy the full SHA
    98a0275 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2024

  1. Initial setup of Gradle as a build system for Dagger

    At the repository root, the root project 'dagger-parent' configures common build functionality and includes the various projects that will be placed 'gradle-projects', for now only the runtime is configured.
    
    The buildSrc directory is a special Gradle sub-project to share common build logic between sub-projects, it will become more useful in time as the projects gets more complex and shared build logic is needed.
    
    Dependencies and versions are defined in a Version Catalog in gradle/libs.versions.toml, these will eventually need to be validated to be in-sync with Bazel's WORKSPACE.
    
    RELNOTES=N/A
    PiperOrigin-RevId: 710702061
    danysantiago authored and Dagger Team committed Dec 30, 2024
    Configuration menu
    Copy the full SHA
    c43783a View commit details
    Browse the repository at this point in the history
  2. Add Github CI step and action for building with Gradle

    The Gradle projects is configured to use JDK 18 toolchain so a new env variable is added for it.
    
    RELNOTES=N/A
    PiperOrigin-RevId: 710748526
    danysantiago authored and Dagger Team committed Dec 30, 2024
    Configuration menu
    Copy the full SHA
    1620e92 View commit details
    Browse the repository at this point in the history
  3. Add flag to control LegacyBindingGraphFactory usage.

    For now, the flag's default is set to enabled to keep the functionality the same as before. However, in a future release (likely 2.55) we will flip the default to `disabled`.
    
    The new `BindingGraphFactory` contains many bug fixes that still exist in the `LegacyBindingGraphFactory`. However, the new `BindingGraphFactory` does have some behavior changes that may affect users. The biggest change is that we no longer allow a module binding installed in a component to float to a subcomponent to satisfy missing bindings. See the javadoc in `CompilerOptions` for more details.
    
    RELNOTES=N/A
    PiperOrigin-RevId: 710805160
    bcorso authored and Dagger Team committed Dec 30, 2024
    Configuration menu
    Copy the full SHA
    0927b9a View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2025

  1. Move JDK toolchain, Kotlin language and JVM target configuration to c…

    …onvention plugin.
    
    Also trying to keep libs.versions.toml ordered alphabetically.
    
    RELNOTES=N/A
    PiperOrigin-RevId: 711866498
    danysantiago authored and Dagger Team committed Jan 3, 2025
    Configuration menu
    Copy the full SHA
    3418609 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2025

  1. Wire resource configuration while keeping the Bazel project structure.

    RELNOTES=N/A
    PiperOrigin-RevId: 712608237
    danysantiago authored and Dagger Team committed Jan 6, 2025
    Configuration menu
    Copy the full SHA
    9daa0ae View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2025

  1. Add maven publish plugin to Gradle projects.

    Only adds the plugin and POM configuration enabling publishing to local repository, not yet configured for actual world publishing.
    
    RELNOTES=N/A
    PiperOrigin-RevId: 713019870
    danysantiago authored and Dagger Team committed Jan 7, 2025
    1 Configuration menu
    Copy the full SHA
    8b4f9b6 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2025

  1. Add documentation for dagger.useBindingGraphFix compiler option.

    In addition to adding documentation, this CL changes the compiler option name from `useLegacyBindingGraphFactory` to `useBindingGraphFix` to flip the default (it's more intuitive when disabled means "old behavior" and enabled means "new behavior") and to give the name more meaning from a user's perspective (useLegacyBindingGraphFactory likely doesn't mean much for users).
    
    RELNOTES=N/A
    PiperOrigin-RevId: 713455646
    bcorso authored and Dagger Team committed Jan 9, 2025
    Configuration menu
    Copy the full SHA
    4cd83cb View commit details
    Browse the repository at this point in the history
  2. Add binary compatibility validator to the Gradle projects

    The validator (https://github.com/Kotlin/binary-compatibility-validator) will help us track public API changes and validate that the conversion from Java to Kotlin does not cause any breakage.
    
    API validation is part of the Gradle build process and will fail the build if API changes are done but not reflected in the API file. To update the API file execute `./gradlew apiDump` and commit the .api file for review along with the code changes.
    
    RELNOTES=N/A
    PiperOrigin-RevId: 713662828
    danysantiago authored and Dagger Team committed Jan 9, 2025
    Configuration menu
    Copy the full SHA
    7ca9977 View commit details
    Browse the repository at this point in the history
  3. 2.55 release

    Dagger Team committed Jan 9, 2025
    Configuration menu
    Copy the full SHA
    14ad560 View commit details
    Browse the repository at this point in the history
Loading