From 307565efa55158cfa6b82d2e8fdc4c4914b954ed Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Tue, 23 May 2023 19:58:04 +0200 Subject: [PATCH] Release 0.22.0 - A plethora of small improvements --- CHANGELOG.md | 5 ++++- Cargo.lock | 22 +++++++++++----------- crates/ecolor/CHANGELOG.md | 4 ++++ crates/ecolor/Cargo.toml | 2 +- crates/eframe/CHANGELOG.md | 3 +++ crates/eframe/Cargo.toml | 12 ++++++------ crates/egui-wgpu/CHANGELOG.md | 3 +++ crates/egui-wgpu/Cargo.toml | 4 ++-- crates/egui-winit/CHANGELOG.md | 3 +++ crates/egui-winit/Cargo.toml | 4 ++-- crates/egui/Cargo.toml | 4 ++-- crates/egui_demo_app/Cargo.toml | 15 +++++++++------ crates/egui_demo_lib/Cargo.toml | 6 +++--- crates/egui_extras/CHANGELOG.md | 3 +++ crates/egui_extras/Cargo.toml | 4 ++-- crates/egui_glium/Cargo.toml | 8 ++++---- crates/egui_glow/CHANGELOG.md | 3 +++ crates/egui_glow/Cargo.toml | 6 +++--- crates/emath/Cargo.toml | 2 +- crates/epaint/CHANGELOG.md | 3 +++ crates/epaint/Cargo.toml | 6 +++--- 21 files changed, 75 insertions(+), 47 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f67fe0fdb0..e56e1bd8955 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)!) diff --git a/Cargo.lock b/Cargo.lock index 84ac996869b..0f24c11e0fd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/crates/ecolor/CHANGELOG.md b/crates/ecolor/CHANGELOG.md index e278e362e12..f4a3e1d723c 100644 --- a/crates/ecolor/CHANGELOG.md +++ b/crates/ecolor/CHANGELOG.md @@ -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)). diff --git a/crates/ecolor/Cargo.toml b/crates/ecolor/Cargo.toml index 14f76adcbd1..6a2feb2ee76 100644 --- a/crates/ecolor/Cargo.toml +++ b/crates/ecolor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ecolor" -version = "0.21.0" +version = "0.22.0" authors = [ "Emil Ernerfeldt ", "Andreas Reich ", diff --git a/crates/eframe/CHANGELOG.md b/crates/eframe/CHANGELOG.md index a8968c970c9..5a4b2d95529 100644 --- a/crates/eframe/CHANGELOG.md +++ b/crates/eframe/CHANGELOG.md @@ -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) diff --git a/crates/eframe/Cargo.toml b/crates/eframe/Cargo.toml index 05abca86b27..13e8ccd2db4 100644 --- a/crates/eframe/Cargo.toml +++ b/crates/eframe/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "eframe" -version = "0.21.3" +version = "0.22.0" authors = ["Emil Ernerfeldt "] 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 } diff --git a/crates/egui-wgpu/CHANGELOG.md b/crates/egui-wgpu/CHANGELOG.md index a1e754f130d..883178ba16e 100644 --- a/crates/egui-wgpu/CHANGELOG.md +++ b/crates/egui-wgpu/CHANGELOG.md @@ -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)!) diff --git a/crates/egui-wgpu/Cargo.toml b/crates/egui-wgpu/Cargo.toml index 5598a9bea7a..05878900394 100644 --- a/crates/egui-wgpu/Cargo.toml +++ b/crates/egui-wgpu/Cargo.toml @@ -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 ", @@ -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", ] } diff --git a/crates/egui-winit/CHANGELOG.md b/crates/egui-winit/CHANGELOG.md index d9487e49fb4..af64b1b4655 100644 --- a/crates/egui-winit/CHANGELOG.md +++ b/crates/egui-winit/CHANGELOG.md @@ -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)!) diff --git a/crates/egui-winit/Cargo.toml b/crates/egui-winit/Cargo.toml index 0fd96f4b262..4df7d47b1ef 100644 --- a/crates/egui-winit/Cargo.toml +++ b/crates/egui-winit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui-winit" -version = "0.21.1" +version = "0.22.0" authors = ["Emil Ernerfeldt "] 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"] } diff --git a/crates/egui/Cargo.toml b/crates/egui/Cargo.toml index a5659b24fb7..913a17cd1a8 100644 --- a/crates/egui/Cargo.toml +++ b/crates/egui/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui" -version = "0.21.0" +version = "0.22.0" authors = ["Emil Ernerfeldt "] 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 diff --git a/crates/egui_demo_app/Cargo.toml b/crates/egui_demo_app/Cargo.toml index 8aab70d8f32..af3eef61f50 100644 --- a/crates/egui_demo_app/Cargo.toml +++ b/crates/egui_demo_app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui_demo_app" -version = "0.21.0" +version = "0.22.0" authors = ["Emil Ernerfeldt "] 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 } diff --git a/crates/egui_demo_lib/Cargo.toml b/crates/egui_demo_lib/Cargo.toml index ab24648178d..d8f7c688de2 100644 --- a/crates/egui_demo_lib/Cargo.toml +++ b/crates/egui_demo_lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui_demo_lib" -version = "0.21.0" +version = "0.22.0" authors = ["Emil Ernerfeldt "] 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 } diff --git a/crates/egui_extras/CHANGELOG.md b/crates/egui_extras/CHANGELOG.md index 83bfa8ac2a8..ab60317d66f 100644 --- a/crates/egui_extras/CHANGELOG.md +++ b/crates/egui_extras/CHANGELOG.md @@ -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)!) diff --git a/crates/egui_extras/Cargo.toml b/crates/egui_extras/Cargo.toml index 6e58170ac86..f5f4595aae6 100644 --- a/crates/egui_extras/Cargo.toml +++ b/crates/egui_extras/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui_extras" -version = "0.21.0" +version = "0.22.0" authors = [ "Dominik Rössler ", "Emil Ernerfeldt ", @@ -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"] } diff --git a/crates/egui_glium/Cargo.toml b/crates/egui_glium/Cargo.toml index bc36fb32866..9be5870dd0a 100644 --- a/crates/egui_glium/Cargo.toml +++ b/crates/egui_glium/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui_glium" -version = "0.21.0" +version = "0.22.0" authors = ["Emil Ernerfeldt "] 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"] } diff --git a/crates/egui_glow/CHANGELOG.md b/crates/egui_glow/CHANGELOG.md index cde992f4308..a3dc5acfa66 100644 --- a/crates/egui_glow/CHANGELOG.md +++ b/crates/egui_glow/CHANGELOG.md @@ -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)). diff --git a/crates/egui_glow/Cargo.toml b/crates/egui_glow/Cargo.toml index 65b0735164d..a8add2d957e 100644 --- a/crates/egui_glow/Cargo.toml +++ b/crates/egui_glow/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui_glow" -version = "0.21.0" +version = "0.22.0" authors = ["Emil Ernerfeldt "] 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: diff --git a/crates/emath/Cargo.toml b/crates/emath/Cargo.toml index b176439734d..d4eec7c7e25 100644 --- a/crates/emath/Cargo.toml +++ b/crates/emath/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "emath" -version = "0.21.0" +version = "0.22.0" authors = ["Emil Ernerfeldt "] description = "Minimal 2D math library for GUI work" edition = "2021" diff --git a/crates/epaint/CHANGELOG.md b/crates/epaint/CHANGELOG.md index f57ded58f33..ebe9e6f6e53 100644 --- a/crates/epaint/CHANGELOG.md +++ b/crates/epaint/CHANGELOG.md @@ -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)!) diff --git a/crates/epaint/Cargo.toml b/crates/epaint/Cargo.toml index af62cdbedde..094b6c45ed2 100644 --- a/crates/epaint/Cargo.toml +++ b/crates/epaint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "epaint" -version = "0.21.0" +version = "0.22.0" authors = ["Emil Ernerfeldt "] 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 = [