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
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
## 0.19.0 - 2022-08-20
### Added ⭐
* 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)).

22
Cargo.lock generated
View file

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

View file

@ -1,10 +1,13 @@
# Changelog for eframe
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
## 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 `wgpu` rendering backed ([#1564](https://github.com/emilk/egui/pull/1564)):
* 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)).
* Added `Frame::set_visible` ([#1808](https://github.com/emilk/egui/pull/1808)).
* 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)).
#### 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)).
## 0.18.0 - 2022-04-30
* 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)).

View file

@ -1,6 +1,6 @@
[package]
name = "eframe"
version = "0.18.0"
version = "0.19.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "egui framework - write GUI apps that compiles to web and/or natively"
edition = "2021"
@ -61,7 +61,7 @@ wgpu = ["dep:wgpu", "egui-wgpu"]
[dependencies]
egui = { version = "0.18.0", path = "../egui", default-features = false, features = [
egui = { version = "0.19.0", path = "../egui", default-features = false, features = [
"bytemuck",
"tracing",
] }
@ -71,8 +71,8 @@ tracing = { version = "0.1", default-features = false, features = ["std"] }
## Enable this when generating docs.
document-features = { version = "0.2", optional = true }
egui_glow = { version = "0.18.0", path = "../egui_glow", optional = true, default-features = false }
egui-wgpu = { version = "0.18.0", path = "../egui-wgpu", optional = true, features = ["winit"] }
egui_glow = { version = "0.19.0", path = "../egui_glow", optional = true, default-features = false }
egui-wgpu = { version = "0.19.0", path = "../egui-wgpu", optional = true, features = ["winit"] }
glow = { version = "0.11", optional = true }
ron = { version = "0.8", optional = true, features = ["integer128"] }
serde = { version = "1", optional = true, features = ["derive"] }
@ -82,7 +82,7 @@ wgpu = { version = "0.13", optional = true }
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
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" }
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
## 0.19.0 - 2022-08-20
* 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)).
## 0.18.0 - 2022-05-15
First published version since moving the code into the `egui` repository from <https://github.com/LU15W1R7H/eww>.

View file

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

View file

@ -3,6 +3,9 @@ All notable changes to the `egui-winit` integration will be noted in this file.
## 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)).
* 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)).

View file

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

View file

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

View file

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

View file

@ -1,6 +1,6 @@
[package]
name = "egui_demo_lib"
version = "0.18.0"
version = "0.19.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Example library for egui"
edition = "2021"
@ -30,8 +30,8 @@ syntax_highlighting = ["syntect"]
[dependencies]
egui = { version = "0.18.0", path = "../egui", default-features = false }
egui_extras = { version = "0.18.0", path = "../egui_extras" }
egui = { version = "0.19.0", path = "../egui", default-features = false }
egui_extras = { version = "0.19.0", path = "../egui_extras" }
enum-map = { version = "2", features = ["serde"] }
tracing = { version = "0.1", default-features = false, features = ["std"] }
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
## 0.19.0 - 2022-08-20
* 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)).
* 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
* `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]
name = "egui_extras"
version = "0.18.0"
version = "0.19.0"
authors = [
"Dominik Rössler <dominik@freshx.de>",
"Emil Ernerfeldt <emil.ernerfeldt@gmail.com>",
@ -11,7 +11,7 @@ edition = "2021"
rust-version = "1.61"
homepage = "https://github.com/emilk/egui"
license = "MIT OR Apache-2.0"
readme = "../README.md"
readme = "README.md"
repository = "https://github.com/emilk/egui"
categories = ["gui", "game-development"]
keywords = ["gui", "imgui", "immediate", "portable", "gamedev"]
@ -40,7 +40,7 @@ tracing = ["dep:tracing", "egui/tracing"]
[dependencies]
egui = { version = "0.18.0", path = "../egui", default-features = false }
egui = { version = "0.19.0", path = "../egui", default-features = false }
#! ### Optional dependencies

View file

@ -3,6 +3,9 @@ All notable changes to the `egui_glium` integration will be noted in this file.
## 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)).

View file

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

View file

@ -3,6 +3,9 @@ All notable changes to the `egui_glow` integration will be noted in this file.
## 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)).
* `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)).

View file

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

View file

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

View file

@ -3,10 +3,13 @@ All notable changes to the epaint crate will be documented in this file.
## 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)).
* 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)).
* MSRV (Minimum Supported Rust Version) is now `1.61.0` ([#1846](https://github.com/emilk/egui/pull/1846)).
## 0.18.1 - 2022-05-01

View file

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