Skip to content

Releases: Project-OSRM/osrm-text-instructions.swift

v0.6.0

20 Nov 21:54
5f2342a
Compare
Choose a tag to compare

Changes since v0.5.0:

  • Upgrades to Swift 4. v0.5.0 will be the last tag that supports Swift 3. #50

v0.5.0

10 Nov 07:28
Compare
Choose a tag to compare

Changes since v0.4.0:

  • Upgraded to MapboxDirections.swift v0.12.0. (#51)

v0.4.0

10 Oct 23:22
Compare
Choose a tag to compare

Changes since v0.3.4:

  • Updates the dependency MapboxDirections.swift to v0.11. #47

v0.3.5

29 Sep 22:23
Compare
Choose a tag to compare

v0.3.4

18 Sep 22:24
Compare
Choose a tag to compare

Changes since v0.3.3:

  • Added OSRMInstructionFormatter.attributedString(for:withDefaultAttributes:legIndex:numberOfLegs:roadClasses:modifyValueByKey:) for constructing an attributed string based on a route step. (#39)

v0.3.3

16 Sep 03:28
Compare
Choose a tag to compare

Changes since v0.3.2:

v0.3.2

25 Aug 21:34
Compare
Choose a tag to compare

Changes since v0.3.1:

v0.3.1

21 Aug 17:58
Compare
Choose a tag to compare

Changes since v0.3.0:

  • Added a new TokenType, .code which is the first string in the .codes property if available.

v0.3.0

21 Jul 12:29
Compare
Choose a tag to compare

Changes since v0.2.1:

  • Added a roadClasses argument to OSRMInstructionFormatter.string(for:legIndex:numberOfLegs:modifyValueByKey:) to indicate the kind of road in the step. If the step leads to a freeway or freeway ramp, the resulting instruction generally omits the name in favor of the route number. (#28)

v0.2.0

07 Jul 21:37
Compare
Choose a tag to compare

Changes since v0.1.2:

  • An instruction to take an off-ramp indicates the exit number where available. TokenType.exitCode has been added, and TokenType.exit has been renamed to TokenType.exitIndex. (#26)
  • When there are multiple legs in the route, an intermediate waypoint’s arrival instruction correctly identifies the waypoint by its ordinal. Optional arguments have been added to OSRMInstructionFormatter.string(for:modifyValueByKey:) to track which leg the instruction is on. (#26)
  • Added Indonesian and Polish localizations. (Project-OSRM/osrm-text-instructions#104, Project-OSRM/osrm-text-instructions#120)
  • Improved ramp and roundabout instructions in German. (Project-OSRM/osrm-text-instructions#122)