Repository navigation
2.1.4 — Google metadata v9.0.43
Metadata refresh
This patch release updates the bundled Google libphonenumber metadata from v9.0.42 to v9.0.43 (86ea33cee5c22ab7e23b3de368e7cc7fa439a2b7).
- Phone-number metadata: 9 regions changed: Benin, China, Germany, Ecuador, Ethiopia, Georgia, Laos, Romania, and Zimbabwe.
- Carrier data: grows from 32,099 to 32,255 prefix rows.
- Geocoding: only the English and Chinese databases changed. The English database updates Zimbabwe and drops one Australian prefix. The Chinese database fixes three corrupted city descriptions.
- Unchanged: short-number and testing metadata. Timezone data is unchanged at 3,240 prefix rows and 285 unique timezone IDs.
- Versions: all four Xcode project versions and all 13 CocoaPods specifications are aligned with 2.1.4.
Fixed
- Parsing an RFC3966
tel:URI no longer hangs when itsphone-contextdomain name is long and invalid. The domain-label patterns now follow Google's fix for catastrophic regular-expression backtracking (google/libphonenumber#4070), and the upstreamtestParseRfc3966PhoneContextDomaintest is ported. Before the fix, that test did not finish within 120 seconds. It now passes in milliseconds.
Validation
The following passed:
- Upstream API and test parity against both v9.0.43 and Google master.
- SwiftPM tests in the default and Korean locales: 232 XCTest cases and 43 Swift Testing tests.
- The release build and all three Xcode scheme test suites.
- Generated-data consistency and SQLite integrity checks.
- Metadata freshness, which reports v9.0.43 up to date.
CI results:
- Release PR CI: all 11 jobs passed. These include all five platform builds, thread sanitizer, coverage, Xcode schemes, and all 13 CocoaPods lint validations.
- PR #459 was merged as
91fcc74. Its Git tree is identical to the CI-verified commit3c1009d. - Post-merge CI on the release commit: all 11 jobs passed.
The upstream comparison and validation commands are recorded in the metadata update log.
Full changelog: https://github.com/iziz/libPhoneNumber-iOS/blob/2.1.4/CHANGELOG.md
CocoaPods publication
All 13 CocoaPods specifications are published as 2.1.4. An independent final trunk check reports every version as present. The GitHub tag 2.1.4 resolves to the release commit 91fcc7452b8baa55fc2f61519f24b1f87ae4716f.
Trunk returned errors during publication:
- 12 of the 13 podspecs had a first push that exited non-zero.
libPhoneNumberTimeZonesneeded three attempts. Its first two pushes failed, and its third exited non-zero.- In total, 14 pushes exited non-zero: 13 GitHub commit API timeouts and 1 CocoaPods internal server error.
After every non-zero exit, the dependency-aware publisher checked trunk visibility before moving on. No podspec was changed to work around the trunk errors.