From a074f675310e427612944dc3812eb491a5ffbfa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Charri=C3=A8re?= Date: Sat, 24 Sep 2022 11:38:15 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20updates=20modules=20for=20v0.2.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 ++++--- RELEASE.md | 2 ++ capsulemodule/go.mod | 2 ++ commons/go.mod | 1 + commons/version.go | 4 ++-- install-all-capsule-elements.sh | 2 +- install-capsule-ctl.sh | 2 +- install-capsule-launcher.sh | 2 +- install-capsule-registry.sh | 2 +- install-capsule-reverse-proxy.sh | 2 +- install-capsule-worker.sh | 2 +- update-modules-for-release.sh | 2 +- 12 files changed, 18 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index cd7a946..26c1589 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,12 @@ # 💊 Capsule > - 🖐 I'm learning Go > - Issues: https://github.com/bots-garden/capsule/issues -> - Last release: `v0.2.3 🐢 [turtle]` -> - Dev release: `v0.2.4 🦎 [lizard][dev]` *🚧 in progress* +> - Last release: `v0.2.4 🦎 [lizard]` +> - Dev release: `v0.2.5 🦖 [T-Rex][dev]` *🚧 in progress* ## What's new +- `v0.2.4`: Add 2 wasm helper functions `flatjson.StrToMap` and `flatjson.MapToStr` - `v0.2.3`: NATS support, 2 new functions: `NatsReply` and `NatsConnectRequest` - `v0.2.2`: like `0.2.1` with fixed modules dependencies, and tag name start with a `v` - `0.2.1`: NATS support (1st stage) `OnNatsMessage`, `NatsPublish`, `NatsConnectPublish`, `NatsConnectPublish`, `NatsGetSubject`, `NatsGetServer` @@ -23,7 +24,7 @@ > 🖐 **The functions are developed with GoLang and compiled to wasm with TinyGo** -📦 Before executing or running a function, you need to download the last release of **Capsule**: https://github.com/bots-garden/capsule/releases/tag/v0.2.3 (`v0.2.3 🐢 [turtle]`) +📦 Before executing or running a function, you need to download the last release of **Capsule**: https://github.com/bots-garden/capsule/releases/tag/v0.2.4 (`v0.2.4 🦎 [lizard]`) > - **Capsule** is developed with GoLang and thanks to the 💜 **[Wazero](https://github.com/tetratelabs/wazero)** project > - The wasm modules are developed in GoLang and compiled with TinyGo (with the WASI specification) diff --git a/RELEASE.md b/RELEASE.md index 3a5ab0f..c1689e2 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -10,6 +10,8 @@ - `install-capsule-worker.sh` - Check **every dependency** for every module + +> update and run `update-modules-for-release.sh` ```bash TAG="vN.N.N" cd commons diff --git a/capsulemodule/go.mod b/capsulemodule/go.mod index f632ef8..6e11c9b 100644 --- a/capsulemodule/go.mod +++ b/capsulemodule/go.mod @@ -9,11 +9,13 @@ replace github.com/bots-garden/capsule/commons => ../commons replace ( github.com/bots-garden/capsule v0.2.2 => ../ github.com/bots-garden/capsule v0.2.3 => ../ + github.com/bots-garden/capsule v0.2.4 => ../ ) replace ( github.com/bots-garden/capsule/commons v0.2.2 => ../commons github.com/bots-garden/capsule/commons v0.2.3 => ../commons + github.com/bots-garden/capsule/commons v0.2.4 => ../commons ) require github.com/bots-garden/capsule/commons v0.2.2 diff --git a/commons/go.mod b/commons/go.mod index 8c3fa79..5eeff2b 100644 --- a/commons/go.mod +++ b/commons/go.mod @@ -5,4 +5,5 @@ go 1.18 replace ( github.com/bots-garden/capsule v0.2.2 => ../ github.com/bots-garden/capsule v0.2.3 => ../ + github.com/bots-garden/capsule v0.2.4 => ../ ) diff --git a/commons/version.go b/commons/version.go index b46a034..5f7d445 100644 --- a/commons/version.go +++ b/commons/version.go @@ -1,6 +1,6 @@ package commons func CapsuleVersion() string { - return "v0.2.4 🦎 [lizard][dev]" - //return "v0.2.3 🐢 [turtle]" + return "v0.2.4 🦎 [lizard]" + //next "v0.2.5 🦖 [T-Rex][dev]" } diff --git a/install-all-capsule-elements.sh b/install-all-capsule-elements.sh index 24e701f..5f3269e 100755 --- a/install-all-capsule-elements.sh +++ b/install-all-capsule-elements.sh @@ -1,6 +1,6 @@ #!/bin/bash -LAST_CAPSULE_VERSION="v0.2.3" +LAST_CAPSULE_VERSION="v0.2.4" echo "System: ${OSTYPE} $(uname -m)" if [[ $1 = "help" ]] diff --git a/install-capsule-ctl.sh b/install-capsule-ctl.sh index 22da4f1..6942c74 100755 --- a/install-capsule-ctl.sh +++ b/install-capsule-ctl.sh @@ -1,5 +1,5 @@ #!/bin/bash -LAST_CAPSULE_VERSION="v0.2.3" +LAST_CAPSULE_VERSION="v0.2.4" echo "System: ${OSTYPE} $(uname -m)" if [[ $1 = "help" ]] diff --git a/install-capsule-launcher.sh b/install-capsule-launcher.sh index c37e9d9..d5392d4 100755 --- a/install-capsule-launcher.sh +++ b/install-capsule-launcher.sh @@ -1,5 +1,5 @@ #!/bin/bash -LAST_CAPSULE_VERSION="v0.2.3" +LAST_CAPSULE_VERSION="v0.2.4" echo "System: ${OSTYPE} $(uname -m)" if [[ $1 = "help" ]] diff --git a/install-capsule-registry.sh b/install-capsule-registry.sh index 51e8b36..31ee8f5 100755 --- a/install-capsule-registry.sh +++ b/install-capsule-registry.sh @@ -1,5 +1,5 @@ #!/bin/bash -LAST_CAPSULE_VERSION="v0.2.3" +LAST_CAPSULE_VERSION="v0.2.4" echo "System: ${OSTYPE} $(uname -m)" if [[ $1 = "help" ]] diff --git a/install-capsule-reverse-proxy.sh b/install-capsule-reverse-proxy.sh index 25f70f1..0cc9c89 100755 --- a/install-capsule-reverse-proxy.sh +++ b/install-capsule-reverse-proxy.sh @@ -1,5 +1,5 @@ #!/bin/bash -LAST_CAPSULE_VERSION="v0.2.3" +LAST_CAPSULE_VERSION="v0.2.4" echo "System: ${OSTYPE} $(uname -m)" if [[ $1 = "help" ]] diff --git a/install-capsule-worker.sh b/install-capsule-worker.sh index 5c2c5a3..2835ba9 100755 --- a/install-capsule-worker.sh +++ b/install-capsule-worker.sh @@ -1,5 +1,5 @@ #!/bin/bash -LAST_CAPSULE_VERSION="v0.2.3" +LAST_CAPSULE_VERSION="v0.2.4" echo "System: ${OSTYPE} $(uname -m)" if [[ $1 = "help" ]] diff --git a/update-modules-for-release.sh b/update-modules-for-release.sh index 6a38e16..a4037f9 100755 --- a/update-modules-for-release.sh +++ b/update-modules-for-release.sh @@ -1,6 +1,6 @@ #!/bin/bash -TAG="v0.2.3" +TAG="v0.2.4" cd commons go mod edit -replace github.com/bots-garden/capsule@${TAG}=../