Release 0.19.0 - wgpu backend, repaint_after, continue-after-close

This commit is contained in:
Emil Ernerfeldt 2022-08-20 16:44:05 +02:00
parent 13f5d62b4b
commit 97ce103209
20 changed files with 73 additions and 48 deletions

View file

@ -1,10 +1,13 @@
# egui changelog # egui changelog
All notable changes to the `egui` crate will be documented in this file. All notable changes to the `egui` crate will be documented in this file.
NOTE: [`epaint`](epaint/CHANGELOG.md), [`eframe`](eframe/CHANGELOG.md), [`egui-winit`](egui-winit/CHANGELOG.md), [`egui_glium`](egui_glium/CHANGELOG.md), and [`egui_glow`](egui_glow/CHANGELOG.md) have their own changelogs! NOTE: [`epaint`](crates/epaint/CHANGELOG.md), [`eframe`](crates/eframe/CHANGELOG.md), [`egui-winit`](crates/egui-winit/CHANGELOG.md), [`egui_glium`](crates/egui_glium/CHANGELOG.md), [`egui_glow`](crates/egui_glow/CHANGELOG.md) and [`egui-wgpu`](crates/egui-wgpu/CHANGELOG.md) have their own changelogs!
## Unreleased ## Unreleased
## 0.19.0 - 2022-08-20
### Added ⭐ ### Added ⭐
* Added `*_released` & `*_clicked` methods for `PointerState` ([#1582](https://github.com/emilk/egui/pull/1582)). * Added `*_released` & `*_clicked` methods for `PointerState` ([#1582](https://github.com/emilk/egui/pull/1582)).
* Added `PointerButton::Extra1` and `PointerButton::Extra2` ([#1592](https://github.com/emilk/egui/pull/1592)). * Added `PointerButton::Extra1` and `PointerButton::Extra2` ([#1592](https://github.com/emilk/egui/pull/1592)).

22
Cargo.lock generated
View file

@ -1172,7 +1172,7 @@ checksum = "4f94fa09c2aeea5b8839e414b7b841bf429fd25b9c522116ac97ee87856d88b2"
[[package]] [[package]]
name = "eframe" name = "eframe"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"dark-light", "dark-light",
@ -1201,7 +1201,7 @@ dependencies = [
[[package]] [[package]]
name = "egui" name = "egui"
version = "0.18.1" version = "0.19.0"
dependencies = [ dependencies = [
"ahash 0.8.0", "ahash 0.8.0",
"document-features", "document-features",
@ -1214,7 +1214,7 @@ dependencies = [
[[package]] [[package]]
name = "egui-wgpu" name = "egui-wgpu"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"document-features", "document-features",
@ -1228,7 +1228,7 @@ dependencies = [
[[package]] [[package]]
name = "egui-winit" name = "egui-winit"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"arboard", "arboard",
"document-features", "document-features",
@ -1245,7 +1245,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_demo_app" name = "egui_demo_app"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"chrono", "chrono",
@ -1266,7 +1266,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_demo_lib" name = "egui_demo_lib"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"chrono", "chrono",
"criterion", "criterion",
@ -1282,7 +1282,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_extras" name = "egui_extras"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"chrono", "chrono",
"document-features", "document-features",
@ -1297,7 +1297,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_glium" name = "egui_glium"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"ahash 0.8.0", "ahash 0.8.0",
"bytemuck", "bytemuck",
@ -1310,7 +1310,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_glow" name = "egui_glow"
version = "0.18.1" version = "0.19.0"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"document-features", "document-features",
@ -1346,7 +1346,7 @@ checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797"
[[package]] [[package]]
name = "emath" name = "emath"
version = "0.18.0" version = "0.19.0"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"document-features", "document-features",
@ -1411,7 +1411,7 @@ dependencies = [
[[package]] [[package]]
name = "epaint" name = "epaint"
version = "0.18.1" version = "0.19.0"
dependencies = [ dependencies = [
"ab_glyph", "ab_glyph",
"ahash 0.8.0", "ahash 0.8.0",

View file

@ -1,10 +1,13 @@
# Changelog for eframe # Changelog for eframe
All notable changes to the `eframe` crate. All notable changes to the `eframe` crate.
NOTE: [`egui-winit`](../egui-winit/CHANGELOG.md), [`egui_glium`](../egui_glium/CHANGELOG.md), and [`egui_glow`](../egui_glow/CHANGELOG.md) have their own changelogs! NOTE: [`egui-winit`](../egui-winit/CHANGELOG.md), [`egui_glium`](../egui_glium/CHANGELOG.md), [`egui_glow`](../egui_glow/CHANGELOG.md),and [`egui-wgpu`](../egui-wgpu/CHANGELOG.md) have their own changelogs!
## Unreleased ## Unreleased
## 0.19.0 - 2022-08-20
* MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)). * MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)).
* Added `wgpu` rendering backed ([#1564](https://github.com/emilk/egui/pull/1564)): * Added `wgpu` rendering backed ([#1564](https://github.com/emilk/egui/pull/1564)):
* Added features `wgpu` and `glow`. * Added features `wgpu` and `glow`.
@ -24,6 +27,7 @@ NOTE: [`egui-winit`](../egui-winit/CHANGELOG.md), [`egui_glium`](../egui_glium/C
* Fixed mouse cursor change on Linux ([#1747](https://github.com/emilk/egui/pull/1747)). * Fixed mouse cursor change on Linux ([#1747](https://github.com/emilk/egui/pull/1747)).
* Added `Frame::set_visible` ([#1808](https://github.com/emilk/egui/pull/1808)). * Added `Frame::set_visible` ([#1808](https://github.com/emilk/egui/pull/1808)).
* Added fullscreen support ([#1866](https://github.com/emilk/egui/pull/1866)). * Added fullscreen support ([#1866](https://github.com/emilk/egui/pull/1866)).
* You can now continue execution after closing the native desktop window ([#1889](https://github.com/emilk/egui/pull/1889)).
* `Frame::quit` has been renamed to `Frame::close` and `App::on_exit_event` is now `App::on_close_event` ([#1943](https://github.com/emilk/egui/pull/1943)). * `Frame::quit` has been renamed to `Frame::close` and `App::on_exit_event` is now `App::on_close_event` ([#1943](https://github.com/emilk/egui/pull/1943)).
#### Web: #### Web:
@ -32,7 +36,6 @@ NOTE: [`egui-winit`](../egui-winit/CHANGELOG.md), [`egui_glium`](../egui_glium/C
* Added option to select WebGL version ([#1803](https://github.com/emilk/egui/pull/1803)). * Added option to select WebGL version ([#1803](https://github.com/emilk/egui/pull/1803)).
## 0.18.0 - 2022-04-30 ## 0.18.0 - 2022-04-30
* MSRV (Minimum Supported Rust Version) is now `1.60.0` ([#1467](https://github.com/emilk/egui/pull/1467)). * MSRV (Minimum Supported Rust Version) is now `1.60.0` ([#1467](https://github.com/emilk/egui/pull/1467)).
* Removed `eframe::epi` - everything is now in `eframe` (`eframe::App`, `eframe::Frame` etc) ([#1545](https://github.com/emilk/egui/pull/1545)). * Removed `eframe::epi` - everything is now in `eframe` (`eframe::App`, `eframe::Frame` etc) ([#1545](https://github.com/emilk/egui/pull/1545)).

View file

@ -1,6 +1,6 @@
[package] [package]
name = "eframe" name = "eframe"
version = "0.18.0" version = "0.19.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "egui framework - write GUI apps that compiles to web and/or natively" description = "egui framework - write GUI apps that compiles to web and/or natively"
edition = "2021" edition = "2021"
@ -61,7 +61,7 @@ wgpu = ["dep:wgpu", "egui-wgpu"]
[dependencies] [dependencies]
egui = { version = "0.18.0", path = "../egui", default-features = false, features = [ egui = { version = "0.19.0", path = "../egui", default-features = false, features = [
"bytemuck", "bytemuck",
"tracing", "tracing",
] } ] }
@ -71,8 +71,8 @@ tracing = { version = "0.1", default-features = false, features = ["std"] }
## Enable this when generating docs. ## Enable this when generating docs.
document-features = { version = "0.2", optional = true } document-features = { version = "0.2", optional = true }
egui_glow = { version = "0.18.0", path = "../egui_glow", optional = true, default-features = false } egui_glow = { version = "0.19.0", path = "../egui_glow", optional = true, default-features = false }
egui-wgpu = { version = "0.18.0", path = "../egui-wgpu", optional = true, features = ["winit"] } egui-wgpu = { version = "0.19.0", path = "../egui-wgpu", optional = true, features = ["winit"] }
glow = { version = "0.11", optional = true } glow = { version = "0.11", optional = true }
ron = { version = "0.8", optional = true, features = ["integer128"] } ron = { version = "0.8", optional = true, features = ["integer128"] }
serde = { version = "1", optional = true, features = ["derive"] } serde = { version = "1", optional = true, features = ["derive"] }
@ -82,7 +82,7 @@ wgpu = { version = "0.13", optional = true }
# native: # native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies] [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
dark-light = { version = "0.2.1", optional = true } dark-light = { version = "0.2.1", optional = true }
egui-winit = { version = "0.18.0", path = "../egui-winit", default-features = false, features = ["clipboard", "links"] } egui-winit = { version = "0.19.0", path = "../egui-winit", default-features = false, features = ["clipboard", "links"] }
glutin = { version = "0.29.0" } glutin = { version = "0.29.0" }
winit = "0.27.2" winit = "0.27.2"

View file

@ -3,8 +3,12 @@ All notable changes to the `egui-wgpu` integration will be noted in this file.
## Unreleased ## Unreleased
## 0.19.0 - 2022-08-20
* Enables deferred render + surface state initialization for Android ([#1634](https://github.com/emilk/egui/pull/1634)). * Enables deferred render + surface state initialization for Android ([#1634](https://github.com/emilk/egui/pull/1634)).
* Make `RenderPass` `Send` and `Sync` ([#1883](https://github.com/emilk/egui/pull/1883)). * Make `RenderPass` `Send` and `Sync` ([#1883](https://github.com/emilk/egui/pull/1883)).
## 0.18.0 - 2022-05-15 ## 0.18.0 - 2022-05-15
First published version since moving the code into the `egui` repository from <https://github.com/LU15W1R7H/eww>. First published version since moving the code into the `egui` repository from <https://github.com/LU15W1R7H/eww>.

View file

@ -1,6 +1,6 @@
[package] [package]
name = "egui-wgpu" name = "egui-wgpu"
version = "0.18.0" version = "0.19.0"
description = "Bindings for using egui natively using the wgpu library" description = "Bindings for using egui natively using the wgpu library"
authors = [ authors = [
"Nils Hasenbanck <nils@hasenbanck.de>", "Nils Hasenbanck <nils@hasenbanck.de>",
@ -33,7 +33,7 @@ winit = ["dep:pollster", "dep:winit"]
[dependencies] [dependencies]
egui = { version = "0.18.1", path = "../egui", default-features = false, features = [ egui = { version = "0.19.0", path = "../egui", default-features = false, features = [
"bytemuck", "bytemuck",
] } ] }

View file

@ -3,6 +3,9 @@ All notable changes to the `egui-winit` integration will be noted in this file.
## Unreleased ## Unreleased
## 0.19.0 - 2022-08-20
* MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)). * MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)).
* Fixed clipboard on Wayland ([#1613](https://github.com/emilk/egui/pull/1613)). * Fixed clipboard on Wayland ([#1613](https://github.com/emilk/egui/pull/1613)).
* Allow deferred render + surface state initialization for Android ([#1634](https://github.com/emilk/egui/pull/1634)). * Allow deferred render + surface state initialization for Android ([#1634](https://github.com/emilk/egui/pull/1634)).

View file

@ -1,6 +1,6 @@
[package] [package]
name = "egui-winit" name = "egui-winit"
version = "0.18.0" version = "0.19.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using egui with winit" description = "Bindings for using egui with winit"
edition = "2021" edition = "2021"
@ -41,7 +41,7 @@ serde = ["egui/serde", "dep:serde"]
[dependencies] [dependencies]
egui = { version = "0.18.0", path = "../egui", default-features = false, features = [ egui = { version = "0.19.0", path = "../egui", default-features = false, features = [
"tracing", "tracing",
] } ] }
instant = { version = "0.1", features = ["wasm-bindgen"] } # We use instant so we can (maybe) compile for web instant = { version = "0.1", features = ["wasm-bindgen"] } # We use instant so we can (maybe) compile for web

View file

@ -1,13 +1,13 @@
[package] [package]
name = "egui" name = "egui"
version = "0.18.1" version = "0.19.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "An easy-to-use immediate mode GUI that runs on both web and native" description = "An easy-to-use immediate mode GUI that runs on both web and native"
edition = "2021" edition = "2021"
rust-version = "1.61" rust-version = "1.61"
homepage = "https://github.com/emilk/egui" homepage = "https://github.com/emilk/egui"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
readme = "../README.md" readme = "../../README.md"
repository = "https://github.com/emilk/egui" repository = "https://github.com/emilk/egui"
categories = ["gui", "game-development"] categories = ["gui", "game-development"]
keywords = ["gui", "imgui", "immediate", "portable", "gamedev"] keywords = ["gui", "imgui", "immediate", "portable", "gamedev"]
@ -55,7 +55,7 @@ persistence = ["serde", "epaint/serde", "ron"]
serde = ["dep:serde", "epaint/serde"] serde = ["dep:serde", "epaint/serde"]
[dependencies] [dependencies]
epaint = { version = "0.18.1", path = "../epaint", default-features = false } epaint = { version = "0.19.0", path = "../epaint", default-features = false }
ahash = "0.8" ahash = "0.8"
nohash-hasher = "0.2" nohash-hasher = "0.2"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "egui_demo_app" name = "egui_demo_app"
version = "0.18.0" version = "0.19.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
@ -39,14 +39,14 @@ wgpu = ["eframe/wgpu", "bytemuck", "pollster", "dep:wgpu"]
[dependencies] [dependencies]
chrono = { version = "0.4", features = ["js-sys", "wasmbind"] } chrono = { version = "0.4", features = ["js-sys", "wasmbind"] }
eframe = { version = "0.18.0", path = "../eframe", default-features = false } eframe = { version = "0.19.0", path = "../eframe", default-features = false }
egui = { version = "0.18.0", path = "../egui", features = ["extra_debug_asserts"] } egui = { version = "0.19.0", path = "../egui", features = ["extra_debug_asserts"] }
egui_demo_lib = { version = "0.18.0", path = "../egui_demo_lib", features = ["chrono"] } egui_demo_lib = { version = "0.19.0", path = "../egui_demo_lib", features = ["chrono"] }
# Optional dependencies: # Optional dependencies:
bytemuck = { version = "1.7.1", optional = true } bytemuck = { version = "1.7.1", optional = true }
egui_extras = { version = "0.18.0", optional = true, path = "../egui_extras" } egui_extras = { version = "0.19.0", optional = true, path = "../egui_extras" }
wgpu = { version = "0.13", optional = true, features = ["webgl"] } wgpu = { version = "0.13", optional = true, features = ["webgl"] }
# feature "http": # feature "http":

View file

@ -1,6 +1,6 @@
[package] [package]
name = "egui_demo_lib" name = "egui_demo_lib"
version = "0.18.0" version = "0.19.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Example library for egui" description = "Example library for egui"
edition = "2021" edition = "2021"
@ -30,8 +30,8 @@ syntax_highlighting = ["syntect"]
[dependencies] [dependencies]
egui = { version = "0.18.0", path = "../egui", default-features = false } egui = { version = "0.19.0", path = "../egui", default-features = false }
egui_extras = { version = "0.18.0", path = "../egui_extras" } egui_extras = { version = "0.19.0", path = "../egui_extras" }
enum-map = { version = "2", features = ["serde"] } enum-map = { version = "2", features = ["serde"] }
tracing = { version = "0.1", default-features = false, features = ["std"] } tracing = { version = "0.1", default-features = false, features = ["std"] }
unicode_names2 = { version = "0.5.0", default-features = false } unicode_names2 = { version = "0.5.0", default-features = false }

View file

@ -3,6 +3,9 @@ All notable changes to the `egui_extras` integration will be noted in this file.
## Unreleased ## Unreleased
## 0.19.0 - 2022-08-20
* MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)). * MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)).
* You can now specify a texture filter for `RetainedImage` ([#1636](https://github.com/emilk/egui/pull/1636)). * You can now specify a texture filter for `RetainedImage` ([#1636](https://github.com/emilk/egui/pull/1636)).
* Fixed uneven `Table` striping ([#1680](https://github.com/emilk/egui/pull/1680)). * Fixed uneven `Table` striping ([#1680](https://github.com/emilk/egui/pull/1680)).
@ -15,4 +18,4 @@ All notable changes to the `egui_extras` integration will be noted in this file.
## 0.17.0 - 2022-02-22 ## 0.17.0 - 2022-02-22
* `RetainedImage`: conventience for loading svg, png, jpeg etc and showing them in egui. * `RetainedImage`: convenience for loading svg, png, jpeg etc and showing them in egui.

View file

@ -1,6 +1,6 @@
[package] [package]
name = "egui_extras" name = "egui_extras"
version = "0.18.0" version = "0.19.0"
authors = [ authors = [
"Dominik Rössler <dominik@freshx.de>", "Dominik Rössler <dominik@freshx.de>",
"Emil Ernerfeldt <emil.ernerfeldt@gmail.com>", "Emil Ernerfeldt <emil.ernerfeldt@gmail.com>",
@ -11,7 +11,7 @@ edition = "2021"
rust-version = "1.61" rust-version = "1.61"
homepage = "https://github.com/emilk/egui" homepage = "https://github.com/emilk/egui"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
readme = "../README.md" readme = "README.md"
repository = "https://github.com/emilk/egui" repository = "https://github.com/emilk/egui"
categories = ["gui", "game-development"] categories = ["gui", "game-development"]
keywords = ["gui", "imgui", "immediate", "portable", "gamedev"] keywords = ["gui", "imgui", "immediate", "portable", "gamedev"]
@ -40,7 +40,7 @@ tracing = ["dep:tracing", "egui/tracing"]
[dependencies] [dependencies]
egui = { version = "0.18.0", path = "../egui", default-features = false } egui = { version = "0.19.0", path = "../egui", default-features = false }
#! ### Optional dependencies #! ### Optional dependencies

View file

@ -3,6 +3,9 @@ All notable changes to the `egui_glium` integration will be noted in this file.
## Unreleased ## Unreleased
## 0.19.0 - 2022-08-20
* MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)). * MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)).

View file

@ -1,6 +1,6 @@
[package] [package]
name = "egui_glium" name = "egui_glium"
version = "0.18.0" version = "0.19.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using egui natively using the glium library" description = "Bindings for using egui natively using the glium library"
edition = "2021" edition = "2021"
@ -39,10 +39,10 @@ screen_reader = ["egui-winit/screen_reader"]
[dependencies] [dependencies]
egui = { version = "0.18.0", path = "../egui", default-features = false, features = [ egui = { version = "0.19.0", path = "../egui", default-features = false, features = [
"bytemuck", "bytemuck",
] } ] }
egui-winit = { version = "0.18.0", path = "../egui-winit", default-features = false } egui-winit = { version = "0.19.0", path = "../egui-winit", default-features = false }
ahash = "0.8" ahash = "0.8"
bytemuck = "1.7" bytemuck = "1.7"

View file

@ -3,6 +3,9 @@ All notable changes to the `egui_glow` integration will be noted in this file.
## Unreleased ## Unreleased
## 0.19.0 - 2022-08-20
* MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)). * MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)).
* `EguiGlow::new` now takes an `EventLoopWindowTarget<E>` instead of a `winit::Window` ([#1634](https://github.com/emilk/egui/pull/1634)). * `EguiGlow::new` now takes an `EventLoopWindowTarget<E>` instead of a `winit::Window` ([#1634](https://github.com/emilk/egui/pull/1634)).
* Use `Arc` for `glow::Context` instead of `Rc` ([#1640](https://github.com/emilk/egui/pull/1640)). * Use `Arc` for `glow::Context` instead of `Rc` ([#1640](https://github.com/emilk/egui/pull/1640)).

View file

@ -1,6 +1,6 @@
[package] [package]
name = "egui_glow" name = "egui_glow"
version = "0.18.1" version = "0.19.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using egui natively using the glow library" description = "Bindings for using egui natively using the glow library"
edition = "2021" edition = "2021"
@ -47,7 +47,7 @@ winit = ["egui-winit",]
[dependencies] [dependencies]
egui = { version = "0.18.0", path = "../egui", default-features = false, features = [ egui = { version = "0.19.0", path = "../egui", default-features = false, features = [
"bytemuck", "bytemuck",
] } ] }
@ -62,7 +62,7 @@ document-features = { version = "0.2", optional = true }
# Native: # Native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies] [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
egui-winit = { version = "0.18.0", path = "../egui-winit", optional = true, default-features = false } egui-winit = { version = "0.19.0", path = "../egui-winit", optional = true, default-features = false }
puffin = { version = "0.13", optional = true } puffin = { version = "0.13", optional = true }
# Web: # Web:

View file

@ -1,6 +1,6 @@
[package] [package]
name = "emath" name = "emath"
version = "0.18.0" version = "0.19.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Minimal 2D math library for GUI work" description = "Minimal 2D math library for GUI work"
edition = "2021" edition = "2021"

View file

@ -3,10 +3,13 @@ All notable changes to the epaint crate will be documented in this file.
## Unreleased ## Unreleased
## 0.19.0 - 2022-08-20
* MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)).
* Added `epaint::hex_color!` to create `Color32`'s from hex strings under the `color-hex` feature ([#1596](https://github.com/emilk/egui/pull/1596)). * Added `epaint::hex_color!` to create `Color32`'s from hex strings under the `color-hex` feature ([#1596](https://github.com/emilk/egui/pull/1596)).
* Optimize tessellation of filled circles by 10x or more ([#1616](https://github.com/emilk/egui/pull/1616)). * Optimize tessellation of filled circles by 10x or more ([#1616](https://github.com/emilk/egui/pull/1616)).
* Added opt-in feature `deadlock_detection` to detect double-lock of mutexes on the same thread ([#1619](https://github.com/emilk/egui/pull/1619)). * Added opt-in feature `deadlock_detection` to detect double-lock of mutexes on the same thread ([#1619](https://github.com/emilk/egui/pull/1619)).
* MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)).
## 0.18.1 - 2022-05-01 ## 0.18.1 - 2022-05-01

View file

@ -1,6 +1,6 @@
[package] [package]
name = "epaint" name = "epaint"
version = "0.18.1" version = "0.19.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"] authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Minimal 2D graphics library for GUI work" description = "Minimal 2D graphics library for GUI work"
edition = "2021" edition = "2021"
@ -53,7 +53,7 @@ mint = ["emath/mint"]
serde = ["dep:serde", "ahash/serde", "emath/serde"] serde = ["dep:serde", "ahash/serde", "emath/serde"]
[dependencies] [dependencies]
emath = { version = "0.18.0", path = "../emath" } emath = { version = "0.19.0", path = "../emath" }
ab_glyph = "0.2.11" ab_glyph = "0.2.11"
ahash = "0.8" ahash = "0.8"