Skip to content

Commit

Permalink
chore: Release
Browse files Browse the repository at this point in the history
  • Loading branch information
rchangelog[bot] committed Aug 26, 2024
1 parent f02d50c commit 6639143
Show file tree
Hide file tree
Showing 12 changed files with 55 additions and 31 deletions.
28 changes: 26 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Please only add new entries below the [Unreleased](#unreleased---releasedate) he

<!-- next-header -->

## [@Unreleased](https://github.com/RibirX/Ribir/compare/ribir-v0.3.0-beta.2...HEAD) - @ReleaseDate
## [@Unreleased](https://github.com/RibirX/Ribir/compare/ribir-v0.3.0...HEAD) - @ReleaseDate

## [0.3.0-beta.2](https://github.com/RibirX/Ribir/compare/ribir-v0.3.0-alpha.5...ribir-v0.3.0-beta.2) - 2024-06-05
## [0.3.0](https://github.com/RibirX/Ribir/compare/ribir-v0.3.0-beta.2...ribir-v0.3.0) - 2024-08-26

We're thrilled to announce that Ribir now supports the Web platform\! 🎉🎉🎉

Expand All @@ -38,8 +38,11 @@ Check out our Wordle game demo, now running smoothly in your browser\!
### Features

- **ribir**: support stable Rust 1.77.0 (\#552 @M-Adoo)

- **macros**: Added a `include_crate_svg!` macro to include the svg relative to current crate. (\#552, @M-Adoo)

- **ribir**: Added a `nightly` feature to enable functionalities that require nightly Rust. (\#552, @M-Adoo)

- The `include_crates_svg!` macro can operate without the `nightly` feature.
- The `include_svg!` macro requires the `nightly` feature to be enabled.

Expand All @@ -64,12 +67,19 @@ Check out our Wordle game demo, now running smoothly in your browser\!
```

- **core**: The split functions in `StateReader::map_reader`, `StateWriter::map_writer`, and `StateWriter::split_writer` no longer need to return a reference. (\#568 @M-Adoo)

- **core**: Introduced `StateWatcher` for watching state modifies, which was previously the responsibility of `StateReader`. This results in a cleaner and more compact `StateReader` implementation. (\#556, @M-Adoo)

- **gpu**: Introduced `GPUBackendImpl::max_textures_per_draw` to set a limit on textures per draw phase (\#562 @M-Adoo)

- **gpu**: Updated the `wgpu` implementation of the GPU backend to support WebGL. (\#578, @M-Adoo)

- **ci**: add wasm test (\#583 @wjian23)

- **ci**: wasm server watch file change (\#586 @wjian23)

- **painter**: Introduced support for `Resource<Path>` for drawing. This indicates that the `Path` may be shared with others, allowing the backend to cache it. (\#589 @M-Adoo)

- **painter**: Introduced support for bundled commands, enabling the backend to process these commands as a single entity and cache the resulting output. (\#589 @M-Adoo)

### Fixed
Expand All @@ -79,6 +89,7 @@ Check out our Wordle game demo, now running smoothly in your browser\!
- **ribir**: Resolved the issue causing a black screen on the first frame. (\#566, @M-Adoo)

- **gpu**: Retrieve the texture limit size from the GPU instead of using a hardcoded value. (\#578, @M-Adoo)

- **ribir**: fixed the crash issue when the shell window is zero-sized at startup. (\#582, @M-Adoo)

### Changed
Expand All @@ -88,14 +99,23 @@ Check out our Wordle game demo, now running smoothly in your browser\!
- **core**: rename builtin field of delay\_drop\_until to keep\_alive (\#561 @wjian23)

- **macros**: polish the compile error message of invalid filed in `@$var {}` (\#556 @M-Adoo)

- **gpu**: Removed dependency on the texture array feature of wgpu. (\#562, @M-Adoo)

- **algo**: removed `Resource` and rename `ShareResource` to `Resource`. (\#564, @M-Adoo)

- **dev-helper**: Support specific the comparison of image tests. (\#573 @M-Adoo)

- **dev-helper**: If test images differ, both actual and difference images are saved with the expected image. (\#573 @M-Adoo)

- **painter**: Removed the AntiAliasing feature from the `painter` package, This responsibility now lies with the painter backend. (\#584 @M-Adoo)

- **gpu**: The GPU backend no longer relies on MSAA, which is dependent on the graphics API. Instead, it uses the alpha atlas to provide a solution similar to SSAA.(\#584, @M-Adoo)

- **example**: run example in web wasm (\#571 @wjian23)

- **gpu**: The GPU backend now only caches the path command if it is a `Resource`. This change reduces GPU memory usage and accelerates cache detection. (\#589 @M-Adoo)

- **text**: Implemented caching of the glyph path as a `Resource` to improve performance. (\#589 @M-Adoo)

### Documented
Expand All @@ -107,11 +127,15 @@ Check out our Wordle game demo, now running smoothly in your browser\!
- **ribir**: compile wasm (\#543 @wjian23)

- **ribir**: Updated `App::new_window` to accept `WindowAttributes` instead of size as the second parameter. (\#565, \#566, @M-Adoo)

- **ribir**: The window creation APIs have been updated to use asynchronous methods, improving compatibility with browsers. (\#565, @M-Adoo)

- **macros**: removed `map_writer!` and `split_writer!` macros. (\#568, @M-Adoo)

- **ribir**: `StateWriter::map_writer` and `StateWriter::split_writer` now only require a writer split function, enhancing both reader and writer split operations. (\#568, @M-Adoo)

- **core**: The `StateReader` no longer supports watching its modifications. Use the `StateWatcher` trait instead for this functionality. (\#556 @M-Adoo)

- **painter**: Changes to `BackendPainter` APIs. This only affects you if you've implemented a custom painter. (\#562 @M-Adoo)

## [0.2.0](https://github.com/RibirX/Ribir/compare/ribir-v0.1.0...ribir-v0.2.0) - 2024-05-29
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ homepage = "https://ribir.org"
keywords = ["gui", "ui", "declarative", "compose-ui"]
license = "MIT"
readme = "README.md"
version = "0.3.0-beta.2"
version = "0.3.0"
rust-version = "1.77.0"

[workspace.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cli"
version = "0.1.1-beta.1"
version = "0.1.1"
edition = "2021"
publish = false

Expand Down
10 changes: 5 additions & 5 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ lyon_geom.workspace = true
once_cell.workspace = true
paste.workspace = true
pin-project-lite.workspace = true
ribir_algo = {path = "../algo", version = "0.3.0-beta.2" }
ribir_geom = {path = "../geom", version = "0.3.0-beta.2" }
ribir_macros = {path = "../macros", version = "0.3.0-beta.2" }
ribir_painter = {path = "../painter", version = "0.3.0-beta.2" }
ribir_text = {path = "../text", version = "0.3.0-beta.2" }
ribir_algo = {path = "../algo", version = "0.3.0" }
ribir_geom = {path = "../geom", version = "0.3.0" }
ribir_macros = {path = "../macros", version = "0.3.0" }
ribir_painter = {path = "../painter", version = "0.3.0" }
ribir_text = {path = "../text", version = "0.3.0" }
rxrust.workspace = true
smallvec.workspace = true
winit.workspace = true
Expand Down
8 changes: 4 additions & 4 deletions dev-helper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ version.workspace = true
[dependencies]
futures.workspace = true
once_cell.workspace = true
ribir_geom = {path = "../geom", version = "0.3.0-beta.2" }
ribir_gpu = {path = "../gpu", version = "0.3.0-beta.2" }
ribir_painter = {path = "../painter", features = ["png"], version = "0.3.0-beta.2" }
ribir_geom = {path = "../geom", version = "0.3.0" }
ribir_gpu = {path = "../gpu", version = "0.3.0" }
ribir_painter = {path = "../painter", features = ["png"], version = "0.3.0" }
image.workspace = true
dssim-core.workspace = true


[dev-dependencies]
colored.workspace = true
paste.workspace = true
ribir_core = {path = "../core", version = "0.3.0-beta.2" }
ribir_core = {path = "../core", version = "0.3.0" }
6 changes: 3 additions & 3 deletions gpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ futures = {workspace = true, optional = true}
guillotiere.workspace = true
log.workspace = true
rayon.workspace = true
ribir_algo = {path = "../algo", version = "0.3.0-beta.2" }
ribir_geom = {path = "../geom", version = "0.3.0-beta.2" }
ribir_painter = {path = "../painter", features = ["tessellation"], version = "0.3.0-beta.2" }
ribir_algo = {path = "../algo", version = "0.3.0" }
ribir_geom = {path = "../geom", version = "0.3.0" }
ribir_painter = {path = "../painter", features = ["tessellation"], version = "0.3.0" }
slab = "0.4.9"
wgpu = {workspace = true, optional = true}
zerocopy = {workspace=true, features = ["derive"]}
Expand Down
2 changes: 1 addition & 1 deletion macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ bitflags.workspace = true
lazy_static.workspace = true
proc-macro2.workspace = true
quote.workspace = true
ribir_painter = {path = "../painter", version = "0.3.0-beta.2" }
ribir_painter = {path = "../painter", version = "0.3.0" }
smallvec.workspace = true
syn = { workspace = true, features = ["fold", "full", "extra-traits"]}
phf = { workspace = true, features = ["macros"] }
Expand Down
4 changes: 2 additions & 2 deletions painter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ lyon_algorithms = {version = "1.0.3", features = ["serialization"]}
lyon_tessellation = {version = "1.0.3", features = ["serialization"], optional = true}
material-color-utilities-rs = {workspace = true}
rctree.workspace = true
ribir_algo = {path = "../algo", version = "0.3.0-beta.2" }
ribir_geom = {path = "../geom", version = "0.3.0-beta.2" }
ribir_algo = {path = "../algo", version = "0.3.0" }
ribir_geom = {path = "../geom", version = "0.3.0" }
serde = {version = "1.0", features = ["derive"]}
serde_json.workspace = true
tiny-skia-path = {workspace = true}
Expand Down
10 changes: 5 additions & 5 deletions ribir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ version.workspace = true

[dependencies]
once_cell.workspace = true
ribir_algo = { path = "../algo", version = "0.3.0-beta.2" }
ribir_core = { path = "../core", version = "0.3.0-beta.2" }
ribir_gpu = { path = "../gpu", version = "0.3.0-beta.2" }
ribir_material = { path = "../themes/material", version = "0.3.0-beta.2", optional = true }
ribir_widgets = { path = "../widgets", version = "0.3.0-beta.2", optional = true }
ribir_algo = { path = "../algo", version = "0.3.0" }
ribir_core = { path = "../core", version = "0.3.0" }
ribir_gpu = { path = "../gpu", version = "0.3.0" }
ribir_material = { path = "../themes/material", version = "0.3.0", optional = true }
ribir_widgets = { path = "../widgets", version = "0.3.0", optional = true }
rxrust.workspace = true
wgpu = { workspace = true, optional = true }
winit.workspace = true
Expand Down
6 changes: 3 additions & 3 deletions text/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ derive_more.workspace = true
fontdb.workspace = true
log.workspace = true
ordered-float.workspace = true
ribir_algo = {path = "../algo", version = "0.3.0-beta.2" }
ribir_geom = {path = "../geom", version = "0.3.0-beta.2" }
ribir_painter = {path = "../painter", version = "0.3.0-beta.2" }
ribir_algo = {path = "../algo", version = "0.3.0" }
ribir_geom = {path = "../geom", version = "0.3.0" }
ribir_painter = {path = "../painter", version = "0.3.0" }
rustybuzz.workspace = true
unicode-bidi.workspace = true
unicode-script.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions themes/material/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ repository = "https://github.com/RibirX/Ribir/themes/material"
version.workspace = true

[dependencies]
ribir_core = {path = "../../core", version = "0.3.0-beta.2" }
ribir_widgets = {path = "../../widgets", version = "0.3.0-beta.2" }
ribir_core = {path = "../../core", version = "0.3.0" }
ribir_widgets = {path = "../../widgets", version = "0.3.0" }
4 changes: 2 additions & 2 deletions widgets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ version.workspace = true
[dependencies]
lyon_algorithms.workspace = true
lyon_path.workspace = true
ribir_core = {path = "../core", version = "0.3.0-beta.2" }
ribir_geom = {path = "../geom", version = "0.3.0-beta.2" }
ribir_core = {path = "../core", version = "0.3.0" }
ribir_geom = {path = "../geom", version = "0.3.0" }
webbrowser.workspace = true

[dev-dependencies]
Expand Down

0 comments on commit 6639143

Please sign in to comment.