Skip to content

Commit

Permalink
Release 0.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw committed Nov 28, 2024
1 parent 055e19d commit 2b0b170
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ the project!
To test Ox, use the following dependency, using either [sbt](https://www.scala-sbt.org):

```scala
"com.softwaremill.ox" %% "core" % "0.5.4"
"com.softwaremill.ox" %% "core" % "0.5.5"
```

Or [scala-cli](https://scala-cli.virtuslab.org):

```scala
//> using dep "com.softwaremill.ox::core:0.5.4"
//> using dep "com.softwaremill.ox::core:0.5.5"
```

Documentation is available at [https://ox.softwaremill.com](https://ox.softwaremill.com), ScalaDocs can be browsed at [https://javadoc.io](https://www.javadoc.io/doc/com.softwaremill.ox).
Expand Down
2 changes: 1 addition & 1 deletion generated-doc/out/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Safe direct-style concurrency and resiliency for Scala on the JVM. Requires JDK 21 & Scala 3.

To start using Ox, add the `com.softwaremill.ox::core:0.5.4` [dependency](info/dependency.md) to your project.
To start using Ox, add the `com.softwaremill.ox::core:0.5.5` [dependency](info/dependency.md) to your project.
Then, take a look at the tour of Ox, or follow one of the topics listed in the menu to get to know Ox's API!

In addition to this documentation, ScalaDocs can be browsed at [https://javadoc.io](https://www.javadoc.io/doc/com.softwaremill.ox).
Expand Down
4 changes: 2 additions & 2 deletions generated-doc/out/info/dependency.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ To use ox core in your project, add:

```scala
// sbt dependency
"com.softwaremill.ox" %% "core" % "0.5.4"
"com.softwaremill.ox" %% "core" % "0.5.5"

// scala-cli dependency
//> using dep com.softwaremill.ox::core:0.5.4
//> using dep com.softwaremill.ox::core:0.5.5
```

Ox core depends only on the Java [jox](https://github.com/softwaremill/jox) project, where channels are implemented. There are no other direct or transitive dependencies.
Expand Down
2 changes: 1 addition & 1 deletion generated-doc/out/integrations/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Dependency:

```scala
"com.softwaremill.ox" %% "kafka" % "0.5.4"
"com.softwaremill.ox" %% "kafka" % "0.5.5"
```

`Flow`s which read from a Kafka topic, mapping stages and drains which publish to Kafka topics are available through
Expand Down
2 changes: 1 addition & 1 deletion generated-doc/out/integrations/mdc-logback.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Dependency:

```scala
"com.softwaremill.ox" %% "mdc-logback" % "0.5.4"
"com.softwaremill.ox" %% "mdc-logback" % "0.5.5"
```

Ox provides support for setting inheritable MDC (mapped diagnostic context) values, when using the [Logback](https://logback.qos.ch)
Expand Down
4 changes: 2 additions & 2 deletions generated-doc/out/streaming/flows.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Behind the scenes, an `Ox` concurrency scope is created along with a number of f

Some other stages which introduce concurrency include `.merge`, `.interleave`, `.groupedWithin` and [I/O](io.md) stages. The created channels serve as buffers between the pipeline stages, and their capacity is defined by the `BufferCapacity` in scope (a default instance is available, if not provided explicitly).

Explicit asynchronous boundaries can be inserted using `.async()`. This might be useful if producing the next element to emit, and consuming the previous should run concurrently; or if the processing times of the consumer varies, and the producer should buffer up elements.
Explicit asynchronous boundaries can be inserted using `.buffer()`. This might be useful if producing the next element to emit, and consuming the previous should run concurrently; or if the processing times of the consumer varies, and the producer should buffer up elements.

## Interoperability with channels

Expand Down Expand Up @@ -171,7 +171,7 @@ To obtain a `org.reactivestreams.Publisher` instance, you'll need to add the fol
bring the `toReactiveStreamsPublisher` method into scope:

```scala
// sbt dependency: "com.softwaremill.ox" %% "flow-reactive-streams" % "0.5.4"
// sbt dependency: "com.softwaremill.ox" %% "flow-reactive-streams" % "0.5.5"

import ox.supervised
import ox.flow.Flow
Expand Down
2 changes: 1 addition & 1 deletion generated-doc/out/tour.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Flow.iterate(0)(_ + 1) // natural numbers
.map(_ + 1)
.intersperse(5)
// compute the running total
.mapStateful(() => 0) { (state, value) =>
.mapStateful(0) { (state, value) =>
val newState = state + value
(newState, newState)
}
Expand Down

0 comments on commit 2b0b170

Please sign in to comment.