Skip to content

Commit 85457f1

Browse files
Bump uniffi from 0.28.2 to 0.29.2 (#211)
* Bump uniffi from 0.28.2 to 0.29.1 Bumps [uniffi](https://github.com/mozilla/uniffi-rs) from 0.28.2 to 0.29.1. - [Changelog](https://github.com/mozilla/uniffi-rs/blob/main/CHANGELOG.md) - [Commits](mozilla/uniffi-rs@v0.28.2...v0.29.1) --- updated-dependencies: - dependency-name: uniffi dependency-version: 0.29.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update to new bindgen-java Locally kotlin tests are failing, which shouldn't have required any changes * Drop tokio runtime macro * DeterministicFieldOps moves over * SaaSShieldSecurityEventOps * StandardAttachedDocumentOps * StandardDocumentOps ROUGH very rough because of `AlloyClient`. Still ends up exposed this way I think unfortunately. * VectorOps * Sure looks like the tokio runtime lines are needed * Drop lazy_static * Checkpoint Java and Kotlin foreign client working * Partial Python foreign trait test * Duplicate bad sdk test in Java Opened a bug in uniffi for what's potentially causing our python problem. Made foreign test harnesses output for info, stopped wasting time formatting code as part of binding generation for tests. * Consume uniffi 0.29.2 for bugfix * Re-enable broken test, fixed by uniffi bugfix * Add info to changelog * Use newer cargo-sort --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Murph Murphy <[email protected]>
1 parent 5491899 commit 85457f1

37 files changed

+942
-605
lines changed

.github/workflows/sdk-ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
with:
4949
cache-provider: github
5050
- name: Generate Kotlin files
51-
run: cargo run --bin uniffi-bindgen generate --library resources/libironcore_alloy.* --language kotlin --out-dir kotlin
51+
run: cargo run --bin uniffi-bindgen generate --library resources/libironcore_alloy.* --language kotlin --out-dir kotlin --no-format
5252
working-directory: kotlin/src/main
5353
- name: Run Kotlin tests
5454
run: ./gradlew test
@@ -121,7 +121,7 @@ jobs:
121121
with:
122122
cache-provider: github
123123
- name: Generate Python files
124-
run: cargo run --bin uniffi-bindgen generate --library libironcore_alloy.* --language python --out-dir .
124+
run: cargo run --bin uniffi-bindgen generate --library libironcore_alloy.* --language python --out-dir . --no-format
125125
working-directory: python/ironcore-alloy/ironcore_alloy
126126
- name: Install Python test matrix
127127
if: endsWith(matrix.runs-on, 'arm') != true && matrix.runs-on != 'macos-14'
@@ -148,5 +148,5 @@ jobs:
148148
# The arm machines have a permissions error if we don't use sudo
149149
run: sudo pipx install hatch
150150
- name: Run Python tests
151-
run: hatch run test:test
151+
run: hatch run test:test -s
152152
working-directory: python/ironcore-alloy

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## Unreleased
2+
3+
### Breaking Changes
4+
- Updated SaaS Shield Clients to take a native http client as an argument. The client must implement HttpClient, which requires only a `postJson` function. See tests in the various languages for example implementations.
5+
- Async functionality now runs fully in the host languages async runtime, there is no longer (sometimes) a Tokio (a Rust async runtime) runtime created to manage async tasks.
6+
17
## 0.11.2
28

39
- Dependency updates

0 commit comments

Comments
 (0)