Release 0.24.1 - Bug fixes

This commit is contained in:
Emil Ernerfeldt 2023-11-30 17:46:25 +01:00
parent 8ccd9b73e2
commit d17613c242
22 changed files with 88 additions and 44 deletions

View File

@ -4,7 +4,11 @@ All notable changes to the `egui` crate will be documented in this file.
NOTE: [`epaint`](crates/epaint/CHANGELOG.md), [`egui_plot`](crates/egui_plot/CHANGELOG.md), [`eframe`](crates/eframe/CHANGELOG.md), [`egui-winit`](crates/egui-winit/CHANGELOG.md), [`egui_glow`](crates/egui_glow/CHANGELOG.md) and [`egui-wgpu`](crates/egui-wgpu/CHANGELOG.md) have their own changelogs! NOTE: [`epaint`](crates/epaint/CHANGELOG.md), [`egui_plot`](crates/egui_plot/CHANGELOG.md), [`eframe`](crates/eframe/CHANGELOG.md), [`egui-winit`](crates/egui-winit/CHANGELOG.md), [`egui_glow`](crates/egui_glow/CHANGELOG.md) and [`egui-wgpu`](crates/egui-wgpu/CHANGELOG.md) have their own changelogs!
This file is updated upon each release. This file is updated upon each release.
Changes since the last release can be found by running the `scripts/generate_changelog.py` script. Changes since the last release can be found at <https://github.com/emilk/egui/compare/latest...HEAD> or by running the `scripts/generate_changelog.py` script.
## 0.24.1 - 2023-11-30 - Bug fixes
* Fix buggy text with multiple viewports on monitors with different scales [#3666](https://github.com/emilk/egui/pull/3666)
## 0.24.0 - 2023-11-23 - Multi-viewport ## 0.24.0 - 2023-11-23 - Multi-viewport

24
Cargo.lock generated
View File

@ -1099,7 +1099,7 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
[[package]] [[package]]
name = "ecolor" name = "ecolor"
version = "0.24.0" version = "0.24.1"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"cint", "cint",
@ -1110,7 +1110,7 @@ dependencies = [
[[package]] [[package]]
name = "eframe" name = "eframe"
version = "0.24.0" version = "0.24.1"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"cocoa", "cocoa",
@ -1146,7 +1146,7 @@ dependencies = [
[[package]] [[package]]
name = "egui" name = "egui"
version = "0.24.0" version = "0.24.1"
dependencies = [ dependencies = [
"accesskit", "accesskit",
"ahash", "ahash",
@ -1162,7 +1162,7 @@ dependencies = [
[[package]] [[package]]
name = "egui-wgpu" name = "egui-wgpu"
version = "0.24.0" version = "0.24.1"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"document-features", "document-features",
@ -1178,7 +1178,7 @@ dependencies = [
[[package]] [[package]]
name = "egui-winit" name = "egui-winit"
version = "0.24.0" version = "0.24.1"
dependencies = [ dependencies = [
"accesskit_winit", "accesskit_winit",
"arboard", "arboard",
@ -1196,7 +1196,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_demo_app" name = "egui_demo_app"
version = "0.24.0" version = "0.24.1"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"chrono", "chrono",
@ -1220,7 +1220,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_demo_lib" name = "egui_demo_lib"
version = "0.24.0" version = "0.24.1"
dependencies = [ dependencies = [
"chrono", "chrono",
"criterion", "criterion",
@ -1235,7 +1235,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_extras" name = "egui_extras"
version = "0.24.0" version = "0.24.1"
dependencies = [ dependencies = [
"chrono", "chrono",
"document-features", "document-features",
@ -1255,7 +1255,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_glow" name = "egui_glow"
version = "0.24.0" version = "0.24.1"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"document-features", "document-features",
@ -1274,7 +1274,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_plot" name = "egui_plot"
version = "0.24.0" version = "0.24.1"
dependencies = [ dependencies = [
"document-features", "document-features",
"egui", "egui",
@ -1303,7 +1303,7 @@ checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07"
[[package]] [[package]]
name = "emath" name = "emath"
version = "0.24.0" version = "0.24.1"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"document-features", "document-features",
@ -1379,7 +1379,7 @@ dependencies = [
[[package]] [[package]]
name = "epaint" name = "epaint"
version = "0.24.0" version = "0.24.1"
dependencies = [ dependencies = [
"ab_glyph", "ab_glyph",
"ahash", "ahash",

View File

@ -20,7 +20,7 @@ members = [
edition = "2021" edition = "2021"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
rust-version = "1.72" rust-version = "1.72"
version = "0.24.0" version = "0.24.1"
[profile.release] [profile.release]

View File

@ -3,7 +3,12 @@ All notable changes to the `ecolor` crate will be noted in this file.
This file is updated upon each release. This file is updated upon each release.
Changes since the last release can be found by running the `scripts/generate_changelog.py` script. Changes since the last release can be found at <https://github.com/emilk/egui/compare/latest...HEAD> or by running the `scripts/generate_changelog.py` script.
## 0.24.1 - 2023-11-30
* Optimize color conversions [#3666](https://github.com/emilk/egui/pull/3666)
## 0.24.0 - 2023-11-23 ## 0.24.0 - 2023-11-23

View File

@ -4,7 +4,20 @@ All notable changes to the `eframe` crate.
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! 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!
This file is updated upon each release. This file is updated upon each release.
Changes since the last release can be found by running the `scripts/generate_changelog.py` script. Changes since the last release can be found at <https://github.com/emilk/egui/compare/latest...HEAD> or by running the `scripts/generate_changelog.py` script.
## 0.24.1 - 2023-11-30
#### Desktop/Native:
* Fix window flashing white on launch [#3631](https://github.com/emilk/egui/pull/3631) (thanks [@zeozeozeo](https://github.com/zeozeozeo)!)
* Fix windowing problems when using the `x11` feature on Linux [#3643](https://github.com/emilk/egui/pull/3643)
* Fix bugs when there are multiple monitors with different scales [#3663](https://github.com/emilk/egui/pull/3663)
* `glow` backend: clear framebuffer color before calling `App::update` [#3665](https://github.com/emilk/egui/pull/3665)
#### Web:
* Fix click-to-copy on Safari [#3621](https://github.com/emilk/egui/pull/3621)
* Don't throw away frames on click/copy/cut [#3623](https://github.com/emilk/egui/pull/3623)
* Remove dependency on `tts` [#3651](https://github.com/emilk/egui/pull/3651)
## 0.24.0 - 2023-11-23 ## 0.24.0 - 2023-11-23

View File

@ -102,7 +102,7 @@ x11 = ["egui-winit/x11"]
__screenshot = [] __screenshot = []
[dependencies] [dependencies]
egui = { version = "0.24.0", path = "../egui", default-features = false, features = [ egui = { version = "0.24.1", path = "../egui", default-features = false, features = [
"bytemuck", "bytemuck",
"log", "log",
] } ] }
@ -115,7 +115,7 @@ thiserror.workspace = true
## 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.24.0", path = "../egui_glow", optional = true, default-features = false } egui_glow = { version = "0.24.1", path = "../egui_glow", optional = true, default-features = false }
glow = { version = "0.12", optional = true } glow = { version = "0.12", 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"] }
@ -123,7 +123,7 @@ serde = { version = "1", optional = true, features = ["derive"] }
# ------------------------------------------- # -------------------------------------------
# native: # native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies] [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
egui-winit = { version = "0.24.0", path = "../egui-winit", default-features = false, features = [ egui-winit = { version = "0.24.1", path = "../egui-winit", default-features = false, features = [
"clipboard", "clipboard",
"links", "links",
] } ] }
@ -135,7 +135,7 @@ winit = { version = "0.28.1", default-features = false }
# optional native: # optional native:
directories-next = { version = "2", optional = true } directories-next = { version = "2", optional = true }
egui-wgpu = { version = "0.24.0", path = "../egui-wgpu", optional = true, features = [ egui-wgpu = { version = "0.24.1", path = "../egui-wgpu", optional = true, features = [
"winit", "winit",
] } # if wgpu is used, use it with winit ] } # if wgpu is used, use it with winit
pollster = { version = "0.3", optional = true } # needed for wgpu pollster = { version = "0.3", optional = true } # needed for wgpu
@ -209,6 +209,6 @@ web-sys = { version = "0.3.58", features = [
] } ] }
# optional web: # optional web:
egui-wgpu = { version = "0.24.0", path = "../egui-wgpu", optional = true } # if wgpu is used, use it without (!) winit egui-wgpu = { version = "0.24.1", path = "../egui-wgpu", optional = true } # if wgpu is used, use it without (!) winit
raw-window-handle = { workspace = true, optional = true } raw-window-handle = { workspace = true, optional = true }
wgpu = { workspace = true, optional = true } wgpu = { workspace = true, optional = true }

View File

@ -3,9 +3,12 @@ All notable changes to the `egui-wgpu` integration will be noted in this file.
This file is updated upon each release. This file is updated upon each release.
Changes since the last release can be found by running the `scripts/generate_changelog.py` script. Changes since the last release can be found at <https://github.com/emilk/egui/compare/latest...HEAD> or by running the `scripts/generate_changelog.py` script.
## 0.24.1 - 2023-11-30
* Add a few `puffin` profile scopes
## 0.24.0 - 2023-11-23 ## 0.24.0 - 2023-11-23
* Updated to wgpu 0.18 [#3505](https://github.com/emilk/egui/pull/3505) (thanks [@Wumpf](https://github.com/Wumpf)!) * Updated to wgpu 0.18 [#3505](https://github.com/emilk/egui/pull/3505) (thanks [@Wumpf](https://github.com/Wumpf)!)

View File

@ -36,8 +36,8 @@ winit = ["dep:winit"]
[dependencies] [dependencies]
egui = { version = "0.24.0", path = "../egui", default-features = false } egui = { version = "0.24.1", path = "../egui", default-features = false }
epaint = { version = "0.24.0", path = "../epaint", default-features = false, features = [ epaint = { version = "0.24.1", path = "../epaint", default-features = false, features = [
"bytemuck", "bytemuck",
] } ] }

View File

@ -2,7 +2,12 @@
All notable changes to the `egui-winit` integration will be noted in this file. All notable changes to the `egui-winit` integration will be noted in this file.
This file is updated upon each release. This file is updated upon each release.
Changes since the last release can be found by running the `scripts/generate_changelog.py` script. Changes since the last release can be found at <https://github.com/emilk/egui/compare/latest...HEAD> or by running the `scripts/generate_changelog.py` script.
## 0.24.1 - 2023-11-30
* Don't treat `WindowEvent::CloseRequested` as consumed [#3627](https://github.com/emilk/egui/pull/3627) (thanks [@Aaron1011](https://github.com/Aaron1011)!)
* Fix windowing problems when using the `x11` feature on Linux [#3643](https://github.com/emilk/egui/pull/3643)
## 0.24.0 - 2023-11-23 ## 0.24.0 - 2023-11-23

View File

@ -55,7 +55,7 @@ wayland = ["winit/wayland", "bytemuck"]
x11 = ["winit/x11", "bytemuck"] x11 = ["winit/x11", "bytemuck"]
[dependencies] [dependencies]
egui = { version = "0.24.0", path = "../egui", default-features = false, features = [ egui = { version = "0.24.1", path = "../egui", default-features = false, features = [
"log", "log",
] } ] }
log = { version = "0.4", features = ["std"] } log = { version = "0.4", features = ["std"] }

View File

@ -76,7 +76,7 @@ unity = ["epaint/unity"]
[dependencies] [dependencies]
epaint = { version = "0.24.0", path = "../epaint", default-features = false } epaint = { version = "0.24.1", path = "../epaint", default-features = false }
ahash = { version = "0.8.6", default-features = false, features = [ ahash = { version = "0.8.6", default-features = false, features = [
"no-rng", # we don't need DOS-protection, so we let users opt-in to it instead "no-rng", # we don't need DOS-protection, so we let users opt-in to it instead

View File

@ -36,18 +36,18 @@ chrono = { version = "0.4", default-features = false, features = [
"js-sys", "js-sys",
"wasmbind", "wasmbind",
] } ] }
eframe = { version = "0.24.0", path = "../eframe", default-features = false, features = [ eframe = { version = "0.24.1", path = "../eframe", default-features = false, features = [
"web_screen_reader", "web_screen_reader",
] } ] }
egui = { version = "0.24.0", path = "../egui", features = [ egui = { version = "0.24.1", path = "../egui", features = [
"callstack", "callstack",
"extra_debug_asserts", "extra_debug_asserts",
"log", "log",
] } ] }
egui_demo_lib = { version = "0.24.0", path = "../egui_demo_lib", features = [ egui_demo_lib = { version = "0.24.1", path = "../egui_demo_lib", features = [
"chrono", "chrono",
] } ] }
egui_extras = { version = "0.24.0", path = "../egui_extras", features = [ egui_extras = { version = "0.24.1", path = "../egui_extras", features = [
"image", "image",
] } ] }
log = { version = "0.4", features = ["std"] } log = { version = "0.4", features = ["std"] }

View File

@ -38,9 +38,9 @@ syntect = ["egui_extras/syntect"]
[dependencies] [dependencies]
egui = { version = "0.24.0", path = "../egui", default-features = false } egui = { version = "0.24.1", path = "../egui", default-features = false }
egui_extras = { version = "0.24.0", path = "../egui_extras" } egui_extras = { version = "0.24.1", path = "../egui_extras" }
egui_plot = { version = "0.24.0", path = "../egui_plot" } egui_plot = { version = "0.24.1", path = "../egui_plot" }
log = { version = "0.4", features = ["std"] } log = { version = "0.4", features = ["std"] }
unicode_names2 = { version = "0.6.0", default-features = false } # this old version has fewer dependencies unicode_names2 = { version = "0.6.0", default-features = false } # this old version has fewer dependencies

View File

@ -2,7 +2,11 @@
All notable changes to the `egui_extras` integration will be noted in this file. All notable changes to the `egui_extras` integration will be noted in this file.
This file is updated upon each release. This file is updated upon each release.
Changes since the last release can be found by running the `scripts/generate_changelog.py` script. Changes since the last release can be found at <https://github.com/emilk/egui/compare/latest...HEAD> or by running the `scripts/generate_changelog.py` script.
## 0.24.1 - 2023-11-30
* Add more years for datepicker [#3599](https://github.com/emilk/egui/pull/3599) (thanks [@vaqxai](https://github.com/vaqxai)!)
## 0.24.0 - 2023-11-23 ## 0.24.0 - 2023-11-23

View File

@ -60,7 +60,7 @@ syntect = ["dep:syntect"]
[dependencies] [dependencies]
egui = { version = "0.24.0", path = "../egui", default-features = false, features = [ egui = { version = "0.24.1", path = "../egui", default-features = false, features = [
"serde", "serde",
] } ] }
enum-map = { version = "2", features = ["serde"] } enum-map = { version = "2", features = ["serde"] }

View File

@ -2,7 +2,11 @@
All notable changes to the `egui_glow` integration will be noted in this file. All notable changes to the `egui_glow` integration will be noted in this file.
This file is updated upon each release. This file is updated upon each release.
Changes since the last release can be found by running the `scripts/generate_changelog.py` script. Changes since the last release can be found at <https://github.com/emilk/egui/compare/latest...HEAD> or by running the `scripts/generate_changelog.py` script.
## 0.24.1 - 2023-11-30
* Improve a docstring
## 0.24.0 - 2023-11-23 ## 0.24.0 - 2023-11-23

View File

@ -44,7 +44,7 @@ winit = ["egui-winit"]
[dependencies] [dependencies]
egui = { version = "0.24.0", path = "../egui", default-features = false, features = [ egui = { version = "0.24.1", path = "../egui", default-features = false, features = [
"bytemuck", "bytemuck",
] } ] }
@ -59,7 +59,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.24.0", path = "../egui-winit", optional = true, default-features = false } egui-winit = { version = "0.24.1", path = "../egui-winit", optional = true, default-features = false }
puffin = { workspace = true, optional = true } puffin = { workspace = true, optional = true }
# Web: # Web:

View File

@ -2,7 +2,7 @@
All notable changes to the `egui_plot` integration will be noted in this file. All notable changes to the `egui_plot` integration will be noted in this file.
This file is updated upon each release. This file is updated upon each release.
Changes since the last release can be found by running the `scripts/generate_changelog.py` script. Changes since the last release can be found at <https://github.com/emilk/egui/compare/latest...HEAD> or by running the `scripts/generate_changelog.py` script.
## 0.24.0 - 2023-11-23 ## 0.24.0 - 2023-11-23

View File

@ -28,7 +28,7 @@ serde = ["dep:serde", "egui/serde"]
[dependencies] [dependencies]
egui = { version = "0.24.0", path = "../egui", default-features = false } egui = { version = "0.24.1", path = "../egui", default-features = false }
#! ### Optional dependencies #! ### Optional dependencies

View File

@ -2,7 +2,11 @@
All notable changes to the epaint crate will be documented in this file. All notable changes to the epaint crate will be documented in this file.
This file is updated upon each release. This file is updated upon each release.
Changes since the last release can be found by running the `scripts/generate_changelog.py` script. Changes since the last release can be found at <https://github.com/emilk/egui/compare/latest...HEAD> or by running the `scripts/generate_changelog.py` script.
## 0.24.1 - 2023-11-30
* Optimize `FontImage::srgba_pixels` and reduce the initial font atlas texture size from 8MiB -> 1MiB [#3666](https://github.com/emilk/egui/pull/3666)
## 0.24.0 - 2023-11-23 ## 0.24.0 - 2023-11-23

View File

@ -70,8 +70,8 @@ serde = ["dep:serde", "ahash/serde", "emath/serde", "ecolor/serde"]
unity = [] unity = []
[dependencies] [dependencies]
emath = { version = "0.24.0", path = "../emath" } emath = { version = "0.24.1", path = "../emath" }
ecolor = { version = "0.24.0", path = "../ecolor" } ecolor = { version = "0.24.1", path = "../ecolor" }
ab_glyph = "0.2.11" ab_glyph = "0.2.11"
ahash = { version = "0.8.1", default-features = false, features = [ ahash = { version = "0.8.1", default-features = false, features = [

View File

@ -190,6 +190,8 @@ def main() -> None:
if not any(label in labels for label in ignore_labels): if not any(label in labels for label in ignore_labels):
unsorted_prs.append(summary) unsorted_prs.append(summary)
print()
print(f"Full diff at https://github.com/emilk/egui/compare/{COMMIT_RANGE}")
print() print()
for crate in crate_names: for crate in crate_names:
if crate in sections: if crate in sections: