Mike Farah
88ce6ffcbe
Hotfix: actually update the default xml attribute prefix #1428
2022-11-13 11:13:34 +11:00
Mike Farah
83ef7ee5cf
Releasing yq
2022-11-11 14:55:03 +11:00
Mike Farah
ececd00fbd
Updated default xml naming prefix
2022-11-10 22:22:55 +11:00
Mike Farah
cad809515c
Refactoring
2022-11-10 22:07:53 +11:00
Mike Farah
1d35134310
Unwrap scalar now works for JSON encoding when explicitly set #1409
2022-11-10 19:21:18 +11:00
Mike Farah
5e490527de
Bumping version
2022-10-31 09:05:56 +11:00
Mike Farah
0cc5e75432
Bumping version
2022-10-29 18:24:19 +11:00
Mike Farah
880397d549
Refactored decoder responsibilities ( #1402 )
...
- improved comment handling
- yaml decoder now responsible for leading content work around
2022-10-28 14:16:46 +11:00
Mike Farah
24bbffd71e
xml prefs should be part of API
2022-10-25 14:27:16 +11:00
Mike Farah
6d6b693fb3
Added XML processing instructions and directive support ( #1396 )
2022-10-24 10:09:42 +11:00
Mike Farah
1f0881fb5f
Bumping version
2022-10-19 11:14:32 +11:00
dependabot[bot]
9ca20451b7
Bump github.com/spf13/cobra from 1.5.0 to 1.6.0 ( #1380 )
...
* Bump github.com/spf13/cobra from 1.5.0 to 1.6.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fixed deprecated usage of ExactArgs
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Farah <mikefarah@gmail.com>
2022-10-17 15:15:19 +11:00
Mike Farah
ffe635f943
Bumping version
2022-10-05 20:15:02 +11:00
Mike Farah
9b6961875e
Bumping version
2022-09-09 12:29:41 +10:00
Mike Farah
851d93e5a8
Bumping version
2022-09-09 11:23:14 +10:00
Mike Farah
3d11b0545d
Bumping version
2022-08-29 15:41:07 +10:00
Mike Farah
1c7dc0e88a
Bug fix
2022-08-01 16:27:42 +10:00
Mike Farah
6dfef716d7
Bumping version
2022-08-01 14:00:13 +10:00
Mike Farah
c8815f5ab9
Csv decoder ( #1290 )
...
* WIP: adding CSV decoder
* Adding CSV decoder
* Added CSV roundtrip
* Fixing from review
2022-08-01 10:28:34 +10:00
Mike Farah
b9a1ef89fe
Added NDJSON decoder ( #1281 )
2022-07-27 12:26:22 +10:00
Mike Farah
c2c48bbe1d
Bumping version
2022-07-15 10:27:18 +10:00
Daniel Carbone
98b411f82e
adding support for --wrapScalar=false in properties encoder ( #1241 )
...
* adding support for --wrapScalar=false in properties encoder
* altering encoder and decoder tests somewhat
* adding .idea
* Revert "altering encoder and decoder tests somewhat"
This reverts commit e3655130e2
.
* adding test scenario for encoding with wrapped scalars
2022-06-25 12:22:03 +10:00
Mike Farah
b669844ef7
Bumping version
2022-06-23 19:45:54 +10:00
Sandro
7fe937c61e
Map -r to --unwrapScalar to be more a drop in replacement for jq ( #1245 )
2022-06-23 14:31:31 +10:00
Mike Farah
2bc7dcfcca
Handle xml namespaces by default
2022-06-15 17:12:57 -07:00
rndmit
b9309a42a4
XML decoder additions ( #1239 )
...
* Add xml-keep-namespace and xml-raw-token features
* Add tests
* Change flags usage strings
* Append docs
2022-06-15 09:40:31 +10:00
Mike Farah
70403375d7
Bumping version
2022-05-28 13:38:53 +10:00
Mike Farah
fbe49c3700
Added colors to json output #1208
2022-05-22 21:19:59 +10:00
Mike Farah
1425d0720e
Bumping version
2022-04-29 11:57:37 +10:00
Mike Farah
55c5497fab
Can specify a split expression file #1194
2022-04-29 11:08:41 +10:00
Mike Farah
70ad7a35a8
Don't automatically read stdin when the null input flag is used
2022-04-27 09:24:25 +10:00
Mike Farah
3ad5355777
Fixes bug when using inplace with no expression and multiple files #1193
2022-04-27 09:08:50 +10:00
Mike Farah
ed5b811f37
Bumping version
2022-04-15 08:51:55 +10:00
Mike Farah
5d225b9454
Updating readme
2022-03-29 13:15:27 +11:00
Mike Farah
bc2118736b
v4.24.2
2022-03-28 14:36:27 +11:00
Mike Farah
1780027421
Bumping version
2022-03-28 14:24:28 +11:00
Mike Farah
bbeae229ca
Disable strict XML parsing by default #1155
2022-03-28 14:05:10 +11:00
Mike Farah
03f57b7034
Bumping version
2022-03-20 13:03:40 +11:00
Mike Farah
e08b6803f5
Simplify json > yaml cli example
2022-03-20 10:58:37 +11:00
justin-f-perez
1a964c5055
update cli help ( #1146 )
...
- remove duplicate comment
- add common use case (json -> idiomatic yml)
2022-03-20 10:54:24 +11:00
Mike Farah
3924ed8a35
Bumping version
2022-03-10 13:50:53 +11:00
Mike Farah
33a29817d7
Can load expressions from file #1120
2022-03-01 11:50:09 +11:00
Mike Farah
f0b37ea06d
Bumping version
2022-02-27 12:03:10 +11:00
Mike Farah
558a18029a
Bumping version
2022-02-20 14:34:55 +11:00
Mike Farah
304fc462a4
No longer auto-read from STDIN if there are files given ( #1115 )
2022-02-20 13:15:21 +11:00
Mike Farah
6374098cdc
Bumping version
2022-02-15 13:40:47 +11:00
Mike Farah
a9c3617b4f
Decoder Properties ( #1099 )
...
* Decoder Properties
* Added properties round trip test
* Fixed property decode for github actions
* Refactored XML test to use common functions
* Switched formatScenario parameter order for more readablity
2022-02-10 12:02:53 +11:00
Mike Farah
26356ff4be
Added github action fix for parsing xml, updated linter
2022-02-07 11:55:55 +11:00
Mike Farah
2891c6948d
Added expression argument to forcibly set expression if required
2022-02-07 09:27:52 +11:00
Mike Farah
703418d0c4
Automatically add "-" when piping and its missing
2022-02-07 09:09:11 +11:00
Mike Farah
75960c6484
Allow multiple files with no expression
2022-02-07 08:23:53 +11:00
Mike Farah
5ac3c57510
Fixed bug - ignore path expressions that match a directory
2022-02-07 08:04:26 +11:00
Mike Farah
926a68181b
Bumping version
2022-02-06 14:39:56 +11:00
Mike Farah
535799462f
Added eval operator
2022-02-01 14:47:51 +11:00
Mike Farah
9b7c80a76b
Bumbing version
2022-01-28 10:06:25 +11:00
Mike Farah
a6fc7aa881
Updating docs
2022-01-28 10:06:25 +11:00
Mike Farah
dedd1ca892
Fixing github build
2022-01-27 15:54:26 +11:00
Mike Farah
3ba728d40c
Working around github strangeness
2022-01-27 13:54:29 +11:00
Mike Farah
8761920f58
Debug github build
2022-01-27 13:24:05 +11:00
Mike Farah
4ec533bc1b
No longer have to specify eval!
2022-01-27 12:07:41 +11:00
Mike Farah
fc276ff450
Smarter behaviour when piping data in with one argument
2022-01-27 10:18:46 +11:00
Mike Farah
71242b0c8e
Fix Seg Fault on bad split expression input #1086
2022-01-27 09:29:41 +11:00
Mike Farah
a0ba208669
Bumping release
2022-01-22 11:57:19 +11:00
Mike Farah
02252e8e69
Bumping version
2022-01-22 11:48:08 +11:00
Mike Farah
2526b03d67
Added JSON conversion tests and doc generation
2022-01-21 20:26:19 +11:00
Mike Farah
ec8ef312ef
Added XML encoding/decoding ( #1067 )
...
* Added XML encoding/decoding
* Minor fixes
* Improve yq doc
* Lint
2022-01-15 11:57:59 +11:00
Mike Farah
606ef91cc6
Better fix #1062 (return error instead of panic)
2022-01-14 15:40:24 +11:00
Mike Farah
c48b1612df
Updating cli docs
2021-12-21 17:07:32 +11:00
Mike Farah
6763ae6e7b
Added xml acceptance tests
2021-12-21 17:05:33 +11:00
Mike Farah
2ee9c65bc2
Added global xml prefs for simplicity
2021-12-21 16:52:54 +11:00
Mike Farah
df32baedf1
Added XML decoder ( #1044 )
2021-12-21 15:02:07 +11:00
Mike Farah
915e9de437
Bumping version
2021-12-21 09:41:46 +11:00
Mike Farah
d0fda699e4
Bumping version
2021-12-04 14:00:27 +11:00
Matthieu MOREL
15d7c9e118
enable misspell linter
2021-11-25 22:01:30 +11:00
Mike Farah
7f5bf4b326
Bumping version
2021-11-24 10:59:31 +11:00
Mike Farah
a17c97b515
Bumping version
2021-11-14 11:09:53 +11:00
Mike Farah
2ace48c70d
Bumping version
2021-10-30 14:08:13 +11:00
Mike Farah
2b3d0552a6
Refactored command logic
2021-10-30 13:04:05 +11:00
Mike Farah
0b2688c0f1
Split printer
2021-10-30 10:04:41 +11:00
Mike Farah
57f058555c
Bumping version
2021-10-21 20:08:32 +11:00
Mike Farah
67541a2fe9
Keep flag, it is needed in corner cases
2021-10-15 11:47:00 +11:00
Mike Farah
0064b68ed9
Revert "Removed leadingContentPreProcessing flag - header preprocessing is stable"
...
This reverts commit 4ce9433468
.
2021-10-15 11:47:00 +11:00
Mike Farah
4ce9433468
Removed leadingContentPreProcessing flag - header preprocessing is stable
2021-10-15 08:53:00 +11:00
Mike Farah
d363963f98
Bump version
2021-10-11 14:50:17 +11:00
Emmanuel Bourg
bec30e910f
Fix a typo in root.go
2021-10-07 13:43:57 +11:00
Mike Farah
b8aeb76f29
Bump version
2021-10-02 15:14:45 +10:00
Mike Farah
e052ff8025
New release with docker build fixes
2021-09-20 11:58:21 +10:00
Mike Farah
222bfd3d17
Bumping version
2021-09-20 10:40:27 +10:00
Mike Farah
4123669efe
Help text tweak
2021-09-20 09:57:41 +10:00
Mike Farah
3339562aa2
Bumping version
2021-09-15 15:19:19 +10:00
Mike Farah
6ba8dc75a6
Bumping version
2021-09-05 11:11:51 +10:00
Mike Farah
b72d225092
Bumping version
2021-08-27 09:33:57 +10:00
Mike Farah
fe12407c93
Bumping version
2021-08-20 16:03:59 +10:00
Mike Farah
d18aa3e9e0
Added shorthand output formats
2021-08-20 15:46:33 +10:00
Mike Farah
10d4eb3381
Updated to use -o for output format
2021-08-20 13:35:57 +10:00
Mike Farah
43f47c4ed9
wip - pretty print 1.1 compat mode
2021-08-20 12:23:35 +10:00
Mike Farah
8c1a96d121
Properties encoder wip
2021-07-25 18:08:33 +10:00
Mike Farah
f89a133558
Version bump
2021-07-24 15:08:30 +10:00
Mike Farah
66b248ac18
Version bump
2021-07-20 11:05:22 +10:00
Mike Farah
8508d3309b
More efficient front matter processor
2021-07-20 10:38:42 +10:00