Skip to content

MSFS Avionics Framework 0.7.0

Choose a tag to compare

@mattnischan mattnischan released this 08 Dec 19:46
· 8 commits to main since this release

SDK

  • [Breaking Change] The createRawTextInput() method of TextInputField has been removed.
  • Improved fidelity of GPSSatComputer simulation and added additional configuration options.
  • Added new range() and fillRange() methods to ArrayUtils.
  • Added new AccelerometerPublisher class.
  • Added new above_ground_height topic to GNSSEvents.
  • Added new DistancePerWeight and DistanceRatio members to UnitFamily.
  • Added new NMILE_PER_GALLON_FUEL and FOOT_PER_NMILE unit types.
  • Added new DefaultMapLabeledRingLabel class.
  • Added new GenericMapSharedCanvasSubLayer class.
  • Added new MapLabeledRingCanvasSubLayer class.
  • Tcas now supports dynamic max intruder count and update frequencies.
  • Added new MapSharedCanvasLayer class.
  • Added support for adding on-destroy callbacks to MapSystemBuilder.
  • Errors thrown in MapSystem init callbacks will now be caught instead of interrupting the rest of the map build process.
  • Fixed a bug where MapMultiLineAirspaceRenderer would incorrectly render offset lines at the beginning of a shape.
  • Added new elevation_position topic to ControlSurfacesEvents.
  • Autopilot now uses the sim's maximum bank angle value when none is set using APConfig.
  • Added new optional independentFds parameter to APConfig.
  • The MappedSubscribable interface now extends Subscription.
  • ConsumerSubject and ConsumerValue now implement Subscription.
  • Added new hideSign option to NumberFormatter.
  • The options argument in NumberFormatter.create() is now optional.
  • Added new SubscribableMapFunctions.count() method.
  • Added new MB and MILE_PER_GALLON_FUEL unit types.
  • Fixed incorrect values being published to the fuel_usable_total_weight topic.
  • Fixed a bug when undefined was explicitly passed as the option argument to NumberFormatter.create().
  • Fixed a bug where BingComponent was sending too many params to SET_MAP_PARAMS Coherent calls.
  • Added new indicated_mach_number, indicated_tas, tas_to_ias_factor, indicated_mach_to_kias_factor, and indicated_tas_to_ias_factor topics to AdcEvents.
  • The type of APConfig is now parameterized in Autopilot.
  • APFLCDirector now supports using indicated mach number.
  • AbstractAutothrottle now supports using indicated mach number.
  • Added new color interpolation methods to ColorUtils.
  • FSComponent now supports the SVG tspan element.
  • Formatter now optionally takes a second type parameter (defaulting to string for backwards-compatibility) that specifies the output type of the formatter.
  • Introduced the new FmcFormatter type which wraps Formatter and allows it to return a string | FmcRenderTemplate.
  • DisplayField now accepts formatters whose output type is FmcRenderTemplate, by taking FmcFormatter as the formatter type in the options object.
  • The memorizedComponents property of AbstractFmcPage is now public.
  • Added new takeTextInput() method to TextInputField.
  • Fixed type errors in the onPrefixedEvent() method of FmcScreen.
  • AltitudeSelectManager now supports filtering events that trigger input acceleration
  • AltitudeSelectManager now supports locking selected altitude to the small increment step on SET events.

