Release 0.22.0 - A plethora of small improvements

This commit is contained in:
Emil Ernerfeldt 2023-05-23 19:58:04 +02:00
parent 5fc82c746e
commit 307565efa5
21 changed files with 75 additions and 47 deletions

View File

@ -4,7 +4,10 @@ All notable changes to the `egui` crate will be documented in this file.
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 - A plethora of small improvements
## Unreleased
## 0.22.0 - 2023-05-23 - A plethora of small improvements
### ⭐ Added
* Scroll bar visibility options [#2729](https://github.com/emilk/egui/pull/2729) (thanks [@IVAN-MK7](https://github.com/IVAN-MK7)!)
* Add `Grid::with_row_color` [#2519](https://github.com/emilk/egui/pull/2519) (thanks [@imgurbot12](https://github.com/imgurbot12)!)

22
Cargo.lock generated
View File

@ -1130,7 +1130,7 @@ checksum = "68b0cf012f1230e43cd00ebb729c6bb58707ecfa8ad08b52ef3a4ccd2697fc30"
[[package]]
name = "ecolor"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"bytemuck",
"cint",
@ -1141,7 +1141,7 @@ dependencies = [
[[package]]
name = "eframe"
version = "0.21.3"
version = "0.22.0"
dependencies = [
"bytemuck",
"cocoa",
@ -1176,7 +1176,7 @@ dependencies = [
[[package]]
name = "egui"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"accesskit",
"ahash 0.8.3",
@ -1190,7 +1190,7 @@ dependencies = [
[[package]]
name = "egui-wgpu"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"bytemuck",
"document-features",
@ -1205,7 +1205,7 @@ dependencies = [
[[package]]
name = "egui-winit"
version = "0.21.1"
version = "0.22.0"
dependencies = [
"accesskit_winit",
"arboard",
@ -1223,7 +1223,7 @@ dependencies = [
[[package]]
name = "egui_demo_app"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"bytemuck",
"chrono",
@ -1244,7 +1244,7 @@ dependencies = [
[[package]]
name = "egui_demo_lib"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"chrono",
"criterion",
@ -1260,7 +1260,7 @@ dependencies = [
[[package]]
name = "egui_extras"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"chrono",
"document-features",
@ -1275,7 +1275,7 @@ dependencies = [
[[package]]
name = "egui_glow"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"bytemuck",
"document-features",
@ -1313,7 +1313,7 @@ checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
[[package]]
name = "emath"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"bytemuck",
"document-features",
@ -1389,7 +1389,7 @@ dependencies = [
[[package]]
name = "epaint"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"ab_glyph",
"ahash 0.8.3",

View File

@ -5,6 +5,10 @@ All notable changes to the `ecolor` crate will be noted in this file.
## Unreleased
## 0.22.0 - 2023-05-23
* Nothing new
## 0.21.0 - 2023-02-08
* Add `Color32::gamma_multiply` ([#2437](https://github.com/emilk/egui/pull/2437)).

View File

@ -1,6 +1,6 @@
[package]
name = "ecolor"
version = "0.21.0"
version = "0.22.0"
authors = [
"Emil Ernerfeldt <emil.ernerfeldt@gmail.com>",
"Andreas Reich <reichandreas@gmx.de>",

View File

@ -5,6 +5,9 @@ NOTE: [`egui-winit`](../egui-winit/CHANGELOG.md), [`egui_glium`](../egui_glium/C
## Unreleased
## 0.22.0 - 2023-05-23
* Fix: `request_repaint_after` works even when called from background thread [#2939](https://github.com/emilk/egui/pull/2939)
* Clear all keys and modifies on focus change [#2857](https://github.com/emilk/egui/pull/2857) [#2933](https://github.com/emilk/egui/pull/2933)
* Remove dark-light dependency [#2929](https://github.com/emilk/egui/pull/2929)

View File

@ -1,6 +1,6 @@
[package]
name = "eframe"
version = "0.21.3"
version = "0.22.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "egui framework - write GUI apps that compiles to web and/or natively"
edition = "2021"
@ -81,7 +81,7 @@ android-native-activity = ["egui-winit/android-native-activity"]
android-game-activity = ["egui-winit/android-game-activity"]
[dependencies]
egui = { version = "0.21.0", path = "../egui", default-features = false, features = [
egui = { version = "0.22.0", path = "../egui", default-features = false, features = [
"bytemuck",
"log",
] }
@ -92,7 +92,7 @@ thiserror.workspace = true
## Enable this when generating docs.
document-features = { version = "0.2", optional = true }
egui_glow = { version = "0.21.0", path = "../egui_glow", optional = true, default-features = false }
egui_glow = { version = "0.22.0", path = "../egui_glow", optional = true, default-features = false }
glow = { version = "0.12", optional = true }
ron = { version = "0.8", optional = true, features = ["integer128"] }
serde = { version = "1", optional = true, features = ["derive"] }
@ -100,7 +100,7 @@ serde = { version = "1", optional = true, features = ["derive"] }
# -------------------------------------------
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
egui-winit = { version = "0.21.1", path = "../egui-winit", default-features = false, features = [
egui-winit = { version = "0.22.0", path = "../egui-winit", default-features = false, features = [
"clipboard",
"links",
] }
@ -112,7 +112,7 @@ winit = "0.28.1"
# optional native:
directories-next = { version = "2", optional = true }
egui-wgpu = { version = "0.21.0", path = "../egui-wgpu", optional = true, features = [
egui-wgpu = { version = "0.22.0", path = "../egui-wgpu", optional = true, features = [
"winit",
] } # if wgpu is used, use it with winit
pollster = { version = "0.3", optional = true } # needed for wgpu
@ -186,7 +186,7 @@ web-sys = { version = "0.3.58", features = [
] }
# optional web:
egui-wgpu = { version = "0.21.0", path = "../egui-wgpu", optional = true } # if wgpu is used, use it without (!) winit
egui-wgpu = { version = "0.22.0", path = "../egui-wgpu", optional = true } # if wgpu is used, use it without (!) winit
raw-window-handle = { version = "0.5.2", optional = true }
tts = { version = "0.25", optional = true, default-features = false }
wgpu = { version = "0.16.0", optional = true }

View File

@ -3,6 +3,9 @@ All notable changes to the `egui-wgpu` integration will be noted in this file.
## Unreleased
## 0.22.0 - 2023-05-23
* Update to wgpu 0.16 [#2884](https://github.com/emilk/egui/pull/2884) (thanks [@niklaskorz](https://github.com/niklaskorz)!)
* Device configuration is now dependent on adapter [#2951](https://github.com/emilk/egui/pull/2951) (thanks [@Wumpf](https://github.com/Wumpf)!)
* Expose `wgpu::Adapter` via `RenderState` [#2954](https://github.com/emilk/egui/pull/2954) (thanks [@Wumpf](https://github.com/Wumpf)!)

View File

@ -1,6 +1,6 @@
[package]
name = "egui-wgpu"
version = "0.21.0"
version = "0.22.0"
description = "Bindings for using egui natively using the wgpu library"
authors = [
"Nils Hasenbanck <nils@hasenbanck.de>",
@ -36,7 +36,7 @@ winit = ["dep:winit"]
[dependencies]
epaint = { version = "0.21.0", path = "../epaint", default-features = false, features = [
epaint = { version = "0.22.0", path = "../epaint", 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.22.0 - 2023-05-23
* Only use `wasm-bindgen` feature for `instant` when building for wasm32 [#2808](https://github.com/emilk/egui/pull/2808) (thanks [@gferon](https://github.com/gferon)!)
* Fix unsafe API of `Clipboard::new` [#2765](https://github.com/emilk/egui/pull/2765) (thanks [@dhardy](https://github.com/dhardy)!)
* Remove `android-activity` dependency + add `Activity` backend features [#2863](https://github.com/emilk/egui/pull/2863) (thanks [@rib](https://github.com/rib)!)

View File

@ -1,6 +1,6 @@
[package]
name = "egui-winit"
version = "0.21.1"
version = "0.22.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using egui with winit"
edition = "2021"
@ -53,7 +53,7 @@ android-native-activity = ["winit/android-native-activity"]
android-game-activity = ["winit/android-game-activity"]
[dependencies]
egui = { version = "0.21.0", path = "../egui", default-features = false, features = [
egui = { version = "0.22.0", path = "../egui", default-features = false, features = [
"log",
] }
log = { version = "0.4", features = ["std"] }

View File

@ -1,6 +1,6 @@
[package]
name = "egui"
version = "0.21.0"
version = "0.22.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"
@ -62,7 +62,7 @@ unity = ["epaint/unity"]
[dependencies]
epaint = { version = "0.21.0", path = "../epaint", default-features = false }
epaint = { version = "0.22.0", path = "../epaint", default-features = false }
ahash = { version = "0.8.1", default-features = false, features = [
"no-rng", # we don't need DOS-protection, so we let users opt-in to it instead

View File

@ -1,6 +1,6 @@
[package]
name = "egui_demo_app"
version = "0.21.0"
version = "0.22.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
license = "MIT OR Apache-2.0"
edition = "2021"
@ -29,12 +29,15 @@ wgpu = ["eframe/wgpu", "bytemuck"]
[dependencies]
chrono = { version = "0.4", default-features = false, features = ["js-sys", "wasmbind"] }
eframe = { version = "0.21.0", path = "../eframe", default-features = false }
egui = { version = "0.21.0", path = "../egui", features = [
chrono = { version = "0.4", default-features = false, features = [
"js-sys",
"wasmbind",
] }
eframe = { version = "0.22.0", path = "../eframe", default-features = false }
egui = { version = "0.22.0", path = "../egui", features = [
"extra_debug_asserts",
] }
egui_demo_lib = { version = "0.21.0", path = "../egui_demo_lib", features = [
egui_demo_lib = { version = "0.22.0", path = "../egui_demo_lib", features = [
"chrono",
] }
log = { version = "0.4", features = ["std"] }
@ -42,7 +45,7 @@ log = { version = "0.4", features = ["std"] }
# Optional dependencies:
bytemuck = { version = "1.7.1", optional = true }
egui_extras = { version = "0.21.0", optional = true, path = "../egui_extras" }
egui_extras = { version = "0.22.0", optional = true, path = "../egui_extras" }
# feature "http":
ehttp = { version = "0.2.0", optional = true }

View File

@ -1,6 +1,6 @@
[package]
name = "egui_demo_lib"
version = "0.21.0"
version = "0.22.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.21.0", path = "../egui", default-features = false }
egui_extras = { version = "0.21.0", path = "../egui_extras" }
egui = { version = "0.22.0", path = "../egui", default-features = false }
egui_extras = { version = "0.22.0", path = "../egui_extras" }
enum-map = { version = "2", features = ["serde"] }
log = { version = "0.4", features = ["std"] }
unicode_names2 = { version = "0.6.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.22.0 - 2023-05-23
- Add option to hide datepicker button calendar icon [#2910](https://github.com/emilk/egui/pull/2910) (thanks [@Barugon](https://github.com/Barugon)!)

View File

@ -1,6 +1,6 @@
[package]
name = "egui_extras"
version = "0.21.0"
version = "0.22.0"
authors = [
"Dominik Rössler <dominik@freshx.de>",
"Emil Ernerfeldt <emil.ernerfeldt@gmail.com>",
@ -37,7 +37,7 @@ log = ["dep:log", "egui/log"]
[dependencies]
egui = { version = "0.21.0", path = "../egui", default-features = false }
egui = { version = "0.22.0", path = "../egui", default-features = false }
serde = { version = "1", features = ["derive"] }

View File

@ -1,6 +1,6 @@
[package]
name = "egui_glium"
version = "0.21.0"
version = "0.22.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Bindings for using egui natively using the glium library"
edition = "2021"
@ -36,10 +36,10 @@ links = ["egui-winit/links"]
[dependencies]
egui = { version = "0.21.0", path = "../egui", default-features = false, features = [
egui = { version = "0.22.0", path = "../egui", default-features = false, features = [
"bytemuck",
] }
egui-winit = { version = "0.21.1", path = "../egui-winit", default-features = false }
egui-winit = { version = "0.22.0", path = "../egui-winit", default-features = false }
ahash = { version = "0.8.1", default-features = false, features = [
"no-rng", # we don't need DOS-protection, so we let users opt-in to it instead
@ -54,5 +54,5 @@ document-features = { version = "0.2", optional = true }
[dev-dependencies]
egui_demo_lib = { version = "0.21.0", path = "../egui_demo_lib", default-features = false }
egui_demo_lib = { version = "0.22.0", path = "../egui_demo_lib", default-features = false }
image = { version = "0.24", default-features = false, features = ["png"] }

View File

@ -5,6 +5,9 @@ All notable changes to the `egui_glow` integration will be noted in this file.
## Unreleased
## 0.22.0 - 2023-05-23
## 0.21.0 - 2023-02-08
* Update to `glow` 0.12 ([#2695](https://github.com/emilk/egui/pull/2695)).
* Remove the `screen_reader` feature ([#2669](https://github.com/emilk/egui/pull/2669)).

View File

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

View File

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

View File

@ -3,6 +3,9 @@ All notable changes to the epaint crate will be documented in this file.
## Unreleased
## 0.22.0 - 2023-05-23
* Fix compiling `epaint` without `bytemuck` dependency [#2913](https://github.com/emilk/egui/pull/2913) (thanks [@lunixbochs](https://github.com/lunixbochs)!)
* Fix documentation for `TextureId::Managed(0)` [#2998](https://github.com/emilk/egui/pull/2998) (thanks [@andersk](https://github.com/andersk)!)

View File

@ -1,6 +1,6 @@
[package]
name = "epaint"
version = "0.21.0"
version = "0.22.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Minimal 2D graphics library for GUI work"
edition = "2021"
@ -70,8 +70,8 @@ serde = ["dep:serde", "ahash/serde", "emath/serde", "ecolor/serde"]
unity = []
[dependencies]
emath = { version = "0.21.0", path = "../emath" }
ecolor = { version = "0.21.0", path = "../ecolor" }
emath = { version = "0.22.0", path = "../emath" }
ecolor = { version = "0.22.0", path = "../ecolor" }
ab_glyph = "0.2.11"
ahash = { version = "0.8.1", default-features = false, features = [