Skip to content

Commit

Permalink
Merge pull request #26 from commercetools/post-0.2
Browse files Browse the repository at this point in the history
Post 0.2 release cleanups
  • Loading branch information
AL333Z authored Jul 4, 2024
2 parents c5e8c28 + 108b97e commit e81ed67
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 30 deletions.
26 changes: 2 additions & 24 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import laika.config.LinkConfig
import laika.config.ApiLinks
import laika.config.SourceLinks

ThisBuild / tlBaseVersion := "0.1"
ThisBuild / tlBaseVersion := "0.2"

ThisBuild / organization := "com.commercetools"
ThisBuild / organizationName := "Commercetools GmbH"
Expand Down Expand Up @@ -43,15 +43,7 @@ lazy val core = crossProject(JVMPlatform)
.in(file("core"))
.settings(commonSettings)
.settings(
name := "fs2-queues-core",
// TODO: Remove once 0.2 is published
mimaBinaryIssueFilters ++= List(
ProblemFilters.exclude[ReversedMissingMethodProblem]("com.commercetools.queue.Message.rawPayload"),
ProblemFilters.exclude[ReversedMissingMethodProblem]("com.commercetools.queue.QueueAdministration.configuration"),
ProblemFilters.exclude[DirectMissingMethodProblem]("com.commercetools.queue.QueuePusher.push"),
ProblemFilters.exclude[ReversedMissingMethodProblem]("com.commercetools.queue.QueuePusher.push"),
ProblemFilters.exclude[ReversedMissingMethodProblem]("com.commercetools.queue.QueueClient.statistics")
)
name := "fs2-queues-core"
)

lazy val testkit = crossProject(JVMPlatform)
Expand Down Expand Up @@ -93,10 +85,6 @@ lazy val otel4s = crossProject(JVMPlatform)
description := "Support for metrics and tracing using otel4s",
libraryDependencies ++= List(
"org.typelevel" %%% "otel4s-core" % "0.7.0"
),
// TODO: Remove once 0.2 is published
mimaBinaryIssueFilters ++= List(
ProblemFilters.exclude[DirectMissingMethodProblem]("com.commercetools.queue.otel4s.MeasuringQueuePusher.push")
)
)
.dependsOn(core % "compile->compile;test->test")
Expand All @@ -121,11 +109,6 @@ lazy val azureServiceBus = crossProject(JVMPlatform)
name := "fs2-queues-azure-service-bus",
libraryDependencies ++= List(
"com.azure" % "azure-messaging-servicebus" % "7.17.0"
),
// TODO: Remove once 0.2 is published
mimaBinaryIssueFilters ++= List(
ProblemFilters.exclude[DirectMissingMethodProblem](
"com.commercetools.queue.azure.servicebus.ServiceBusPusher.push")
)
)
.dependsOn(core, testkit % Test)
Expand All @@ -138,11 +121,6 @@ lazy val awsSQS = crossProject(JVMPlatform)
name := "fs2-queues-aws-sqs",
libraryDependencies ++= List(
"software.amazon.awssdk" % "sqs" % "2.25.50"
),
// TODO: Remove once 0.2 is published
mimaBinaryIssueFilters ++= List(
ProblemFilters.exclude[DirectMissingMethodProblem]("com.commercetools.queue.aws.sqs.SQSMessageContext.this"),
ProblemFilters.exclude[DirectMissingMethodProblem]("com.commercetools.queue.aws.sqs.SQSPusher.push")
)
)
.dependsOn(core)
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/queues.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The common abstractions are defined in the core module. To use it, add the following to your build.

```scala
libraryDependencies += "com.commercetools" %% "fs2-queues-core" % "@SNAPSHOT_VERSION@"
libraryDependencies += "com.commercetools" %% "fs2-queues-core" % "@VERSION@"
```

The library provides both low and high level APIs, making it possible to have fine grained control over queue pulling, or just focusing on processing, delegating message management to the library.
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/circe.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The circe module provides integration with the [circe][circe] library.

```scala
libraryDependencies += "com.commercetools" %% "fs2-queues-circe" % "@SNAPSHOT_VERSION@"
libraryDependencies += "com.commercetools" %% "fs2-queues-circe" % "@VERSION@"
```

It provides:
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/otel4s.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The otel4s provides an integration with the [otel4s][otel4s] library.

```scala
libraryDependencies += "com.commercetools" %% "fs2-queues-otel4s" % "@SNAPSHOT_VERSION@"
libraryDependencies += "com.commercetools" %% "fs2-queues-otel4s" % "@VERSION@"
```

It allows you to wrap an existing @:api(com.commercetools.queue.QueueClient) into a @:api(com.commercetools.queue.otel4s.MeasuringQueueClient), which adds [tracing][otel4s-tracing] and [metrics][otel4s-metrics] on every call to the underlying queue system.
Expand Down
2 changes: 1 addition & 1 deletion docs/systems/pubsub.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
You can create a client to service bus queues by using the [GCP PubSub][pubsub] module.

```scala
libraryDependencies += "com.commercetools" %% "fs2-queues-gcp-pubsub" % "@SNAPSHOT_VERSION@"
libraryDependencies += "com.commercetools" %% "fs2-queues-gcp-pubsub" % "@VERSION@"
```

For instance you can create a managed client via a region and credentials as follows.
Expand Down
2 changes: 1 addition & 1 deletion docs/systems/service-bus.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
You can create a client to service bus queues by using the [Azure Service Bus][service-bus] module.

```scala
libraryDependencies += "com.commercetools" %% "fs2-queues-azure-service-bus" % "@SNAPSHOT_VERSION@"
libraryDependencies += "com.commercetools" %% "fs2-queues-azure-service-bus" % "@VERSION@"
```

For instance, you can create a managed client via a namespace and credentials as follows.
Expand Down
2 changes: 1 addition & 1 deletion docs/systems/sqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
You can create a client to service bus queues by using the [AWS SQS][sqs] module.

```scala
libraryDependencies += "com.commercetools" %% "fs2-queues-aws-sqs" % "@SNAPSHOT_VERSION@"
libraryDependencies += "com.commercetools" %% "fs2-queues-aws-sqs" % "@VERSION@"
```

For instance you can create a managed client via a region and credentials as follows.
Expand Down

0 comments on commit e81ed67

Please sign in to comment.