Skip to content

Commit

Permalink
📦 updates modules for v0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
k33g committed Sep 24, 2022
1 parent 6fa0e58 commit a074f67
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 12 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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`
Expand All @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions capsulemodule/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions commons/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 => ../
)
4 changes: 2 additions & 2 deletions commons/version.go
Original file line number Diff line number Diff line change
@@ -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]"
}
2 changes: 1 addition & 1 deletion install-all-capsule-elements.sh
Original file line number Diff line number Diff line change
@@ -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" ]]
Expand Down
2 changes: 1 addition & 1 deletion install-capsule-ctl.sh
Original file line number Diff line number Diff line change
@@ -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" ]]
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.3"
LAST_CAPSULE_VERSION="v0.2.4"
echo "System: ${OSTYPE} $(uname -m)"

if [[ $1 = "help" ]]
Expand Down
2 changes: 1 addition & 1 deletion install-capsule-registry.sh
Original file line number Diff line number Diff line change
@@ -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" ]]
Expand Down
2 changes: 1 addition & 1 deletion install-capsule-reverse-proxy.sh
Original file line number Diff line number Diff line change
@@ -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" ]]
Expand Down
2 changes: 1 addition & 1 deletion install-capsule-worker.sh
Original file line number Diff line number Diff line change
@@ -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" ]]
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.3"
TAG="v0.2.4"
cd commons
go mod edit -replace github.com/bots-garden/capsule@${TAG}=../

Expand Down

0 comments on commit a074f67

Please sign in to comment.