UNPKG

10.9 kBMarkdownView Raw
13.13.1 / 2019-04-05
2-------------------
3
4- Fix possible code execution in (already unsafe) `.load()`, #480.
5
6
73.13.0 / 2019-03-20
8-------------------
9
10- Security fix: `safeLoad()` can hang when arrays with nested refs
11 used as key. Now throws exception for nested arrays. #475.
12
13
143.12.2 / 2019-02-26
15-------------------
16
17- Fix `noArrayIndent` option for root level, #468.
18
19
203.12.1 / 2019-01-05
21-------------------
22
23- Added `noArrayIndent` option, #432.
24
25
263.12.0 / 2018-06-02
27-------------------
28
29- Support arrow functions without a block statement, #421.
30
31
323.11.0 / 2018-03-05
33-------------------
34
35- Fix dump in bin/octal/hex formats for negative integers, #399.
36- Add arrow functions suport for `!!js/function`.
37
38
393.10.0 / 2017-09-10
40-------------------
41
42- Fix `condenseFlow` output (quote keys for sure, instead of spaces), #371, #370.
43- Dump astrals as codepoints instead of surrogate pair, #368.
44
45
463.9.1 / 2017-07-08
47------------------
48
49- Ensure stack is present for custom errors in node 7.+, #351.
50
51
523.9.0 / 2017-07-08
53------------------
54
55- Add `condenseFlow` option (to create pretty URL query params), #346.
56- Support array return from safeLoadAll/loadAll, #350.
57
58
593.8.4 / 2017-05-08
60------------------
61
62- Dumper: prevent space after dash for arrays that wrap, #343.
63
64
653.8.3 / 2017-04-05
66------------------
67
68- Should not allow numbers to begin and end with underscore, #335.
69
70
713.8.2 / 2017-03-02
72------------------
73
74- Fix `!!float 123` (integers) parse, #333.
75- Don't allow leading zeros in floats (except 0, 0.xxx).
76- Allow positive exponent without sign in floats.
77
78
793.8.1 / 2017-02-07
80------------------
81
82- Maintenance: update browserified build.
83
84
853.8.0 / 2017-02-07
86------------------
87
88- Fix reported position for `duplicated mapping key` errors.
89 Now points to block start instead of block end.
90 (#243, thanks to @shockey).
91
92
933.7.0 / 2016-11-12
94------------------
95
96- Fix parsing of quotes followed by newlines (#304, thanks to @dplepage).
97- Support polymorphism for tags (#300, thanks to @monken).
98
99
1003.6.1 / 2016-05-11
101------------------
102
103- Fix output cut on a pipe, #286.
104
105
1063.6.0 / 2016-04-16
107------------------
108
109- Dumper rewrite, fix multiple bugs with trailing `\n`.
110 Big thanks to @aepsilon!
111- Loader: fix leading/trailing newlines in block scalars, @aepsilon.
112
113
1143.5.5 / 2016-03-17
115------------------
116
117- Date parse fix: don't allow dates with on digit in month and day, #268.
118
119
1203.5.4 / 2016-03-09
121------------------
122
123- `noCompatMode` for dumper, to disable quoting YAML 1.1 values.
124
125
1263.5.3 / 2016-02-11
127------------------
128
129- Maintenance release.
130
131
1323.5.2 / 2016-01-11
133------------------
134
135- Maintenance: missed comma in bower config.
136
137
1383.5.1 / 2016-01-11
139------------------
140
141- Removed `inherit` dependency, #239.
142- Better browserify workaround for esprima load.
143- Demo rewrite.
144
145
1463.5.0 / 2016-01-10
147------------------
148
149- Dumper. Fold strings only, #217.
150- Dumper. `norefs` option, to clone linked objects, #229.
151- Loader. Throw a warning for duplicate keys, #166.
152- Improved browserify support (mark `esprima` & `Buffer` excluded).
153
154
1553.4.6 / 2015-11-26
156------------------
157
158- Use standalone `inherit` to keep browserified files clear.
159
160
1613.4.5 / 2015-11-23
162------------------
163
164- Added `lineWidth` option to dumper.
165
166
1673.4.4 / 2015-11-21
168------------------
169
170- Fixed floats dump (missed dot for scientific format), #220.
171- Allow non-printable characters inside quoted scalars, #192.
172
173
1743.4.3 / 2015-10-10
175------------------
176
177- Maintenance release - deps bump (esprima, argparse).
178
179
1803.4.2 / 2015-09-09
181------------------
182
183- Fixed serialization of duplicated entries in sequences, #205.
184 Thanks to @vogelsgesang.
185
186
1873.4.1 / 2015-09-05
188------------------
189
190- Fixed stacktrace handling in generated errors, for browsers (FF/IE).
191
192
1933.4.0 / 2015-08-23
194------------------
195
196- Fixed multiline keys dump, #197. Thanks to @tcr.
197- Don't throw on warnongs anymore. Use `onWarning` option to catch.
198- Throw error on unknown tags (was warning before).
199- Fixed heading line breaks in some scalars (regression).
200- Reworked internals of error class.
201
202
2033.3.1 / 2015-05-13
204------------------
205
206- Added `.sortKeys` dumper option, thanks to @rjmunro.
207- Fixed astral characters support, #191.
208
209
2103.3.0 / 2015-04-26
211------------------
212
213- Significantly improved long strings formatting in dumper, thanks to @isaacs.
214- Strip BOM if exists.
215
216
2173.2.7 / 2015-02-19
218------------------
219
220- Maintenance release.
221- Updated dependencies.
222- HISTORY.md -> CHANGELOG.md
223
224
2253.2.6 / 2015-02-07
226------------------
227
228- Fixed encoding of UTF-16 surrogate pairs. (e.g. "\U0001F431" CAT FACE).
229- Fixed demo dates dump (#113, thanks to @Hypercubed).
230
231
2323.2.5 / 2014-12-28
233------------------
234
235- Fixed resolving of all built-in types on empty nodes.
236- Fixed invalid warning on empty lines within quoted scalars and flow collections.
237- Fixed bug: Tag on an empty node didn't resolve in some cases.
238
239
2403.2.4 / 2014-12-19
241------------------
242
243- Fixed resolving of !!null tag on an empty node.
244
245
2463.2.3 / 2014-11-08
247------------------
248
249- Implemented dumping of objects with circular and cross references.
250- Partially fixed aliasing of constructed objects. (see issue #141 for details)
251
252
2533.2.2 / 2014-09-07
254------------------
255
256- Fixed infinite loop on unindented block scalars.
257- Rewritten base64 encode/decode in binary type, to keep code licence clear.
258
259
2603.2.1 / 2014-08-24
261------------------
262
263- Nothig new. Just fix npm publish error.
264
265
2663.2.0 / 2014-08-24
267------------------
268
269- Added input piping support to CLI.
270- Fixed typo, that could cause hand on initial indent (#139).
271
272
2733.1.0 / 2014-07-07
274------------------
275
276- 1.5x-2x speed boost.
277- Removed deprecated `require('xxx.yml')` support.
278- Significant code cleanup and refactoring.
279- Internal API changed. If you used custom types - see updated examples.
280 Others are not affected.
281- Even if the input string has no trailing line break character,
282 it will be parsed as if it has one.
283- Added benchmark scripts.
284- Moved bower files to /dist folder
285- Bugfixes.
286
287
2883.0.2 / 2014-02-27
289------------------
290
291- Fixed bug: "constructor" string parsed as `null`.
292
293
2943.0.1 / 2013-12-22
295------------------
296
297- Fixed parsing of literal scalars. (issue #108)
298- Prevented adding unnecessary spaces in object dumps. (issue #68)
299- Fixed dumping of objects with very long (> 1024 in length) keys.
300
301
3023.0.0 / 2013-12-16
303------------------
304
305- Refactored code. Changed API for custom types.
306- Removed output colors in CLI, dump json by default.
307- Removed big dependencies from browser version (esprima, buffer)
308 - load `esprima` manually, if !!js/function needed
309 - !!bin now returns Array in browser
310- AMD support.
311- Don't quote dumped strings because of `-` & `?` (if not first char).
312- __Deprecated__ loading yaml files via `require()`, as not recommended
313 behaviour for node.
314
315
3162.1.3 / 2013-10-16
317------------------
318
319- Fix wrong loading of empty block scalars.
320
321
3222.1.2 / 2013-10-07
323------------------
324
325- Fix unwanted line breaks in folded scalars.
326
327
3282.1.1 / 2013-10-02
329------------------
330
331- Dumper now respects deprecated booleans syntax from YAML 1.0/1.1
332- Fixed reader bug in JSON-like sequences/mappings.
333
334
3352.1.0 / 2013-06-05
336------------------
337
338- Add standard YAML schemas: Failsafe (`FAILSAFE_SCHEMA`),
339 JSON (`JSON_SCHEMA`) and Core (`CORE_SCHEMA`).
340- Rename `DEFAULT_SCHEMA` to `DEFAULT_FULL_SCHEMA`
341 and `SAFE_SCHEMA` to `DEFAULT_SAFE_SCHEMA`.
342- Bug fix: export `NIL` constant from the public interface.
343- Add `skipInvalid` dumper option.
344- Use `safeLoad` for `require` extension.
345
346
3472.0.5 / 2013-04-26
348------------------
349
350- Close security issue in !!js/function constructor.
351 Big thanks to @nealpoole for security audit.
352
353
3542.0.4 / 2013-04-08
355------------------
356
357- Updated .npmignore to reduce package size
358
359
3602.0.3 / 2013-02-26
361------------------
362
363- Fixed dumping of empty arrays ans objects. ([] and {} instead of null)
364
365
3662.0.2 / 2013-02-15
367------------------
368
369- Fixed input validation: tabs are printable characters.
370
371
3722.0.1 / 2013-02-09
373------------------
374
375- Fixed error, when options not passed to function cass
376
377
3782.0.0 / 2013-02-09
379------------------
380
381- Full rewrite. New architecture. Fast one-stage parsing.
382- Changed custom types API.
383- Added YAML dumper.
384
385
3861.0.3 / 2012-11-05
387------------------
388
389- Fixed utf-8 files loading.
390
391
3921.0.2 / 2012-08-02
393------------------
394
395- Pull out hand-written shims. Use ES5-Shims for old browsers support. See #44.
396- Fix timstamps incorectly parsed in local time when no time part specified.
397
398
3991.0.1 / 2012-07-07
400------------------
401
402- Fixes `TypeError: 'undefined' is not an object` under Safari. Thanks Phuong.
403- Fix timestamps incorrectly parsed in local time. Thanks @caolan. Closes #46.
404
405
4061.0.0 / 2012-07-01
407------------------
408
409- `y`, `yes`, `n`, `no`, `on`, `off` are not converted to Booleans anymore.
410 Fixes #42.
411- `require(filename)` now returns a single document and throws an Error if
412 file contains more than one document.
413- CLI was merged back from js-yaml.bin
414
415
4160.3.7 / 2012-02-28
417------------------
418
419- Fix export of `addConstructor()`. Closes #39.
420
421
4220.3.6 / 2012-02-22
423------------------
424
425- Removed AMD parts - too buggy to use. Need help to rewrite from scratch
426- Removed YUI compressor warning (renamed `double` variable). Closes #40.
427
428
4290.3.5 / 2012-01-10
430------------------
431
432- Workagound for .npmignore fuckup under windows. Thanks to airportyh.
433
434
4350.3.4 / 2011-12-24
436------------------
437
438- Fixes str[] for oldIEs support.
439- Adds better has change support for browserified demo.
440- improves compact output of Error. Closes #33.
441
442
4430.3.3 / 2011-12-20
444------------------
445
446- jsyaml executable moved to separate module.
447- adds `compact` stringification of Errors.
448
449
4500.3.2 / 2011-12-16
451------------------
452
453- Fixes ug with block style scalars. Closes #26.
454- All sources are passing JSLint now.
455- Fixes bug in Safari. Closes #28.
456- Fixes bug in Opers. Closes #29.
457- Improves browser support. Closes #20.
458- Added jsyaml executable.
459- Added !!js/function support. Closes #12.
460
461
4620.3.1 / 2011-11-18
463------------------
464
465- Added AMD support for browserified version.
466- Wrapped browserified js-yaml into closure.
467- Fixed the resolvement of non-specific tags. Closes #17.
468- Added permalinks for online demo YAML snippets. Now we have YPaste service, lol.
469- Added !!js/regexp and !!js/undefined types. Partially solves #12.
470- Fixed !!set mapping.
471- Fixed month parse in dates. Closes #19.
472
473
4740.3.0 / 2011-11-09
475------------------
476
477- Removed JS.Class dependency. Closes #3.
478- Added browserified version. Closes #13.
479- Added live demo of browserified version.
480- Ported some of the PyYAML tests. See #14.
481- Fixed timestamp bug when fraction was given.
482
483
4840.2.2 / 2011-11-06
485------------------
486
487- Fixed crash on docs without ---. Closes #8.
488- Fixed miltiline string parse
489- Fixed tests/comments for using array as key
490
491
4920.2.1 / 2011-11-02
493------------------
494
495- Fixed short file read (<4k). Closes #9.
496
497
4980.2.0 / 2011-11-02
499------------------
500
501- First public release
502
\No newline at end of file