Skip to content

DataStandardizer.Geography 2.0.1

Choose a tag to compare

@github-actions github-actions released this 23 Nov 08:14
· 1 commit to develop since this release
d23d8d6

Breaking changes:

  • UnM49AreaCodeAttribute.EnglishNames and FrenchNames hold only the area's own name instead of one entry per level, and Iso3166CountryCodeAttribute.EnglishNames holds 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:

  • GetNativeName on 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.EnglishName and FrenchName are the area's own name (such as "Afghanistan") instead of "World" and "Monde", and Iso3166CountryCodeAttribute.FrenchName is 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.