diff --git a/.github/workflows/fossa.yaml b/.github/workflows/fossa.yaml new file mode 100644 index 0000000..2654a4f --- /dev/null +++ b/.github/workflows/fossa.yaml @@ -0,0 +1,29 @@ +name: FOSSA + +on: + push: + pull_request: + workflow_dispatch: + merge_group: + types: [checks_requested] + +jobs: + fossa: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v5 + + - name: Install FOSSA CLI + run: | + curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash + + - name: Set FOSSA API Key + run: echo "FOSSA_API_KEY=${{ secrets.FOSSA_PUB_API_KEY }}" >> $GITHUB_ENV + + - name: Run FOSSA Analysis + run: fossa analyze + + - name: Run FOSSA Test + run: fossa test \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 627f0a5..42bc6d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,39 @@ +## [0.11.10-rc.2] - 2025-09-18 + +### 🐛 Bug Fixes + +- Make pub new kv store methods and forward sdk to proxywasm changes +## [0.11.10-rc.1] - 2025-09-18 + +### 🚀 Features + +- Updating wasmtime to 36.0.0 +- Updating key-value store interface +- Adding redis store impl + +### 🐛 Bug Fixes + +- Formating +- Changing score type to f64 +- Formatting + +### 🚜 Refactor + +- Generic store type + +### ⚙️ Miscellaneous Tasks + +- Release ## [0.11.9] - 2025-08-29 ### 🐛 Bug Fixes - Use direct backend for fastedge cli +- Compilation errors + +### ⚙️ Miscellaneous Tasks + +- Release ## [0.11.8] - 2025-06-05 ### ⚙️ Miscellaneous Tasks diff --git a/Cargo.lock b/Cargo.lock index 9bd5efd..ae1f7f1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -827,7 +827,7 @@ dependencies = [ [[package]] name = "dictionary" -version = "0.11.9" +version = "0.11.10-rc.2" dependencies = [ "async-trait", "reactor", @@ -981,7 +981,7 @@ dependencies = [ [[package]] name = "fastedge-run" -version = "0.11.9" +version = "0.11.10-rc.2" dependencies = [ "anyhow", "async-trait", @@ -1562,7 +1562,7 @@ dependencies = [ [[package]] name = "http-backend" -version = "0.11.9" +version = "0.11.10-rc.2" dependencies = [ "anyhow", "claims", @@ -1604,7 +1604,7 @@ dependencies = [ [[package]] name = "http-service" -version = "0.11.9" +version = "0.11.10-rc.2" dependencies = [ "anyhow", "async-trait", @@ -1986,7 +1986,7 @@ dependencies = [ [[package]] name = "key-value-store" -version = "0.11.9" +version = "0.11.10-rc.2" dependencies = [ "async-trait", "reactor", @@ -2845,7 +2845,7 @@ dependencies = [ [[package]] name = "reactor" -version = "0.11.9" +version = "0.11.10-rc.2" dependencies = [ "wasmtime", ] @@ -2967,7 +2967,7 @@ dependencies = [ [[package]] name = "runtime" -version = "0.11.9" +version = "0.11.10-rc.2" dependencies = [ "anyhow", "async-trait", @@ -3161,7 +3161,7 @@ dependencies = [ [[package]] name = "secret" -version = "0.11.9" +version = "0.11.10-rc.2" dependencies = [ "anyhow", "reactor", diff --git a/Cargo.toml b/Cargo.toml index 662f7ed..a42a8c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/*"] resolver = "2" [workspace.package] -version = "0.11.9" +version = "0.11.10-rc.2" edition = "2021" publish = false authors = ["FastEdge Development Team"] diff --git a/crates/key-value-store/src/lib.rs b/crates/key-value-store/src/lib.rs index 20ef503..900c7ea 100644 --- a/crates/key-value-store/src/lib.rs +++ b/crates/key-value-store/src/lib.rs @@ -149,7 +149,7 @@ impl KeyValueStore { } #[instrument(skip(self), level = "trace", ret, err)] - async fn scan(&mut self, store: u32, pattern: &str) -> Result, Error> { + pub async fn scan(&mut self, store: u32, pattern: &str) -> Result, Error> { let Some(store) = self.stores.get(store as usize) else { return Err(Error::NoSuchStore); }; @@ -157,7 +157,7 @@ impl KeyValueStore { } #[instrument(skip(self), level = "trace", ret, err)] - async fn zscan( + pub async fn zscan( &mut self, store: u32, key: &str, diff --git a/sdk b/sdk index 0a12055..894db75 160000 --- a/sdk +++ b/sdk @@ -1 +1 @@ -Subproject commit 0a12055ee06c894333a88617781785617fe93900 +Subproject commit 894db7581329fb4452edc4117bc534c10f09661c