2 ChangeLog for Locale-Codes Distribution
6 * The four modules which have data after __DATA__ weren't
7 closing the DATA filehandle after reading from it,
8 which they should. Bug and patch from Steve Hay.
12 * Added three letter codes for the countries that were missing
13 them. Patch from TJ Mather.
14 * Documentation bug: one of the examples used => where the
15 lvalue was a constant, which isn't allowed, unless you
16 put the () with the constant to force the right interpretation.
17 Pointed out by TJ Mather and MYT.
18 * Updated the URL for the appendix in the CIA world factbook.
23 * updated according to changes in ISO 3166-1 described
24 in ISO 3166-1 newsletters V-4 and V-5, dated 2002-05-20:
25 - Kazakstan is now "Kazakhstan"
26 - Macau is now "Macao"
27 The old names are retained as aliases.
29 The alpha-2 and alpha-3 codes for East Timor have changed:
32 the numeric code stays 626. If you want to support the old
33 codes, you can use the semi-private function alias_code().
37 * Fixed a typo in the alias for the Vatican, reported (with patch)
39 * Added "Moldova" as an alias for "Moldova, Republic of"
40 * Updated Makefile.PL to include AUTHOR and ABSTRACT
44 * added semi-private routine rename_country() to Locale::Country,
45 based on a patch from Iain Chalmers.
46 * added test rename.t for the above function.
47 * renamed _alias_code to be alias_code. Have retained the old
48 name for backwards compatibility. Will remove it when the
49 major version number next changes.
53 * Split the documentation for all modules into separate pod files.
54 * Made sure all =over were =over 4; some were other values.
55 * The code2code() methods had one more shift than was needed.
59 * Created Locale::Script which provides an interface to the
60 ISO codes for identification of scripts (writing scripts,
61 rather than perl style scripts). The codes are defined
62 by ISO 15924, which is currently in final draft.
63 Thanks to Jarkko for pointing out this new standard.
64 All three code sets are supported, and a test-suite added.
66 * Added support for country name variants to Locale::Country,
69 country2code('United States')
70 country2code('United States of America')
72 This had been in the LIMITATIONS section since the first version.
73 Patch from TJ Mather <tjmather@tjmather.com> with additional
74 variants from me. Added test-cases for these.
76 * Added VERSION to Locale::Constants. Thanks to Jarkko for
77 pointing that it was missing.
79 * Should really have bumped major version with previous release,
80 since there was a change to the API.
84 Added Locale::Constants, which defines three symbols
85 for identifying which codeset is being used:
91 Updated Locale::Country to support all three code sets
92 defined by ISO 3166. This was requested by Keith Wall.
93 I haven't added multiple codeset support to the other
94 modules yet - I'll wait until someone asks for them.
98 Added Locale::Currency, contribution from Michael Hennecke.
99 Added testsuite for it (t/currency.t) and added testcases
100 to t/all.t for the all_* functions.
104 Fixed very minor typos from 1.03!
108 Updated Locale::Country:
109 - fixed spelling of a few countries
110 - added link to a relevant page from CIA world factbook
112 Updated Locale::Language:
113 - fixed typo in the documentation (ISO 939 should be 639)
117 Updated Locale::Country and Locale::Language to reflect changes
118 in the relevant ISO standards. These mainly reflect languages
119 which are new to the relevant standard, and changes in the
120 spelling of some country names.
122 Added official URLs for the standards to the SEE ALSO sections
123 of the doc for each module.
125 Thanks to Jarkko Hietaniemi for pointing me at the pages
126 with latest versions of ISO 3166 and 639.
130 Added Locale::Country::_alias_code() so that 'uk' can be added
131 as the code for "United Kingdom", if you want it.
132 This was prompted by Ed Jordan <ed@chronos.net>
134 Added a new testsuite for handling this case, and extended the
135 existing test-suite to include testing of the case where
136 'uk' hasn't been defined as a valid code.
140 First public release to CPAN