|
2 | 2 |
|
3 | 3 | ## Unreleased |
4 | 4 |
|
| 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 | + |
5 | 49 | ## 0.4.0 |
6 | 50 |
|
7 | 51 | ### Breaking Changes |
|
0 commit comments