The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
made `wikipedia_url_suffix` non-optional in `Country`
**Full Changelog**: https://github.com/RandomHashTags/swift-sovereign-states/compare/1.2.0...1.2.1
**Full Changelog**: https://github.com/RandomHashTags/swift-sovereign-states/compare/1.1.9...1.2.0
### Additions
- `is_nato_member` to `Country`
- `is_european_union_member` to `Country`
- you can now return the `type` of a `SovereignStateSubdivision` from a `Country`
- you can now return the `type` of a `SovereignStateCity` from a `SovereignStateSubdivision`
- level-1 administrative divisions for 13 countries (Greenland, Grenada, Bermuda, Finland, the Maldives, Mozambique, Somalia, Guinea, the Marshall Islands, Morocco, Nauru, South Africa, Uganda)
### Fixes
- 4 incorrect Wikipedia URLs for `SubdivisionsMadagascar`
### Performance Improvements
- major: `SovereignRegion`'s `isMentioned` (+ `SovereignRegions.doesEqual` & `SovereignRegions.doesSatisfy`)
- major: `SovereignRegion`'s `keywords` and other string arrays by using Sets instead of Arrays
- major: `Country`'s `valueOfSubdivisionIdentifier`
- major: `SovereignStateSubdivision`'s `valueOfCityIdentifier`
- minor: `SovereignRegion`'s `toCorrectCapitalization`
### Other changes
- replaced a large portion of functions with computed properties where appropriate (only functions that served as getters)
- `SovereignRegion` cache id is now separated by their parent cache id with a hyphen
- renamed `getConditionalName` to `getWikipediaName` (computed property=`wikipedia_name`)
- `Currency` now conforms to `LosslessStringConvertible`
- began localization journey
### Removals (mostly due to redundancy/best-practice/performance improvements)
- `Country`'s `valueOfCacheID`in favor of `init?(description)` and `init(rawValue)`
- `getIdentifier` from `SovereignRegion`
- `getDefaultType` from `SovereignStateCity` - now solely handled by `type`
added 2 aliases; fixed some typos
**Full Changelog**: https://github.com/RandomHashTags/swift-sovereign-states/compare/1.1.8...1.1.9
can now validate if a `SovereignRegion` is mentioned in a string while ignoring case sensitivity.
**Full Changelog**: https://github.com/RandomHashTags/swift-sovereign-states/compare/1.1.7...1.1.8
adds some aliases for multiple `Country`
**Full Changelog**: https://github.com/RandomHashTags/swift-sovereign-states/compare/1.1.6...1.1.7
Bug fix relating to `Country` additional keywords and a change to `Currency` rawValue.
**Full Changelog**: https://github.com/RandomHashTags/swift-sovereign-states/compare/1.1.5...1.1.6
Added `getCurrencies` to `SovereignRegion`.
**Full Changelog**: https://github.com/RandomHashTags/swift-sovereign-states/compare/1.1.4...1.1.5
`SovereignRegion` is no longer `Sendable`
**Full Changelog**: https://github.com/RandomHashTags/swift-sovereign-states/compare/1.1.3...1.1.4
This release corrects the podspec file so it can be uploaded to Cocoapods.org. This release also adds 2 `wrapped` functions for easier usage under certain situations where it would be more convenient.
`SovereignRegion` now conforms to `Sendable`, and by inheritance `Country`, `SovereignStateSubdivision`, `SovereignStateCity`, and their wrappers.
**Full Changelog**: https://github.com/RandomHashTags/swift-sovereign-states/compare/1.1.1...1.1.2