Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for v0.28.1 #2213

Merged
merged 70 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
5ccf587
Clarify pointer alignment for `Handle`
mgeisler Jun 24, 2024
bfa98ed
Merge pull request #2170 from mgeisler/patch-4
bendk Jun 24, 2024
6e0e4e4
Swift: Use bytesNoCopy initializer for conversion between RustBuffer …
Akazm Jun 28, 2024
5deff4c
Make `RustBuffer::from_raw_parts` comment more precise
mgeisler Jun 21, 2024
1575a20
Limit `RustBuffer::from_raw_parts` visibility to `pub(crate)`
mgeisler Jun 22, 2024
a62f937
Remote types: interfaces and proc macros ADR
bendk May 24, 2024
dd37435
Merge pull request #2130 from bendk/remote-types-interfaces-and-proc-…
bendk Jul 1, 2024
56f4ed8
Fix the documentation around references
bendk Jun 29, 2024
8bc192e
`RustCallStatus::error_buf` is now `ManuallyDrop` and not `MaybeUnini…
mhammond Jul 2, 2024
0b17a08
Mention procmacros in the intro docs and other minor doc tweaks (#2171)
mhammond Jul 4, 2024
c5da61b
Use fully-qualified names to the stdlib's `core` library
mhammond Jul 4, 2024
f4ca11f
Create fixture proc-macro-no-implicit-prelude (#2180)
jplatte Jul 8, 2024
c26330e
Kotlin: use `Enum.entries` instead of `Enum.values()`
jmartinesp Jul 8, 2024
3c6521a
Add a cargo_metadata feature so using cargo_metadata can be avoided i…
mhammond Jul 12, 2024
bd83dbe
Add `use_enum_entries` configuration option to enable the `EnumClass.…
jmartinesp Jul 12, 2024
75a06ea
Use `kotlin_target_version` instead of `use_enum_entries`
jmartinesp Jul 12, 2024
85f8614
Remove unused import
jmartinesp Jul 12, 2024
1dfd0a5
Fix clippy issue
jmartinesp Jul 12, 2024
037d825
Merge pull request #2182 from jmartinesp/kotlin/use-entries-for-enums
bendk Jul 12, 2024
4803eb4
Only invoke cargo metadata for desired targets (fixes #2183) (#2185)
mhammond Jul 13, 2024
6a07d0a
Don't use cargo_metadata to parse version numbers
bendk Jul 12, 2024
ca3f9d2
Merge pull request #2186 from bendk/push-yyxkkvqtqxno
bendk Jul 13, 2024
cf59498
Don't panic for try_lift errors
bendk Jul 13, 2024
1946490
Handle::from_raw() and HandleAlloc::clone_handle()/consume_handle() a…
mhammond Jul 22, 2024
ee5b840
Remove extra character in document (#2193)
ckaznable Jul 24, 2024
b97973d
Merge pull request #2190 from bendk/no-panic-on-lift-errors
bendk Jul 24, 2024
e585dc0
Fix so cargo_metadata isn't a dependency without the cargo_metadata f…
mhammond Jul 30, 2024
f1c8467
Move cargo_metadata execution out to the edges (ie, to the cli) (#2201)
mhammond Jul 31, 2024
fc7d250
feat: rename python bindings before they hit the template
gruberb Jul 19, 2024
09fdc91
feat: remove filter functions
gruberb Jul 19, 2024
a645721
fix: cargo
gruberb Aug 1, 2024
425d727
fix: spaces
gruberb Jul 19, 2024
73a1cec
feate: adapt python templating
gruberb Jul 22, 2024
6467370
fix: fmt and clippy
gruberb Jul 22, 2024
1edaf37
fix: clippy
gruberb Jul 22, 2024
9bb443b
fix: test import with filter
gruberb Jul 22, 2024
8b18a0d
fix: add renamings
gruberb Jul 22, 2024
1115ae0
fix: fix
gruberb Jul 22, 2024
e08129a
wip
gruberb Jul 23, 2024
93e9bf5
wip
gruberb Jul 23, 2024
f87f146
wip
gruberb Jul 23, 2024
97ab004
wip
gruberb Jul 23, 2024
bad1957
fix: enum, error, cbinterface works
gruberb Jul 24, 2024
727cf9f
feat: ObjectTemplate.py
gruberb Jul 24, 2024
53b2f4c
wip
gruberb Jul 24, 2024
3f2671b
fix: clippy
gruberb Jul 24, 2024
1375b17
feat: replace fn_name and var_name filters
gruberb Jul 24, 2024
0f7c560
feat: rework the visitor trait
gruberb Jul 30, 2024
06a0d3a
fix: linting
gruberb Jul 29, 2024
b737d4b
fix: cargo docs
gruberb Jul 29, 2024
03c78fc
fix: cleanup
gruberb Jul 29, 2024
0e975da
fix: adjustments
gruberb Jul 29, 2024
ec31e9f
fix: remove whitespaces
gruberb Jul 29, 2024
6bd2e6f
fix: pr review
gruberb Aug 1, 2024
e9b2520
fix: cleanup
gruberb Aug 1, 2024
ca35932
fix: add doc comments
gruberb Aug 1, 2024
8db50e6
fix: cleanup
gruberb Aug 1, 2024
d3c55fa
fix: fix missing return type name change, clippy
gruberb Aug 1, 2024
3cb19d8
Provide more external type information to `FfiType::RustBuffer` (#2195)
skeet70 Aug 1, 2024
1f0e0f7
fix: pr review cleanup
gruberb Aug 1, 2024
2d16dd4
fix: cargo fmt
gruberb Aug 1, 2024
106f0b2
Merge pull request #2191 from mozilla/transform-ci
gruberb Aug 1, 2024
4f97413
Adding changelog entries for merges since 0.28.0
bendk Jul 31, 2024
740102f
Merge pull request #2202 from bendk/0.28.1-changlog-entries
bendk Aug 2, 2024
7ff7584
Allow UDL to avoid the `[Rust=...]` attribute by using a plain-old ty…
mhammond Aug 2, 2024
33a24e6
Future cancellation docs and other minor doc tweaks. (#2206)
mhammond Aug 7, 2024
06f10d0
Expose the find_components function
bendk Aug 6, 2024
a99d26e
Merge pull request #2205 from bendk/push-svlokzmovmpv
bendk Aug 7, 2024
e31172f
chore: Release
bendk Aug 9, 2024
1cdf56b
chore: Release
bendk Aug 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,28 @@

## [[UnreleasedUniFFIVersion]] (backend crates: [[UnreleasedBackendVersion]]) - (_[[ReleaseDate]]_)

[All changes in [[UnreleasedUniFFIVersion]]](https://github.com/mozilla/uniffi-rs/compare/v0.28.0...HEAD).
[All changes in [[UnreleasedUniFFIVersion]]](https://github.com/mozilla/uniffi-rs/compare/v0.28.1...HEAD).

## v0.28.0 (backend crates: v0.28.0) - (_2024-06-11_)
## v0.28.1 (backend crates: v0.28.1) - (_2024-08-09_)

### What's new?

- Lift errors will not cause an abort when `panic=abort` is set.
- Added the `cargo_metadata` feature, which is on by default. In some cases, this can be disabled
for better compatibility with projects that don't use cargo.
- A new bindgen command line option `--metadata-no-deps` is available to avoid processing
cargo_metadata for all dependencies.
- In UDL it's now possible (and preferred) to remove the `[Rust=]` attribute and use a plain-old typedef.
See [the manual page for this](https://mozilla.github.io/uniffi-rs/next/udl/ext_types.html#types-from-procmacros-in-this-crate).

### What's changed?
- Kotlin will use the more efficient Enum.entries property instead of Enum.values() when possible

[All changes in v0.28.1](https://github.com/mozilla/uniffi-rs/compare/v0.28.0...v0.28.1).

## v0.28.0 (backend crates: v0.28.0) - (_2024-06-11_)

### What's new?
- Objects error types can now be as `Result<>` error type without wrapping them in `Arc<>`.

- Swift errors now provide `localizedDescription` ([#2116](https://github.com/mozilla/uniffi-rs/pull/2116))
Expand Down
27 changes: 18 additions & 9 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ members = [
"fixtures/keywords/swift",
"fixtures/metadata",
"fixtures/proc-macro",
"fixtures/proc-macro-no-implicit-prelude",
"fixtures/regressions/enum-without-i32-helpers",
"fixtures/regressions/fully-qualified-types",
"fixtures/regressions/kotlin-experimental-unsigned-types",
Expand Down
Loading