Objects error types can now be as Result<> error type without wrapping them in Arc<>.
Swift errors now provide localizedDescription (#2116)
Procmacros support tuple-errors (ie, enums used as errors can be tuple-enums.)
What's fixed?
Fixed a problem with procmacro defined errors when the error was not used as an Err result
in the namespace (#2108)
Custom Type names are now treated as type names by all bindings. This means if they will work if they happen to be
keywords in the language. There's a very small risk of this being a breaking change if you used a type name which
did not already start with a capital letter, but this changes makes all type naming consistent.
(#2073)
Macros uniffi::method and uniffi::constructor can now be used with
cfg_attr. (#2113)
Python: Fix custom types generating invalid code when there are forward references.
(#2067)
What's changed?
The internal bindings generation has changed to make it friendlier for external language bindings.
However, this a breaking change for these bindings.
No consumers of any languages are impacted, only the maintainers of these language bindings.
(#2066), (#2094)
The async runtime can be specified for constructors/methods, this will override the runtime specified at the impl block level.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps uniffi from 0.27.3 to 0.28.0.
Changelog
Sourced from uniffi's changelog.
Commits
cd38cce
Merge pull request #2148 from bendk/cut-v0.28.05903ce5
chore: Releasef486682
chore: Releasece178e9
Merge pull request #2143 from bendk/merge-0.27.3-to-mainfb752f8
Merging the release-v0.27.x back into mainaa5dec9
Fix broken overview link in docs (#2140)0096ee1
Deploy the docs site using mike (#2139)b83b384
Fix typo in tools/requirements_docs.txt (#2138)76ef912
Merge pull request #2133 from flisky/main957e0db
build runtimeDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show