2 ChangeLog for Locale-Codes Distribution
4 As of 3.00, the codes are autogenerated from the standards. With each release, codes will
5 be re-generated and tested to see if any code changed. Any time there are any changes to
6 the codes, it will be flagged below with a change: NEW CODE(s).
12 * Renamed test.pl to testfunc.pl to avoid causing an error
13 when built as part of perl.
17 * Added the IANA domain names to Country
18 * Fixed a problem that produced warnings with perl 5.11.5.
23 * Moved support files into the Locale::Codes namespace.
24 * The work done in each of the Locale::XXX modules was
25 virtually identical to each other. It has all
26 been moved to a central module and the
27 Locale::XXX moduels are now just wrappers.
28 * The XXX_code2code functions would return undef if the
29 same codeset were passed in for both the 2nd and
30 3rd arguments. This doesn't make sense and has
32 * Added all semi-private routines (except for the
33 couple that were already present):
42 * Added "UK" alias. Steve Hay
45 * Fixed Makefile.PL and Build.PL to install as core
50 * Took over maintenance of the code
51 * All codes and country names come from the official
53 * code2country now returns the name of the country specified
54 in the standard (if the different standards refer
55 to the country by different variations in the name,
56 the results will differe based on the CODESET)
59 Alpha-3 and Term language codes
60 Numeric currency codes
61 * The rename_country funcion from 2.07 would guess the
62 CODESET (unlike all other functions which used
63 a default of LOCALE_CODE_ALPHA_2). The guess can
64 cause problems since (with the addition of FIPS)
65 codes may appear in different codesets for different
66 countries. The behavior has been changed to be
67 the same as other functions (default to
69 * Dropped support for _alias_code
70 * Added language_code2code, currency_code2code
73 * made $_ local in the initialisation code for each module
74 change back-propagated from Perl distribution
75 * removed two non ISO-8859-1 characters from language names
76 change back-propagated from Perl distribution
77 * added the following aliases, with a test case for each
78 - Burma added to Myanmar
79 - French Southern and Antarctic Lands to
80 French Southern Territories
82 * "Canadian Dollar" was mis-spelled as "Candian Dollar"
83 - noted by Nick Cabatoff, patch from Michael Hennecke
84 * Changes to Locale::Country reflecting changes in ISO 3166
85 - added Aland Islands (ax, ala, 248)
86 - YUGOSLAVIA is now SERBIA AND MONTENEGRO
89 891 => 891 (unchanged)
90 (YUGOSLAVIA retained as an alias)
91 - EAST TIMOR changed to TIMOR-LESTE
92 (old name retained as an alias)
93 - three letter code for Romania changed from ROM to ROU
94 * ZAIRE is now CONGO, THE DEMOCRATIC REPUBLIC OF THE
97 180 => 180 (unchanged)
98 (ZAIRE retained as alias)
100 2.06 2002-07-15 neilb
102 * The four modules which have data after __DATA__ weren't
103 closing the DATA filehandle after reading from it,
104 which they should. Bug and patch from Steve Hay.
106 2.05 2002-07-08 neilb
108 * Added three letter codes for the countries that were missing
109 them. Patch from TJ Mather.
110 * Documentation bug: one of the examples used => where the
111 lvalue was a constant, which isn't allowed, unless you
112 put the () with the constant to force the right interpretation.
113 Pointed out by TJ Mather and MYT.
114 * Updated the URL for the appendix in the CIA world factbook.
115 Patch from TJ Mather.
117 2.04 2002-05-23 neilb
119 * updated according to changes in ISO 3166-1 described
120 in ISO 3166-1 newsletters V-4 and V-5, dated 2002-05-20:
121 - Kazakstan is now "Kazakhstan"
122 - Macau is now "Macao"
123 The old names are retained as aliases.
125 The alpha-2 and alpha-3 codes for East Timor have changed:
128 the numeric code stays 626. If you want to support the old
129 codes, you can use the semi-private function alias_code().
131 2.03 2002-03-24 neilb
133 * Fixed a typo in the alias for the Vatican, reported (with patch)
135 * Added "Moldova" as an alias for "Moldova, Republic of"
136 * Updated Makefile.PL to include AUTHOR and ABSTRACT
138 2.02 2002-03-09 neilb
140 * added semi-private routine rename_country() to Locale::Country,
141 based on a patch from Iain Chalmers.
142 * added test rename.t for the above function.
143 * renamed _alias_code to be alias_code. Have retained the old
144 name for backwards compatibility. Will remove it when the
145 major version number next changes.
147 2.01 2002-02-18 neilb
149 * Split the documentation for all modules into separate pod files.
150 * Made sure all =over were =over 4; some were other values.
151 * The code2code() methods had one more shift than was needed.
153 2.00 2002-02-17 neilb
155 * Created Locale::Script which provides an interface to the
156 ISO codes for identification of scripts (writing scripts,
157 rather than perl style scripts). The codes are defined
158 by ISO 15924, which is currently in final draft.
159 Thanks to Jarkko for pointing out this new standard.
160 All three code sets are supported, and a test-suite added.
162 * Added support for country name variants to Locale::Country,
165 country2code('United States')
166 country2code('United States of America')
167 will all return 'us'.
168 This had been in the LIMITATIONS section since the first version.
169 Patch from TJ Mather <tjmather@tjmather.com> with additional
170 variants from me. Added test-cases for these.
172 * Added VERSION to Locale::Constants. Thanks to Jarkko for
173 pointing that it was missing.
175 * Should really have bumped major version with previous release,
176 since there was a change to the API.
178 1.06 2001-03-04 neilb
180 Added Locale::Constants, which defines three symbols
181 for identifying which codeset is being used:
187 Updated Locale::Country to support all three code sets
188 defined by ISO 3166. This was requested by Keith Wall.
189 I haven't added multiple codeset support to the other
190 modules yet - I'll wait until someone asks for them.
194 Added Locale::Currency, contribution from Michael Hennecke.
195 Added testsuite for it (t/currency.t) and added testcases
196 to t/all.t for the all_* functions.
200 Fixed very minor typos from 1.03!
204 Updated Locale::Country:
205 - fixed spelling of a few countries
206 - added link to a relevant page from CIA world factbook
208 Updated Locale::Language:
209 - fixed typo in the documentation (ISO 939 should be 639)
213 Updated Locale::Country and Locale::Language to reflect changes
214 in the relevant ISO standards. These mainly reflect languages
215 which are new to the relevant standard, and changes in the
216 spelling of some country names.
218 Added official URLs for the standards to the SEE ALSO sections
219 of the doc for each module.
221 Thanks to Jarkko Hietaniemi for pointing me at the pages
222 with latest versions of ISO 3166 and 639.
226 Added Locale::Country::_alias_code() so that 'uk' can be added
227 as the code for "United Kingdom", if you want it.
228 This was prompted by Ed Jordan <ed@chronos.net>
230 Added a new testsuite for handling this case, and extended the
231 existing test-suite to include testing of the case where
232 'uk' hasn't been defined as a valid code.
236 First public release to CPAN