Skip to content

Commit 2487e46

Browse files
committed
Release 0.4.0
1 parent 22cf57b commit 2487e46

5 files changed

Lines changed: 22 additions & 36 deletions

File tree

docs/client/quickstart.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Chimp ships an MCP client that connects to any MCP-compliant server. The client
55
Add the dependency to your `build.sbt`:
66

77
```scala
8-
libraryDependencies += "com.softwaremill.chimp" %% "chimp-client" % "0.3.0"
8+
libraryDependencies += "com.softwaremill.chimp" %% "chimp-client" % "0.4.0"
99
```
1010

1111
## Example: the simplest MCP client
@@ -37,11 +37,11 @@ object QuickstartClient:
3737
For streaming transports, also add the dependency for your effect system — ZIO:
3838

3939
```scala
40-
libraryDependencies += "com.softwaremill.chimp" %% "chimp-client-zio" % "0.3.0"
40+
libraryDependencies += "com.softwaremill.chimp" %% "chimp-client-zio" % "0.4.0"
4141
```
4242

4343
or direct-style Ox:
4444

4545
```scala
46-
libraryDependencies += "com.softwaremill.chimp" %% "chimp-client-ox" % "0.3.0"
46+
libraryDependencies += "com.softwaremill.chimp" %% "chimp-client-ox" % "0.4.0"
4747
```

docs/server/quickstart.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ Chimp lets you expose MCP tools over a JSON-RPC HTTP API. Tool inputs are descri
55
Add the dependency to your `build.sbt`:
66

77
```scala
8-
libraryDependencies += "com.softwaremill.chimp" %% "chimp-server" % "0.3.0"
8+
libraryDependencies += "com.softwaremill.chimp" %% "chimp-server" % "0.4.0"
99
```
1010

1111
## Example: the simplest MCP server
1212

