We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70e7e3d commit febe465Copy full SHA for febe465
2 files changed
CHANGELOG.md
@@ -1,3 +1,9 @@
1
+Unreleased
2
+----------
3
+
4
+- Allow options.sortKeys to specify that keys should be sorted when dumping, to
5
+enable deterministic output.
6
7
3.3.0 / 2015-04-26
8
------------------
9
README.md
@@ -175,6 +175,8 @@ options:
175
block to flow style for collections. -1 means block style everwhere
176
- `styles` - "tag" => "style" map. Each tag may have own set of styles.
177
- `schema` _(default: `DEFAULT_SAFE_SCHEMA`)_ specifies a schema to use.
178
+- `sortKeys` _(default: `false`)_ - if `true`, sort keys when dumping YAML. If a
179
+ function, use the function to sort the keys.
180
181
styles:
182
0 commit comments