Skip to content

Commit 592f772

Browse files
committed
Bump v0.2.0+v0.25.0
1 parent 91eacef commit 592f772

File tree

7 files changed

+89
-5
lines changed

7 files changed

+89
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
Generate [UniFFI](https://github.com/mozilla/uniffi-rs) bindings for Go. `uniffi-bindgen-go` lives
44
as a separate project from `uniffi-go`, as per
55
[uniffi-rs #1355](https://github.com/mozilla/uniffi-rs/issues/1355). Currently, `uniffi-bindgen-go`
6-
uses `uniffi-rs` version `0.23.0`.
6+
uses `uniffi-rs` version `0.25.0`.
77

88
# How to install
99

10-
Minimum Rust version required to install `uniffi-bindgen-go` is `1.64`.
10+
Minimum Rust version required to install `uniffi-bindgen-go` is `1.70`.
1111
Newer Rust versions should also work fine.
1212

1313
```
14-
cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go
14+
cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go --tag v0.2.0+v0.25.0
1515
```
1616

1717
# How to generate bindings

bindgen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uniffi-bindgen-go"
3-
version = "0.1.2+v.0.25.0"
3+
version = "0.2.0+v0.25.0"
44
edition = "2021"
55

66
[lib]

docs/CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
----
2+
3+
### v0.2.0+v0.25.0
4+
5+
- **BREAKING**: Update to uniffi 0.25.0.
6+
- **IMPORTANT**: Fix race condition in callback handling code [#28](https://github.com/NordSecurity/uniffi-bindgen-go/issues/28).
7+
- Implement `--library-mode` command line option.
8+
- Implement async functions and methods.
9+
- implement foreign executor.
10+
- Implement `bytes` type.
11+
- Implement external types.
12+
- Fix incorrect code emitted for all caps acronyms in objects and callbacks, e.g. `HTTPClient`.
13+
14+
----
15+
16+
### v0.1.5+v0.23.0
17+
18+
- **IMPORTANT**: Fix memory leak for all strings being read from FFI.
19+
20+
### v0.1.4+v0.23.0
21+
22+
- Fix typo in generated Go bindings for associated enum case with no fields.
23+
24+
### v0.1.3+v0.23.0
25+
26+
- Closing generated binding file before formatting.
27+
- Removed unnecessery import from EnumTemplate.go.
28+
29+
### v0.1.2+v0.23.0
30+
31+
- Fix 0.1 release to be compatible with mozilla/uniffi-rs 0.23.0 after docstring changes.
32+
33+
### v0.1.1+v0.23.0
34+
35+
- Changed callback return type to `C.uint64_t`.
36+
37+
### v0.1.0+v0.23.0
38+
39+
- Updated version tag pattern.
40+
41+
----
File renamed without changes.
File renamed without changes.

docs/RELEASE.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
## Figure out next version
2+
3+
Following [versioning rules](../README.md/#versioning), figure
4+
out the version to be made. If there were any breaking changes since last version, bump the minor
5+
component. If there weren't any breaking changes, bump the patch component.
6+
7+
The version follows semver, and consists of `uniffi-bindgen-go` base version, followed by
8+
upstream `uniffi-rs` version in the build metadata component (denoted as `+`). The upstream explicit
9+
upstream `uniffi-rs` aids consumer to target the same upstream version when mixing multiple
10+
generators, e.g. `uniffi-bindgen-cs` and `uniffi-bindgen-go`.
11+
```
12+
v0.6.0+v0.25.0
13+
```
14+
15+
## Update version in [bindgen/Cargo.toml](../bindgen/Cargo.toml)
16+
17+
Note that the version in [bindgen/Cargo.toml](../bindgen/Cargo.toml) does is not prefixed with `v`,
18+
i.e. `0.6.0+v0.25.0` instead of `v0.6.0+v0.25.0`.
19+
20+
## Refresh [bindgen/Cargo.toml](../bindgen/Cargo.toml)
21+
22+
Run any `cargo` command to update `Cargo.lock` file, e.g.
23+
```
24+
cargo build
25+
```
26+
27+
## Update version in [README.md](../README.md)
28+
29+
Update the installation command to use the new version.
30+
31+
## Update `docs/CHANGELOG.md`
32+
33+
Inspect Git history, create a list of changes since last version.
34+
- For breaking changes, prefix the change with `**BREAKING**:`
35+
- For important changes, such as memory leak or race condition fixes, prefix the change with `**IMPORTANT**:`
36+
37+
## Create PR
38+
39+
Create PR, get the PR reviewed, and merge into main.
40+
41+
## Create tag
42+
43+
Once the PR is merged into main, create new tag in `main` branch.

0 commit comments

Comments
 (0)