Skip to content

Commit c579dd9

Browse files
authored
0.5.0 Version bump 🎉 (#1660)
1 parent c24b431 commit c579dd9

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

‎CHANGELOG.md‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,50 @@
22

33
## Unreleased
44

5+
## 0.5.0
6+
7+
### API Changes
8+
Items either removed or deprecated from the public API
9+
```rs
10+
/// Use Clone instead
11+
impl Copy for smithay::utils::HookId;
12+
/// Use `from_extremities` instead
13+
fn smithay::utils::Rectangle::from_extemities(topleft, bottomright) -> Self;
14+
```
15+
16+
Items added to the public API
17+
```rs
18+
/// Replaces deprecated `from_extemities`
19+
fn smithay::utils::Rectangle::from_extremities(topleft, bottomright) -> Self;
20+
/// Access the active text-input instance for the currently focused surface.
21+
fn smithay::wayland::text_input::TextInputHandle::with_active_text_input(&self, f);
22+
/// Just a new protocol
23+
mod smithay::wayland::selection::ext_data_control;
24+
```
25+
26+
Items changed in the public API
27+
```diff
28+
# create_external_token now accepts `XdgActivationTokenData` instead of `String`
29+
-fn smithay::wayland::xdg_activation::XdgActivationState::create_external_token(&mut self, app_id: impl Into<Option<String>>);
30+
+fn smithay::wayland::xdg_activation::XdgActivationState::create_external_token(&mut self, data: impl Into<Option<XdgActivationTokenData>>);
31+
```
32+
33+
### New protocols
34+
* Introduce ext data control protocol by @PolyMeilex in https://github.com/Smithay/smithay/pull/1577
35+
* Update idle notify to version 2 by @PolyMeilex in https://github.com/Smithay/smithay/pull/1618
36+
37+
### TextInput improvements
38+
* Revert "Fix repeated key input issue in Chrome with multiple windows" by @Drakulix in https://github.com/Smithay/smithay/pull/1647
39+
* text-input: fix active instance tracking by @kchibisov in https://github.com/Smithay/smithay/pull/1648
40+
* text-input: properly handle double buffered state by @kchibisov in https://github.com/Smithay/smithay/pull/1649
41+
42+
### Miscellaneous
43+
* clock: Fix current monotonic time in millis u32 overflow panic by @YaLTeR in https://github.com/Smithay/smithay/pull/1645
44+
* xwm: Update override-redirect flag on map request by @Ottatop in https://github.com/Smithay/smithay/pull/1656
45+
* utils: Rework `HookId` recycle logic by @Paraworker in https://github.com/Smithay/smithay/pull/1657
46+
* rename Rectangle::from_extemities to Rectangle::from_extremeties by @m4rch3n1ng in https://github.com/Smithay/smithay/pull/1646
47+
* xdg_activation: Allow passing all data in XdgActivationState::create_external_token by @bbb651 in https://github.com/Smithay/smithay/pull/1658
48+
549
## 0.4.0
650

751
### Breaking Changes

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "smithay"
3-
version = "0.4.0"
3+
version = "0.5.0"
44
authors = ["Victor Berger <[email protected]>", "Drakulix (Victoria Brekenfeld)"]
55
license = "MIT"
66
description = "Smithay is a library for writing wayland compositors."

0 commit comments

Comments
 (0)