Skip to content

Commit

Permalink
Optional Jartic codes (#812)
Browse files Browse the repository at this point in the history
* vk/NAVIOS-1360-optional-jartic: changed jartic traffic code contents to be optional; bumed XCode versions on CI jobs;  API breakage accepted.
  • Loading branch information
Udumft authored Sep 5, 2023
1 parent 040dcdf commit 9a73ca8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ step-library:
jobs:
detect-breaking-changes:
macos:
xcode: 13.3.0
xcode: 13.4.1
steps:
- checkout
- install-mapbox-token
Expand Down Expand Up @@ -369,16 +369,16 @@ workflows:
- build-job:
name: "Dev Build: Xcode 13.4.1"
- carthage-integration-test:
name: "Carthage Integration Test 13.0.0"
xcode: "13.0.0"
name: "Carthage Integration Test 13.4.1"
xcode: "13.4.1"
- carthage-integration-test:
name: "Carthage Integration Test 14.0.0"
xcode: "14.0.0"
- spm-job:
name: "SPM build 13.3.1"
xcode: "13.3.1"
name: "SPM build 13.4.1"
xcode: "13.4.1"
- spm-job:
name: "SPM build 14.0.0"
name: "SPM build 14.1.0"
xcode: "14.1.0"
- spm-linux-job:
name: "SPM Ubuntu build"
Expand Down
4 changes: 2 additions & 2 deletions Sources/MapboxDirections/Incident.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ public struct Incident: Codable, Equatable, ForeignMemberContainer {
}

/// Jartic cause code value.
public var jarticCauseCode: UInt32
public var jarticCauseCode: UInt32?

/// Jartic regulation code value.
public var jarticRegulationCode: UInt32
public var jarticRegulationCode: UInt32?
}

/// Represents the impact of the incident on local traffic.
Expand Down
7 changes: 6 additions & 1 deletion swift-package-baseline/breakage-allowlist-path.txt
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@

API breakage: var Incident.TrafficCodes.jarticCauseCode has declared type change from Swift.UInt32 to Swift.UInt32?
API breakage: accessor Incident.TrafficCodes.jarticCauseCode.Get() has return type change from Swift.UInt32 to Swift.UInt32?
API breakage: accessor Incident.TrafficCodes.jarticCauseCode.Set() has parameter 0 type change from Swift.UInt32 to Swift.UInt32?
API breakage: var Incident.TrafficCodes.jarticRegulationCode has declared type change from Swift.UInt32 to Swift.UInt32?
API breakage: accessor Incident.TrafficCodes.jarticRegulationCode.Get() has return type change from Swift.UInt32 to Swift.UInt32?
API breakage: accessor Incident.TrafficCodes.jarticRegulationCode.Set() has parameter 0 type change from Swift.UInt32 to Swift.UInt32?

0 comments on commit 9a73ca8

Please sign in to comment.