diff --git a/Cargo.toml b/Cargo.toml index 313e95cce..209336a36 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,20 +28,20 @@ disable-zoom-shortcuts = ["freya/disable-zoom-shortcuts"] [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-hooks = { path = "crates/hooks", version = "0.2" } -freya-core = { path = "crates/core", version = "0.2" } -freya-components = { path = "crates/components", version = "0.2" } -freya-testing = { path = "crates/testing", version = "0.2" } -freya-engine = { path = "crates/engine", version = "0.2" } -torin = { path = "crates/torin", 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.3" } +freya-core = { path = "crates/core", version = "0.3" } +freya-components = { path = "crates/components", version = "0.3" } +freya-testing = { path = "crates/testing", version = "0.3" } +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..7245f86ee --- /dev/null +++ b/crates/common/CHANGELOG.md @@ -0,0 +1,36 @@ +# 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-11-10 + +### Added + +- `a11y_auto_focus` ([#878](https://github.com/marc2332/freya/pull/878)) +- 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)) + +### Fixed + +- Skip updated but also removed accessibility nodes ([#964](https://github.com/marc2332/freya/pull/964)) + +### 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..18753bc0b --- /dev/null +++ b/crates/components/CHANGELOG.md @@ -0,0 +1,112 @@ +# 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-11-10 + +### Added + +- `on_deps_change` method for animations ([#977](https://github.com/marc2332/freya/pull/977)) +- `text_height` attribute to control the height behavior of text ([#976](https://github.com/marc2332/freya/pull/976)) +- Horizontal scroll for `Input` ([#949](https://github.com/marc2332/freya/pull/949)) +- Button variants ([#952](https://github.com/marc2332/freya/pull/952)) +- add attributes for most AccessKit properties ([#882](https://github.com/marc2332/freya/pull/882)) +- Add x and y getters for the scroll controller +- multiple borders ([#889](https://github.com/marc2332/freya/pull/889)) +- Keyboard navigation for `Checkbox` ([#926](https://github.com/marc2332/freya/pull/926)) +- Unified colors theming ([#914](https://github.com/marc2332/freya/pull/914)) +- Ajust the custom layers of some built-in-components ([#928](https://github.com/marc2332/freya/pull/928)) +- Move sliders with keyboard ([#917](https://github.com/marc2332/freya/pull/917)) +- Vertical `direction` for `Slider` ([#910](https://github.com/marc2332/freya/pull/910)) +- `import_image` ([#899](https://github.com/marc2332/freya/pull/899)) +- `TooltipContainer` ([#900](https://github.com/marc2332/freya/pull/900)) +- Small improvements in `SnackBar` +- Only focus focusable nodes ([#884](https://github.com/marc2332/freya/pull/884)) +- `a11y_auto_focus` ([#878](https://github.com/marc2332/freya/pull/878)) +- Focus-based keyboard events ([#877](https://github.com/marc2332/freya/pull/877)) +- Optional `onclick` event handle for `Tab` +- `invert_scroll_wheel` for `ScrollView` and `VirtualScrollView` +- Rename a11y attributes ([#869](https://github.com/marc2332/freya/pull/869)) +- Optionally hide original drag zone children while dragging ([#871](https://github.com/marc2332/freya/pull/871)) +- 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 + +- Round ScrollView size ([#972](https://github.com/marc2332/freya/pull/972)) +- Update checkbox tests +- Use the real text height for layout ([#932](https://github.com/marc2332/freya/pull/932)) +- Clamp progress bar progress ([#927](https://github.com/marc2332/freya/pull/927)) +- Various fixes when editing utf16-encoded text ([#901](https://github.com/marc2332/freya/pull/901)) +- Use collateral event to check if event is allowed ([#890](https://github.com/marc2332/freya/pull/890)) +- Proper support for keyboard navigation for Radio ([#880](https://github.com/marc2332/freya/pull/880)) +- 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 + +- Replace dioxus-sdk with dioxus-clipboard ([#973](https://github.com/marc2332/freya/pull/973)) +- Add missing 0.2 docs ([#916](https://github.com/marc2332/freya/pull/916)) +- Clean up readme `Tile` +- Remove unnecessary border wrappers of Radio and Checkbox ([#955](https://github.com/marc2332/freya/pull/955)) +- Fix dropdown test +- Fix snackbar tests +- Clean up log +- Fix drag and drop tests +- Update drag_drop.rs example +- Fix cargo clippy +- 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..5ce99fd5a --- /dev/null +++ b/crates/core/CHANGELOG.md @@ -0,0 +1,93 @@ +# 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-11-10 + +### Added + +- Consider antialising for incremental rendering ([#985](https://github.com/marc2332/freya/pull/985)) +- Allow passing state context in freya-testing ([#981](https://github.com/marc2332/freya/pull/981)) +- `text_height` attribute to control the height behavior of text ([#976](https://github.com/marc2332/freya/pull/976)) +- Parent children based accessibility relations ([#958](https://github.com/marc2332/freya/pull/958)) +- add attributes for most AccessKit properties ([#882](https://github.com/marc2332/freya/pull/882)) +- multiple borders ([#889](https://github.com/marc2332/freya/pull/889)) +- per-side border widths ([#836](https://github.com/marc2332/freya/pull/836)) +- Deterministic order of rendering ([#923](https://github.com/marc2332/freya/pull/923)) +- `TooltipContainer` ([#900](https://github.com/marc2332/freya/pull/900)) +- Rename `pointerover` event to `pointermove` ([#897](https://github.com/marc2332/freya/pull/897)) +- Only focus focusable nodes ([#884](https://github.com/marc2332/freya/pull/884)) +- `a11y_auto_focus` ([#878](https://github.com/marc2332/freya/pull/878)) +- Focus-based keyboard events ([#877](https://github.com/marc2332/freya/pull/877)) +- Rename a11y attributes ([#869](https://github.com/marc2332/freya/pull/869)) +- 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 + +- Traverse layout-mutated children with no drawing area in compositor ([#971](https://github.com/marc2332/freya/pull/971)) +- Skip updated but also removed accessibility nodes ([#964](https://github.com/marc2332/freya/pull/964)) +- Use text_overflow value for paragraph's ellipsis +- Update the incremental removal of accessible nodes ([#942](https://github.com/marc2332/freya/pull/942)) +- Check the default text align for expanded texts +- Use the real text height for layout ([#932](https://github.com/marc2332/freya/pull/932)) +- Layout references not triggering ([#934](https://github.com/marc2332/freya/pull/934)) +- Filter enter events properly, regression of [#895](https://github.com/marc2332/freya/pull/895) ([#896](https://github.com/marc2332/freya/pull/896)) +- Use collateral event to check if event is allowed ([#890](https://github.com/marc2332/freya/pull/890)) +- Proper incremental redraws for elements with outer or center borders ([#879](https://github.com/marc2332/freya/pull/879)) +- Proper full render when selecting nodes in devtools +- 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 + +- Split core render functions ([#937](https://github.com/marc2332/freya/pull/937)) +- Don't expand the label/paragraph width when using text aligns +- Be more generous for rotated dirty areas +- Accessibility logs +- 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..05917b728 --- /dev/null +++ b/crates/devtools/CHANGELOG.md @@ -0,0 +1,38 @@ +# 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-11-10 + +### Added + +- multiple borders ([#889](https://github.com/marc2332/freya/pull/889)) +- 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 + +- Use `use_applied_theme` in devtools +- Use the real text height for layout ([#932](https://github.com/marc2332/freya/pull/932)) +- 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 + +- Some devtools UI adjustements +- 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..abf30a621 --- /dev/null +++ b/crates/elements/CHANGELOG.md @@ -0,0 +1,48 @@ +# 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-11-10 + +### Added + +- flex support ([#920](https://github.com/marc2332/freya/pull/920)) +- `text_height` attribute to control the height behavior of text ([#976](https://github.com/marc2332/freya/pull/976)) +- add attributes for most AccessKit properties ([#882](https://github.com/marc2332/freya/pull/882)) +- multiple borders ([#889](https://github.com/marc2332/freya/pull/889)) +- per-side border widths ([#836](https://github.com/marc2332/freya/pull/836)) +- Rename `pointerover` event to `pointermove` ([#897](https://github.com/marc2332/freya/pull/897)) +- Only focus focusable nodes ([#884](https://github.com/marc2332/freya/pull/884)) +- `a11y_auto_focus` ([#878](https://github.com/marc2332/freya/pull/878)) +- Focus-based keyboard events ([#877](https://github.com/marc2332/freya/pull/877)) +- Rename a11y attributes ([#869](https://github.com/marc2332/freya/pull/869)) +- 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 + +- Add missing 0.2 docs ([#916](https://github.com/marc2332/freya/pull/916)) +- organize inconsistent attributes ([#950](https://github.com/marc2332/freya/pull/950)) +- Update definitions.rs +- Update main_align_cross_align.md +- 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..6be325a99 --- /dev/null +++ b/crates/engine/CHANGELOG.md @@ -0,0 +1,33 @@ +# 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-11-10 + +### Added + +- `text_height` attribute to control the height behavior of text ([#976](https://github.com/marc2332/freya/pull/976)) +- per-side border widths ([#836](https://github.com/marc2332/freya/pull/836)) +- 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..21caa56a8 --- /dev/null +++ b/crates/freya/CHANGELOG.md @@ -0,0 +1,35 @@ +# 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-11-10 + +### Added + +- Add `FPS` label to the performance overlay plugin ([#938](https://github.com/marc2332/freya/pull/938)) +- Custom scale factor shortcuts ([#931](https://github.com/marc2332/freya/pull/931)) +- `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 + +- 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 8797c7eda..111406045 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..725ecb7aa --- /dev/null +++ b/crates/hooks/CHANGELOG.md @@ -0,0 +1,96 @@ +# 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-hooks-v0.2.1...freya-hooks-v0.3.0) - 2024-11-10 + +### Added + +- `on_deps_change` method for animations ([#977](https://github.com/marc2332/freya/pull/977)) +- Allow passing state context in freya-testing ([#981](https://github.com/marc2332/freya/pull/981)) +- Button variants ([#952](https://github.com/marc2332/freya/pull/952)) +- add attributes for most AccessKit properties ([#882](https://github.com/marc2332/freya/pull/882)) +- Improve scrollbar colors for Dark theme +- Keyboard navigation for `Checkbox` ([#926](https://github.com/marc2332/freya/pull/926)) +- Unified colors theming ([#914](https://github.com/marc2332/freya/pull/914)) +- Add `UseEditable::new_in_hook` for manual creation of editable content ([#933](https://github.com/marc2332/freya/pull/933)) +- Only focus focusable nodes ([#884](https://github.com/marc2332/freya/pull/884)) +- `a11y_auto_focus` ([#878](https://github.com/marc2332/freya/pull/878)) +- Focus-based keyboard events ([#877](https://github.com/marc2332/freya/pull/877)) +- Rename a11y attributes ([#869](https://github.com/marc2332/freya/pull/869)) +- 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 + +- Add some missing theme values +- Fix text selection movement of the cursor +- Use the real text height for layout ([#932](https://github.com/marc2332/freya/pull/932)) +- Various fixes when editing utf16-encoded text ([#901](https://github.com/marc2332/freya/pull/901)) +- Proper support for keyboard navigation for Radio ([#880](https://github.com/marc2332/freya/pull/880)) +- Proper drop of unused assets in asset cacher ([#868](https://github.com/marc2332/freya/pull/868)) +- 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 + +- Replace dioxus-sdk with dioxus-clipboard ([#973](https://github.com/marc2332/freya/pull/973)) +- Add missing 0.2 docs ([#916](https://github.com/marc2332/freya/pull/916)) +- Fix clippy warnings in use_init_native_platforms tests +- Clean up +- cargo clippy +- 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 +- 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 7c581176b..7c9638ac1 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.3.0" 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..caed293c4 --- /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-11-10 + +### 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..7557587d8 --- /dev/null +++ b/crates/native-core/CHANGELOG.md @@ -0,0 +1,39 @@ +# 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-11-10 + +### Added + +- `text_height` attribute to control the height behavior of text ([#976](https://github.com/marc2332/freya/pull/976)) +- add attributes for most AccessKit properties ([#882](https://github.com/marc2332/freya/pull/882)) +- multiple borders ([#889](https://github.com/marc2332/freya/pull/889)) +- Rename `pointerover` event to `pointermove` ([#897](https://github.com/marc2332/freya/pull/897)) +- Only focus focusable nodes ([#884](https://github.com/marc2332/freya/pull/884)) +- `a11y_auto_focus` ([#878](https://github.com/marc2332/freya/pull/878)) +- Focus-based keyboard events ([#877](https://github.com/marc2332/freya/pull/877)) +- Rename a11y attributes ([#869](https://github.com/marc2332/freya/pull/869)) +- 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 + +- Use collateral event to check if event is allowed ([#890](https://github.com/marc2332/freya/pull/890)) +- Dont trigger mouse enter on touch move ([#888](https://github.com/marc2332/freya/pull/888)) +- *(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 + +- 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 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..060ea0a94 --- /dev/null +++ b/crates/renderer/CHANGELOG.md @@ -0,0 +1,81 @@ +# 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-11-10 + +### Added + +- Event Loop Builder hook ([#944](https://github.com/marc2332/freya/pull/944)) +- `LaunchConfig::with_visible` ([#935](https://github.com/marc2332/freya/pull/935)) +- Custom scale factor shortcuts ([#931](https://github.com/marc2332/freya/pull/931)) +- `a11y_auto_focus` ([#878](https://github.com/marc2332/freya/pull/878)) +- Focus-based keyboard events ([#877](https://github.com/marc2332/freya/pull/877)) +- 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 + +- Create accesskit adapter before making window visible ([#967](https://github.com/marc2332/freya/pull/967)) +- Scale with window's scaled actor the areas requested for invalid… ([#912](https://github.com/marc2332/freya/pull/912)) +- Proper full render when selecting nodes in devtools +- 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 + +- Remove `accesskit` window rendering workaround ([#930](https://github.com/marc2332/freya/pull/930)) +- 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 f4c11b6ec..bd5964b7e 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..89ddf5057 --- /dev/null +++ b/crates/state/CHANGELOG.md @@ -0,0 +1,58 @@ +# 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-11-10 + +### Added + +- flex support ([#920](https://github.com/marc2332/freya/pull/920)) +- `text_height` attribute to control the height behavior of text ([#976](https://github.com/marc2332/freya/pull/976)) +- Parent children based accessibility relations ([#958](https://github.com/marc2332/freya/pull/958)) +- add attributes for most AccessKit properties ([#882](https://github.com/marc2332/freya/pull/882)) +- multiple borders ([#889](https://github.com/marc2332/freya/pull/889)) +- per-side border widths ([#836](https://github.com/marc2332/freya/pull/836)) +- Support RootPercentage in `calc()` ([#907](https://github.com/marc2332/freya/pull/907)) +- Only focus focusable nodes ([#884](https://github.com/marc2332/freya/pull/884)) +- `a11y_auto_focus` ([#878](https://github.com/marc2332/freya/pull/878)) +- Rename a11y attributes ([#869](https://github.com/marc2332/freya/pull/869)) +- 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 + +- Avoid trigering side effects in orphan nodes updates ([#959](https://github.com/marc2332/freya/pull/959)) +- Fix radial gradient +- Use the real text height for layout ([#932](https://github.com/marc2332/freya/pull/932)) +- linear gradient angles ([#921](https://github.com/marc2332/freya/pull/921)) +- Use individual methods to set decoration ([#842](https://github.com/marc2332/freya/pull/842)) +- Support `none` for background colors + +### Other + +- Split core render functions ([#937](https://github.com/marc2332/freya/pull/937)) +- 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..86388c95d --- /dev/null +++ b/crates/testing/CHANGELOG.md @@ -0,0 +1,49 @@ +# 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-testing-v0.2.1...freya-testing-v0.3.0) - 2024-11-10 + +### Added + +- Allow passing state context in freya-testing ([#981](https://github.com/marc2332/freya/pull/981)) +- in-memory canvas snapshots ([#979](https://github.com/marc2332/freya/pull/979)) +- Focus-based keyboard events ([#877](https://github.com/marc2332/freya/pull/877)) +- 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 + +- Use the config size for the compositor dirty area in freya-testing when resizing ([#989](https://github.com/marc2332/freya/pull/989)) +- 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..40818cc4d 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.3.0" 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..c700957ff --- /dev/null +++ b/crates/torin/CHANGELOG.md @@ -0,0 +1,40 @@ +# 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-11-10 + +### Added + +- flex support ([#920](https://github.com/marc2332/freya/pull/920)) +- Support RootPercentage in `calc()` ([#907](https://github.com/marc2332/freya/pull/907)) +- 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 + +- Layout references not triggering ([#934](https://github.com/marc2332/freya/pull/934)) +- Properly adjust accumulated sizes when using padding ([#894](https://github.com/marc2332/freya/pull/894)) +- Proper incremental redraws for elements with outer or center borders ([#879](https://github.com/marc2332/freya/pull/879)) +- *(torin)* Ignore absolute nodes for spacing and alignments ([#873](https://github.com/marc2332/freya/pull/873)) +- 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 + +- Avoid marking as dirty fixed-size nodes with non-start alignments or layout references if they haven't actually been modified ([#919](https://github.com/marc2332/freya/pull/919)) +- Be more generous for rotated dirty areas +- `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 "]