1313
Below is a self-contained, [scala-cli](https://scala-cli.virtuslab.org)-runnable example:
1414

1515
```scala
16-
//> using dep com.softwaremill.chimp::chimp-server:0.3.0
16+
//> using dep com.softwaremill.chimp::chimp-server:0.4.0
1717

1818
import chimp.*
1919
import sttp.tapir.*
@@ -39,13 +39,13 @@ case class AdderInput(a: Int, b: Int) derives io.circe.Codec, Schema
3939
For a streaming server that pushes progress and log notifications over SSE, add the dependency for your effect system — ZIO:
4040

4141
```scala
42-
libraryDependencies += "com.softwaremill.chimp" %% "chimp-server-zio" % "0.3.0"
42+
libraryDependencies += "com.softwaremill.chimp" %% "chimp-server-zio" % "0.4.0"
4343
```
4444

4545
or direct-style Ox:
4646

4747
```scala
48-
libraryDependencies += "com.softwaremill.chimp" %% "chimp-server-ox" % "0.3.0"
48+
libraryDependencies += "com.softwaremill.chimp" %% "chimp-server-ox" % "0.4.0"
4949
```
5050

5151
More runnable examples live in [`examples/`](https://github.com/softwaremill/chimp/tree/master/examples/src/main/scala/examples).

generated-docs/out/README.md

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,23 @@
22

33
Source for the chimp documentation site, built with Sphinx + MyST and hosted on Read the Docs.
44

5-
## Run locally
5+
## Setup
66

7-
From this folder:
7+
From this folder, once:
88

99
```
1010
python3 -m venv .venv
1111
source .venv/bin/activate
1212
pip install -r requirements.txt
13-
./watch.sh
1413
```
1514

16-
Open <http://127.0.0.1:8000>. Edits to `.md` files live-reload in the browser.
15+
## Making changes
1716

18-
Next time, just:
19-
20-
```
21-
source .venv/bin/activate
22-
./watch.sh
23-
```
24-
25-
## Publishing changes
26-
27-
Read the Docs builds from `generated-docs/out/`, **not** from this `docs/` folder. After editing the docs, regenerate that output with mdoc:
28-
29-
```
30-
sbt compileDocs
31-
```
32-
33-
Commit both `docs/` (the source) and `generated-docs/` (the mdoc output) — if `generated-docs/` is stale, the published site won't reflect your changes.
17+
1. **Update the docs** — edit the `.md` source files under `docs/`.
18+
2. **Build & watch to preview** — run `./watch.sh` (after `source .venv/bin/activate`) and open <http://127.0.0.1:8000>; edits live-reload in the browser.
19+
3. **Commit only `docs/`** — do **not** commit `generated-docs/`. Read the Docs builds from `generated-docs/out/`, but that mdoc output is regenerated and committed automatically as part of the release.
20+
4. **Verify** — run `sbt compileDocs` from the repo root to check that the Scala snippets in your docs compile.
3421

3522
## Notes
3623

37-
- `0.3.0+50-cb889dff-SNAPSHOT` and other mdoc variables are **not** substituted in the local watch mode. For a fully-rendered preview, run `sbt docs/mdoc` from the repo root and serve `generated-docs/out/` instead.
38-
- Scala code snippets are verified by `sbt compileDocs` (also runs in CI).
24+
- `0.4.0` and other mdoc variables are **not** substituted in the local watch mode. For a fully-rendered preview, run `sbt docs/mdoc` from the repo root and serve `generated-docs/out/` (don't commit the result).

generated-docs/out/client/quickstart.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Chimp ships an MCP client that connects to any MCP-compliant server. The client
55
Add the dependency to your `build.sbt`:
66

77
```scala
8-
libraryDependencies += "com.softwaremill.chimp" %% "chimp-client" % "0.3.0"
8+
libraryDependencies += "com.softwaremill.chimp" %% "chimp-client" % "0.4.0"
99
```
1010

1111
## Example: the simplest MCP client
@@ -37,11 +37,11 @@ object QuickstartClient:
3737
For streaming transports, also add the dependency for your effect system — ZIO:
3838

3939
```scala
40-
libraryDependencies += "com.softwaremill.chimp" %% "chimp-client-zio" % "0.3.0"
40+
libraryDependencies += "com.softwaremill.chimp" %% "chimp-client-zio" % "0.4.0"
4141
```
4242

4343
or direct-style Ox:
4444

4545
```scala
46-
libraryDependencies += "com.softwaremill.chimp" %% "chimp-client-ox" % "0.3.0"
46+
libraryDependencies += "com.softwaremill.chimp" %% "chimp-client-ox" % "0.4.0"
4747
```

generated-docs/out/server/quickstart.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ Chimp lets you expose MCP tools over a JSON-RPC HTTP API. Tool inputs are descri
55
Add the dependency to your `build.sbt`:
66

77
```scala
8-
libraryDependencies += "com.softwaremill.chimp" %% "chimp-server" % "0.3.0"
8+
libraryDependencies += "com.softwaremill.chimp" %% "chimp-server" % "0.4.0"
99
```
1010

1111
## Example: the simplest MCP server
1212

1313
Below is a self-contained, [scala-cli](https://scala-cli.virtuslab.org)-runnable example:
1414

1515
```scala
16-
//> using dep com.softwaremill.chimp::chimp-server:0.3.0
16+
//> using dep com.softwaremill.chimp::chimp-server:0.4.0
1717

1818
import chimp.*
1919
import sttp.tapir.*
@@ -39,13 +39,13 @@ case class AdderInput(a: Int, b: Int) derives io.circe.Codec, Schema
3939
For a streaming server that pushes progress and log notifications over SSE, add the dependency for your effect system — ZIO:
4040

4141
```scala
42-
libraryDependencies += "com.softwaremill.chimp" %% "chimp-server-zio" % "0.3.0"
42+
libraryDependencies += "com.softwaremill.chimp" %% "chimp-server-zio" % "0.4.0"
4343
```
4444

4545
or direct-style Ox:
4646

4747
```scala
48-
libraryDependencies += "com.softwaremill.chimp" %% "chimp-server-ox" % "0.3.0"
48+
libraryDependencies += "com.softwaremill.chimp" %% "chimp-server-ox" % "0.4.0"
4949
```
5050

5151
More runnable examples live in [`examples/`](https://github.com/softwaremill/chimp/tree/master/examples/src/main/scala/examples).

0 commit comments

Comments
 (0)