From f5f9f46a61918fa224b8239f46f044691d627ccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Alarc=C3=B3n?= <33580722+paualarco@users.noreply.github.com> Date: Sun, 13 Nov 2022 09:03:59 +0000 Subject: [PATCH] Removes akka connector (#982) --- build.sbt | 8 +++----- docs/dynamo.md | 2 +- docs/elasticsearch.md | 2 +- docs/gcs.md | 2 +- docs/hdfs.md | 2 +- docs/mongodb.md | 2 +- docs/overview.md | 2 +- docs/parquet.md | 2 +- docs/redis.md | 2 +- docs/s3.md | 2 +- docs/sqs.md | 2 +- project/Dependencies.scala | 2 -- 12 files changed, 13 insertions(+), 17 deletions(-) diff --git a/build.sbt b/build.sbt index 5335cd179..5c5d98769 100644 --- a/build.sbt +++ b/build.sbt @@ -163,10 +163,8 @@ lazy val monixConnect = (project in file(".")) .configs(IntegrationTest, IT) .settings(sharedSettings()) .settings(name := "monix-connect") - .aggregate(akka, dynamodb, parquet, gcs, hdfs, mongodb, redis, s3, sqs, elasticsearch, awsAuth) - .dependsOn(akka, dynamodb, parquet, gcs, hdfs, mongodb, redis, s3, sqs, elasticsearch, awsAuth) - -lazy val akka = monixConnector("akka", Dependencies.Akka) + .aggregate(dynamodb, parquet, gcs, hdfs, mongodb, redis, s3, sqs, elasticsearch, awsAuth) + .dependsOn(dynamodb, parquet, gcs, hdfs, mongodb, redis, s3, sqs, elasticsearch, awsAuth) lazy val dynamodb = monixConnector("dynamodb", Dependencies.DynamoDb).aggregate(awsAuth).dependsOn(awsAuth % "compile->compile;test->test") .settings(libraryDependencies ++= (CrossVersion.partialVersion(scalaVersion.value) match { @@ -276,7 +274,7 @@ lazy val skipOnPublishSettings = Seq( lazy val mdocSettings = Seq( scalacOptions --= Seq("-Xfatal-warnings", "-Ywarn-unused"), crossScalaVersions := Seq(scalaVersion.value), - unidocProjectFilter in (ScalaUnidoc, unidoc) := inProjects(akka, parquet, dynamodb, s3, sqs, elasticsearch, gcs, hdfs, mongodb, redis), + unidocProjectFilter in (ScalaUnidoc, unidoc) := inProjects(parquet, dynamodb, s3, sqs, elasticsearch, gcs, hdfs, mongodb, redis), target in (ScalaUnidoc, unidoc) := (baseDirectory in LocalRootProject).value / "website" / "static" / "api", cleanFiles += (target in (ScalaUnidoc, unidoc)).value, docusaurusCreateSite := docusaurusCreateSite diff --git a/docs/dynamo.md b/docs/dynamo.md index 2d6e4ec93..986128c6c 100644 --- a/docs/dynamo.md +++ b/docs/dynamo.md @@ -23,7 +23,7 @@ Therefore, the connector provides three generic methods __single__, __transforme Add the following dependency to get started: ```scala -libraryDependencies += "io.monix" %% "monix-dynamodb" % "0.6.0" +libraryDependencies += "io.monix" %% "monix-dynamodb" % "0.9.0" ``` ## Async Client diff --git a/docs/elasticsearch.md b/docs/elasticsearch.md index d6bed823d..55fd90a52 100644 --- a/docs/elasticsearch.md +++ b/docs/elasticsearch.md @@ -15,7 +15,7 @@ but also to _search_ or _upload_ in a reactive fashion with _Monix Reactive_. Add the following dependency: ```scala - libraryDependencies += "io.monix" %% "monix-elasticsearch" % "0.6.0" + libraryDependencies += "io.monix" %% "monix-elasticsearch" % "0.9.0" ``` ## Client diff --git a/docs/gcs.md b/docs/gcs.md index 335c6324e..3f0fade08 100644 --- a/docs/gcs.md +++ b/docs/gcs.md @@ -14,7 +14,7 @@ object will be returned to any _get request_, globally. Add the following dependency to get started: ```scala -libraryDependencies += "io.monix" %% "monix-gcs" % "0.6.0" +libraryDependencies += "io.monix" %% "monix-gcs" % "0.9.0" ``` ## Getting Started diff --git a/docs/hdfs.md b/docs/hdfs.md index 3761baaf2..225a4cb3f 100644 --- a/docs/hdfs.md +++ b/docs/hdfs.md @@ -18,7 +18,7 @@ and it is built on top of the the official _apache hadoop_ api. Add the following dependency to get started: ```scala -libraryDependencies += "io.monix" %% "monix-hdfs" % "0.6.0" +libraryDependencies += "io.monix" %% "monix-hdfs" % "0.9.0" ``` By default the connector uses _Hadoop 3.1.1_. In case you need a different one you can replace it by excluding `org.apache.hadoop` from `monix-hdfs` and add the new one to your library dependencies. diff --git a/docs/mongodb.md b/docs/mongodb.md index c8c214d6d..744676275 100644 --- a/docs/mongodb.md +++ b/docs/mongodb.md @@ -29,7 +29,7 @@ and there is many code to be ported to the new Scala3 macros. See community stat Add the following dependency to get started: ```scala -libraryDependencies += "io.monix" %% "monix-mongodb" % "0.6.0" +libraryDependencies += "io.monix" %% "monix-mongodb" % "0.9.0" ``` ## Collection Reference diff --git a/docs/overview.md b/docs/overview.md index 07246cb26..353a24deb 100644 --- a/docs/overview.md +++ b/docs/overview.md @@ -18,7 +18,7 @@ title: Overview Find all release [versions](https://github.com/monix/monix-connect/releases)). ```scala - libraryDependencies += "io.monix" %% "monix-connect" % "0.9.0" + libraryDependencies += "io.monix" %% "monix-connect" % "0.10.0" ``` ⚠️ **Mind that the project isn't yet stable, so binary compatibility is not guaranteed.** ❗ diff --git a/docs/parquet.md b/docs/parquet.md index 7c7ac6c2a..5c2dbf0a4 100644 --- a/docs/parquet.md +++ b/docs/parquet.md @@ -15,7 +15,7 @@ Therefore, the `monix-parquet` _connector_ basically exposes stream integrations Add the following dependency: ```scala - libraryDependencies += "io.monix" %% "monix-parquet" % "0.6.0" + libraryDependencies += "io.monix" %% "monix-parquet" % "0.9.0" ``` ## Getting started diff --git a/docs/redis.md b/docs/redis.md index 8eee1d41f..f9c152d24 100644 --- a/docs/redis.md +++ b/docs/redis.md @@ -19,7 +19,7 @@ a _non blocking_ Redis client. Add the following dependency: ```scala -libraryDependencies += "io.monix" %% "monix-redis" % "0.6.0" +libraryDependencies += "io.monix" %% "monix-redis" % "0.9.0" ``` ## Redis Connection diff --git a/docs/s3.md b/docs/s3.md index 94d04765d..c75ad399c 100644 --- a/docs/s3.md +++ b/docs/s3.md @@ -16,7 +16,7 @@ This module exposes a wide range of methods for interacting with S3 _buckets_ an Add the following dependency in your _build.sbt_: ```scala - libraryDependencies += "io.monix" %% "monix-s3" % "0.6.0" + libraryDependencies += "io.monix" %% "monix-s3" % "0.9.0" ``` ## Async Client diff --git a/docs/sqs.md b/docs/sqs.md index fe70a038d..40d2bb608 100644 --- a/docs/sqs.md +++ b/docs/sqs.md @@ -15,7 +15,7 @@ used as a message broker to communicate different systems, providing backpressur Add the following dependency to get started: ```scala -libraryDependencies += "io.monix" %% "monix-sqs" % "0.6.0" +libraryDependencies += "io.monix" %% "monix-sqs" % "0.9.0" ``` ## Async Client diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 9d96be8ba..811379d48 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -40,8 +40,6 @@ object Dependencies { "io.monix" %% "monix-testing-scalatest" % Versions.MonixTestingScalatest ) - val Akka = Seq("com.typesafe.akka" %% "akka-stream" % Versions.AkkaStreams) ++ commonDependencies(hasIt = false) - val AwsAuth = Seq( "software.amazon.awssdk" % "auth" % Versions.AwsSdk, "com.github.pureconfig" %% "pureconfig-core" % Versions.Pureconfig) ++ commonDependencies(hasIt = false)