summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Kislyuk <kislyuk@gmail.com>2022-07-24 10:50:54 -0700
committerAndrey Kislyuk <kislyuk@gmail.com>2022-07-24 10:50:54 -0700
commit5979f1ecfa67d17156d62bc04e24d5ba9eae3f31 (patch)
treeeca2a328d0bd884f066314c9b13e4fd35f283ae3
parente0cdf61cb4699361f1d3d4af6c08bf508a54dc68 (diff)
v3.1.0v3.1.0
-rw-r--r--Changes.rst5
-rw-r--r--docs/cli-doc.txt3
-rwxr-xr-xsetup.py2
3 files changed, 9 insertions, 1 deletions
diff --git a/Changes.rst b/Changes.rst
index da10684..f6b4a09 100644
--- a/Changes.rst
+++ b/Changes.rst
@@ -1,3 +1,8 @@
+Changes for v3.1.0 (2022-07-24)
+===============================
+
+- Use configurable output grammar, compatible with YAML 1.1
+
Changes for v3.0.2 (2022-07-05)
===============================
diff --git a/docs/cli-doc.txt b/docs/cli-doc.txt
index a789de6..0128cf4 100644
--- a/docs/cli-doc.txt
+++ b/docs/cli-doc.txt
@@ -1,4 +1,5 @@
usage: yq [options] <jq filter> [input file...]
+ [--indentless-lists] [--in-place] [--version]
[jq_filter] [files [files ...]]
yq: Command-line YAML processor - jq wrapper for YAML documents
@@ -16,6 +17,8 @@ optional arguments:
Transcode jq JSON output back into YAML and emit it
--yaml-roundtrip, --yml-roundtrip, -Y
Transcode jq JSON output back into YAML and emit it. Preserve YAML tags and styles by representing them as extra items in their enclosing mappings and sequences while in JSON. This option is incompatible with jq filters that do not expect these extra items.
+ --yaml-output-grammar-version {1.1,1.2}, --yml-out-ver {1.1,1.2}
+ When using --yaml-output, specify output grammar (the default is 1.1 and will be changed to 1.2 in a future version). Setting this to 1.2 will cause strings like 'on' and 'no' to be emitted unquoted.
--width WIDTH, -w WIDTH
When using --yaml-output, specify string wrap width
--indentless-lists, --indentless
diff --git a/setup.py b/setup.py
index 2f19f3c..9a7f643 100755
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
setup(
name="yq",
- version="3.0.2",
+ version="3.1.0",
url="https://github.com/kislyuk/yq",
license="Apache Software License",
author="Andrey Kislyuk",