forked from Perl-Toolchain-Gang/YAML-Tiny
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changes
415 lines (299 loc) · 14 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
Revision history for YAML-Tiny
{{$NEXT}}
1.69 2015-07-26 00:51:03Z
- No changes since 1.68-TRIAL.
1.68 2015-07-09 23:39:49Z (TRIAL RELEASE)
[FIXED]
- tests no longer print to stderr unnecessarily; this makes core perl
builds (where this distribution is included as CPAN-Meta-YAML) a
little quieter.
[CHANGED]
- the Test::More dependency has been reduced to 0.88 by emulating
'subtest' for those tests that need it
1.67 2015-05-12 00:10:24Z
[FIXED]
- instead of erroring on duplicate keys found in a hash (introduced in
version 1.63), now we only warn. This fixes an issue in Strawberry Perl
(via CPAN::Meta::YAML) when parsing a configuration file.
[CHANGED]
- Updated File::Temp test prereq to 0.19 for 'newdir'
1.66 2015-03-16 22:26:30Z
[CHANGED]
- removed bundled Test::TempDir::Tiny to rely on File::Temp
for temporary directories during testing
1.65 2015-03-13 23:02:34Z
[CHANGED]
- artifacts left behind from testing are now cleaned up (GH#34)
1.64 2014-10-08 02:56:30Z
[CHANGED]
- remove silencing of any errors encountered while loading
Scalar::Util (GH#33, Graham Knop)
- now using JSON::MaybeXS in tests instead of JSON.pm
1.63 2014-06-11 21:58:18Z
[FIXED]
- incorrect error messages fixed, when $@ is clobbered when Carp
wasn't loaded (GH#30, GH#31, Hilko Bengen)
[CHANGED]
- now checking for, and erroring on, duplicate keys found in a hash
(GH#32, Hilko Bengen)
1.62 2014-03-16 12:28:44Z
[FIXED]
- fix handling of trailing colon in key name (RT#92916, H.Merijn
Brand)
1.61 2014-02-24 16:59:49Z
[FIXED]
- fixed a test for VMS (RT#93297, Craig Berry)
1.60 2014-02-13 20:31:56Z
- shipping 1.59 as stable, with no changes.
1.59 2014-02-06 03:10:35Z (TRIAL RELEASE)
[CHANGED]
- numeric values are now quoted whenever they've been used as a string
(fixes inconsistent behaviour seen with numeric values, due to
differences between the XS and pure-perl variants of Data::Dumper).
(github issue #24)
- numeric hash keys are now always quoted.
1.58 2014-02-04 18:01:58Z
[INCOMPATIBLE CHANGE]
- 1.57 omitted a change entry for the following change:
- Previously, YAML::Tiny was sloppy about file encodings. It is
now strict. The 'read' method and 'LoadFile' function expect
UTF-8 encoded files. The 'write' method and 'DumpFile' function
produce UTF-8 encoded files. The 'read_string' and
'write_string' methods and the 'Load' and 'Dump' functions
expect or generate (decoded) character data.
1.57 2014-01-30 22:12:38Z
[INCOMPATIBLE CHANGE]
- Previously, some errors would throw exceptions and some would
return the error condition in $YAML::Tiny::errstr. Now all
errors throw exceptions. Use of $errstr and the errstr method
are deprecated. (David Golden)
[FIXED]
- Fixed write method to encode YAML file with UTF-8 (David Golden)
- Improved SYNOPSIS and documentation of new (David Golden)
[TESTING]
- Tests have been cleaned up and reorganized. Test coverage
has been significnatly improved. (Ingy döt Net, David Golden,
Jim Keenan, Karen Etheridge)
1.56 2013-09-25 02:38:19Z
- read_string documentation error fixed (RT#74409, thanks Tim Heaney!)
- re-release with fixed compile test
1.55 2013-09-19 04:07:32Z
- again packaging with ExtUtils::MakeMaker
1.54 2013-08-22 03:55:41Z
- convert to Dist::Zilla
- Updated format to conform to CPAN::Changes::Spec
1.53 2013-08-20
- really fixed metadata
1.52 2013-08-20
- updated repository metadata to reflect move to github
1.51 2012-03-11
- The fix described in 1.48 was incorrect. Removing an additional
if $@ to fix it properly.
- Make the Scalar::Util version check resistant to bugs caused by
development versions.
1.50 2011-06-23
- Major bug fix, all code that writes arbitrary data should upgrade.
- Simple scalars with no whitespace but ending in a colon like ABC: were
not being quoted, which results in the parser confusing it with a
mapping key and crashing.
1.49 2011-03-08
- No functional changes.
- Don't depend on the YAML modules in RELEASE_TESTING, as it can
pollute the advisory META.yml.
1.48 2011-02-01
- Fix to the refaddr compatibility where Scalar::Util is installed
but is older than 1.18.
1.47 2011-01-31
- No functional changes
- Only depend on the YAML implementations when we are release testing
1.46 2010-12-16
- No functional changes
- Moving to a production release now CPAN Testers is green again
1.45_02 2010-12-07
- Adding experimental support for exception->errstr conversion
- Updating test suite yaml_error to not expect exceptions
1.45_01 2010-12-07
- Added support for trailing line comments (INGY)
- Added checks for some characters that are illegal or reserved
in plain scalars (INGY)
- Minor cleaning up of some out of date POD (ADAMK)
- Updated AUTOMATED_TESTING dependencies to new versions (ADAMK)
1.44 2010-08-08
- No functional changes, upgrading is not required
- Minor tweaks to Makefile.PL
- Minor cleanup around the refaddr emulation code
1.43 2010-07-10
- No functional changes, upgrading is not required
- Don't import Carp 'croak' any more, saving a few K
1.42 2010-06-25
- No functional changes, upgrading is not required
- Clarified documation to explain that YAML::Tiny escapes "bool"
keywords when it writes them as strings so that YAML parsers in
other languages won't get confused, but this does not mean that
YAML::Tiny actually supports boolean types itself.
- Added an extra test case for boolean keyword escaping.
- YAML::Perl comparison tests were loading the file back in with
YAML.pm by mistake. Corrected this and added an additional case
that YAML::Perl doesn't support that I wasn't catching.
- Author tests updated and moved into xt/
- Updated the versions of the other YAML parsers we test ourselves
against to the most recent versions of each.
1.41 2009-12-11
- Fixes a performance bug reported by Apocalypse.
Single line double-quoted strings longer than 32,000ish characters
resulted in the regular expression engine crashing due to
excessive recursion. Changed to a different regex that will most
likely only crash after 32,000 ESCAPED characters. If I could use
negative look-behind assertions (I can't because I need 5.004)
this whole issue would be MUCH simpler to fix.
1.40 2009-07-31
- Dear Ruby Community.
Thank you so much for your bug report to the "Ruby Talk" mailing list
regarding the lack of true/false support in Perl YAML modules.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/169943
This flaw has now been resolved, around 2 hours after we
were made aware of it. Next time, we recommend you report these bugs
to the people who can actually fix your problem.
1.39 2009-05-21
- Even though utf8 starts at 5.7+ there's no is_utf till
5.8.1 so skip in the tests if needed (ADAMK)
1.38 2009-05-16
- Moving the test suite style closer to Parse::CPAN::Meta
- Changed exceptions closer to Parse::CPAN::Meta
- Fixed Changes file date for 1.37 :)
1.37 2009-05-16
- Call $self->_error instead of $class->_error when we can
- Refactoring away some of the code other people have been
contributing lately that most certainly NOT ::Tiny style.
- Avoid the need to do '' escaping by moving it to "'"
- Added comparative testing with YAML::Perl
1.36 2009-01-07
- Fixing missing feature reported by H.Merijn Brand
1.35 2008-12-17
- Production release for changes in 1.34_01
- No other changes
1.34_01 2008-11-19
- Improving sub-classability by passing the indent level through
to the ->_write_scalar method.
1.33 2008-07-24
- Export Load and Dump functions by default.
1.32 2008-05-14
- Adding a test to check for correct exceptions
- ONLY do comparative tests when the modules to compare to are current.
(Prevents false failures in some cases)
1.31 2008-05-08
- Emergency bugfix release
1.30 2008-05-04
- Better error reporting of unsupported features
- Heavily bump automated testing deps to remove false errors
1.29 2008-04-12
- CPAN Testers passes ok, moving to production version
1.28_01 2008-04-05
- Adding support for document terminators
(To support YAML embedded in TAP streams)
1.27 2008-03-31
- Skip 04_scalar.t if no YAML.pm
- Implement YAML compatibility + tests for LoadFile
- Remove the LICENSE key from Makefile.PL
(Which failed on some CPAN Testers setups)
1.26 2008-03-20
- Added extra test cases to validate RT bugs that were fixed
previous, but not closed at the time.
- Always quote when serialising anything that starts with a non-word
- YAML::Tiny::Load is now fully compatible with YAML.pm in scalar
context (returns the LAST parsed document).
1.25 2008-01-14
- Wrote the specification section
1.24_01 2008-01-11
- Adding additional test cases
- Adding support for YAML header for META.yml
- Adding support for YAML header for YAML 1.0
- Adding support for YAML header for YAML 1.1
1.23 2008-01-10
- Identical to 1.22_01
- CPAN Testers results positive, pushing to production version
1.22_01 2008-01-09
- Correcting handling of single quote escaping
- Adding protection for infinite loops caused by circular
references during serializing.
- Confirmed support for toolbar.yml sample
1.21 2007-12-06
- Fixing support for unprintable characters
1.20 2007-11-19
- Correcting class name in @EXPORT_OK declaration
(Demetrios Biskinis)
1.19 2007-11-16
- Removing the invalid perl dep
1.18 2007-11-05
- Adding a new test file
1.17 2007-11-01
- Updating from Module::Install to the tinier ExtUtils::MakeMaker
1.16 2007-10-22
- Updating to newer AUTOMATED_TESTING tests
1.15 2007-08-25
- Incremental release to include an updated version of 99_author.t
- Replace a few CODE INCOMPLETE errors with real errors
(those parts of the module are now complete)
1.14 2007-08-16
- Adding support for empty reference documents
1.13 2007-07-09
- Adding a test case for support of multi-byte characters
1.12 2007-06-05
- Adding support for open hash/array at EOF
1.11 2007-06-05
- Forgot to string trailing whitespace in a few cases
- 'hashkey: This was mistaken as a hash entry, not a string'
- Adding explicit tests from #yaml for single quote escaping
1.10 2007-06-05
- Adding support for null hash/arrays
1.09 2007-05-21
- Fixing a bug in the trivial scalar case
1.08 2007-05-16
- Adding support for |- trimming multiline scalars
1.07 2007-05-15
- Adding support for whitespace after document headers
1.06 2007-05-14
- Bug fix to support an additional variant of null hashes
1.05 2007-05-02
- Bug fix to allow support for keys with spaces
- Bug fix to allow empty comments
1.04 2007-02-21
- Adding support for LoadFile, DumpFile, freeze and thaw
1.03 2007-01-14
- Removing the forward-looking part of the preamble
1.02 2007-01-14
- Fixing exporting
1.01 2007-01-14
- Removed the ugly bold warning
1.00 2007-01-14
- What the hell, I'm as close as is needed I think
0.90 2007-01-13
- Adding support for inline multi-lines
0.11 2006-09-25
- Fixed bug in regex that detects unheadered ARRAY|HASH
0.10 2006-08-24
- Added double-quote support, making YAML::Tiny a lot more usable
- Added Load and Dump for YAML.pm compatibility
- Added tests for verifying compatibility with YAML::Syck
0.06 2006-07-09
- Added more tests
0.05 2006-07-08
- Added support for nested inline hashes (parse only)
- Added support for naked undef array and hash entries
- Can now handle sample Plagger configs from Miyagawa-san's talk
- Can now handle vanilla.yml from Perl::Dist::Vanilla
0.04 2006-07-08
- Added support for implicit document start for array/hash types
- Added support for colons in hash keys
- Added support for simple single quotes
- Can now handle our own META.yml file
0.03 2006-07-08
- Got all of the trivial test cases to pass
- Good enough for an initial usable release,
but still expected to fail a lot
0.02 2006-04-26
- Added support for a single root-level hash
- Correcting POD bugs
0.01 2006-04-26
- Initial version
- Handles only document headers and non-wrapping scalar documents