summaryrefslogtreecommitdiffstats
path: root/Changes.rst
blob: 689e987a0904918d7a07f660ffa8a23ed0c2edaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
Changes for v3.3.0 (2024-04-13)
===============================

-  tomlq: Use tomllib on Python 3.11 when not round-tripping

-  xq: Support in-place XML editing

-  Do not interpret characters that cannot be parsed in octal as int
   (#176)

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)
===============================

-  Allow XML documents to be streamed with –xml-item-depth

Changes for v3.2.1 (2023-04-04)
===============================

-  Relax tomlkit dependency version range to preserve Python 3.6
   compatibility (#165)

Changes for v3.2.0 (2023-04-03)
===============================

-  Use tomlkit instead of toml

-  Add security policy

-  Documentation and release infrastructure improvements

Changes for v3.1.1 (2023-02-21)
===============================

-  Handle TOML datetimes. Fixes #160

-  Test and documentation improvements

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)
===============================

-  Expand merge keys (https://yaml.org/type/merge.html). This is a YAML
   1.1 specific behavior, but will be accommodated in yq due to its
   widespread use and low likelihood of accidental invocation.

Changes for v3.0.1 (2022-07-04)
===============================

-  yq now uses the YAML 1.2 grammar when parsing and rendering YAML
   documents. This means bare literals like “on”, “no”, and “12:34:56”
   are interpreted as strings. (Fix interrupted release)

Changes for v3.0.0 (2022-07-04)
===============================

-  yq now uses the YAML 1.2 grammar when parsing and rendering YAML
   documents. This means bare literals like “on”, “no”, and “12:34:56”
   are interpreted as strings.

Changes for v2.14.0 (2022-02-20)
================================

-  Support binary and set tags. Fixes #140

Changes for v2.13.0 (2021-12-02)
================================

-  Armor against entity expansion attacks

-  Improve YAML loading performance by using CSafeLoader where available

-  Require PyYAML 5.3.1 or newer

-  Test and release infrastructure improvements

Changes for v2.12.2 (2021-06-13)
================================

-  Handle -n correctly

Changes for v2.12.1 (2021-06-13)
================================

-  Do not close fds on child process

Changes for v2.12.0 (2021-02-05)
================================

-  Add TOML support and the tomlq CLI utility to access it

-  Drop Python 2.7 support

Changes for v2.11.1 (2020-09-26)
================================

Parse correctly when empty string is passed as jq_filter

Changes for v2.11.0 (2020-09-03)
================================

-  Better handling of jq_filter and files arguments (#102)

-  Create **main**.py (#82)

Changes for v2.10.1 (2020-05-11)
================================

-  Add support for xmltodict force_list definition for xq CLI (#95)

-  Support explicit doc markers (#93)

-  Ensure proper ordering of help messages (#90)

Changes for v2.10.0 (2019-12-23)
================================

-  Add support for in-place editing (yq -yi)

-  Add argcomplete integration

-  Docs: Migrate from RTD to gh-pages

Changes for v2.9.2 (2019-11-04)
===============================

-  Fix interrupted release

Changes for v2.9.1 (2019-11-04)
===============================

-  Fix documentation build

Changes for v2.9.0 (2019-11-04)
===============================

-  Add -Y/–yaml-roundtrip for preserving YAML styles and tags

Changes for v2.8.1 (2019-10-28)
===============================

-  Filter out -C and separate commingled yq and jq short options

Changes for v2.8.0 (2019-10-25)
===============================

-  Set default block sequence indentation to 2 spaces, –indentless for 0

-  Make main body of yq callable as a library function

-  Test and release infrastructure updates

Changes for v2.7.2 (2019-01-09)
===============================

-  Support options introduced in jq 1.6. Fixes #46

-  xq: Re-raise if exception is unrecognized

Changes for v2.7.1 (2018-11-05)
===============================

-  xq: Introduce –xml-dtd and –xml-root. Fixes #37.

-  TOML support is optional and experimental

Changes for v2.7.0 (2018-08-04)
===============================

-  TOML support with the tq executable entry point.

-  Disallow argparse abbreviated options. Fixes #38 on Python 3.5+.

-  Now available in Homebrew as python-yq.

Changes for v2.6.0 (2018-04-28)
===============================

-  Packaging: Replace scripts with entry-points

-  Packaging: Package the license file

Changes for v2.5.0 (2018-04-02)
===============================

-  Parse unrecognized tags instead of dropping them. Fixes #23

Changes for v2.4.1 (2018-02-13)
===============================

-  Ignore unrecognized YAML tags instead of crashing

-  Explicitly disable XML entity expansion and mention in docs

-  xq -x: Raise understandable error on non-dict conversion failure

Changes for v2.4.0 (2018-02-08)
===============================

-  Support XML parsing with xmltodict

Changes for v2.3.7 (2018-02-07)
===============================

-  Fix for the –from-file/-f argument: Re-route jq_filter to files when
   using –from-file. Fixes #19.

Changes for v2.3.6 (2018-01-29)
===============================

-  Parse and pass multiple positional-consuming jq args

Changes for v2.3.5 (2018-01-29)
===============================

-  Support jq arguments that consume subsequent positionals (such as
   –arg k v) (#16).

Changes for v2.3.4 (2017-12-26)
===============================

-  Support bare YAML dates and times. Fixes #10

Changes for v2.3.3 (2017-09-30)
===============================

-  Avoid buffering all input docs in memory with no -y

-  End all json.dump output with newlines. Close all input streams.
   Fixes #8. Thanks to @bubbleattic for reporting.

Changes for v2.3.2 (2017-09-25)
===============================

-  Fix test suite on Python 3

Changes for v2.3.1 (2017-09-25)
===============================

-  Add support for multiple yaml files in arguments. Thanks to
   @bubbleattic (PR #7)

Changes for v2.3.0 (2017-08-27)
===============================

-  Handle multi-document streams. Fixes #6

-  Report version via yq --version

Changes for v2.2.0 (2017-07-07)
===============================

-  Stringify datetimes loaded from YAML. Fixes #5

Changes for v2.1.2 (2017-06-27)
===============================

-  Fix ResourceWarning: unclosed file

-  Internal: Make usage of loader argument consistent

-  Documentation improvements

Changes for v2.1.1 (2017-05-02)
===============================

-  Fix release script. Release is identical to v2.1.0.

Changes for v2.1.0 (2017-05-02)
===============================

-  yq now supports emitting YAML (round-trip YAML support) using "yq
   -y". Fixes #2.

-  Key order is now preserved in mappings/objects/dictionaries.

-  Passing input files by filename as an argument is now supported (in
   addition to providing data on standard input).

Changes for v2.0.2 (2017-01-16)
===============================

-  Test and documentation improvements

Changes for v2.0.1 (2017-01-14)
===============================

-  Fix description in setup.py

Changes for v2.0.0 (2017-01-14)
===============================

-  Begin 2.0.0 release series. This package's release series available
   on PyPI begins with version 2.0.0. Versions of ``yq`` prior to 2.0.0
   are distributed by https://github.com/abesto/yq and are not related
   to this package. No guarantees of compatibility are made between
   abesto/yq and kislyuk/yq. This package follows the
   ``Semantic   Versioning 2.0.0 <http://semver.org/>``\ \_ standard. To
   ensure proper operation, declare dependency version ranges according
   to SemVer. See the Readme for more information.