Skip to content

Commit

Permalink
📦 updates modules for v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
k33g committed Nov 7, 2022
1 parent 7cdebc1 commit 6fd3a4f
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 14 deletions.
2 changes: 2 additions & 0 deletions capsulemodule/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ replace (
github.com/bots-garden/capsule v0.2.7 => ../
github.com/bots-garden/capsule v0.2.8 => ../
github.com/bots-garden/capsule v0.2.9 => ../
github.com/bots-garden/capsule v0.3.0 => ../
)

replace (
Expand All @@ -26,6 +27,7 @@ replace (
github.com/bots-garden/capsule/commons v0.2.7 => ../commons
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
)

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 @@ -11,4 +11,5 @@ replace (
github.com/bots-garden/capsule v0.2.7 => ../
github.com/bots-garden/capsule v0.2.8 => ../
github.com/bots-garden/capsule v0.2.9 => ../
github.com/bots-garden/capsule v0.3.0 => ../
)
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.2.9 🦜 [parrot]"
return "v0.3.0 🎄 [Christmas tree]"
}
2 changes: 1 addition & 1 deletion docs/getting-started-cabu-inst.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ To write and build wasm function for Capsule, you need to install GoLang and Tin
## Install **Cabu** (Capsule Builder)

```bash
CAPSULE_BUILDER_VERSION="v0.0.3"
CAPSULE_BUILDER_VERSION="v0.0.4"
wget -O - https://raw.githubusercontent.com/bots-garden/capsule-function-builder/${CAPSULE_BUILDER_VERSION}/install-capsule-builder.sh | bash
```

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.2.9 \
-v $(pwd):/app --rm k33g/capsule-launcher:0.3.0 \
/capsule \
-wasm=./app/hello-world.wasm \
-mode=http \
Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Capsule: the nano (wasm) functions runner

!!! info "What's new?"
- `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!


## What is **Capsule**?

**Capsule** is a **WebAssembly Function Runner**. It means that **Capsule** is both:
Expand Down Expand Up @@ -51,6 +51,6 @@ 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.2.9 🦜 [parrot]`
- 📦 Next release: `v0.3.0 🎅 [santa]` *🚧 in progress*
- 📦 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.2.9"
export CAPSULE_VERSION="v0.3.0"
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.2.9 🦜 [parrot]`](https://github.com/bots-garden/capsule/releases/tag/v0.2.9)
> 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)
## 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.2.9 \
-v $(pwd):/app --rm k33g/capsule-launcher:0.3.0 \
/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.2.9"
LAST_CAPSULE_VERSION="v0.3.0"
echo "System: ${OSTYPE} $(uname -m)"

if [ -z "$CAPSULE_PATH" ]
Expand Down
2 changes: 1 addition & 1 deletion recreate-tags.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

TAG="v0.2.9"
TAG="v0.3.0"

git add .
git commit -m "📦 updates modules for ${TAG}"
Expand Down
2 changes: 1 addition & 1 deletion remove-tags.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

TAG="v0.2.9"
TAG="v0.3.0"

git tag -d ${TAG}
git tag -d commons/${TAG}
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.2.9"
LAST_CAPSULE_VERSION="v0.3.0"
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.2.9"
TAG="v0.3.0"
cd commons
go mod edit -replace github.com/bots-garden/capsule@${TAG}=../

Expand Down

0 comments on commit 6fd3a4f

Please sign in to comment.