Releases: Project-OSRM/osrm-text-instructions.swift
Releases · Project-OSRM/osrm-text-instructions.swift
v0.6.0
v0.5.0
v0.4.0
v0.3.5
- Added Castilian Spanish, Esperanto, Romanian, and Turkish localizations. (Project-OSRM/osrm-text-instructions#163, Project-OSRM/osrm-text-instructions#162, Project-OSRM/osrm-text-instructions#105, Project-OSRM/osrm-text-instructions#158)
v0.3.4
v0.3.3
- Added an
OSRMInstructionFormatter.phrase(named:)
method for obtaining various format strings containing phrases. (#38, #40) - Added instructions for exiting a roundabout. (Project-OSRM/osrm-text-instructions#150)
- Improved the wording of continue instructions. (Project-OSRM/osrm-text-instructions#142, Project-OSRM/osrm-text-instructions#145)
- Updated various translations. (Project-OSRM/osrm-text-instructions#144, Project-OSRM/osrm-text-instructions#154)
v0.3.2
- Added Brazilian Portuguese, Italian, and Ukrainian localizations. (Project-OSRM/osrm-text-instructions#137)
- Added the word “right” to right-hand exit instructions. (Project-OSRM/osrm-text-instructions#125)
- Improved the wording of “continue straight” instructions. (Project-OSRM/osrm-text-instructions#130)
- Improved the wording of various instructions in Russian and Swedish. (Project-OSRM/osrm-text-instructions#138, Project-OSRM/osrm-text-instructions#137)
- The Spanish localization consistently uses usted form. (Project-OSRM/osrm-text-instructions#137)
v0.3.1
v0.3.0
- Added a
roadClasses
argument toOSRMInstructionFormatter.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
- An instruction to take an off-ramp indicates the exit number where available.
TokenType.exitCode
has been added, andTokenType.exit
has been renamed toTokenType.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)