Releases: iziz/libPhoneNumber-iOS
Releases · iziz/libPhoneNumber-iOS
1.7.2
Update Google libphonenumber metadata to v9.0.32.
- Refresh main phone-number metadata and optional carrier/timezone metadata bundles.
- Keep testing, short-number, and geocoding metadata unchanged after regeneration.
- Publish metadata-only patch release 1.7.2 across podspecs.
Validation:
- Metadata freshness, upstream JS test parity, upstream JS API parity, version consistency, SwiftPM tests, Korean locale SwiftPM tests, release build, whitespace check, and CocoaPods lint passed.
- CocoaPods trunk returned transient internal server/API timeout errors during publication; retry and visibility checks completed successfully, and all 13 podspec versions are present on trunk.
1.7.1
1.7.0
What's New
- Added opt-in carrier metadata modules:
libPhoneNumberCarrierandlibPhoneNumberSwiftCarrier. - Added opt-in timezone metadata modules:
libPhoneNumberTimeZonesandlibPhoneNumberSwiftTimeZones. - Added
libPhoneNumberSwiftUIEnrichmentto connect carrier and timezone metadata to SwiftUI phone field state without making the default SwiftUI module heavier. - Added deterministic carrier/timezone metadata update scripts and review artifacts.
- Added CocoaPods podspecs for the new Objective-C and Swift facade modules.
Metadata
- Carrier metadata generated from Google libphonenumber
v9.0.30: 31,001 prefix rows and 107 mobile-portable regions. - Timezone metadata generated from Google libphonenumber
v9.0.30: 3,294 prefix rows.
Validation
swift testpassed: 229 tests.LC_ALL=ko_KR.UTF-8 LANG=ko_KR.UTF-8 swift testpassed: 229 tests.swift build -c releasepassed.swift scripts/checkVersionConsistency.swiftpassed for 1.7.0.git diff --checkpassed.- New CocoaPods podspec lint passed for carrier, timezone, Swift carrier, Swift timezone, and SwiftUI enrichment modules.
1.6.1 - Swift umbrella module rename
Summary
This patch release corrects the Swift umbrella module name introduced in 1.6.0.
libPhoneNumberSwift is not owned by this project, so the Swift Package Manager umbrella product and CocoaPods module name now use libPhoneNumberIOSSwift instead. The CocoaPods package name remains libPhoneNumber-iOS-Swift.
Changes
- Renamed the Swift umbrella SPM product and target from
libPhoneNumberSwifttolibPhoneNumberIOSSwift. - Renamed the umbrella source and test directories to
libPhoneNumberIOSSwiftandlibPhoneNumberIOSSwiftTests. - Updated
libPhoneNumber-iOS-Swift.podspecto expose module namelibPhoneNumberIOSSwift. - Removed exact
libPhoneNumberSwiftreferences from README, docs, scripts, and package metadata. - Kept split Swift facade modules unchanged:
libPhoneNumberSwiftCorelibPhoneNumberSwiftGeocodinglibPhoneNumberSwiftShortNumberlibPhoneNumberSwiftUI
Installation
Swift Package Manager
Use the umbrella module only when you want core, geocoding, and short-number Swift facades together:
.product(name: "libPhoneNumberIOSSwift", package: "libPhoneNumber")Prefer smaller modules for new Swift apps when possible:
.product(name: "libPhoneNumberSwiftCore", package: "libPhoneNumber")
.product(name: "libPhoneNumberSwiftGeocoding", package: "libPhoneNumber")
.product(name: "libPhoneNumberSwiftShortNumber", package: "libPhoneNumber")
.product(name: "libPhoneNumberSwiftUI", package: "libPhoneNumber")CocoaPods
pod 'libPhoneNumber-iOS-Swift', '~> 1.6'
pod 'libPhoneNumber-iOS-SwiftCore', '~> 1.6'
pod 'libPhoneNumber-iOS-SwiftGeocoding', '~> 1.6'
pod 'libPhoneNumber-iOS-SwiftShortNumber', '~> 1.6'
pod 'libPhoneNumber-iOS-SwiftUI', '~> 1.6'Import the umbrella CocoaPods module as:
import libPhoneNumberIOSSwiftValidation
swift scripts/checkVersionConsistency.swiftswift testLC_ALL=ko_KR.UTF-8 LANG=ko_KR.UTF-8 swift testswift build -c releasepod lib lintfor all shipped podspecs- CocoaPods trunk publish verified for all 1.6.1 podspecs
1.5.0
1.4.0 - Update Metadata to v. 9.0.25
Enhancements
- #442 - Update to Google libPhoneNumber v. 9.0.25
Fixes
- Address issue with MacOS unit tests failing due to inability to find the testing bundle
- Improved the bundle finding logic to treat folders as bundles when searching
Full Changelog: 1.3.1...1.4.0
1.3.1 - Fix SPM & Cocoapods Issues
Fixes
- #436 - Add missing Foundation import to libPhoneNumber.h
- #435 - Fix Cocoapod inclusion of Privacy Manifest
- Change to include via library specific bundle
- #438 - Fix Package.swift parse errors
- When running on older swift versions
Enhancements
- #439 - New scripts to help with releasing new versions
Full Changelog: 1.3.0...1.3.1