Repository navigation
DataStandardizer.Geography 2.0.1
·
1 commit
to develop
since this release
Breaking changes:
UnM49AreaCodeAttribute.EnglishNamesandFrenchNameshold only the area's own name instead of one entry per level, andIso3166CountryCodeAttribute.EnglishNamesholds only the English short name instead of the short, upper-case short and full names.- Casting a string to Iso3166Part2Subdivision throws InvalidCastException for a code that isn't in ISO 3166-2.
Fixed:
GetNativeNameon MM and BY (MMR and BLR) returns the current name instead of the former one ("Burma", "Byelorussian SSR"), and the ISO 3166-1 enums no longer carry the former names and language rows of Burma, the Byelorussian SSR, Upper Volta, Zaire and East Timor on MM, BY, BF, CD and TL.UnM49AreaCodeAttribute.EnglishNameandFrenchNameare the area's own name (such as "Afghanistan") instead of "World" and "Monde", andIso3166CountryCodeAttribute.FrenchNameis the country's ISO 3166-1 French short name (such as "France (la)") instead of null.- Iso3166Part2Enum.GetNames and GetValues return a country's subdivisions sorted by code.
- Geography name lookups accept a null language code without a nullable warning, as documented.
- CodeAttributeBase.EnglishNames and FrenchNames return a copy, so changing the returned array no longer changes the attribute's names.
- The package now includes its XML documentation, so IntelliSense shows member descriptions.