Commit | Line | Data |
6b6e008c |
1 | |
2 | ChangeLog for Locale-Codes Distribution |
3 | |
f768f60b |
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). |
7 | |
8 | 3.13 |
9 | |
10 | 3.12 2010-04-06 sbeck |
11 | * NEW CODE(s) |
12 | * Renamed test.pl to testfunc.pl to avoid causing an error |
13 | when built as part of perl. |
14 | |
15 | 3.11 2010-03-01 sbeck |
16 | * NEW CODE(s) |
17 | * Added the IANA domain names to Country |
18 | * Fixed a problem that produced warnings with perl 5.11.5. |
19 | Jerry D. Hedden |
20 | |
21 | 3.10 2010-02-18 sbeck |
22 | * NEW CODE(s) |
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 |
31 | been changed. |
32 | * Added all semi-private routines (except for the |
33 | couple that were already present): |
34 | rename_XXX |
35 | add_XXX |
36 | delete_XXX |
37 | add_XXX_alias |
38 | delete_XXX_alias |
39 | rename_XXX_code |
40 | add_XXX_code_alias |
41 | delete_XXX_code_alias |
42 | * Added "UK" alias. Steve Hay |
43 | |
44 | 3.01 2010-02-15 sbeck |
45 | * Fixed Makefile.PL and Build.PL to install as core |
46 | modules. |
47 | |
48 | 3.00 2010-02-10 sbeck |
49 | * NEW CODE(s) |
50 | * Took over maintenance of the code |
51 | * All codes and country names come from the official |
52 | standards |
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) |
57 | * Added code sets |
58 | FIPS 10 country codes |
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 |
68 | LOCALE_CODE_ALPHA_2). |
69 | * Dropped support for _alias_code |
70 | * Added language_code2code, currency_code2code |
71 | |
356373a2 |
72 | 2.07 2004-06-10 neilb |
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 |
81 | patch from TJ Mather |
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 |
87 | YU => CS |
88 | YUG => SCG |
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 |
95 | ZR => CD |
96 | ZAR => COD |
97 | 180 => 180 (unchanged) |
98 | (ZAIRE retained as alias) |
99 | |
3a6b268d |
100 | 2.06 2002-07-15 neilb |
101 | |
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. |
105 | |
106 | 2.05 2002-07-08 neilb |
107 | |
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. |
116 | |
8d2e4c0e |
117 | 2.04 2002-05-23 neilb |
118 | |
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. |
124 | |
125 | The alpha-2 and alpha-3 codes for East Timor have changed: |
126 | tp -> tl |
127 | tmp -> tls |
128 | the numeric code stays 626. If you want to support the old |
129 | codes, you can use the semi-private function alias_code(). |
130 | |
9922f24b |
131 | 2.03 2002-03-24 neilb |
132 | |
133 | * Fixed a typo in the alias for the Vatican, reported (with patch) |
134 | by Philip Newton. |
135 | * Added "Moldova" as an alias for "Moldova, Republic of" |
136 | * Updated Makefile.PL to include AUTHOR and ABSTRACT |
137 | |
917211f5 |
138 | 2.02 2002-03-09 neilb |
139 | |
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. |
146 | |
6b14ceb7 |
147 | 2.01 2002-02-18 neilb |
148 | |
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. |
152 | |
6b6e008c |
153 | 2.00 2002-02-17 neilb |
154 | |
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. |
161 | |
162 | * Added support for country name variants to Locale::Country, |
163 | so that |
164 | country2code('USA') |
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. |
171 | |
172 | * Added VERSION to Locale::Constants. Thanks to Jarkko for |
173 | pointing that it was missing. |
174 | |
175 | * Should really have bumped major version with previous release, |
176 | since there was a change to the API. |
177 | |
178 | 1.06 2001-03-04 neilb |
179 | |
180 | Added Locale::Constants, which defines three symbols |
181 | for identifying which codeset is being used: |
182 | |
183 | LOCALE_CODE_ALPHA_2 |
184 | LOCALE_CODE_ALPHA_3 |
185 | LOCALE_CODE_NUMERIC |
186 | |
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. |
191 | |
192 | 1.05 Feb 2001 |
193 | |
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. |
197 | |
198 | 1.04 Dec 2000 |
199 | |
200 | Fixed very minor typos from 1.03! |
201 | |
202 | 1.03 Dec 2000 |
203 | |
204 | Updated Locale::Country: |
205 | - fixed spelling of a few countries |
206 | - added link to a relevant page from CIA world factbook |
207 | |
208 | Updated Locale::Language: |
209 | - fixed typo in the documentation (ISO 939 should be 639) |
210 | |
211 | 1.02 May 2000 |
212 | |
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. |
217 | |
218 | Added official URLs for the standards to the SEE ALSO sections |
219 | of the doc for each module. |
220 | |
221 | Thanks to Jarkko Hietaniemi for pointing me at the pages |
222 | with latest versions of ISO 3166 and 639. |
223 | |
224 | 1.00 March 1998 |
225 | |
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> |
229 | |
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. |
233 | |
234 | 0.003 May 1997 |
235 | |
236 | First public release to CPAN |
237 | |