Mike Farah
f7b50e9853
Fixed += operator ( https://github.com/mikefarah/yq/issues/750 )
2021-03-19 12:36:05 +11:00
Mike Farah
4f3fe256aa
Fixed precedence of CREATE_MAP ( https://github.com/mikefarah/yq/issues/753 )
2021-03-19 12:09:32 +11:00
Mike Farah
2595a929c9
Fixing doc links
2021-03-19 11:52:13 +11:00
Mike Farah
b2186d5404
Added gosec
2021-03-03 19:44:34 +11:00
Mike Farah
e93c43f7a0
Improving docs
2021-02-26 11:31:43 +11:00
Mike Farah
b1a5387cdd
Update readme
2021-02-25 17:04:08 +11:00
Mike Farah
5911ab2929
Bump version
2021-02-25 16:52:49 +11:00
Mike Farah
2ed5b2ff59
Improved lexer performance!
2021-02-25 16:47:55 +11:00
Mike Farah
111c6e0be1
Increment version
2021-02-18 11:19:16 +11:00
Mike Farah
81136ad57e
Arrays no longer deeply merge by defauly, like jq
2021-02-18 11:16:54 +11:00
Mike Farah
a6cd250987
nicer reduce example
2021-02-15 18:23:50 +11:00
Mike Farah
ee1f55630f
nicer reduce example
2021-02-15 17:33:41 +11:00
Mike Farah
9072e8d3b3
Added context variable for reduce
2021-02-15 17:31:12 +11:00
Mike Farah
99b08fd612
Added reduce examples and doc
2021-02-15 16:38:53 +11:00
Mike Farah
b2317a14ef
infix reduce
2021-02-15 16:06:37 +11:00
Mike Farah
3e5f7b147f
infix reduce
2021-02-15 15:31:55 +11:00
Mike Farah
c4faa70143
wip - reduce!
2021-02-15 14:27:00 +11:00
Mike Farah
4d6d07ec43
Force re-release
2021-02-11 10:58:40 +11:00
Mike Farah
bd0818c481
Fixed write-inplace with no expression
2021-02-11 10:58:40 +11:00
Ben Moss
26742b2597
Fix pretty-printing
...
Fixes #716 #715
2021-02-11 10:58:40 +11:00
Mike Farah
64c618c041
Version increment
2021-02-11 10:58:40 +11:00
Mike Farah
c4c8e5e7b0
Preserve comments on map keys
2021-02-11 10:58:40 +11:00
Mike Farah
e02ad4d7e8
Added space example to docs
2021-02-11 10:58:40 +11:00
Mike Farah
dd17f072cf
update deps
2021-02-11 10:58:40 +11:00
Mike Farah
429c3ca65b
Fixed merge dropping anchors
2021-02-11 10:58:40 +11:00
Mike Farah
cfcac6d1dc
improving docs
2021-02-11 10:58:40 +11:00
Mike Farah
a5ddbca97f
Fixing special character example
2021-02-11 10:58:40 +11:00
Mike Farah
30027a8cf4
Added not equals operator
2021-02-11 10:58:40 +11:00
Mike Farah
f92a42e4f8
Equals now only compares scalars
2021-02-11 10:58:40 +11:00
Mike Farah
3c466dc66e
Fixed delete bug
2021-02-11 10:58:40 +11:00
Mike Farah
0816e16d30
fixed instructions
2021-02-11 10:58:40 +11:00
Mike Farah
802d54e14e
v4.5.0
2021-02-11 10:58:40 +11:00
Mike Farah
10600dd29a
Fixed delete bug
2021-02-11 10:58:40 +11:00
Mike Farah
3a464272d4
Added variable doc
2021-02-11 10:58:40 +11:00
Mike Farah
691efadfac
Fixed variable precedence
2021-02-11 10:58:40 +11:00
Mike Farah
6efe4c4797
Fixing op precedences
2021-02-11 10:58:40 +11:00
Mike Farah
9e56b364c2
Fixing op precedences
2021-02-11 10:58:40 +11:00
Mike Farah
85ec32e3db
Added variables
2021-02-11 10:58:40 +11:00
Mike Farah
5c73132c8e
Dont create entries when selecting
2021-02-11 10:58:40 +11:00
Mike Farah
c6efd5519b
Pass context through operators
...
Allows more sophisticated functionality
2021-02-11 10:58:40 +11:00
Mike Farah
3bae44be68
Added funding button
2021-02-11 10:58:40 +11:00
zy
48a7c59c4b
change version from master to latest(v4)
2021-02-11 10:58:40 +11:00
zy
851fbd8cf5
fix: go install fails
...
Installation by go will result in an error:
module declares its path as: xxx,
but was required as: xxx.
Go install with master branch will fix it.
fix : #676
2021-02-11 10:58:40 +11:00
Mike Farah
820a3320be
Fixed length of null to be zero
2021-02-11 10:58:40 +11:00
Mike Farah
61f569aebb
fixing docker pipeline for nextime
2021-02-11 10:58:40 +11:00
Mike Farah
9ff51cd066
attempt to fix dockre
2021-02-11 10:58:40 +11:00
Mike Farah
9dd6d11362
Fixed bad docker version
2021-02-11 10:58:40 +11:00
Mike Farah
83139e21d9
Bump version
2021-02-11 10:58:40 +11:00
Mike Farah
c77001f969
Can add and merge append to null
2021-02-11 10:58:40 +11:00
evnp
1be3b31bbc
Don't escape HTML chars when converting to json
...
json.Encoder and json.Marshal implicitly use HTMLEscape to convert
>, <, &, with \u003c, \u003e, \u0026. This behavior carries over
to yq, where chars will be escaped when outputting json but not when
outputting yaml.
This changeset disables this behavior via encoder.SetEscapeHTML(false).
Unfortunately there is no equivalent option for json.Marshal, so its
single usage has been replaced with an encoder (with escaping disabled).
2021-02-11 10:58:40 +11:00