Skip to content

Commit

Permalink
Bump version v0.23.0-5
Browse files Browse the repository at this point in the history
Signed-off-by: Kristupas Antanavicius <[email protected]>
  • Loading branch information
arg0d committed Oct 2, 2023
1 parent ff1b7b9 commit 3f472d7
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 27 deletions.
40 changes: 20 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM rust:1.64-bullseye as builder
COPY . /project
RUN cd /project && cargo install --path uniffi-bindgen
RUN cargo install uniffi-bindgen-cs --tag v0.2.3+v0.23.0 --git https://github.com/NordSecurity/uniffi-bindgen-cs
RUN cargo install uniffi-bindgen-go --tag v0.1.3+v0.23.0 --git https://github.com/NordSecurity/uniffi-bindgen-go
RUN cargo install uniffi-bindgen-cs --tag v0.4.0+v0.23.0 --git https://github.com/NordSecurity/uniffi-bindgen-cs
RUN cargo install uniffi-bindgen-go --tag v0.1.5+v0.23.0 --git https://github.com/NordSecurity/uniffi-bindgen-go

FROM debian:bullseye
COPY --from=builder /usr/local/cargo/bin/uniffi-bindgen /bin
Expand Down
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,34 @@ shows which versions of each generator are inside the docker image.

| Docker image | uniffi-rs version | uniffi-bindgen-cs version | uniffi-bindgen-go version |
|------------------------|-------------------|---------------------------|---------------------------|
| v0.23.0-5 | v0.23.0-3 (FORK) | v0.4.0+v0.23.0 | v0.1.5+v0.23.0 |
| v0.23.0-4 | v0.23.0 (FORK) | v0.2.3+v0.23.0 | v0.1.3+v0.23.0 |
| v0.23.0-3 (DO NOT USE) | v0.23.0 (FORK) | v0.2.2+v0.23.0 | v0.1.0+v0.23.0 |
| v0.23.0-2 (DO NOT USE) | v0.23.0 | v0.2.1+v0.23.0 | v0.1.0+v0.23.0 |
| v0.23.0-1 | v0.23.0 | v0.2.1+v0.23.0 | not present |

# v0.23.0-4
### v0.23.0-5

`uniffi-rs`:
- Add missing docstrings to Kotlin flat enum variants

`uniffi-bindgen-go`:
- **IMPORTANT**: Fix memory leak for all strings being read from FFI
- Fix typo in generated Go bindings for associated enum case with no fields

`uniffi-bindgen-cs`:
- **BREAKING**: flat enum variants are lowercase
- Lowercase numeric types in generated bindings code
- Fix missing imports when ImplicitUsings is not enabled
- Allow configuration of global methods class name (uniffi.toml: global_methods_class_name)

### v0.23.0-4

uniffi-rs [fork](https://github.com/NordSecurity/uniffi-rs/commit/36de103c82d3e062ac045b13394b8ad387d23a67) changelist:
- Docstrings support. See
[mozilla/uniffi-rs/pull/1493](https://github.com/mozilla/uniffi-rs/pull/1493) and
[mozilla/uniffi-rs/pull/1498](https://github.com/mozilla/uniffi-rs/pull/1498).

# v0.23.0-2, v0.23.0-3
### v0.23.0-2, v0.23.0-3

Those versions have a severe bug which make those versions unusable. Do not use.
4 changes: 2 additions & 2 deletions compatibility-test/tests/cs/test_coverall.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ public void TestComplexErrors() {
[Fact]
public void TestInterfacesInDicts() {
using (var coveralls = new Coveralls("test_interface_in_dicts")) {
coveralls.AddPatch(new Patch(Color.RED));
coveralls.AddRepair(new Repair(DateTime.Now, new Patch(Color.BLUE)));
coveralls.AddPatch(new Patch(Color.Red));
coveralls.AddRepair(new Repair(DateTime.Now, new Patch(Color.Blue)));
Assert.Equal(2, coveralls.GetRepairs().Count);
}
}
Expand Down
2 changes: 1 addition & 1 deletion uniffi-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.23.0"
edition = "2021"

[dependencies]
uniffi = { git = "https://github.com/NordSecurity/uniffi-rs.git", rev = "a4318f3b55a7ee2c12eb9f0fe1b5122d89323fc4", features = ["cli"] }
uniffi = { git = "https://github.com/NordSecurity/uniffi-rs.git", tag = "v0.23.0-3", features = ["cli"] }

0 comments on commit 3f472d7

Please sign in to comment.