You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-20Lines changed: 23 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -258,28 +258,14 @@ This implementation stores the comments for a collection in a string called a "c
258
258
259
259
The readme in package note gets into all the specifics.
260
260
261
-
262
261
Changes
263
262
-----
264
263
265
-
0.3 -> 0.4:
266
-
- adopt the golang (package stringconv) rules for escaping strings.
267
-
- simplify the attribution of comments in the space between a key (or dash) and its value.
268
-
- change the decoder api to support custom sequences, mirroring custom maps; package 'maps' is now more generically package 'collect'.
269
-
- encoding/decoding heredocs for multiline strings
270
-
- encoding/decoding of arrays; ( encoding will write empty collections as arrays; future: a heuristic to determine what should be encoded as an array, vs. sequence. )
271
-
- the original idea for arrays was to use a bare comma full-stop format. switched to square brackets because they are easier to decode, they can support nesting, and are going to be more familiar to most users. ( plus, full stop (.) is tiny and easy to miss when looking at documents. )
272
-
273
-
0.4 -> 0.5:
274
-
- simplify comment handling
275
-
276
-
0.5 -> 0.6:
277
-
- bug fixes, and re-encoding of comments
264
+
0.8.0 -> 0.8.1:
265
+
- catch tabs in whitespace
266
+
- bug fix: report better errors when unable to decode a mistyped boolean literal (ex. `truex` )
278
267
279
-
0.6 -> 0.7:
280
-
- replace comment raw string buffer usage with an opaque object ( to make any future changes more friendly )
281
-
282
-
0.7 -> 0.8:
268
+
0.7.0 -> 0.8.0:
283
269
- Changes the encoder's interface to support customizing the comment style of mappings and sequences independently.
284
270
- bug fix: when specifying map values: allow sequences to start at the same indentation as the key and allow a new map term to start after the sequence ends. ( previously, it generated an error, and an additional indentation was required. ) For example:
285
271
```yaml
@@ -288,8 +274,25 @@ Changes
288
274
Second: # Second is an additional entry in the same map as First
289
275
- "okay"
290
276
```
291
-
- bug fix: for all other values, an indentation greater than the key is required. For example:
277
+
- bug fix: for all other values, an indentation greater than the key is required. For example:
292
278
```yaml
293
279
First:
294
280
"this is an error."
295
-
```
281
+
```
282
+
283
+
0.6 -> 0.7.0:
284
+
- replace comment raw string buffer usage with an opaque object ( to make any future changes more friendly )
285
+
286
+
0.5 -> 0.6:
287
+
- bug fixes, and re-encoding of comments
288
+
289
+
0.4 -> 0.5:
290
+
- simplify comment handling
291
+
292
+
0.3 -> 0.4:
293
+
- adopt the golang (package stringconv) rules for escaping strings.
294
+
- simplify the attribution of comments in the space between a key (or dash) and its value.
295
+
- change the decoder api to support custom sequences, mirroring custom maps; package 'maps' is now more generically package 'collect'.
296
+
- encoding/decoding heredocs for multiline strings
297
+
- encoding/decoding of arrays; ( encoding will write empty collections as arrays; future: a heuristic to determine what should be encoded as an array, vs. sequence. )
298
+
- the original idea for arrays was to use a bare comma full-stop format. switched to square brackets because they are easier to decode, they can support nesting, and are going to be more familiar to most users. ( plus, full stop (.) is tiny and easy to miss when looking at documents. )
0 commit comments