Skip to content

Commit

Permalink
📦 updates modules for v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
k33g committed Feb 7, 2023
1 parent ea3fd45 commit ad91242
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
# Capsule: the nano (wasm) functions runner

- 🖐 Issues: [https://github.com/bots-garden/capsule/issues](https://github.com/bots-garden/capsule/issues)
- 📦 Last release: `v0.2.9 🦜 [parrot]`
- 📦 Next release: `v0.3.0 🎅 [santa]` *🚧 in progress*
- 📦 Last release: `v0.3.1 🐊 [Tampa Bay]`
- 📦 Next release: `v0.3.2 TBD` *🚧 in progress*
- 📝 Full documentation [https://bots-garden.github.io/capsule/](https://bots-garden.github.io/capsule/)

## What is **Capsule**?
Expand Down
2 changes: 2 additions & 0 deletions capsulemodule/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ replace (
github.com/bots-garden/capsule v0.2.8 => ../
github.com/bots-garden/capsule v0.2.9 => ../
github.com/bots-garden/capsule v0.3.0 => ../
github.com/bots-garden/capsule v0.3.1 => ../
)

replace (
Expand All @@ -28,6 +29,7 @@ replace (
github.com/bots-garden/capsule/commons v0.2.8 => ../commons
github.com/bots-garden/capsule/commons v0.2.9 => ../commons
github.com/bots-garden/capsule/commons v0.3.0 => ../commons
github.com/bots-garden/capsule/commons v0.3.1 => ../commons
)

require github.com/bots-garden/capsule/commons v0.2.9
1 change: 1 addition & 0 deletions commons/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ replace (
github.com/bots-garden/capsule v0.2.8 => ../
github.com/bots-garden/capsule v0.2.9 => ../
github.com/bots-garden/capsule v0.3.0 => ../
github.com/bots-garden/capsule v0.3.1 => ../
)
2 changes: 1 addition & 1 deletion commons/version.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package commons

func CapsuleVersion() string {
return "v0.3.0 🎄 [Christmas tree]"
return "v0.3.1 🐊 [Tampa Bay]"
}
2 changes: 1 addition & 1 deletion docs/getting-started-cabu-serve.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ capsule \
```bash
docker run \
-p 8080:8080 \
-v $(pwd):/app --rm k33g/capsule-launcher:0.3.0 \
-v $(pwd):/app --rm k33g/capsule-launcher:0.3.1 \
/capsule \
-wasm=./app/hello-world.wasm \
-mode=http \
Expand Down
3 changes: 1 addition & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Capsule: the nano (wasm) functions runner

!!! info "What's new?"
- `v0.3.1 🐊 [Tampa Bay]`: dependencies updates: wazero to 1.0.0-pre.8
- `v0.3.0 🎄 [Christmas tree]`: Refactoring (Capsule is at least 4 times faster than the previous version).
- `v0.2.9 🦜 [parrot]`: Hot reloading of the wasm module [see the "Reload the module" section](getting-started-cabu-reload.md) and HTTP service refactoring.
- `v0.2.8 🦤 [dodo]`: Capsule uses now [Fiber](https://github.com/gofiber/fiber) instead [Gin](https://github.com/gin-gonic/gin). The size of the Capsule Runner Docker image is now 16.8M!
Expand Down Expand Up @@ -51,6 +52,4 @@ Capsule brings superpowers to the WASM function modules with **host functions**.
!!! info "Useful information for this project"
- 🖐 Issues: [https://github.com/bots-garden/capsule/issues](https://github.com/bots-garden/capsule/issues)
- 🚧 Milestones: [https://github.com/bots-garden/capsule/milestones](https://github.com/bots-garden/capsule/milestones)
- 📦 Last release: `v0.3.0 🎄 [Christmas tree]`
- 📦 Next release: `v0.3.1 🎅 [santa]` *🚧 in progress*
- 📦 Releases: [https://github.com/bots-garden/capsule/releases](https://github.com/bots-garden/capsule/releases)
6 changes: 3 additions & 3 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Before executing or running a function, you need to install the last release of
🖐 **On Linux**:

```bash
export CAPSULE_VERSION="v0.3.0"
export CAPSULE_VERSION="v0.3.1"
wget -O - https://raw.githubusercontent.com/bots-garden/capsule/${CAPSULE_VERSION}/install-capsule-launcher.sh| bash
```

Expand All @@ -29,7 +29,7 @@ MESSAGE="👋 Hello World 🌍" capsule \
-httpPort=8080
```

> You can download the appropriate release of **Capsule** here: [`v0.3.0 🎄 [Christmas tree]`](https://github.com/bots-garden/capsule/releases/tag/v0.3.0)
> You can download the appropriate release of **Capsule** here: [`v0.3.1 🐊 [Tampa Bay]`](https://github.com/bots-garden/capsule/releases/tag/v0.3.1)
## Using the Capsule Docker image
> The documentation is a wip 🚧
Expand All @@ -42,7 +42,7 @@ This image will be used to deploy Capsule to CaaS or Kubernetes. You can use it
docker run \
-p 8080:8080 \
-e MESSAGE="👋 Hello World 🌍" \
-v $(pwd):/app --rm k33g/capsule-launcher:0.3.0 \
-v $(pwd):/app --rm k33g/capsule-launcher:0.3.1 \
/capsule \
-wasm=./app/index.wasm \
-mode=http \
Expand Down
2 changes: 1 addition & 1 deletion install-capsule-launcher.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
LAST_CAPSULE_VERSION="v0.3.0"
LAST_CAPSULE_VERSION="v0.3.1"
echo "System: ${OSTYPE} $(uname -m)"

if [ -z "$CAPSULE_PATH" ]
Expand Down
2 changes: 1 addition & 1 deletion sudo.install-capsule-launcher.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
LAST_CAPSULE_VERSION="v0.3.0"
LAST_CAPSULE_VERSION="v0.3.1"
echo "System: ${OSTYPE} $(uname -m)"

if [[ $1 = "help" ]]
Expand Down
2 changes: 1 addition & 1 deletion update-modules-for-release.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

TAG="v0.3.0"
TAG="v0.3.1"
cd commons
go mod edit -replace github.com/bots-garden/capsule@${TAG}=../

Expand Down

0 comments on commit ad91242

Please sign in to comment.