All notable changes to this project will be documented in this file. This change log follows the conventions of keepachangelog.com.
- Client events are now implemented through
SimConnect::subscribe_to_client_event
,SimConnect::unsubscribe_from_client_event
andSimConnect::unsubscribe_from_all_client_events
. subscribe_to_client_events.rs
example has been added.SimConnectError::EventAlreadySubscribedTo
andSimConnectError::EventNotSubscribedTo
error variants have been added.
- A second call to
SimConnect::subscribe_to_system_event
for the same event will now return an error of typeSimConnectError::EventAlreadySubscribedTo
instead ofSimConnectError::SimConnectException
. - The call to
SimConnect::unsubscribe_from_system_event
is now a NOOP when the system event is not subscribed to. SimConnectError::UnimplementedMessageType
has been renamed toSimConnectError::UnimplementedNotification
.
SimConnect::register_event
has been replaced by the new client event functions.NotificationGroup
has been removed in favor of an internally managed notification group.
v0.2.2 - 2023-02-22
- Updated to MSFS SDK v0.20.5.0.
SimConnect::get_next_dispatch
now takes a&mut self
in order to be able to clean up requests that have returned all the results they ever will.
SimConnect::request_facilities_list
calls now automatically clean up the request after all the data is received.
v0.2.1 - 2022-10-29
#[derive(PartialEq)]
has been added toCondition
,DataType
,FacilityType
,NotificationGroup
,Period
,ViewType
,ClientEvent
,SystemEventRequest
andSystemEvent
.#[derive(Eq)]
has been added toCondition
,DataType
,FacilityType
,NotificationGroup
,Period
,ViewType
,ClientEvent
andSystemEventRequest
.
- The GitHub repository has been renamed from
mihai-dinculescu/simconnect-sdk
tomihai-dinculescu/simconnect-sdk-rs
.
v0.2.0 - 2022-10-29
Notification::SystemEvent
,SystemEventRequest
andSystemEvent
have been added. System Events can be subscribed to by usingSimConnect::subscribe_to_system_event
and unsubscribed from by usingSimConnect::unsubscribe_from_system_event
.
Notification::Event
has been renamed toNotification::ClientEvent
.Event
has been renamed toClientEvent
and marked asnon_exhaustive
.
v0.1.3 - 2022-10-24
SimConnect::get_next_dispatch
will now return an error of typeSimConnectError::UnimplementedMessageType
instead of panicking on unrecognized notification types.SimConnect::get_next_dispatch
will now return an error of typeSimConnectError::SimConnectException
instead ofNotification::Exception
.SimConnectError::SimConnectUnrecognizedEvent
has been renamed toSimConnectError::UnimplementedEventType
.#[non_exhaustive]
has been added to theSimConnectError
andNotification
enums.- The tracing information has been adjusted to be at the
info
anddebug
levels instead ofinfo
.
v0.1.2 - 2022-10-22
Condition
,DataType
,FacilityType
andPeriod
now deriveDebug
.
- Docs.rs build should now pass. Take 2.
v0.1.1 - 2022-10-21
- The docs and README files have been improved.
- Docs.rs build should now pass.