MyGit

v0.6.0-alpha.4

DioxusLabs/dioxus

版本发布时间: 2024-11-02 07:52:27

DioxusLabs/dioxus最新发布版本:v0.6.1(2024-12-18 10:31:25)

Dioxus v0.6.0-alpha.4

This release is planned to be the last release of the v0.6 alpha cycle fixing a number of bugs with hotreloading, assets, the router, and more.

To install the CLI (instead of building from source) use:

cargo binstall dioxus-cli --version v0.6.0-alpha.4

Major changes in this alpha:

Inline iOS support, android fixes:

bothmainmobile

Overhaul of the CLI:

We dropped the custom scroll behavior of the previous alpha in favor of a simple fixed viewport and traditional println!()-oriented history.

This provides more details while also allowing scrollback/selection/etc.

Screenshot 2024-10-13 at 10 18 50 PM

Hotreloading for manganis assets in all platforms (except Android)

All asset!() calls now support hotreloading:

https://github.com/user-attachments/assets/378f00ac-0611-41af-a2d2-5666623d8c9b

Asset system changes

We adjusted the path format of the asset!() macro to force leading slashes. This will eventually let us support relative paths to assets as well as make it clear that you cannot include assets from outside the package directory:

Screenshot 2024-10-15 at 8 35 48 PM

onresize handler

You can now attach onresize to your elements and track changes to element size without an Observer.

Fullstack server functions for iOS/Android/Desktop

By default, in dev, server functions are now callable from native apps without any additional configuration.

Keep in mind that in production you will still want to set the endpoint of your server.

Improved compile times

We cut the workspace into smaller pieces that include fewer dependencies. This should improve build times by about 50%.

Docsite improvements

We have been using the docsite as a canary for many of the new features (like static-site-generation) and you can test drive it at https://dioxuslabs.com.

Bug fixes

We fixed a ton of bugs, so things should be more reliable, faster, and hopefully more intuitive.

Known issues remaining:

What's Changed

New Contributors

Full Changelog: https://github.com/DioxusLabs/dioxus/compare/v0.6.0-alpha.2...v0.6.0-alpha.4

相关地址:原始地址 下载(tar) 下载(zip)

1、 dx-aarch64-apple-darwin-v0.6.0-alpha.4.sha256 112B

2、 dx-aarch64-apple-darwin-v0.6.0-alpha.4.tar.gz 14.94MB

3、 dx-aarch64-pc-windows-msvc-v0.6.0-alpha.4.sha256 112B

4、 dx-aarch64-pc-windows-msvc-v0.6.0-alpha.4.zip 12MB

5、 dx-x86_64-apple-darwin-v0.6.0-alpha.4.sha256 111B

6、 dx-x86_64-apple-darwin-v0.6.0-alpha.4.tar.gz 15.69MB

7、 dx-x86_64-pc-windows-msvc-v0.6.0-alpha.4.sha256 111B

8、 dx-x86_64-pc-windows-msvc-v0.6.0-alpha.4.zip 12.82MB

9、 dx-x86_64-unknown-linux-gnu-v0.6.0-alpha.4.sha256 116B

10、 dx-x86_64-unknown-linux-gnu-v0.6.0-alpha.4.tar.gz 15.46MB

查看:2024-11-02发行的版本