Compare commits

...

31 Commits

Author SHA1 Message Date
renovate[bot]
3a86f7b3c3
chore(deps): update hashicorp/vault-action action to v2.8.1 (#56)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [hashicorp/vault-action](https://togithub.com/hashicorp/vault-action)
| action | patch | `v2.8.0` -> `v2.8.1` |

---

### Release Notes

<details>
<summary>hashicorp/vault-action (hashicorp/vault-action)</summary>

###
[`v2.8.1`](https://togithub.com/hashicorp/vault-action/releases/tag/v2.8.1)

[Compare
Source](https://togithub.com/hashicorp/vault-action/compare/v2.8.0...v2.8.1)

##### 2.8.1 (February 15, 2024)

Bugs:

- Revert [GH-509](https://togithub.com/hashicorp/vault-action/pull/509)
which made a backwards incompatible bump of the node runtime from node16
to node20 [GH-527](https://togithub.com/hashicorp/vault-action/pull/527)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/fluencelabs/sqlite-wasm-connector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-29 21:17:35 +00:00
fluencebot
aa50b4c73b
chore(master): release marine-sqlite-connector 0.11.0 (#60)
🤖 I have created a release *beep* *boop*
---


##
[0.11.0](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.10.0...marine-sqlite-connector-v0.11.0)
(2024-02-22)


### ⚠ BREAKING CHANGES

* **deps:** update marine-rs-sdk
([#58](https://github.com/fluencelabs/sqlite-wasm-connector/issues/58))

### Bug Fixes

* **deps:** update marine-rs-sdk
([#58](https://github.com/fluencelabs/sqlite-wasm-connector/issues/58))
([6b1e8d7](6b1e8d7b3c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-02-22 15:57:12 +04:00
renovate[bot]
6b1e8d7b3c
fix(deps)!: update marine-rs-sdk (#58)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [marine-rs-sdk](https://togithub.com/fluencelabs/marine-rs-sdk) |
dependencies | minor | `0.12.0` -> `0.14.0` |
|
[marine-rs-sdk-test](https://togithub.com/fluencelabs/marine-rs-sdk-test)
| dev-dependencies | minor | `0.13.0` -> `0.15.0` |

---

### Release Notes

<details>
<summary>fluencelabs/marine-rs-sdk (marine-rs-sdk)</summary>

###
[`v0.14.0`](https://togithub.com/fluencelabs/marine-rs-sdk/blob/HEAD/CHANGELOG.md#0140-2024-02-21)

[Compare
Source](https://togithub.com/fluencelabs/marine-rs-sdk/compare/marine-rs-sdk-v0.13.0...marine-rs-sdk-v0.14.0)

##### ⚠ BREAKING CHANGES

- rename lambda to lens
([#&#8203;159](https://togithub.com/fluencelabs/marine-rs-sdk/issues/159))

##### Features

- rename lambda to lens
([#&#8203;159](https://togithub.com/fluencelabs/marine-rs-sdk/issues/159))
([9bb739a](9bb739a6e7))

###
[`v0.13.0`](https://togithub.com/fluencelabs/marine-rs-sdk/blob/HEAD/CHANGELOG.md#0130-2024-02-20)

[Compare
Source](https://togithub.com/fluencelabs/marine-rs-sdk/compare/marine-rs-sdk-v0.12.0...marine-rs-sdk-v0.13.0)

##### ⚠ BREAKING CHANGES

- **host api:** rename `json_path` field in SecurityTetraplet to
`lambda` to follow AquaVM naming
([#&#8203;158](https://togithub.com/fluencelabs/marine-rs-sdk/issues/158))
- **host api:** add particle parameters into CallParameters
([#&#8203;156](https://togithub.com/fluencelabs/marine-rs-sdk/issues/156))

##### Features

- **host api:** add particle parameters into CallParameters
([#&#8203;156](https://togithub.com/fluencelabs/marine-rs-sdk/issues/156))
([8c7352e](8c7352e599))
- **host api:** rename `json_path` field in SecurityTetraplet to
`lambda` to follow AquaVM naming
([#&#8203;158](https://togithub.com/fluencelabs/marine-rs-sdk/issues/158))
([4a9e72e](4a9e72e64c))

</details>

<details>
<summary>fluencelabs/marine-rs-sdk-test (marine-rs-sdk-test)</summary>

###
[`v0.15.0`](https://togithub.com/fluencelabs/marine-rs-sdk-test/blob/HEAD/CHANGELOG.md#0150-2024-02-21)

[Compare
Source](https://togithub.com/fluencelabs/marine-rs-sdk-test/compare/marine-rs-sdk-test-v0.14.0...marine-rs-sdk-test-v0.15.0)

##### ⚠ BREAKING CHANGES

- update sdk and marine
([#&#8203;117](https://togithub.com/fluencelabs/marine-rs-sdk-test/issues/117))

##### Features

- update sdk and marine
([#&#8203;117](https://togithub.com/fluencelabs/marine-rs-sdk-test/issues/117))
([467cc1c](467cc1c1ef))

###
[`v0.14.0`](https://togithub.com/fluencelabs/marine-rs-sdk-test/blob/HEAD/CHANGELOG.md#0140-2024-02-20)

[Compare
Source](https://togithub.com/fluencelabs/marine-rs-sdk-test/compare/marine-rs-sdk-test-v0.13.0...marine-rs-sdk-test-v0.14.0)

##### ⚠ BREAKING CHANGES

- update marine-rs-sdk and fluence-app-service to support
\__marine_host_api_v2
([#&#8203;115](https://togithub.com/fluencelabs/marine-rs-sdk-test/issues/115))

##### Features

- update marine-rs-sdk and fluence-app-service to support
\__marine_host_api_v2
([#&#8203;115](https://togithub.com/fluencelabs/marine-rs-sdk-test/issues/115))
([7d61884](7d61884188))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/fluencelabs/sqlite-wasm-connector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-22 15:32:46 +04:00
renovate[bot]
a8c494bae0
chore(deps): update hashicorp/vault-action action to v2.8.0 (#53) 2024-02-14 14:38:39 +03:00
fluencebot
a9960b0d44
chore(master): release marine-sqlite-connector 0.10.0 (#55)
🤖 I have created a release *beep* *boop*
---


##
[0.10.0](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.9.4...marine-sqlite-connector-v0.10.0)
(2024-02-14)


### ⚠ BREAKING CHANGES

* **deps:** update rust crate marine-rs-sdk to 0.12.0
([#54](https://github.com/fluencelabs/sqlite-wasm-connector/issues/54))

### Bug Fixes

* **deps:** update rust crate marine-rs-sdk to 0.12.0
([#54](https://github.com/fluencelabs/sqlite-wasm-connector/issues/54))
([a613613](a613613e4e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-02-14 15:18:52 +04:00
renovate[bot]
a613613e4e
fix(deps)!: update rust crate marine-rs-sdk to 0.12.0 (#54)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [marine-rs-sdk](https://togithub.com/fluencelabs/marine-rs-sdk) |
dependencies | minor | `0.10.3` -> `0.12.0` |

---

### Release Notes

<details>
<summary>fluencelabs/marine-rs-sdk (marine-rs-sdk)</summary>

###
[`v0.12.0`](https://togithub.com/fluencelabs/marine-rs-sdk/blob/HEAD/CHANGELOG.md#0120-2024-02-08)

[Compare
Source](https://togithub.com/fluencelabs/marine-rs-sdk/compare/marine-rs-sdk-v0.11.0...marine-rs-sdk-v0.12.0)

##### ⚠ BREAKING CHANGES

- introduce host import API versions
([#&#8203;154](https://togithub.com/fluencelabs/marine-rs-sdk/issues/154))

##### Features

- introduce host import API versions
([#&#8203;154](https://togithub.com/fluencelabs/marine-rs-sdk/issues/154))
([eaf9512](eaf9512cf1))

###
[`v0.11.0`](https://togithub.com/fluencelabs/marine-rs-sdk/blob/HEAD/CHANGELOG.md#0110-2024-02-05)

[Compare
Source](https://togithub.com/fluencelabs/marine-rs-sdk/compare/marine-rs-sdk-v0.10.3...marine-rs-sdk-v0.11.0)

##### ⚠ BREAKING CHANGES

- **ABI, call-parameters:** add worker_id field into CallParameters
([#&#8203;151](https://togithub.com/fluencelabs/marine-rs-sdk/issues/151))

##### Features

- **ABI, call-parameters:** add worker_id field into CallParameters
([#&#8203;151](https://togithub.com/fluencelabs/marine-rs-sdk/issues/151))
([3bdf0c2](3bdf0c242a))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/fluencelabs/sqlite-wasm-connector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Maria Kuklina <maria@fluence.one>
2024-02-14 15:05:18 +04:00
fluencebot
7778787125
chore(master): release marine-sqlite-connector 0.9.4 (#52)
🤖 I have created a release *beep* *boop*
---


##
[0.9.4](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.9.3...marine-sqlite-connector-v0.9.4)
(2023-12-29)


### Bug Fixes

* **deps:** update rust crate marine-rs-sdk to 0.10.3
([#51](https://github.com/fluencelabs/sqlite-wasm-connector/issues/51))
([e90e9f2](e90e9f2d3f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-12-29 01:51:11 +00:00
renovate[bot]
e90e9f2d3f
fix(deps): update rust crate marine-rs-sdk to 0.10.3 (#51)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [marine-rs-sdk](https://togithub.com/fluencelabs/marine-rs-sdk) |
dependencies | patch | `0.10.2` -> `0.10.3` |

---

### Release Notes

<details>
<summary>fluencelabs/marine-rs-sdk (marine-rs-sdk)</summary>

###
[`v0.10.3`](https://togithub.com/fluencelabs/marine-rs-sdk/blob/HEAD/CHANGELOG.md#0103-2023-12-27)

[Compare
Source](https://togithub.com/fluencelabs/marine-rs-sdk/compare/marine-rs-sdk-v0.10.2...marine-rs-sdk-v0.10.3)

##### Features

- **call-parameters:** optional rkyv support
([#&#8203;148](https://togithub.com/fluencelabs/marine-rs-sdk/issues/148))
([22863bc](22863bc94f))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/fluencelabs/sqlite-wasm-connector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-29 01:28:24 +00:00
fluencebot
dbcd85e0d2
chore(master): release marine-sqlite-connector 0.9.3 (#49)
Co-authored-by: raftedproc <71657594+raftedproc@users.noreply.github.com>
2023-12-26 10:03:26 +03:00
renovate[bot]
b26e0132e6
chore(deps): update google-github-actions/release-please-action action to v4 (#45)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-26 09:37:49 +03:00
renovate[bot]
0fd1e99ed5
chore(deps): update actions/download-artifact action to v4 (#46)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-26 09:37:09 +03:00
folex
b0971a6a5a
feat(update): wasm sqlite 0.18.2 (#50) 2023-12-25 19:42:18 -03:00
renovate[bot]
8d33efa49b
chore(deps): update rust crate marine-rs-sdk-test to 0.12.1 (#44)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-25 18:59:28 -03:00
fluencebot
1c86bd8816
chore(master): release marine-sqlite-connector 0.9.2 (#48) 2023-12-19 17:11:51 +03:00
Valery Antopol
dc8decc61f
feat: update marine sdk's and config (#47) 2023-12-19 17:03:05 +03:00
renovate[bot]
6052d0fc2a
chore(deps): update hashicorp/vault-action action to v2.7.4 (#41)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-21 19:56:35 +03:00
Anatolios Laskaris
aefbe84f39
chore: Update nox snapshot step (#43) 2023-11-21 13:44:50 +02:00
Anatolios Laskaris
0c0fc3cf2d
chore: Use new setup rust action (#42) 2023-11-13 17:42:30 +02:00
fluencebot
abc999ecb7
chore(master): release marine-sqlite-connector 0.9.1 (#37) 2023-10-24 19:18:22 +03:00
renovate[bot]
67c8261ea9
fix(deps): update marine-rs-sdk (#40)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 19:17:37 +03:00
Anatolios Laskaris
af2e730f35
chore: Bump marine things at the same time (#39) 2023-10-24 19:16:32 +03:00
renovate[bot]
cac0f63bbc
fix(deps): update rust crate bytesize to 1.3.0 (#32)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 14:22:47 +03:00
renovate[bot]
1040b5be5e
chore(deps): update actions/checkout action to v4 (#34)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 14:08:44 +03:00
renovate[bot]
77196ff094
chore(deps): update hashicorp/vault-action action to v2.7.3 (#28)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 14:02:59 +03:00
Anatolios Laskaris
01dfb1d32b
chore: Debug spell dtos override (#36) 2023-10-23 13:59:05 +03:00
Anatolios Laskaris
07b1848405
chore: Setup marine artifact from checks (#33) 2023-09-04 14:57:04 +03:00
Anatolios Laskaris
4fdfac1e03
chore: Fix e2e (#31)
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2023-09-04 14:44:27 +03:00
fluencebot
4ae55d4042
chore(master): release marine-sqlite-connector 0.9.0 (#30) 2023-08-28 18:57:49 +03:00
raftedproc
045c1710e4
fix: update sqlite WASM module version to 0.18.1 (#26) 2023-08-23 13:46:10 +03:00
renovate[bot]
743010e16c
fix(deps): update rust crate marine-rs-sdk to 0.9.0 (#29)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-22 16:09:48 +03:00
renovate[bot]
13e1ff6f8a
chore(deps): update rust crate marine-rs-sdk-test to 0.10.2 (#27)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-22 16:09:16 +03:00
15 changed files with 183 additions and 74 deletions

View File

@ -1,3 +1,3 @@
{
".": "0.8.2"
".": "0.11.0"
}

16
.github/renovate.json vendored Normal file
View File

@ -0,0 +1,16 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"packageRules": [
{
"matchManagers": ["cargo"],
"groupName": "marine-rs-sdk",
"matchPackagePatterns": [
"marine-rs-sdk",
"marine-rs-sdk-test"
]
}
]
}

View File

@ -49,11 +49,26 @@ jobs:
}
]
rust-peer:
decider:
needs:
- spell
uses: fluencelabs/decider/.github/workflows/snapshot.yml@main
with:
cargo-dependencies: |
[
{
"package": "fluence-spell-dtos",
"version": "=${{ needs.spell.outputs.cargo-version }}",
"registry": "fluence"
}
]
uses: fluencelabs/rust-peer/.github/workflows/build.yml@master
nox:
needs:
- spell
- decider
uses: fluencelabs/nox/.github/workflows/build.yml@master
with:
cargo-dependencies: |
[
@ -66,34 +81,38 @@ jobs:
"package": "fluence-spell-distro",
"version": "=${{ needs.spell.outputs.cargo-version }}",
"registry": "fluence"
},
{
"package": "decider-distro",
"version": "=${{ needs.decider.outputs.cargo-version }}",
"manifest": "crates/system-services/Cargo.toml",
"registry": "fluence"
}
]
rust-peer-snapshot:
nox-snapshot:
needs:
- rust-peer
- nox
uses: fluencelabs/rust-peer/.github/workflows/container.yml@master
uses: fluencelabs/nox/.github/workflows/container.yml@master
with:
image-name: "docker.fluence.dev/sqlite-wasm-connector"
flavour: "minimal"
rust-peer-sha: "${{ needs.rust-peer.outputs.rust-peer-sha }}"
spell-aqua-tests:
name: "spell"
needs:
- rust-peer-snapshot
- nox-snapshot
uses: fluencelabs/spell/.github/workflows/tests.yml@main
with:
rust-peer-image: "${{ needs.rust-peer-snapshot.outputs.rust-peer-image }}"
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
registry:
needs:
- rust-peer-snapshot
- nox-snapshot
- snapshot
uses: fluencelabs/registry/.github/workflows/tests.yml@main
with:
rust-peer-image: "${{ needs.rust-peer-snapshot.outputs.rust-peer-image }}"
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
cargo-dependencies: |
[
{

21
.github/workflows/lint-pr.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: lint PR
on:
pull_request:
types:
- opened
- edited
- synchronize
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
pr:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -2,29 +2,20 @@ name: lint
on:
pull_request:
types:
- opened
- edited
- synchronize
paths:
- ".github/workflows/**"
- ".github/renovate.json"
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
pr:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
reviewdog:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Lint actions
uses: reviewdog/action-actionlint@v1
@ -33,3 +24,14 @@ jobs:
with:
reporter: github-pr-check
fail_on_error: true
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Renovate Config Validator
uses: tj-actions/renovate-config-validator@v2
with:
config_file: .github/renovate.json

View File

@ -21,7 +21,7 @@ jobs:
steps:
- name: Run release-please
id: release
uses: google-github-actions/release-please-action@v3
uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.FLUENCEBOT_RELEASE_PLEASE_PAT }}
command: manifest
@ -45,12 +45,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.FLUENCEBOT_RELEASE_PLEASE_PAT }}
- name: Import secrets
uses: hashicorp/vault-action@v2.5.0
uses: hashicorp/vault-action@v2.8.1
with:
url: https://vault.fluence.dev
path: jwt/github
@ -63,7 +63,7 @@ jobs:
kv/crates.io/fluencebot token | CARGO_REGISTRY_TOKEN ;
- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
uses: dsherret/rust-toolchain-file@v1
- name: Setup marine
uses: fluencelabs/setup-marine@v1
@ -101,7 +101,7 @@ jobs:
echo "found any?:" "${{ steps.status.outputs.found }}"
- name: Import secrets
uses: hashicorp/vault-action@v2.5.0
uses: hashicorp/vault-action@v2.8.1
with:
url: https://vault.fluence.dev
path: jwt/github

View File

@ -15,7 +15,7 @@ on:
jobs:
snapshot:
name: "Publish snapshot"
runs-on: ubuntu-latest
runs-on: builder
timeout-minutes: 60
outputs:
@ -27,13 +27,13 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: fluencelabs/sqlite-wasm-connector
ref: ${{ inputs.ref }}
- name: Import secrets
uses: hashicorp/vault-action@v2.5.0
uses: hashicorp/vault-action@v2.8.1
with:
url: https://vault.fluence.dev
path: jwt/github
@ -46,26 +46,24 @@ jobs:
kv/cargo-registry/users/ci token | CARGO_REGISTRIES_FLUENCE_TOKEN
- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
uses: dsherret/rust-toolchain-file@v1
- name: Download marine artifact
id: marine
uses: actions/download-artifact@v3
continue-on-error: true
- name: Setup cache
uses: Swatinem/rust-cache@v2
with:
name: marine
path: ~/.local/bin
- name: Make marine executable
if: steps.marine.outcome == 'success'
run: chmod +x ~/.local/bin/marine
shared-key: sqlite-wasm-connector
# github allows only 10GB of cache
# so save cache only on merge to master
# to use less space and speed up CI
save-if: ${{ github.event_name == 'push' }}
- name: Setup marine
if: steps.marine.outcome == 'failure'
uses: fluencelabs/setup-marine@v1
with:
artifact-name: marine
- name: Download sqlite-wasm
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
continue-on-error: true
with:
name: sqlite-wasm

View File

@ -16,32 +16,27 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: fluencelabs/sqlite-wasm-connector
ref: ${{ inputs.ref }}
- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
uses: dsherret/rust-toolchain-file@v1
- name: Download marine artifact
id: marine
uses: actions/download-artifact@v3
continue-on-error: true
- name: Setup cache
uses: Swatinem/rust-cache@v2
with:
name: marine
path: ~/.local/bin
- name: Make marine executable
if: steps.marine.outcome == 'success'
run: chmod +x ~/.local/bin/marine
shared-key: sqlite-wasm-connector
save-if: false
- name: Setup marine
if: steps.marine.outcome == 'failure'
uses: fluencelabs/setup-marine@v1
with:
artifact-name: marine
- name: Download sqlite-wasm
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
continue-on-error: true
with:
name: sqlite-wasm

View File

@ -1,5 +1,68 @@
# Changelog
## [0.11.0](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.10.0...marine-sqlite-connector-v0.11.0) (2024-02-22)
### ⚠ BREAKING CHANGES
* **deps:** update marine-rs-sdk ([#58](https://github.com/fluencelabs/sqlite-wasm-connector/issues/58))
### Bug Fixes
* **deps:** update marine-rs-sdk ([#58](https://github.com/fluencelabs/sqlite-wasm-connector/issues/58)) ([6b1e8d7](https://github.com/fluencelabs/sqlite-wasm-connector/commit/6b1e8d7b3c8c2669381ed31ee182ee72f1f21f0d))
## [0.10.0](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.9.4...marine-sqlite-connector-v0.10.0) (2024-02-14)
### ⚠ BREAKING CHANGES
* **deps:** update rust crate marine-rs-sdk to 0.12.0 ([#54](https://github.com/fluencelabs/sqlite-wasm-connector/issues/54))
### Bug Fixes
* **deps:** update rust crate marine-rs-sdk to 0.12.0 ([#54](https://github.com/fluencelabs/sqlite-wasm-connector/issues/54)) ([a613613](https://github.com/fluencelabs/sqlite-wasm-connector/commit/a613613e4e0f28393ca53c3111e1c07463bdf277))
## [0.9.4](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.9.3...marine-sqlite-connector-v0.9.4) (2023-12-29)
### Bug Fixes
* **deps:** update rust crate marine-rs-sdk to 0.10.3 ([#51](https://github.com/fluencelabs/sqlite-wasm-connector/issues/51)) ([e90e9f2](https://github.com/fluencelabs/sqlite-wasm-connector/commit/e90e9f2d3ff4a661c713f1d4ef05b3f4f4523e47))
## [0.9.3](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.9.2...marine-sqlite-connector-v0.9.3) (2023-12-26)
### Features
* **update:** wasm sqlite 0.18.2 ([#50](https://github.com/fluencelabs/sqlite-wasm-connector/issues/50)) ([b0971a6](https://github.com/fluencelabs/sqlite-wasm-connector/commit/b0971a6a5a6eae97995ef99686c739c11ec0af97))
## [0.9.2](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.9.1...marine-sqlite-connector-v0.9.2) (2023-12-19)
### Features
* update marine sdk's and config ([#47](https://github.com/fluencelabs/sqlite-wasm-connector/issues/47)) ([dc8decc](https://github.com/fluencelabs/sqlite-wasm-connector/commit/dc8decc61f7370ad1eb436a0153b578fbf87f514))
## [0.9.1](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.9.0...marine-sqlite-connector-v0.9.1) (2023-10-24)
### Bug Fixes
* **deps:** update marine-rs-sdk ([#40](https://github.com/fluencelabs/sqlite-wasm-connector/issues/40)) ([67c8261](https://github.com/fluencelabs/sqlite-wasm-connector/commit/67c8261ea910964d45f0df544efeb1119b80f181))
* **deps:** update rust crate bytesize to 1.3.0 ([#32](https://github.com/fluencelabs/sqlite-wasm-connector/issues/32)) ([cac0f63](https://github.com/fluencelabs/sqlite-wasm-connector/commit/cac0f63bbc77ba0a93b56da09d7d2565e2841087))
## [0.9.0](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.8.2...marine-sqlite-connector-v0.9.0) (2023-08-23)
### ⚠ BREAKING CHANGES
* **deps:** update rust crate marine-rs-sdk to 0.9.0
### Bug Fixes
* **deps:** update rust crate marine-rs-sdk to 0.9.0 ([743010e](https://github.com/fluencelabs/sqlite-wasm-connector/commit/743010e16c7cccb3fec19bcf3749b4064948b9dd))
* update sqlite WASM module version to 0.18.1 ([#26](https://github.com/fluencelabs/sqlite-wasm-connector/issues/26)) ([045c171](https://github.com/fluencelabs/sqlite-wasm-connector/commit/045c1710e41566ca4eb42ad616d8e9328a12b440))
## [0.8.2](https://github.com/fluencelabs/sqlite-wasm-connector/compare/marine-sqlite-connector-v0.8.1...marine-sqlite-connector-v0.8.2) (2023-04-27)

View File

@ -1,6 +1,6 @@
[package]
name = "marine-sqlite-connector"
version = "0.8.2"
version = "0.11.0"
license = "Apache-2.0/MIT"
authors = [
"Daniel Dulaney <ddy@vitronic.com>",
@ -36,9 +36,9 @@ name = "test"
path = "src/test.rs"
[dependencies]
marine-rs-sdk = "0.7.1"
bytesize = "1.2.0"
marine-rs-sdk = "0.14.0"
bytesize = "1.3.0"
[dev-dependencies]
marine-rs-sdk-test = "0.9.1"
marine-rs-sdk-test = "0.15.0"
temporary = "0.7"

View File

@ -1,4 +1,5 @@
modules_dir = "artifacts/"
total_memory_limit = "Infinity"
[[module]]
name = "sqlite3"

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
SQLITE_WASM_VERSION="v0.18.0_w"
SQLITE_WASM_VERSION="v0.18.2"
set -o errexit -o nounset -o pipefail
@ -17,5 +17,5 @@ cp target/wasm32-wasi/release/test.wasm artifacts/
# download SQLite 3 to use in tests
if [[ ! -f artifacts/sqlite3.wasm ]]; then
curl -L https://github.com/fluencelabs/sqlite/releases/download/${SQLITE_WASM_VERSION}/sqlite3.wasm -o artifacts/sqlite3.wasm
curl -L https://github.com/fluencelabs/sqlite/releases/download/sqlite-wasm-${SQLITE_WASM_VERSION}/sqlite3.wasm -o artifacts/sqlite3.wasm
fi

View File

@ -1,6 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
]
}

View File

@ -1,4 +1,4 @@
[toolchain]
channel = "nightly-2022-12-06"
channel = "nightly-2023-12-06"
targets = ["x86_64-unknown-linux-gnu", "wasm32-wasi", "wasm32-unknown-unknown"]
components = ["rustfmt", "clippy"]

View File

@ -28,7 +28,7 @@ pub struct DBExecDescriptor {
}
#[marine]
#[link(wasm_import_module = "sqlite3")]
#[module_import("sqlite3")]
extern "C" {
/*
SQLITE_API int sqlite3_open_v2(