diff --git a/Cargo.toml b/Cargo.toml index 798941a6a..3803d1d98 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,20 +27,20 @@ fade-cached-incremental-areas = ["freya/fade-cached-incremental-areas"] [workspace.dependencies] freya = { path = "crates/freya", version = "0.2" } -freya-devtools = { path = "crates/devtools", version = "0.2" } -freya-node-state = { path = "crates/state", version = "0.2" } -freya-renderer = { path = "crates/renderer", version = "0.2" } -freya-elements = { path = "crates/elements", version = "0.2" } -freya-common = { path = "crates/common", version = "0.2" } +freya-devtools = { path = "crates/devtools", version = "0.3" } +freya-node-state = { path = "crates/state", version = "0.3" } +freya-renderer = { path = "crates/renderer", version = "0.3" } +freya-elements = { path = "crates/elements", version = "0.3" } +freya-common = { path = "crates/common", version = "0.3" } freya-hooks = { path = "crates/hooks", version = "0.2" } -freya-core = { path = "crates/core", version = "0.2" } -freya-components = { path = "crates/components", version = "0.2" } +freya-core = { path = "crates/core", version = "0.3" } +freya-components = { path = "crates/components", version = "0.3" } freya-testing = { path = "crates/testing", version = "0.2" } -freya-engine = { path = "crates/engine", version = "0.2" } -torin = { path = "crates/torin", version = "0.2" } +freya-engine = { path = "crates/engine", version = "0.3" } +torin = { path = "crates/torin", version = "0.3" } freya-native-core-macro = { path = "crates/native-core-macro", version = "0.2" } -freya-native-core = { path = "crates/native-core", version = "0.2" } +freya-native-core = { path = "crates/native-core", version = "0.3" } dioxus = { version = "0.5", default-features = false, features = ["macro", "signals", "hooks"]} dioxus-rsx = { version = "0.5", features = ["hot_reload"] } diff --git a/crates/common/CHANGELOG.md b/crates/common/CHANGELOG.md new file mode 100644 index 000000000..e8ebe151e --- /dev/null +++ b/crates/common/CHANGELOG.md @@ -0,0 +1,31 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.3.0](https://github.com/marc2332/freya/compare/freya-common-v0.2.1...freya-common-v0.3.0) - 2024-09-11 + +### Added + +- Optional uncontrolled accessibility IDs ([#867](https://github.com/marc2332/freya/pull/867)) +- Incremental Accessibility Tree ([#853](https://github.com/marc2332/freya/pull/853)) +- `PluginHandle` ([#793](https://github.com/marc2332/freya/pull/793)) +- `winit` v0.30.0 + `glutin-winit` v0.5.0 + `accesskit` v0.14.0 + `accesskit_winit` v0.20.0 ([#598](https://github.com/marc2332/freya/pull/598)) +- Queued focus ([#650](https://github.com/marc2332/freya/pull/650)) +- Revamp internal text selection ([#647](https://github.com/marc2332/freya/pull/647)) +- `WithWindow` event ([#626](https://github.com/marc2332/freya/pull/626)) +- Close app with `use_platform` ([#613](https://github.com/marc2332/freya/pull/613)) +- Add window drag area ([#597](https://github.com/marc2332/freya/pull/597)) + +### Other + +- Resolve conflicts +- Simplify the `VirtualDOM` polling ([#729](https://github.com/marc2332/freya/pull/729)) +- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) +- release-plz.toml +- Only release crates under /crates +- Rust 1.78 ([#600](https://github.com/marc2332/freya/pull/600)) diff --git a/crates/common/Cargo.toml b/crates/common/Cargo.toml index 5a04ac645..89d4eecee 100644 --- a/crates/common/Cargo.toml +++ b/crates/common/Cargo.toml @@ -1,39 +1,39 @@ -[package] -name = "freya-common" -description = "Internal common utilities for Freya." -version = "0.2.1" -edition = "2021" -license = "MIT" -authors = ["Marc Espín "] -readme = "../../readme.md" -homepage = "https://freyaui.dev/" -repository = "https://github.com/marc2332/freya" -keywords = ["gui", "ui", "desktop", "skia", "dioxus"] -categories = ["gui", "asynchronous"] - -[package.metadata.docs.rs] -features = ["freya-engine/mocked-engine"] - -[features] -skia-engine = ["freya-engine/skia-engine"] - -[dependencies] -torin = { workspace = true } - -dioxus-core = { workspace = true } - -accesskit = { workspace = true } -winit = { workspace = true } -freya-engine = { workspace = true } -freya-native-core = { workspace = true } -rustc-hash= { workspace = true } - -itertools = "0.13.0" -uuid = { workspace = true } - - -[dev-dependencies] -dioxus = { workspace = true } -freya = { path = "../freya" } -freya-testing = { path = "../testing" } -tokio = { workspace = true } \ No newline at end of file +[package] +name = "freya-common" +description = "Internal common utilities for Freya." +version = "0.3.0" +edition = "2021" +license = "MIT" +authors = ["Marc Espín "] +readme = "../../readme.md" +homepage = "https://freyaui.dev/" +repository = "https://github.com/marc2332/freya" +keywords = ["gui", "ui", "desktop", "skia", "dioxus"] +categories = ["gui", "asynchronous"] + +[package.metadata.docs.rs] +features = ["freya-engine/mocked-engine"] + +[features] +skia-engine = ["freya-engine/skia-engine"] + +[dependencies] +torin = { workspace = true } + +dioxus-core = { workspace = true } + +accesskit = { workspace = true } +winit = { workspace = true } +freya-engine = { workspace = true } +freya-native-core = { workspace = true } +rustc-hash= { workspace = true } + +itertools = "0.13.0" +uuid = { workspace = true } + + +[dev-dependencies] +dioxus = { workspace = true } +freya = { path = "../freya" } +freya-testing = { path = "../testing" } +tokio = { workspace = true } diff --git a/crates/components/CHANGELOG.md b/crates/components/CHANGELOG.md new file mode 100644 index 000000000..990527c87 --- /dev/null +++ b/crates/components/CHANGELOG.md @@ -0,0 +1,75 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.3.0](https://github.com/marc2332/freya/compare/freya-components-v0.2.1...freya-components-v0.3.0) - 2024-09-11 + +### Added + +- Rename `mouseover` to `mousemove` ([#865](https://github.com/marc2332/freya/pull/865)) +- Ergonomic improvements in ScrollView ([#858](https://github.com/marc2332/freya/pull/858)) +- Testing events utils ([#864](https://github.com/marc2332/freya/pull/864)) +- Improved nodes events states ([#859](https://github.com/marc2332/freya/pull/859)) +- Refreshed theme colors ([#856](https://github.com/marc2332/freya/pull/856)) +- Nicer Switch ([#848](https://github.com/marc2332/freya/pull/848)) +- Optional size for import_svg +- Support extra routes in `ActivableRoute` +- website example ([#839](https://github.com/marc2332/freya/pull/839)) +- `spacing` attribute ([#834](https://github.com/marc2332/freya/pull/834)) +- `PluginHandle` ([#793](https://github.com/marc2332/freya/pull/793)) +- Dropdown layout improvements and new width theme option +- Support percentage of auto in layout ([#784](https://github.com/marc2332/freya/pull/784)) +- `import_svg` macro ([#790](https://github.com/marc2332/freya/pull/790)) +- Scroll controller ([#772](https://github.com/marc2332/freya/pull/772)) +- Move `shadow` of `Input` to `InputTheme` ([#781](https://github.com/marc2332/freya/pull/781)) +- Panic when an attribute has a wrongly-formatted value, but only in debug builds to easily spot bugs ([#759](https://github.com/marc2332/freya/pull/759)) +- Change the wheels scroll based on the direction ([#751](https://github.com/marc2332/freya/pull/751)) +- `BottomTab` component ([#747](https://github.com/marc2332/freya/pull/747)) +- Animated router transitions ([#745](https://github.com/marc2332/freya/pull/745)) +- Improve layout of `Button` component +- Render one more item in VirtualScrollView for smooth scrolling ([#723](https://github.com/marc2332/freya/pull/723)) +- Use System fonts ([#661](https://github.com/marc2332/freya/pull/661)) +- Signal-based reactivity for `use_canvas` ([#693](https://github.com/marc2332/freya/pull/693)) +- Expose scale factor ([#607](https://github.com/marc2332/freya/pull/607)) +- Tree builder utilities for components ([#681](https://github.com/marc2332/freya/pull/681)) +- Tab and Tabsbar components ([#673](https://github.com/marc2332/freya/pull/673)) +- Support nested routes in `ActivableRoute` ([#675](https://github.com/marc2332/freya/pull/675)) +- Add backward compatibility for onclick event handler in Button +- `onpress` event for `Button` ([#601](https://github.com/marc2332/freya/pull/601)) +- `use_preferred_theme` ([#631](https://github.com/marc2332/freya/pull/631)) +- Text dragging with shift and cursor ([#642](https://github.com/marc2332/freya/pull/642)) +- Improved special text editing support ([#622](https://github.com/marc2332/freya/pull/622)) +- `WithWindow` event ([#626](https://github.com/marc2332/freya/pull/626)) +- `placeholder` for Input ([#616](https://github.com/marc2332/freya/pull/616)) +- Animated `VirtualScrollView` ([#604](https://github.com/marc2332/freya/pull/604)) +- Add window drag area ([#597](https://github.com/marc2332/freya/pull/597)) +- Close popup with esc key ([#594](https://github.com/marc2332/freya/pull/594)) + +### Fixed + +- Small devtool fixes +- Better input click handling +- Force the dropdown items vertically ([#827](https://github.com/marc2332/freya/pull/827)) +- Consider corner radius for events and overflow clipping ([#768](https://github.com/marc2332/freya/pull/768)) +- *(deps)* update all non-major dependencies ([#578](https://github.com/marc2332/freya/pull/578)) +- Small fixes for Tabs +- Proper accessibility reactivity ([#648](https://github.com/marc2332/freya/pull/648)) +- `WindowDragArea` component hanging on non-left click. ([#625](https://github.com/marc2332/freya/pull/625)) + +### Other + +- Fix cargo clippy +- Merge branch 'main' into feat/incremental-rendering +- Add opengl_rtt example. ([#813](https://github.com/marc2332/freya/pull/813)) +- Increase Sidebar width +- Clean up Tabs components +- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) +- Run clippy in tests and examples +- release-plz.toml +- Only release crates under /crates +- Rust 1.78 ([#600](https://github.com/marc2332/freya/pull/600)) diff --git a/crates/components/Cargo.toml b/crates/components/Cargo.toml index 7d1a74a44..fe89cd7bc 100644 --- a/crates/components/Cargo.toml +++ b/crates/components/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "freya-components" description = "Components library desgined for Freya." -version = "0.2.1" +version = "0.3.0" edition = "2021" license = "MIT" authors = ["Marc Espín "] diff --git a/crates/core/CHANGELOG.md b/crates/core/CHANGELOG.md new file mode 100644 index 000000000..60b292555 --- /dev/null +++ b/crates/core/CHANGELOG.md @@ -0,0 +1,67 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.3.0](https://github.com/marc2332/freya/compare/freya-core-v0.2.1...freya-core-v0.3.0) - 2024-09-11 + +### Added + +- Optional uncontrolled accessibility IDs ([#867](https://github.com/marc2332/freya/pull/867)) +- Rename `mouseover` to `mousemove` ([#865](https://github.com/marc2332/freya/pull/865)) +- infer accesskit properties from node state ([#855](https://github.com/marc2332/freya/pull/855)) +- Testing events utils ([#864](https://github.com/marc2332/freya/pull/864)) +- Improved nodes events states ([#859](https://github.com/marc2332/freya/pull/859)) +- Incremental Accessibility Tree ([#853](https://github.com/marc2332/freya/pull/853)) +- `spacing` attribute ([#834](https://github.com/marc2332/freya/pull/834)) +- `PluginHandle` ([#793](https://github.com/marc2332/freya/pull/793)) +- Ignore unnecessary dioxus vdom mutations ([#821](https://github.com/marc2332/freya/pull/821)) +- Avoid copying images when rendering ([#808](https://github.com/marc2332/freya/pull/808)) +- Add missing gradient functions ([#776](https://github.com/marc2332/freya/pull/776)) +- Support `space-between`/`space-around`/`space-evenly` alignments ([#758](https://github.com/marc2332/freya/pull/758)) +- Use System fonts ([#661](https://github.com/marc2332/freya/pull/661)) +- `highlight_mode` attribute ([#704](https://github.com/marc2332/freya/pull/704)) +- Built-in vertical alignment for text ([#701](https://github.com/marc2332/freya/pull/701)) +- Expose scale factor ([#607](https://github.com/marc2332/freya/pull/607)) +- Reactive scale factor ([#606](https://github.com/marc2332/freya/pull/606)) +- `winit` v0.30.0 + `glutin-winit` v0.5.0 + `accesskit` v0.14.0 + `accesskit_winit` v0.20.0 ([#598](https://github.com/marc2332/freya/pull/598)) +- Revamp internal text selection ([#647](https://github.com/marc2332/freya/pull/647)) +- Reactive Window data ([#637](https://github.com/marc2332/freya/pull/637)) +- Reactive Platform data ([#635](https://github.com/marc2332/freya/pull/635)) +- `use_preferred_theme` ([#631](https://github.com/marc2332/freya/pull/631)) + +### Fixed + +- Do a fullrerender when a devtools node is selected +- Show missing attributes in devtools ([#801](https://github.com/marc2332/freya/pull/801)) +- Prevent opacity from clipping the node bounds ([#764](https://github.com/marc2332/freya/pull/764)) +- Consider corner radius for events and overflow clipping ([#768](https://github.com/marc2332/freya/pull/768)) +- Fix `unfocus` of accesibility nodes ([#755](https://github.com/marc2332/freya/pull/755)) +- Skip DOM Nodes loaded in the same mutations run ([#744](https://github.com/marc2332/freya/pull/744)) +- Invalidate layout of modified text nodes +- *(deps)* update all non-major dependencies ([#578](https://github.com/marc2332/freya/pull/578)) +- Proper accessibility reactivity ([#648](https://github.com/marc2332/freya/pull/648)) +- Fix performance dropping rapidly after selecting a text for some time ([#624](https://github.com/marc2332/freya/pull/624)) +- Out of sync element ids on events ([#609](https://github.com/marc2332/freya/pull/609)) + +### Other + +- Be more generous for rotated dirty areas +- Accessibility logs +- Merge branch 'main' into feat/incremental-rendering +- Add opengl_rtt example. ([#813](https://github.com/marc2332/freya/pull/813)) +- *(deps)* update all non-major dependencies ([#749](https://github.com/marc2332/freya/pull/749)) +- Revert part of [#731](https://github.com/marc2332/freya/pull/731) +- Rethink mutations writer ([#731](https://github.com/marc2332/freya/pull/731)) +- Reorganize `freya-renderer` ([#715](https://github.com/marc2332/freya/pull/715)) +- Rename node states to follow an unified naming ([#713](https://github.com/marc2332/freya/pull/713)) +- Move rendering to `freya-core` ([#712](https://github.com/marc2332/freya/pull/712)) +- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) +- Run clippy in tests and examples +- process all queued keyboard events at once ([#629](https://github.com/marc2332/freya/pull/629)) +- release-plz.toml +- Only release crates under /crates diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index 0fc033c83..65566aaec 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "freya-core" description = "Internal core funcionatilies for Freya." -version = "0.2.1" +version = "0.3.0" edition = "2021" license = "MIT" authors = ["Marc Espín "] diff --git a/crates/devtools/CHANGELOG.md b/crates/devtools/CHANGELOG.md new file mode 100644 index 000000000..4739d8f63 --- /dev/null +++ b/crates/devtools/CHANGELOG.md @@ -0,0 +1,34 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.3.0](https://github.com/marc2332/freya/compare/freya-devtools-v0.2.1...freya-devtools-v0.3.0) - 2024-09-11 + +### Added + +- Ergonomic improvements in ScrollView ([#858](https://github.com/marc2332/freya/pull/858)) +- Add missing gradient functions ([#776](https://github.com/marc2332/freya/pull/776)) +- Small UI improvements in the devtools +- Tree-like explorer for devtools ([#684](https://github.com/marc2332/freya/pull/684)) +- Tab and Tabsbar components ([#673](https://github.com/marc2332/freya/pull/673)) +- More reliable devtools ([#667](https://github.com/marc2332/freya/pull/667)) +- Persisted devtools routing ([#657](https://github.com/marc2332/freya/pull/657)) +- `use_preferred_theme` ([#631](https://github.com/marc2332/freya/pull/631)) + +### Fixed + +- Do a fullrerender when a devtools node is selected +- Small devtool fixes +- Show missing attributes in devtools ([#801](https://github.com/marc2332/freya/pull/801)) + +### Other + +- Clean up Tabs components +- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) +- release-plz.toml +- Only release crates under /crates diff --git a/crates/devtools/Cargo.toml b/crates/devtools/Cargo.toml index 7332b83cb..02aebe432 100644 --- a/crates/devtools/Cargo.toml +++ b/crates/devtools/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "freya-devtools" description = "Devtools panel integration for Freya." -version = "0.2.1" +version = "0.3.0" edition = "2021" license = "MIT" authors = ["Marc Espín "] diff --git a/crates/elements/CHANGELOG.md b/crates/elements/CHANGELOG.md new file mode 100644 index 000000000..a87b15c14 --- /dev/null +++ b/crates/elements/CHANGELOG.md @@ -0,0 +1,34 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.3.0](https://github.com/marc2332/freya/compare/freya-elements-v0.2.0...freya-elements-v0.3.0) - 2024-09-11 + +### Added + +- Rename `mouseover` to `mousemove` ([#865](https://github.com/marc2332/freya/pull/865)) +- Improved nodes events states ([#859](https://github.com/marc2332/freya/pull/859)) +- `spacing` attribute ([#834](https://github.com/marc2332/freya/pull/834)) +- Support `space-between`/`space-around`/`space-evenly` alignments ([#758](https://github.com/marc2332/freya/pull/758)) +- Use System fonts ([#661](https://github.com/marc2332/freya/pull/661)) +- `highlight_mode` attribute ([#704](https://github.com/marc2332/freya/pull/704)) +- Built-in vertical alignment for text ([#701](https://github.com/marc2332/freya/pull/701)) +- `onpress` event for `Button` ([#601](https://github.com/marc2332/freya/pull/601)) + +### Fixed + +- Small typos + +### Other + +- Rename some events files +- Documents editor example ([#846](https://github.com/marc2332/freya/pull/846)) +- Fix color syntax link in background.md +- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) +- release-plz.toml +- Only release crates under /crates diff --git a/crates/elements/Cargo.toml b/crates/elements/Cargo.toml index 005a2fb6d..97f6189e9 100644 --- a/crates/elements/Cargo.toml +++ b/crates/elements/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "freya-elements" description = "Internal elements, attributes and events designed for Freya." -version = "0.2.0" +version = "0.3.0" edition = "2021" license = "MIT" authors = ["Marc Espín "] @@ -22,4 +22,4 @@ winit = { workspace = true } keyboard-types = "0.7.0" [dev-dependencies] -freya = { path = "../freya" } \ No newline at end of file +freya = { path = "../freya" } diff --git a/crates/engine/CHANGELOG.md b/crates/engine/CHANGELOG.md new file mode 100644 index 000000000..6f7916d53 --- /dev/null +++ b/crates/engine/CHANGELOG.md @@ -0,0 +1,31 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.3.0](https://github.com/marc2332/freya/compare/freya-engine-v0.2.2...freya-engine-v0.3.0) - 2024-09-11 + +### Added + +- infer accesskit properties from node state ([#855](https://github.com/marc2332/freya/pull/855)) +- Add missing gradient functions ([#776](https://github.com/marc2332/freya/pull/776)) +- Canvas snapshots for `freya-testing` ([#720](https://github.com/marc2332/freya/pull/720)) +- Skia-safe v0.75 ([#716](https://github.com/marc2332/freya/pull/716)) +- Improved special text editing support ([#622](https://github.com/marc2332/freya/pull/622)) + +### Fixed + +- Use individual methods to set decoration ([#842](https://github.com/marc2332/freya/pull/842)) +- Prevent opacity from clipping the node bounds ([#764](https://github.com/marc2332/freya/pull/764)) +- Add missing skia mocked methods + +### Other + +- Merge branch 'main' into feat/incremental-rendering +- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) +- release-plz.toml +- Only release crates under /crates diff --git a/crates/engine/Cargo.toml b/crates/engine/Cargo.toml index a8ab05c3f..9868ea784 100644 --- a/crates/engine/Cargo.toml +++ b/crates/engine/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "freya-engine" description = "Abstract Freya's graphics APIs" -version = "0.2.2" +version = "0.3.0" edition = "2021" license = "MIT" authors = ["Marc Espín "] diff --git a/crates/freya/CHANGELOG.md b/crates/freya/CHANGELOG.md new file mode 100644 index 000000000..3aba45468 --- /dev/null +++ b/crates/freya/CHANGELOG.md @@ -0,0 +1,34 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.2.3](https://github.com/marc2332/freya/compare/freya-v0.2.2...freya-v0.2.3) - 2024-09-11 + +### Added + +- `PluginHandle` ([#793](https://github.com/marc2332/freya/pull/793)) +- Add `performance-overlay` feature to `freya` crate ([#809](https://github.com/marc2332/freya/pull/809)) +- Allow custom Tokio Runtimes ([#765](https://github.com/marc2332/freya/pull/765)) +- `winit` v0.30.0 + `glutin-winit` v0.5.0 + `accesskit` v0.14.0 + `accesskit_winit` v0.20.0 ([#598](https://github.com/marc2332/freya/pull/598)) +- More reliable devtools ([#667](https://github.com/marc2332/freya/pull/667)) +- Do not re-export freya-testing ([#669](https://github.com/marc2332/freya/pull/669)) +- `onpress` event for `Button` ([#601](https://github.com/marc2332/freya/pull/601)) +- `use_preferred_theme` ([#631](https://github.com/marc2332/freya/pull/631)) + +### Fixed + +- Properly launch the tokio runtime +- Require to pass both the width and height for window size at once when desired ([#757](https://github.com/marc2332/freya/pull/757)) + +### Other + +- Resolve conflicts +- Repair the color value in the comment information ([#694](https://github.com/marc2332/freya/pull/694)) +- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) +- release-plz.toml +- Only release crates under /crates diff --git a/crates/freya/Cargo.toml b/crates/freya/Cargo.toml index a8f3dfdc8..7386a5c21 100644 --- a/crates/freya/Cargo.toml +++ b/crates/freya/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "freya" description = "Cross-platform GUI Library powered by Dioxus and Skia." -version = "0.2.2" +version = "0.2.3" edition = "2021" license = "MIT" authors = ["Marc Espín "] diff --git a/crates/hooks/CHANGELOG.md b/crates/hooks/CHANGELOG.md new file mode 100644 index 000000000..2f923509f --- /dev/null +++ b/crates/hooks/CHANGELOG.md @@ -0,0 +1,76 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.2.2](https://github.com/marc2332/freya/compare/freya-hooks-v0.2.1...freya-hooks-v0.2.2) - 2024-09-11 + +### Added + +- Optional uncontrolled accessibility IDs ([#867](https://github.com/marc2332/freya/pull/867)) +- Rename `mouseover` to `mousemove` ([#865](https://github.com/marc2332/freya/pull/865)) +- Ergonomic improvements in ScrollView ([#858](https://github.com/marc2332/freya/pull/858)) +- Testing events utils ([#864](https://github.com/marc2332/freya/pull/864)) +- Refreshed theme colors ([#856](https://github.com/marc2332/freya/pull/856)) +- Nicer Switch ([#848](https://github.com/marc2332/freya/pull/848)) +- Incremental Accessibility Tree ([#853](https://github.com/marc2332/freya/pull/853)) +- `spacing` attribute ([#834](https://github.com/marc2332/freya/pull/834)) +- `PluginHandle` ([#793](https://github.com/marc2332/freya/pull/793)) +- Dropdown layout improvements and new width theme option +- Move `shadow` of `Input` to `InputTheme` ([#781](https://github.com/marc2332/freya/pull/781)) +- `BottomTab` component ([#747](https://github.com/marc2332/freya/pull/747)) +- Simplify return type of `use_animation` ([#748](https://github.com/marc2332/freya/pull/748)) +- Improve layout of `Button` component +- Use System fonts ([#661](https://github.com/marc2332/freya/pull/661)) +- Signal-based reactivity for `use_canvas` ([#693](https://github.com/marc2332/freya/pull/693)) +- Expose scale factor ([#607](https://github.com/marc2332/freya/pull/607)) +- `winit` v0.30.0 + `glutin-winit` v0.5.0 + `accesskit` v0.14.0 + `accesskit_winit` v0.20.0 ([#598](https://github.com/marc2332/freya/pull/598)) +- Replace selected text with the new insert ([#678](https://github.com/marc2332/freya/pull/678)) +- Optionally allow inserting tabs as spaces ([#664](https://github.com/marc2332/freya/pull/664)) +- Tab and Tabsbar components ([#673](https://github.com/marc2332/freya/pull/673)) +- `onpress` event for `Button` ([#601](https://github.com/marc2332/freya/pull/601)) +- Select all text ([#652](https://github.com/marc2332/freya/pull/652)) +- Revamp internal text selection ([#647](https://github.com/marc2332/freya/pull/647)) +- Reactive Platform data ([#635](https://github.com/marc2332/freya/pull/635)) +- `use_preferred_theme` ([#631](https://github.com/marc2332/freya/pull/631)) +- Remove text with Delete ([#644](https://github.com/marc2332/freya/pull/644)) +- Text dragging with shift and cursor ([#642](https://github.com/marc2332/freya/pull/642)) +- Delete text selection with backspace ([#640](https://github.com/marc2332/freya/pull/640)) +- Improved special text editing support ([#622](https://github.com/marc2332/freya/pull/622)) +- `WithWindow` event ([#626](https://github.com/marc2332/freya/pull/626)) +- `placeholder` for Input ([#616](https://github.com/marc2332/freya/pull/616)) +- Close app with `use_platform` ([#613](https://github.com/marc2332/freya/pull/613)) +- Add window drag area ([#597](https://github.com/marc2332/freya/pull/597)) + +### Fixed + +- Use hotfix patch for nokhwa +- Last frame of animations was not always applied ([#798](https://github.com/marc2332/freya/pull/798)) +- Support alpha channel in AnimColor ([#771](https://github.com/marc2332/freya/pull/771)) +- Consider corner radius for events and overflow clipping ([#768](https://github.com/marc2332/freya/pull/768)) +- Prevent crash on keyboard navigation with empty text ([#706](https://github.com/marc2332/freya/pull/706)) +- Store cached assets in Root Scope ([#668](https://github.com/marc2332/freya/pull/668)) +- Stop at line length when navigating with keyboard arrows in text +- Proper accessibility reactivity ([#648](https://github.com/marc2332/freya/pull/648)) +- Fix performance dropping rapidly after selecting a text for some time ([#624](https://github.com/marc2332/freya/pull/624)) + +### Other + +- cargo clippy +- Merge branch 'main' into feat/incremental-rendering +- Add opengl_rtt example. ([#813](https://github.com/marc2332/freya/pull/813)) +- Small fixes and clean up of internal code +- New shader editor example +- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) +- Use single position cursor ([#653](https://github.com/marc2332/freya/pull/653)) +- Add tests for shift + click text selection +- Merge branch 'main' of https://github.com/marc2332/freya +- Fix shift+click selection in virtualized editors +- Enable a `use_theme` doc test +- Fix text selection in some cases +- release-plz.toml +- Only release crates under /crates diff --git a/crates/hooks/Cargo.toml b/crates/hooks/Cargo.toml index 301dc163d..b00bc8760 100644 --- a/crates/hooks/Cargo.toml +++ b/crates/hooks/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "freya-hooks" description = "Hooks library designed for Freya." -version = "0.2.1" +version = "0.2.2" edition = "2021" license = "MIT" authors = ["Marc Espín "] diff --git a/crates/native-core-macro/CHANGELOG.md b/crates/native-core-macro/CHANGELOG.md new file mode 100644 index 000000000..cca091e5d --- /dev/null +++ b/crates/native-core-macro/CHANGELOG.md @@ -0,0 +1,14 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.2.1](https://github.com/marc2332/freya/compare/freya-native-core-macro-v0.2.0...freya-native-core-macro-v0.2.1) - 2024-09-11 + +### Other + +- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) diff --git a/crates/native-core-macro/Cargo.toml b/crates/native-core-macro/Cargo.toml index aa0ad1197..63704c78a 100644 --- a/crates/native-core-macro/Cargo.toml +++ b/crates/native-core-macro/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "freya-native-core-macro" description = "Macro helper for native-core" -version = "0.2.0" +version = "0.2.1" edition = "2021" license = "MIT" authors = ["Jonathan Kelley", "Evan Almloff", "Marc Espín "] @@ -16,4 +16,4 @@ proc-macro = true [dependencies] syn = { version = "2.0", features = ["extra-traits", "full"] } -quote = "1.0" \ No newline at end of file +quote = "1.0" diff --git a/crates/native-core/CHANGELOG.md b/crates/native-core/CHANGELOG.md new file mode 100644 index 000000000..8e19f6c92 --- /dev/null +++ b/crates/native-core/CHANGELOG.md @@ -0,0 +1,31 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.3.0](https://github.com/marc2332/freya/compare/freya-native-core-v0.2.1...freya-native-core-v0.3.0) - 2024-09-11 + +### Added + +- Rename `mouseover` to `mousemove` ([#865](https://github.com/marc2332/freya/pull/865)) +- Testing events utils ([#864](https://github.com/marc2332/freya/pull/864)) +- Improved nodes events states ([#859](https://github.com/marc2332/freya/pull/859)) +- `spacing` attribute ([#834](https://github.com/marc2332/freya/pull/834)) +- `highlight_mode` attribute ([#704](https://github.com/marc2332/freya/pull/704)) + +### Fixed + +- *(deps)* update rust crate dashmap to v6 ([#739](https://github.com/marc2332/freya/pull/739)) +- *(deps)* update rust crate dashmap to v6 ([#726](https://github.com/marc2332/freya/pull/726)) + +### Other + +- Merge branch 'main' into feat/incremental-rendering +- Revert "fix(deps): update rust crate dashmap to v6 ([#726](https://github.com/marc2332/freya/pull/726))" ([#730](https://github.com/marc2332/freya/pull/730)) +- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) +- Run clippy in tests and examples +- Remove unused file diff --git a/crates/native-core/Cargo.toml b/crates/native-core/Cargo.toml index 84be2247e..d0956882d 100644 --- a/crates/native-core/Cargo.toml +++ b/crates/native-core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "freya-native-core" description = "Native DOM for Freya" -version = "0.2.1" +version = "0.3.0" edition = "2021" license = "MIT" authors = ["Jonathan Kelley", "Evan Almloff", "Marc Espín "] diff --git a/crates/renderer/CHANGELOG.md b/crates/renderer/CHANGELOG.md new file mode 100644 index 000000000..ab3274efa --- /dev/null +++ b/crates/renderer/CHANGELOG.md @@ -0,0 +1,72 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.3.0](https://github.com/marc2332/freya/compare/freya-renderer-v0.2.1...freya-renderer-v0.3.0) - 2024-09-11 + +### Added + +- Optional uncontrolled accessibility IDs ([#867](https://github.com/marc2332/freya/pull/867)) +- Rename `mouseover` to `mousemove` ([#865](https://github.com/marc2332/freya/pull/865)) +- Testing events utils ([#864](https://github.com/marc2332/freya/pull/864)) +- Improved nodes events states ([#859](https://github.com/marc2332/freya/pull/859)) +- Graphics Drivers ([#822](https://github.com/marc2332/freya/pull/822)) +- Incremental Accessibility Tree ([#853](https://github.com/marc2332/freya/pull/853)) +- `PluginHandle` ([#793](https://github.com/marc2332/freya/pull/793)) +- Allow custom Tokio Runtimes ([#765](https://github.com/marc2332/freya/pull/765)) +- Use System fonts ([#661](https://github.com/marc2332/freya/pull/661)) +- Skia-safe v0.75 ([#716](https://github.com/marc2332/freya/pull/716)) +- Only send keydowns when the window is focused ([#705](https://github.com/marc2332/freya/pull/705)) +- `highlight_mode` attribute ([#704](https://github.com/marc2332/freya/pull/704)) +- Built-in vertical alignment for text ([#701](https://github.com/marc2332/freya/pull/701)) +- Expose scale factor ([#607](https://github.com/marc2332/freya/pull/607)) +- Reactive scale factor ([#606](https://github.com/marc2332/freya/pull/606)) +- `winit` v0.30.0 + `glutin-winit` v0.5.0 + `accesskit` v0.14.0 + `accesskit_winit` v0.20.0 ([#598](https://github.com/marc2332/freya/pull/598)) +- Tree-like explorer for devtools ([#684](https://github.com/marc2332/freya/pull/684)) +- More reliable devtools ([#667](https://github.com/marc2332/freya/pull/667)) +- Queued focus ([#650](https://github.com/marc2332/freya/pull/650)) +- Revamp internal text selection ([#647](https://github.com/marc2332/freya/pull/647)) +- Reactive Window data ([#637](https://github.com/marc2332/freya/pull/637)) +- Reactive Platform data ([#635](https://github.com/marc2332/freya/pull/635)) +- `use_preferred_theme` ([#631](https://github.com/marc2332/freya/pull/631)) +- `WithWindow` event ([#626](https://github.com/marc2332/freya/pull/626)) +- Close app with `use_platform` ([#613](https://github.com/marc2332/freya/pull/613)) +- Add window drag area ([#597](https://github.com/marc2332/freya/pull/597)) + +### Fixed + +- Do a fullrerender when a devtools node is selected +- Small devtool fixes +- Use `ImageReader` for icon loading in windows +- Prevent opacity from clipping the node bounds ([#764](https://github.com/marc2332/freya/pull/764)) +- Consider corner radius for events and overflow clipping ([#768](https://github.com/marc2332/freya/pull/768)) +- Only send left mouseover event when not clicking the mouse ([#753](https://github.com/marc2332/freya/pull/753)) +- Require to pass both the width and height for window size at once when desired ([#757](https://github.com/marc2332/freya/pull/757)) +- Call `on_setup` hook +- *(deps)* update all non-major dependencies ([#578](https://github.com/marc2332/freya/pull/578)) +- Fix some inconsitencies with the 0.30 update ([#696](https://github.com/marc2332/freya/pull/696)) +- Proper accessibility reactivity ([#648](https://github.com/marc2332/freya/pull/648)) +- Out of sync element ids on events ([#609](https://github.com/marc2332/freya/pull/609)) + +### Other + +- Resolve conflicts +- Add opengl_rtt example. ([#813](https://github.com/marc2332/freya/pull/813)) +- Adjust root element height of user app in devtools +- ExitApp command was not working +- Rethink mutations writer ([#731](https://github.com/marc2332/freya/pull/731)) +- Simplify the `VirtualDOM` polling ([#729](https://github.com/marc2332/freya/pull/729)) +- Clean up some code from `freya-renderer` +- Only make window visible once built +- Reorganize `freya-renderer` ([#715](https://github.com/marc2332/freya/pull/715)) +- Move rendering to `freya-core` ([#712](https://github.com/marc2332/freya/pull/712)) +- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) +- process all queued keyboard events at once ([#629](https://github.com/marc2332/freya/pull/629)) +- release-plz.toml +- Only release crates under /crates +- Fix typo on `with_default_font` diff --git a/crates/renderer/Cargo.toml b/crates/renderer/Cargo.toml index ec243f9fe..b6a3f13b9 100644 --- a/crates/renderer/Cargo.toml +++ b/crates/renderer/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "freya-renderer" description = "Internal renderer powered by Skia for Freya." -version = "0.2.1" +version = "0.3.0" edition = "2021" license = "MIT" authors = ["Marc Espín "] diff --git a/crates/state/CHANGELOG.md b/crates/state/CHANGELOG.md new file mode 100644 index 000000000..a78c02e44 --- /dev/null +++ b/crates/state/CHANGELOG.md @@ -0,0 +1,43 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.3.0](https://github.com/marc2332/freya/compare/freya-node-state-v0.2.1...freya-node-state-v0.3.0) - 2024-09-11 + +### Added + +- Optional uncontrolled accessibility IDs ([#867](https://github.com/marc2332/freya/pull/867)) +- Incremental Accessibility Tree ([#853](https://github.com/marc2332/freya/pull/853)) +- `spacing` attribute ([#834](https://github.com/marc2332/freya/pull/834)) +- Support percentage of auto in layout ([#784](https://github.com/marc2332/freya/pull/784)) +- Add missing gradient functions ([#776](https://github.com/marc2332/freya/pull/776)) +- Panic when an attribute has a wrongly-formatted value, but only in debug builds to easily spot bugs ([#759](https://github.com/marc2332/freya/pull/759)) +- Support `space-between`/`space-around`/`space-evenly` alignments ([#758](https://github.com/marc2332/freya/pull/758)) +- `highlight_mode` attribute ([#704](https://github.com/marc2332/freya/pull/704)) +- Expose scale factor ([#607](https://github.com/marc2332/freya/pull/607)) +- Reactive scale factor ([#606](https://github.com/marc2332/freya/pull/606)) +- Revamp internal text selection ([#647](https://github.com/marc2332/freya/pull/647)) + +### Fixed + +- Use individual methods to set decoration ([#842](https://github.com/marc2332/freya/pull/842)) +- Support `none` for background colors + +### Other + +- Merge branch 'main' into feat/incremental-rendering +- Add opengl_rtt example. ([#813](https://github.com/marc2332/freya/pull/813)) +- Allow `none` for non-text colors attributes +- Compile error for attribute parsing in --release +- Rename node states to follow an unified naming ([#713](https://github.com/marc2332/freya/pull/713)) +- Move rendering to `freya-core` ([#712](https://github.com/marc2332/freya/pull/712)) +- Rust 1.79 ([#710](https://github.com/marc2332/freya/pull/710)) +- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) +- Run clippy in tests and examples +- release-plz.toml +- Only release crates under /crates diff --git a/crates/state/Cargo.toml b/crates/state/Cargo.toml index 998ff2daf..c44585794 100644 --- a/crates/state/Cargo.toml +++ b/crates/state/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "freya-node-state" description = "Internal Node states for Dioxus RealDOM elements used in Freya." -version = "0.2.1" +version = "0.3.0" edition = "2021" license = "MIT" authors = ["Marc Espín "] diff --git a/crates/testing/CHANGELOG.md b/crates/testing/CHANGELOG.md new file mode 100644 index 000000000..89a2cedf9 --- /dev/null +++ b/crates/testing/CHANGELOG.md @@ -0,0 +1,45 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.2.2](https://github.com/marc2332/freya/compare/freya-testing-v0.2.1...freya-testing-v0.2.2) - 2024-09-11 + +### Added + +- Optional uncontrolled accessibility IDs ([#867](https://github.com/marc2332/freya/pull/867)) +- Rename `mouseover` to `mousemove` ([#865](https://github.com/marc2332/freya/pull/865)) +- Testing events utils ([#864](https://github.com/marc2332/freya/pull/864)) +- Improved nodes events states ([#859](https://github.com/marc2332/freya/pull/859)) +- Incremental Accessibility Tree ([#853](https://github.com/marc2332/freya/pull/853)) +- `PluginHandle` ([#793](https://github.com/marc2332/freya/pull/793)) +- Canvas snapshots for `freya-testing` ([#720](https://github.com/marc2332/freya/pull/720)) +- Use System fonts ([#661](https://github.com/marc2332/freya/pull/661)) +- Expose scale factor ([#607](https://github.com/marc2332/freya/pull/607)) +- Revamp internal text selection ([#647](https://github.com/marc2332/freya/pull/647)) +- Reactive Window data ([#637](https://github.com/marc2332/freya/pull/637)) +- Reactive Platform data ([#635](https://github.com/marc2332/freya/pull/635)) +- `use_preferred_theme` ([#631](https://github.com/marc2332/freya/pull/631)) +- Improved special text editing support ([#622](https://github.com/marc2332/freya/pull/622)) + +### Fixed + +- Prevent opacity from clipping the node bounds ([#764](https://github.com/marc2332/freya/pull/764)) +- Consider corner radius for events and overflow clipping ([#768](https://github.com/marc2332/freya/pull/768)) +- Out of sync element ids on events ([#609](https://github.com/marc2332/freya/pull/609)) + +### Other + +- Resolve conflicts +- Rethink mutations writer ([#731](https://github.com/marc2332/freya/pull/731)) +- Simplify the `VirtualDOM` polling ([#729](https://github.com/marc2332/freya/pull/729)) +- Rename node states to follow an unified naming ([#713](https://github.com/marc2332/freya/pull/713)) +- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) +- process all queued keyboard events at once ([#629](https://github.com/marc2332/freya/pull/629)) +- release-plz.toml +- Only release crates under /crates +- Clean up debris diff --git a/crates/testing/Cargo.toml b/crates/testing/Cargo.toml index e5628e21e..61607315c 100644 --- a/crates/testing/Cargo.toml +++ b/crates/testing/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "freya-testing" description = "Headless test runner for Freya." -version = "0.2.1" +version = "0.2.2" edition = "2021" license = "MIT" authors = ["Marc Espín "] diff --git a/crates/torin/CHANGELOG.md b/crates/torin/CHANGELOG.md new file mode 100644 index 000000000..5a01d9168 --- /dev/null +++ b/crates/torin/CHANGELOG.md @@ -0,0 +1,34 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.3.0](https://github.com/marc2332/freya/compare/torin-v0.2.0...torin-v0.3.0) - 2024-09-11 + +### Added + +- Calc operator precedence ([#838](https://github.com/marc2332/freya/pull/838)) +- `spacing` attribute ([#834](https://github.com/marc2332/freya/pull/834)) +- Refactor some parts of Torin ([#807](https://github.com/marc2332/freya/pull/807)) +- Support percentage of auto in layout ([#784](https://github.com/marc2332/freya/pull/784)) +- Support `space-between`/`space-around`/`space-evenly` alignments ([#758](https://github.com/marc2332/freya/pull/758)) +- Reactive scale factor ([#606](https://github.com/marc2332/freya/pull/606)) + +### Fixed + +- Fix release-plz CI by renaming the torin readme file in Cargo.toml +- Small typos +- Show missing attributes in devtools ([#801](https://github.com/marc2332/freya/pull/801)) + +### Other + +- Be more generous for rotated dirty areas +- Merge branch 'main' into feat/incremental-rendering +- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) +- Run clippy in tests and examples +- release-plz.toml +- Only release crates under /crates diff --git a/crates/torin/Cargo.toml b/crates/torin/Cargo.toml index a4f424d1b..ff0e3bc66 100644 --- a/crates/torin/Cargo.toml +++ b/crates/torin/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "torin" description = "UI layout Library designed for Freya." -version = "0.2.0" +version = "0.3.0" edition = "2021" license = "MIT" authors = ["Marc Espín "]