GarminSDK

  • [Breaking Change] Added additional type safety to BearingDisplay to prevent runtime errors.
  • Added additional members to NavDataFieldType.
  • Added new NavDataBarFieldTypeModelFactory interface.
  • NavDataNumberUnitField and NavDataBearingField now support custom unit formatters.
  • Added new generic nav data field type renderers.
  • TrafficInfoService now supports ADS-B integration and additional configuration options related to ADS-B.
  • CDI scaling label is now an optional parameter when selecting a sensitivity level from AdsbSensitivityParameters.
  • Fixed a potential runtime error in MapRangeCompassLayer.
  • Added new runwayLabelShow property to MapWaypointsModule to control visibility of runway labels separately from outlines.
  • The GarminMapBuilder.waypoints build step now passes in the map system context to the configure function.
  • Factored MapPanningModule and MapPanningRTRController out of the map pointer code.
  • Fixed a bug in TouchPad where the incorrect previous mouse position was being passed to the onDragMoved callback.
  • MapWaypointsVisController now supports options to customize declutter thresholds.
  • MapWaypointsVisController no longer controls the visibility of runway outlines.
  • GarminMapBuilder.waypointVisSettings now supports options to customize declutter thresholds.
  • Added new NextGenGarminMapBuilder class.
  • Added support for HDDD° MM.MMM' format to LatLonDisplay.
  • Added new optional splitPrefix prop to LatLonDisplay.
  • Added new runway property to ApproachDetails.
  • Added support for custom unit formatters to NumberUnitDisplay and BearingDisplay.
  • BearingDisplay, NumberUnitDisplay and TimeDisplay now support ToggleableClassNameRecord for their class props.
  • Added new suffixFormatter and hideSuffixWhenNaN props to TimeDisplay.
  • Added new hideUnitWhenNaN prop to NumberUnitDisplay.
  • Added new mapGroundNorthUpActive setting to MapUserSettingTypes.
  • MapOrientationModule, MapOrientationSettingsController, and MapDesiredOrientationController now support north up on ground logic.
  • ScrollList now automatically snaps back to item when item length, item spacing, or item count per page props change.
  • DateTimeUserSettings now supports retrieving an instrument-local setting manager.
  • Fixed a bug in Fms where removing the entry leg of an airway would corrupt the flight plan if the airway only had one leg in it.
  • MapTerrainController now supports custom default terrain mode.
  • Fixed a bug where MapWaypointHighlightIcon was still rendering zero-width strokes.
  • ArtificialHorizon now supports either solid color or gradient for both ground and sky.
  • Added new GarminAPConfigInterface interface.
  • Added option to use indicated mach number to GarminAPConfig.
  • AdcSystem now publishes mach and true airspeed values derived from indicated airspeed in lieu of "true" values.
  • Added new tasToIas property to AirspeedIndicatorDataProvider.
  • Added new tasToIas property to AirspeedDefinitionContext.
  • AirspeedIndicator no longer takes in the event bus as a prop.
  • AirspeedIndicator now supports adding additional CSS classes via prop.
  • AirspeedIndicator now optionally supports zero-valued V-speeds.
  • DefaultAirspeedIndicatorDataProvider no longer requires an instance of AirspeedAoaDataProvider to be passed to the constructor. If no AOA data provider is specified, then DefaultAirspeedIndicatorDataProvider behaves as if AOA data is always unavailable.
  • Various methods in VSpeedUserSettingUtils now optionally support zero-valued V-speeds.

G1000

  • [Breaking Change] Replaced the AirspeedIndicator component with the new G1000AirspeedIndicator component.
  • Added support for hardware keybord with new AS1000_CONTROL_PAD_ H events.
  • Added support for LVL and TO/GA modes.
  • Added support for knob-based XPDR code entry using H events.
  • Added panel.xml support for configuring V-speeds.
  • Added panel.xml support for configuring the airspeed indicator.
  • Added new ArrowControl component.
  • G1000UiControlWrapper now supports wrapping G1000ControlList controls.
  • NumberInput now takes MutableSubscribable objects for its dataSubject prop.
  • ArrowToggle now takes MutableSubscribable objects for its dataref prop.
  • Exported NavSystems's class FrequencyItem and its props interface FrequencyItemProps.
  • Added panel.xml support for enabling/disabling selected altitude input event compatibility. Enable to treat AP_ALT_VAR_SET events as increment/decrement events. Used for airplanes whose ModelBehaviors intercept AP_ALT_VAR_INC/AP_ALT_VAR_DEC events and forward them as SET events instead.
  • Added panel.xml support for configuring autopilot lateral director (ROL, HDG, VOR, LOC, GPS) bank angle limits.
  • Added a scrollToMostRecentlyAdded prop to HardwareControlListProps to allow autoscrolling to the most recently added item of the list.
  • Added support for control pad entry on number entry components under UiControls2: GenericNumberInput, and the newly added TimeNumberInput and CourseNumberInput. The GenericNumberInput component supports keypad entry through single digit DigitInputs.
  • Made all methods in PFD and MFD plugins optional.
  • CAS messages may now be assigned associated Alerts messages via JS and/or plugin code
  • Added support for styling the Com selection based on the radio selected to transmit, and for both Nav and Com standby frequencies selected to edit.

G3000

  • Added new CharInput and CharInputSlot components.
  • Added new Keyboard component.
  • Added new GtcWaypointDialog view, which allows a user to select a waypoint. This new dialog should be used where possible instead of GtcKeyboardDialog.
  • GtcWaypointDisplay now supports binding ToggleableClassNameRecord to its class prop.
  • Fixed memory leaks in GtcWaypointDisplay.
  • Added panel.xml support for defining airspeed indicator color ranges using TAS.