Comments (13)
+1
from dagger.
+1
from dagger.
π Dagger 2 is not ready for non SNAPSHOT release, as we all can see because of issues like #108 mentioned by @mgrzechocinski which are breaking the API.
I agree, that Dagger team can release snapshot with versioning according to Semantic Versioning v2.0.0 , it will be great.
If you want stability from SNAPSHOT β download jars from mavenCentral and put them into your projects, don't let your build system to change things on the fly.
from dagger.
+1 Had an issue with the latest push to snapshot - still trying to boil it down into a simple example for an issue request...
from dagger.
No. If you don't want a snapshot version to break your code then don't depend on it. There's plenty of other safe, hermetic ways to get Dagger 2 into your app. This is a terrible request to make.
from dagger.
What are the "other safe and hermetic ways to get Dagger2 into your app"? Hope you won't ask us to keep Dagger2 jar within source code like in old 90ies...
I'm not against developing software under SNAPSHOT in overall. It's extremely useful in some situations, especially when working on multi-module apps. I also know, that depending on a SNAPSHOT might break my code, I'm aware of it.
I just think that Dagger2, as feature completed library is no longer a SNAPSHOT and should be released with fixed versions, so that real projects (=not simple examples) which can give you a real feedback won't break after ones push new version. Alpha, Beta, RC, there are plenty of classifiers to use until releasing as final v2.0.
from dagger.
Why do you think it's feature complete? Features are landing in every sync from Google's internal repo.
from dagger.
I pointed to Gregory's presentation when opening this request and also trying to be up to date with the latest commits.
from dagger.
I'll tell the next pull request to watch the presentation. Deploy a jar to your internal artifact repository or check it in temporarily. These types of issues is what makes people burn out on open source and should be closed with extreme prejudice.
from dagger.
I watched it and because I used Dagger1 a lot, I decided to switch to v2.
Frankly, what makes me personally burnt out on OS is trying to help by giving feedback from a real project and failing it under random&unclear circumstances just because you can't use 0.x, Alpha, Beta or any other versioning rule, saying "don't depend on it".
I'll check-in previous JAR version, feeling like in ANT times. EOT for me.
from dagger.
Who said "don't depend on it"? If you depend on a snapshot, you have explicitly opted in to breaking changes without notice. Stop blaming others and just fix your build.
from dagger.
@mgrzechocinski How about using timestamped snapshots [1] with a repository manager (to make sure it's not pruned from the repository; you set your own strategy rather than relying on the Sonatype OSS one)
Or you can βforkβ and release/deploy non-snapshots you can rely on (or snapshots under your own coordinates; the idea being that you choose when you update).
[1] Maven has mvn versions:lock-snapshots
, there might be equivalent plugins for Gradle (maybe nebula.dependency-lock
would do it)
from dagger.
We will be releasing a stable 2.0 shortly.
from dagger.
Related Issues (20)
- @HiltViewModel Unit test problem. HOT 2
- WorkerAssistedFactories are not created on APK builds HOT 5
- Getting `Unexpected annotation value: TransformedVisibilityMarker` error during unit test HOT 5
- @BindsInstance on Component.Factory supertype lambda parameters HOT 1
- SecurityException when trying to run UI test with hilt and Jetpack Compose on Android 14 HOT 3
- BadParcelableException in Activity onCreate HOT 3
- Dagger 2.50 KSP fails to generate field in implementation for a @Named field HOT 2
- Conflicting documentation for dagger.android and Hilt optional inject HOT 3
- [KSP] dagger-android hanging indefinitely on a large multi module project HOT 2
- Optional bindings in a parent component can sometimes use bindings from child components HOT 2
- NullPointerException dagger.spi.shaded.androidx.room.compiler.processing.XTypeElement.getAnnotation HOT 6
- Problem with Injection of DAO HOT 1
- error: [Hilt] Could not get element for com.foo.viewModels.FooViewModel_HiltModules.BindsModule: java.lang.NullPointerException HOT 1
- Missing release notes for 2.51 HOT 1
- `LazyClassKey` doesn't work when providing a `Map<Class<*>, Provider<?>` with a scope
- @AssistedInject in ViewModel using Dagger (NOT Hilt, just dagger) does not compile: cannot be provided without an @Inject constructor or an @Provides-annotated method HOT 6
- [issue] Dagger doesn't compile or doesn't give a right error message when ViewModelFactory is implemened on Kotlin rather than on Java HOT 4
- Having an issue with Dagger Hilt Proguard Rules HOT 12
- Following dagger.dev tutorial doesnt create singleton in v2.51 HOT 2
- Multibinding with Nested Complex Keys uses the wrong AnnotationCreator HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dagger.