Remove things that can't be properly deprecated
See https://github.com/rust-lang/rust/issues/47236
This commit is contained in:
parent
5ca2fd78a8
commit
d7463ce37d
@ -32,6 +32,9 @@ Breaking changes:
|
||||
```
|
||||
* Rename `r0::search::search_events::{RoomEventJsons => ResultRoomEvents}`. The previous name was an
|
||||
error introduced in a mass search and replace
|
||||
* `r0::sync::sync_events::SetPresence` has been moved and renamed. Use `presence::PresenceState`
|
||||
from `ruma` or `ruma-common`.
|
||||
* `r0::push::Action` has been moved. Import it from `ruma` or `ruma-common`.
|
||||
|
||||
Improvements:
|
||||
|
||||
@ -43,12 +46,6 @@ Improvements:
|
||||
* `r0::message::get_message_events`
|
||||
* Add `logout_devices` field to `r0::account::change_password`
|
||||
|
||||
Deprecations:
|
||||
|
||||
* `r0::sync::sync_events::SetPresence` has been moved and renamed. Use `presence::PresenceState`
|
||||
from `ruma` or `ruma-common`.
|
||||
* `r0::push::Action` has been moved. Import it from `ruma` or `ruma-common`.
|
||||
|
||||
# 0.9.0
|
||||
|
||||
Bug fixes:
|
||||
|
@ -19,9 +19,6 @@ pub mod set_pushrule;
|
||||
pub mod set_pushrule_actions;
|
||||
pub mod set_pushrule_enabled;
|
||||
|
||||
#[deprecated = "use `push::Action` from `ruma` or `ruma-common` instead"]
|
||||
pub use ruma_common::push::Action;
|
||||
|
||||
/// The kinds of push rules that are available
|
||||
#[derive(
|
||||
Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize, Display, EnumString,
|
||||
|
@ -93,9 +93,6 @@ ruma_api! {
|
||||
error: crate::Error
|
||||
}
|
||||
|
||||
#[deprecated = "use `presence::PresenceState` from `ruma` or `ruma-common` instead"]
|
||||
pub use ruma_common::presence::PresenceState as SetPresence;
|
||||
|
||||
/// A filter represented either as its full JSON definition or the ID of a saved filter.
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
|
@ -12,17 +12,15 @@ Breaking changes:
|
||||
* This change removes the types `EventMatchCondition`, `RoomMemberCountCondition` and
|
||||
`SenderNotificationPermissionCondition`
|
||||
* Add PDU types: `pdu::{Pdu, PduStub}`
|
||||
* `presence::PresenceState` has been moved. Import it from `ruma` or `ruma-common`.
|
||||
* `EventJson` has been moved and renamed. Import it from `ruma` or `ruma-common`.
|
||||
|
||||
|
||||
Improvements:
|
||||
|
||||
* Add `room::MessageFormat` and `room::FormattedBody`
|
||||
* Skip serialization of optional values on `room::encryption::EncryptionEventContent`
|
||||
|
||||
Deprecations:
|
||||
|
||||
* `presence::PresenceState` has been moved. Import it from `ruma` or `ruma-common`.
|
||||
* `EventJson` has been moved and renamed. Import it from `ruma` or `ruma-common`.
|
||||
|
||||
# 0.21.3
|
||||
|
||||
Bug fixes:
|
||||
|
@ -130,9 +130,6 @@ use serde_json::value::RawValue as RawJsonValue;
|
||||
|
||||
use self::room::redaction::{RedactionEvent, SyncRedactionEvent};
|
||||
|
||||
#[deprecated = "Use ruma_serde::empty::Empty directly instead."]
|
||||
pub use ruma_serde::empty::Empty;
|
||||
|
||||
mod algorithm;
|
||||
mod enums;
|
||||
mod error;
|
||||
@ -185,9 +182,6 @@ pub use self::{
|
||||
event_type::EventType,
|
||||
};
|
||||
|
||||
#[deprecated = "Use ruma_common::Raw instead."]
|
||||
pub use ruma_common::Raw as EventJson;
|
||||
|
||||
/// Extra information about an event that is not incorporated into the event's
|
||||
/// hash.
|
||||
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
|
||||
|
@ -7,9 +7,6 @@ use ruma_events_macros::{Event, EventContent};
|
||||
use ruma_identifiers::UserId;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[deprecated = "use `presence::PresenceState` from `ruma` or `ruma-common` instead"]
|
||||
pub use ruma_common::presence::PresenceState;
|
||||
|
||||
/// Presence event.
|
||||
#[derive(Clone, Debug, Event)]
|
||||
pub struct PresenceEvent {
|
||||
|
Loading…
x
Reference in New Issue
Block a user