Skip to content

Releases: highmobility/auto-api-swift

10.0.4

02 May 09:41

Choose a tag to compare

Improved parsing speed by 100-1000x

Added AutoAPI Profiler to be able to use Instruments.
Renamed AACommandIdentifier to AACapabilityIdentifier.
Other minor fixes.

10.0.3

05 Apr 08:03

Choose a tag to compare

Fixed multiple AAItem subtypes.
Fixed other minor issues found through tests.
Removed obsolete files.

10.0.2

29 Mar 08:05

Choose a tag to compare

Updated to Swift 5

AANaviDestination, AARace, Chassis' types and General Capabilities fixes.

7.3.4

29 Mar 09:10

Choose a tag to compare

Updated to Swift 5
Updated HMUtilities to 1.3.x

7.3.3

18 Mar 10:06

Choose a tag to compare

Added multi state response to MultiCommand.

10.0.1

11 Mar 15:03

Choose a tag to compare

Fixed AACapability's debugging property .debugTree: HMDebugTree to parse the new L10 properly.

10.0.0

25 Feb 17:01

Choose a tag to compare

Rewritten property-capability-command architecture.

  • Properties are wrapped in a new type AAProperty, with it's main accessors:
    • .value: ValueType?
    • .failure: AAPropertyFailure?
    • .timestamp: Date?
  • AACapability renamed to AACapabilityValue:
    • It's .command renamed to .capability
  • AACommand rewritten and renamed to AACapability:
    • Also conforms to AACapabilityClass
  • Outgoing commands' methods return a rewritten type AACommand (used to return [UInt8]):
    • Has .bytes accessor for getting the data to send
  • Percentage changed from UInt32 (0-100 value) to Double (0.0-1.0 value).

9.0.0

03 Jan 10:47

Choose a tag to compare

Removed:

  • All legacy types.

New:

  • AAPropertyFailure type to convey that getting a property failed.

Added:

  • AAFueling

    • .gasFlapLockState: AALockState?
    • .gasFlapPosition: AAPositionState?
  • AALights

    • .fogLights: [AAFogLight]?
    • .readingLamps: [AAReadingLamp]?
    • .interiorLamps: [AAInteriorLamp]?
    • .controlLights(... fogLights: [AAFogLight]?, readingLamps: [AAReadingLamp]?, interiorLamps: [AAInteriorLamp]?)
  • AAMultiCommand

    • .states: [AAVehicleState]? – returned when a multi-command is sent.

Updated:

  • AADoorLocks

    • .insideLocks: [AADoorLock]?
    • .locks: [AADoorLock]?
    • .positions: [AADoorPosition]?
  • AAFailureMessage

    • .reason: AAFailureReason?
  • AAFueling

    • .controlGasFlap(lockState: AALockState?, position: AAPositionState?) – renamed.
  • AALights

    • .frontExterior: AAFrontLightState?

8.0.1

03 Dec 07:41

Choose a tag to compare

New:

  • AAMultiCommand for sending multiple commands at the same time

Added:

  • AADiagnostics
    • .mileageMeters: UInt32?
  • AARooftopControl
    • .sunroofState: AAPositionState?
    • .controlRooftop(... sunroofState: AAPositionState?)

7.3.2

03 Dec 07:46

Choose a tag to compare

New:

  • MultiCommand for sending multiple commands at the same time

Added:

  • Diagnostics
    • .mileageMeters: UInt32?