From ee87412fa89add226d263ec7885193e07243aa4c Mon Sep 17 00:00:00 2001 From: Andrey Kislyuk Date: Sat, 9 Sep 2023 14:41:55 -0700 Subject: [PATCH] v3.2.3 --- Changes.rst | 9 +++++++++ docs/cli-doc-tomlq.txt | 2 +- docs/cli-doc-xq.txt | 8 +++----- docs/cli-doc.txt | 7 +++++-- setup.py | 2 +- 5 files changed, 19 insertions(+), 9 deletions(-) diff --git a/Changes.rst b/Changes.rst index a500cd2..0e8bfa8 100644 --- a/Changes.rst +++ b/Changes.rst @@ -1,3 +1,12 @@ +Changes for v3.2.3 (2023-09-09) +=============================== + +- test.py: use valid values for jsonargs. Fixes #172 + +- Allow editing toml in place (#171) + +- Documentation improvements + Changes for v3.2.2 (2023-04-22) =============================== diff --git a/docs/cli-doc-tomlq.txt b/docs/cli-doc-tomlq.txt index 637156a..7c29e19 100644 --- a/docs/cli-doc-tomlq.txt +++ b/docs/cli-doc-tomlq.txt @@ -9,7 +9,7 @@ positional arguments: jq_filter files -optional arguments: +options: -h, --help show this help message and exit --toml-output, -t Transcode jq JSON output back into TOML and emit it --in-place, -i Edit files in place (no backup - use caution) diff --git a/docs/cli-doc-xq.txt b/docs/cli-doc-xq.txt index 65dd264..396594a 100644 --- a/docs/cli-doc-xq.txt +++ b/docs/cli-doc-xq.txt @@ -11,15 +11,13 @@ positional arguments: jq_filter files -optional arguments: +options: -h, --help show this help message and exit --xml-output, -x Transcode jq JSON output back into XML and emit it - --xml-item-depth XML_ITEM_DEPTH - Specify depth of items to emit (default 0; use a positive integer to stream large docs) + --xml-item-depth 123 Specify depth of items to emit (default 0; use a positive integer to stream large docs) --xml-dtd Preserve XML Document Type Definition (disables streaming of multiple docs) --xml-root XML_ROOT When transcoding back to XML, envelope the output in an element with this name - --xml-force-list XML_FORCE_LIST - Emit a list for elements with this name even if they occur only once (option can repeat) + --xml-force-list ELT Emit a list for elements with this name even if they occur only once (option can repeat) --in-place, -i Edit files in place (no backup - use caution) --version show program's version number and exit diff --git a/docs/cli-doc.txt b/docs/cli-doc.txt index e0d9cae..8880e75 100644 --- a/docs/cli-doc.txt +++ b/docs/cli-doc.txt @@ -1,5 +1,6 @@ usage: yq [options] [input file...] - [--indentless-lists] [--in-place] [--version] + [--indentless-lists] [--explicit-start] [--explicit-end] + [--in-place] [--version] [jq_filter] [files ...] yq: Command-line YAML processor - jq wrapper for YAML documents @@ -11,7 +12,7 @@ positional arguments: jq_filter files -optional arguments: +options: -h, --help show this help message and exit --yaml-output, --yml-output, -y Transcode jq JSON output back into YAML and emit it @@ -23,6 +24,8 @@ optional arguments: When using --yaml-output, specify string wrap width --indentless-lists, --indentless When using --yaml-output, indent block style lists (sequences) with 0 spaces instead of 2 + --explicit-start When using --yaml-output, always emit explicit document start ("---") + --explicit-end When using --yaml-output, always emit explicit document end ("...") --in-place, -i Edit files in place (no backup - use caution) --version show program's version number and exit diff --git a/setup.py b/setup.py index 41bd2cd..ac86355 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name="yq", - version="3.2.2", + version="3.2.3", url="https://github.com/kislyuk/yq", license="Apache Software License", author="Andrey Kislyuk",