This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update CPAN-Meta to CPAN version 2.130880
[perl5.git] / cpan / CPAN-Meta / Changes
1 Revision history for CPAN-Meta
2
3 2.130880  2013-03-29 09:51:00 America/New_York
4
5   [BUGFIX]
6
7   - Fix provides 'version' bug introduced in the 2.130870 fix
8
9 2.130870  2013-03-28 11:08:50 America/New_York
10
11   [BUGFIX]
12
13   - Don't add 'version' to 'provides' during conversion if one didn't
14     exist in the original [Reported by Miyagawa; fixed by David Golden]
15
16 2.120921  2012-04-01 15:20:24 Europe/Paris
17
18   [REMOVED]
19
20   - CPAN::Meta::Requirements has been split out into its own distribution
21     so it can be used by CPAN.pm without requiring all of CPAN::Meta
22
23 2.120920  2012-04-01 11:30:43 Europe/Paris
24
25   [ADDED]
26
27   - CPAN::Meta::Requirements now has a 'requirements_for_module' method
28     to retrieve a version requirements string for a specific module
29     [Leon Timmermans]
30
31   [OTHER]
32
33   - Parse::CPAN::Meta prerequisite bumped to 1.4403
34   - JSON::PP prerequisites bumped to 2.27200
35   - CPAN::Meta::YAML prerequisite bumped to 0.008
36
37 2.120900  2012-03-30 13:15:15 Europe/Paris
38
39   [BUGFIX]
40
41   - CPAN::Meta::Requirements now treats undef requirements given to
42     from_string_hash() as '0' and warns about it; add_string_requirements()
43     dies if it does not get a requirements string to parse
44
45 2.120630  2012-03-03 14:48:35 EST5EDT
46
47   [BUGFIX]
48
49   - CPAN::Meta::Requirements now ensures that dotted-decimal versions are
50     represented in normalized form when stringified.  This fixes a
51     regression in META conversion in 2.120620.
52     [Reported by Kent Fredric; fixed by David Golden]
53
54 2.120620  2012-03-02 12:28:59 EST5EDT
55
56   [ADDED]
57
58   - CPAN::Meta::Requirements::add_string_requirements allows building
59     a requirements specification piecemeal [Cory G. Watson]
60
61   [BUGFIX]
62
63   - Version range handling fixed [rt.cpan.org #75424]
64
65   - CPAN::Meta::Converter handles bad version strings more gracefully,
66     truncating alphanumerics and otherwise falling back to "0".  This
67     is likely better than dropping a prerequisite or dying.
68     [rt.cpan.org #75427]
69
70 2.120530  2012-02-22 16:15:31 EST5EDT
71
72   [OTHER]
73
74   - Dialed back perl prereq to 5.006
75
76 2.120351  2012-02-03 23:01:45 America/New_York
77
78   [OTHER]
79
80   - Fixed CPAN packaging errors
81
82 2.120350  2012-02-03 22:46:59 America/New_York
83
84   [BUGFIX]
85
86   - Work around a memory leak bug involving version objects
87     in boolean context.
88
89 2.113640  2011-12-30 15:19:46 America/New_York
90
91   [OTHER]
92
93   - Version::Requirements has now been merged as CPAN::Meta::Requirements,
94     rendering Version::Requirements itself redundant
95
96 2.112621  2011-09-19 12:15:16 America/New_York
97
98   [BUGFIX]
99
100   - Spell BACKEND environment variables correctly this time
101     [noticed by Stevan Little]
102
103 2.112620  2011-09-18 20:56:06 America/New_York
104
105   [BUGFIX]
106
107   - Protect tests against PERL_(YAML|JSON)_BACKEND settings that could
108     cause tests to fail. (RT #69979)
109
110 2.112600  2011-09-17 12:21:09 America/New_York
111
112   [DOCUMENTATION]
113
114   - Fixed spelling error in CPAN::Meta::Spec (RT #71036) [Gregor Hermann]
115
116 2.112580  2011-09-15 10:53:59 America/New_York
117
118   [BUGFIX]
119
120   - Use UTF-8 mode for internal structure cloning to avoid bugs
121     in Perl <= 5.8.6 (RT #70936) [Dagfinn Ilmari MannsĂ„ker]
122
123 2.112150  2011-08-02 22:25:41 America/New_York
124
125   [BUGFIX]
126
127   - Stringify any objects encountered during conversion. (RT #67295)
128
129   - Fixed some broken URLs in documentation and for LGPL in legacy
130     conversion (RT #68738)
131
132   - Fixed invalid private Pod in CPAN::Meta::Validator (RT #65925)
133
134   [SPEC]
135
136   - Clarified that file paths in the 'provides' section must be in
137     Unix-style (i.e. forward slashes) (RT #69045)
138
139   - Replaced examples using Module::Build::ModuleInfo with Module::Metadata
140     (RT #66135)
141
142 2.110930  2011-04-02 23:31:24 America/New_York
143
144   [BUGFIX]
145
146   - Fixed a bug in the 'as_string' method that checked the module version
147     instead of the meta-spec version when conversion was requested
148     (RT #67188)
149
150 2.110910  2011-04-01 08:55:30 America/New_York
151
152   [ENHANCEMENTS]
153
154   - The 1.x spec "gpl" and "lgpl" and "mozilla" license values now up-convert
155     to "open_source" because they indicate too non-specific a license.
156
157 2.110580  2011-02-27 07:58:06 EST5EDT
158
159   [OTHER]
160
161   - Add explicit dependencies on JSON::PP and CPAN::Meta::YAML instead
162     of relying on Parse::CPAN::Meta to provide them (as some CPAN Testers
163     have had P::C::M installed without them somehow)
164
165   - Removed dependency on Storable as it was not a core module
166     until Perl 5.8
167
168 2.110550  2011-02-24 07:17:57 EST5EDT
169
170   [OTHER]
171
172   - Added required field 'release_status' to the synopsis of
173     CPAN::Meta::Spec (RT#66118) [Oliver MenguĂ©]
174
175 2.110540  2011-02-23 15:21:16 EST5EDT
176
177   [BUGFIX]
178
179   - Had two different Parse::CPAN::Meta requirements, one in 'requires' and
180     the other in 'build_requires'. This confused some installers, so we
181     only inlude the 'requires' now.
182
183 2.110440  2011-02-12 22:55:28 EST5EDT
184
185   [BUGFIX]
186
187   - Bump Parse::CPAN::Meta prereq to 1.44, as 1.43 was never released
188
189 2.110420  2011-02-11 15:40:36 EST5EDT
190
191   [BUG FIXES]
192
193   - The as_string() method now always returns a character string;
194     previously, JSON strings were UTF-8 encoded.
195
196   - The save() method now always saves with UTF-8 encoding for
197     Perl 5.8.1 or greater; previously, YAML was not encoded
198
199 2.110390  2011-02-07 21:00:47 EST5EDT
200
201   [BUG FIXES]
202
203   - Release 2.110360 had a regression where the save() method would no
204     longer return true on success.  That has been fixed.
205
206 2.110360  2011-02-04 19:46:21 America/New_York
207
208   [OTHER]
209
210   - Remove autodie dependency so CPAN::Meta can be used on older Perls
211
212   - Remove unused Data::Dumper dependency
213
214 2.110350  2011-02-03 19:57:32 America/New_York
215
216   [ENHANCEMENTS]
217
218   - Added "as_string" method similar to "as_struct"
219
220   [OTHER]
221
222   - Bumped Parse::CPAN::Meta prereq to 1.43 and uses that to
223     determine proper YAML/JSON backends
224
225   - Removed unused prereqs
226
227 2.110330  2011-02-02 09:42:57 EST5EDT
228
229   [ENHANCEMENTS]
230
231   - Saved META.json files are now sorted by key
232
233   - as_struct() method takes an optional "version" argument to return
234     a down-converted metadata hashref
235
236 2.110320  2011-01-31 23:14:30 EST5EDT
237
238   [ENHANCEMENTS]
239
240   - The 'save' method now allows an optional hashref argument, which can be
241     used to set the desired meta spec version.  Metadata is automatically
242     converted to the specified output.
243
244 2.110240  2011-01-24 16:28:25 EST5EDT
245
246   - Reading JSON/YAML is delegated entirely to Parse::CPAN::Meta (1.4200)
247
248   - JSON.pm is dropped as a prerequisite and JSON::PP is added to prepare
249     for CPAN::Meta to be added to the Perl core
250
251   - JSON writing uses the same JSON backend selection as Parse::CPAN::Meta
252     to allow "upgrading" to a non-core JSON backend module if desired
253
254 2.102400  2010-08-28 14:06:34 America/New_York
255
256   - 'as_struct' method now returns unblessed data (reported by Chris Prather)
257
258 2.102160  2010-08-04 12:27:10 EST5EDT
259
260   - Fix bugtracker conversion bug (RT#60017)
261
262 2.101670  2010-06-15 21:02:42 EST5EDT
263
264   - converting 1.x 'repository' field now puts converted url into the
265     'url' sub-field of 'repository' instead of the 'web' sub-field
266
267 2.101610  2010-06-10 18:51:30 EST5EDT
268
269   - fixed converter bug that output 'artistic2' instead of 'artistic_2'
270     for license in 1.X specs
271
272   - 'artistic2' is now converted to 'artistic_2' if it occurs
273
274   - corrected validation for 'artistic_2' and disallowed 'artistic-2.0'
275
276 2.101600  2010-06-09 10:07:31 EST5EDT
277
278   - improve conversion of restricted/restrictive license keys between
279     spec versions 1.4 and 2 [reported by Alexander Hartmaier]
280
281 2.101591  2010-06-08 09:56:17 EST5EDT
282
283   - added 'as_struct' method to CPAN::Meta to get a deep copy of
284     the metadata hash_ref
285
286   - won't add an optional_features 'description' field if missing
287
288   - improved documentation of CPAN::Meta::Converter and how it deals
289     with bad/missing data
290
291 2.101590  2010-06-07 21:49:36 EST5EDT
292
293   - won't automatically add 'unknown' as repository type when converting;
294     instead, will only add a repository type if a repository 'url' is
295     present and it is of the 'svn:' or 'git:' scheme.
296
297   - squelched some uninitialized value warnings [Graham Barr]
298
299 2.101580  2010-06-07 16:44:13 EST5EDT
300
301   - add "lazy_validation" option to constructors
302
303   - add ability to "convert" to same version and clean-up any fixable
304     errors
305
306   - fix validation bugs (adhere closer to the spec)
307
308   - improve lots of heuristics during conversion
309
310 2.101461  2010-05-26 16:57:02 America/New_York
311
312   - accessors deep clone list and map keys before returning them
313
314   - add custom_keys() and custom() methods
315
316 2.101460  2010-05-25 23:12:27 America/New_York
317
318   - loosen URL validation -- only a scheme and authority are required
319     without restrictions on either
320
321 2.101450  2010-05-25 17:59:32 America/New_York
322
323   - when downconverting from 2, leave custom keys unchanged
324     (except in resources, where x_ is changed to X_)
325
326   - when converting to 2, don't prepend x_ to custom keys that already
327     matched qr{\Ax_}i
328
329 2.101410  2010-05-21 10:39:18 EST5EDT
330
331   - when downconverting from 2, merge test requirements into build requirements
332
333 2.101390  2010-05-19 10:49:50 EST5EDT
334
335   - do not clobber generated_by when converting
336
337 2.101380  2010-05-17 23:39:23 EST5EDT
338
339   - added support for down-converting to older versions of the spec
340
341   - improved test coverage for conversion and validation
342
343 2.101110  2010-04-21 11:06:52 EST5EDT
344
345   - clarified that .XXXXXX versions of the CPAN-Meta distribution will not
346     change the meaning of the CPAN::Meta::Spec, but may fix typos or
347     clarify prose
348
349   - fixed a typo regarding dotted-integer versions: keeping components
350     in the range 0-999 was corrected to a "should" instead of a "must"
351
352   - fixed validation bugs for certain types of nested data structures
353     (based on a patch provided by Barbie)
354
355 2.101091  2010-04-19 06:32:13 EST5EDT
356
357   - keep the old specs from getting indexed so as not to confuse people
358