Closed graemerocher closed 2 years ago
Also broken in Reactor, RxJava 3 etc.
we should probably review if other modules have broken the catalog as well.
/cc @melix @timyates
For reference, this is how modules should be defined so that we properly inline entries: https://github.com/micronaut-projects/micronaut-rxjava2/pull/87
When migrating a module, we must make sure that all entries which are currently in the Micronaut BOM have an equivalent entry (with the same alias name) in the modules. Then when we import the module BOM in the catalog, we automatically inline those entries, avoiding breaking changes.
cc @timyates
@sdelamo Sorry, missed this one with my vacation 😢
The fix from @melix wasn't released https://github.com/micronaut-projects/micronaut-rxjava2/releases/tag/untagged-487a2c754a5c4ac81093 and I guess now we should target the 3.6.x branch as we're not going to see another 3.5.x? And switch this to 1.3.0?
Comparing the 3.6.x Catalog to the 3.4.x one, I can see we also are missing:
org.apache.kafka:kafka-clients
(which is renamed to kafka-clients in the 3.6.x catalog)org.liquibase:liquibase-core
org.apache.commons:commons-dbcp2
(which is now named commons-dbcp2 in the 3.6.x catalog)I will get the liquibase one added in, but @graemerocher what should we do with the 2 that have been renamed? The new names seem more sensible, but I realise this doesn't help with compatibility.
I will check 3.6.0 again once the above are in ☝️
With 3.6.0-SNAPSHOT, I can successfully switch back micronaut-tracing
to
--- a/tracing-core/build.gradle
+++ b/tracing-core/build.gradle
@@ -14,7 +14,7 @@ dependencies {
compileOnly libs.kotlinx.coroutines.reactor
testImplementation mn.reactor
- testImplementation "io.reactivex.rxjava2:rxjava"
+ testImplementation mn.rxjava2
testImplementation mn.micronaut.rxjava2.http.client
testImplementation mn.micronaut.reactor.http.client
Closing this as done
Expected Behavior
Importing the Micronaut Version Catalogu and using
mn.rxjava2
should resolve like in the Micronaut 3.4.x but this commit broke it https://github.com/micronaut-projects/micronaut-core/commit/ff52b313b2622852dee11d97a1342e2c61c3ef49Also applies to
mn.reactor
,mn.rxjava3
etc.Actual Behaviour
Steps To Reproduce
Import the 3.5.0 version catalog and use
mn.rxjava2
Environment Information
No response
Example Application
No response
Version
3.5.0