Dioxus 0.7.4
This release adds a few new features and fixes several bugs:
- You can now customize all aspects of iOS and Android builds via Dioxus.toml. We are still updating docs on how this works, but for now, you can reference the new toml schema on which fields are available. https://github.com/DioxusLabs/dioxus/blob/main/packages/cli/schema.json
- We have added a new FFI interface for Kotlin, Java, and Swift. We plan to add TS/JS next. This automatically bundles relevant source files into your project and generates Rust interfaces, making it easy to write native plugins.
- We now support bundling iOS widgets, enabling things like live-activity support.
- We have fixed, tested, and improved
dx bundleby vendoring and inlining the tauri bundle code which we previously relied on. This properly sets paths for assets, fixing some long-standing bugs. - Many bugs and panics have been fixed! See "what's changed" for more.
What's Changed
- chore: Remove Freya from README by @marc2332 in #5239
- Fix
android_runtime_locknot beingcfgguarded by @CryZe in #5244 - docs: fix grammar and typos in comments and documentation by @AnttiJalomaki in #5254
- fix: replace unwraps with errors in fullstack WebSockets by @matous-volf in #5248
- fix: Handle HTTP errors in FromResponseParts by @nerjs in #5243
- fix more whitespace issues in rsx autofmt nested rsx blocks by @jkelleyrtp in #5257
- workspace hot-patching, dynamic tls fixups by @jkelleyrtp in #5291
- feat: Enable plumbing through keep_names to wasm build for better sta… by @rdeaton in #5296
- fix(cli) replace installation_url with application_id in launch_ios_app_paused by @serbanbjd in #5283
- implement stream and sink for websocket by @MarekPokropinski in #5308
- fix(fullstack): prevent AlreadyBorrowed panic in WebSocket recv() by @kyle-rader in #5300
- permissions,
manganis::ffi, full Info.plist/AndroidManifest.xml customization by @wheregmis in #4842 - Avoid eval on web by @mohe2015 in #5313
- feat(signals): add WritableResultExt trait by @costajohnt in #5338
- Fix panic in calculator when pressing ± after AC by @Bortlesboat in #5352
- Bump quinn-proto from 0.11.13 to 0.11.14 by @dependabot[bot] in #5359
- Update workflow to working intel macOS image by @martinmr in #5336
- Fix opening native targets while they are still building and retry tcp connections to avoid server is still loading page by @ealmloff in #5358
- Update doc reference: SsrRender → Renderer by @Infinoid in #5378
- fix(file-explorer): prevent entering files as directories by @BillionClaw in #5383
- rip out tauri bundle (v2), swc -> esbuild, blacksmith -> warpbuild, FAST CI 🚀 by @jkelleyrtp in #5328
- version tools by @jkelleyrtp in #5407
- docs: clarify difference between use_context and consume_context by @costajohnt in #5406
- fix: diffing debug in
push_all_root_nodes()by @acheul in #5413 - fix stutter in bundle, fix nsis, fix msi bundling by @jkelleyrtp in #5412
- Fix using iOS mobile simulator on Intel Mac. by @petewatts in #5268
- updated dependencies by @niminypiminy in #5402
- chore: add .gitattributes for consistent line endings by @Dieshen in #5385
- Feat: allow config for showing the main app on tray icon click by @mattdjenkinson in #5361
- fix: additional new line in info.plist by @javiersuweijie in #5389
- fix(cli): skip platform-specific test assertions when tools are unavailable by @Dieshen in #5386
New Contributors
- @AnttiJalomaki made their first contribution in #5254
- @matous-volf made their first contribution in #5248
- @nerjs made their first contribution in #5243
- @rdeaton made their first contribution in #5296
- @serbanbjd made their first contribution in #5283
- @MarekPokropinski made their first contribution in #5308
- @kyle-rader made their first contribution in #5300
- @costajohnt made their first contribution in #5338
- @Bortlesboat made their first contribution in #5352
- @martinmr made their first contribution in #5336
- @Infinoid made their first contribution in #5378
- @BillionClaw made their first contribution in #5383
- @petewatts made their first contribution in #5268
- @niminypiminy made their first contribution in #5402
- @Dieshen made their first contribution in #5385
- @mattdjenkinson made their first contribution in #5361
- @javiersuweijie made their first contribution in #5389
Full Changelog: v0.7.3...v0.7.4