8000 Comparing dagger-2.53.1...dagger-2.54 · google/dagger · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
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.53.1
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.54
Choose a head ref
  • 12 commits
  • 145 files changed
  • 5 contributors

Commits on Dec 9, 2024

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

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

Commits on Dec 13, 2024

  1. Internal changes

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

Commits on Dec 18, 2024

  1. Fix warnings about instantiating new boxed primitives.

    These constructors are deprecated for removal in upcoming java versions, and are currently giving the following warning:
    
    ```
    third_party/java_src/dagger/project/javatests/dagger/functional/basic/BasicTest.java:64: warning: [removal] Byte(byte) in Byte has been deprecated and marked for removal
        assertThat(basicComponent.getBoxedByte()).isEqualTo(new Byte(BOUND_BYTE));
    ```
    
    We only call these in a single test and AFAICT they aren't necessary or relevant to what this test is trying to assert so I'm removing them.
    
    RELNOTES=N/A
    PiperOrigin-RevId: 707550777
    bcorso authored and Dagger Team committed Dec 18, 2024
    Configuration menu
    Copy the full SHA
    972c8d3 View commit details
    Browse the repository at this point in the history
  2. Migrate FrameworkType and FrameworkField to XPoet.

    This CL:
    
      * Migrates `FrameworkField` to XPoet
      * Migrates `FrameworkType` to XPoet
      * Adds `XTypeNames` -- a version of `TypeNames` compatible with XPoet.
      * Adds legacy `toJavaPoet()` calls where needed. These will be cleaned up in future CLs as we migrate the corresponding usages to use XPoet.
    
    #dagger-xpoet-migration
    
    RELNOTES=N/A
    PiperOrigin-RevId: 707570301
    bcorso authored and Dagger Team committed Dec 18, 2024
    Configuration menu
    Copy the full SHA
    6ee6092 View commit details
    Browse the repository at this point in the history
  3. Change Dagger-genenerated factories to have an additional create meth…

    …od that takes in `dagger.internal.Provider` types. Since the components already pass in `dagger.internal.Provider` types, this will automatically make those components use the new method even though the component code hasn't change.
    
    `javax.inject.Provider` methods are left to solve linking errors across Dagger versions. These methods will be removed in the future though.
    
    RELNOTES=Make factory classes use `dagger.internal.Provider`.
    PiperOrigin-RevId: 707611594
    Chang-Eric authored and Dagger Team committed Dec 18, 2024
    Configuration menu
    Copy the full SHA
    d60729d View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2024

  1. Internal changes

    RELNOTES=N/A
    PiperOrigin-RevId: 707697739
    bcorso authored and Dagger Team committed Dec 19, 2024
    Configuration menu
    Copy the full SHA
    5e50a92 View commit details
    Browse the repository at this point in the history
  2. Update Dagger to use Android SDK 34.

    Dagger was using SDK 32, but that is no longer shipped with GitHub Actions by default.
    
    https://github.com/google/dagger/actions/runs/12416363360/job/34664836067
    
    RELNOTES=N/A
    PiperOrigin-RevId: 707984837
    bcorso authored and Dagger Team committed Dec 19, 2024
    1 Configuration menu
    Copy the full SHA
    fe9a2f9 View commit details
    Browse the repository at this point in the history
  3. Update Dagger's XProcessing jars.

    The update pulls in a fix for #4533, which fixes the path separator for Windows when creating LazyClassKey proguard file.
    
    Fixes #4533
    
    RELNOTES=Fixes #4533: Fixes path separator for Windows when creating LazyClassKey proguard file.
    PiperOrigin-RevId: 707997428
    bcorso authored and Dagger Team committed Dec 19, 2024
    Configuration menu
    Copy the full SHA
    efa421a View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2024

  1. Remove private from generated Factory's INSTANCE field.

    Fixes #4544
    
    Background: Dagger's generated factory has an optimization to lazy load a singleton instance of the factory when there are no dependencies:
    
    ```
    public final class Foo_Factory implements Factory<Foo> {
      public static Foo_Factory create() {
        return InstanceHolder.INSTANCE;
      }
    
      private static final class InstanceHolder {
        private static final Foo_Factory INSTANCE = new Foo_Factory();
      }
    }
    ```
    
    The `private` modifier on the `INSTANCE` field is not needed and can add extra overhead as described in #4544. Removing the `private` modifier is also needed once we start generating Kotlin sources since accessing a `private` field on a nested class in kotlin source is a kotlinc error.
    
    RELNOTES=Fixes #4544: Removes private from InstanceHolder field.
    PiperOrigin-RevId: 708101532
    bcorso authored and Dagger Team committed Dec 20, 2024
    Configuration menu
    Copy the full SHA
    07d8f88 View commit details
    Browse the repository at this point in the history
  2. Add Nullmarking to Components

    RELNOTES=Expand Nullmarking
    PiperOrigin-RevId: 708266599
    java-team-github-bot authored and Dagger Team committed Dec 20, 2024
    Configuration menu
    Copy the full SHA
    013a9a4 View commit details
    Browse the repository at this point in the history
  3. Update Hilt Gradle Plugin KSP configuration to support KSP2

    The plugin does per-variant / per-platform configuration by adding a CommandLineArgumentProvider to the KSP task, with KSP2 the task class is different and does not implement the KSP1 base class. This CL updates the plugin integration to find and also configure the KSP2 task.
    
    Fixes #4303
    
    RELNOTES=Upgrade Hilt Gradle Plugin to support KSP2 configuration.
    PiperOrigin-RevId: 708292642
    danysantiago authored and Dagger Team committed Dec 20, 2024
    Configuration menu
    Copy the full SHA
    76b5819 View commit details
    Browse the repository at this point in the history
  4. 2.54 release

    Dagger Team committed Dec 20, 2024
    Configuration menu
    Copy the full SHA
    bf4b96e View commit details
    Browse the repository at this point in the history
Loading
0