Mike Farah
f42355cf9f
Force re-release
2021-02-10 17:12:54 +11:00
Mike Farah
44bc9971c1
Fixed write-inplace with no expression
2021-02-10 17:06:16 +11:00
Ben Moss
54cf6cf282
Fix pretty-printing
...
Fixes #716 #715
2021-02-10 16:56:44 +11:00
Mike Farah
29db5ebf4d
Version increment
2021-02-10 16:55:05 +11:00
Mike Farah
abaf299115
Preserve comments on map keys
2021-02-10 16:48:10 +11:00
Mike Farah
e9c5573a89
Added space example to docs
2021-02-05 15:00:46 +11:00
Mike Farah
e0fdbe7f35
update deps
2021-02-05 14:57:45 +11:00
Mike Farah
ebfc7212e2
Fixed merge dropping anchors
2021-02-05 14:40:16 +11:00
Mike Farah
ca10ede102
improving docs
2021-02-05 13:32:07 +11:00
Mike Farah
e76a2f3de6
Fixing special character example
2021-02-05 13:29:35 +11:00
Mike Farah
b702686891
Added not equals operator
2021-02-05 09:54:03 +11:00
Mike Farah
c284d4c6b1
Equals now only compares scalars
2021-02-05 09:49:40 +11:00
Mike Farah
63883d3000
Fixed delete bug
2021-02-04 13:47:59 +11:00
Mike Farah
3014192ce8
fixed instructions
2021-02-04 13:12:16 +11:00
Mike Farah
ebeb1146ba
v4.5.0
2021-02-04 13:04:53 +11:00
Mike Farah
0bb53ec770
Fixed delete bug
2021-02-04 12:48:07 +11:00
Mike Farah
a50e154652
Added variable doc
2021-02-04 12:44:03 +11:00
Mike Farah
f91d30e46c
Fixed variable precedence
2021-02-04 12:39:04 +11:00
Mike Farah
07b053f040
Fixing op precedences
2021-02-04 12:18:54 +11:00
Mike Farah
35c97e832e
Fixing op precedences
2021-02-03 17:11:47 +11:00
Mike Farah
8a5c47906e
Added variables
2021-02-03 15:51:26 +11:00
Mike Farah
a366cacad3
Dont create entries when selecting
2021-02-03 11:56:35 +11:00
Mike Farah
7c8d3b9e70
Pass context through operators
...
Allows more sophisticated functionality
2021-02-03 11:56:35 +11:00
Mike Farah
ca10642e23
Added funding button
2021-02-01 15:50:57 +11:00
zy
73518f3915
change version from master to latest(v4)
2021-01-27 10:09:32 +11:00
zy
348ddb7a59
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-01-27 10:09:32 +11:00
Mike Farah
f46fe384bd
Fixed length of null to be zero
2021-01-26 10:21:16 +11:00
Mike Farah
071ec3c08c
fixing docker pipeline for nextime
2021-01-21 21:15:21 +11:00
Mike Farah
c2ed3a3e6d
attempt to fix dockre
2021-01-21 21:11:04 +11:00
Mike Farah
cc4c69bc89
Fixed bad docker version
2021-01-21 21:07:55 +11:00
Mike Farah
917fd0eb6a
Bump version
2021-01-18 14:10:35 +11:00
Mike Farah
b2056a2056
Can add and merge append to null
2021-01-18 13:58:46 +11:00
evnp
ba59201217
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-01-18 13:33:02 +11:00
Mike Farah
cfddee9101
Fixed cross-function combinatorial bug
2021-01-18 13:28:40 +11:00
Mike Farah
1941bb66a5
wip
2021-01-18 10:15:31 +11:00
Mike Farah
29af9e4c63
thoughts
2021-01-16 14:56:52 +11:00
Mike Farah
af3a9ae846
cross function fix wip
2021-01-16 14:09:49 +11:00
Mike Farah
5fb88627ca
Fixed doker instructions
2021-01-15 09:44:02 +11:00
Mike Farah
4fc3793fcb
Fixing multiply doc
2021-01-14 20:28:57 +11:00
Mike Farah
d612897e89
Incrementing version
2021-01-14 19:50:37 +11:00
Mike Farah
806f906041
Added keys operator
2021-01-14 15:45:07 +11:00
Mike Farah
e8b2f6e383
Added split string operator
2021-01-14 15:05:50 +11:00
Mike Farah
e419b5a39d
Added join strings operator
2021-01-14 14:46:50 +11:00
Mike Farah
a5b6e08282
Split doc operator
2021-01-14 14:25:31 +11:00
Mike Farah
2417c0ee8f
Fixing add,multiply,alternative operator precendences
2021-01-14 11:16:04 +11:00
Mike Farah
d3b2e37b66
Fixed remove comments example
2021-01-14 09:12:14 +11:00
Mike Farah
54723c1a36
Dont use pointer for env prefs (avoid nil)
2021-01-13 17:00:53 +11:00
Mike Farah
0318c80d33
Dont use pointer for recursive prefs (avoid nil)
2021-01-13 17:00:03 +11:00
Mike Farah
8980846632
Dont use pointer for multiply prefs (avoid nil)
2021-01-13 16:59:01 +11:00
Mike Farah
0fb62d3ae1
Dont use pointer for commment prefs (avoid nil)
2021-01-13 16:56:24 +11:00
Mike Farah
85398727ad
Added merge if empty
2021-01-13 16:54:28 +11:00
Mike Farah
0bf3d781f6
Added operator level doc
2021-01-13 15:23:26 +11:00
Mike Farah
5c15936bf3
Incrementing version
2021-01-13 10:29:06 +11:00
Mike Farah
b0735d8152
Renaming pathtree to expression
2021-01-13 10:25:26 +11:00
Mike Farah
f17cbfd007
Removed global vars
2021-01-13 10:04:52 +11:00
Mike Farah
7b7ab70286
UnwrapDoc now private
2021-01-13 10:00:51 +11:00
Mike Farah
43165fa340
Moved eval function to eval interface
2021-01-13 09:35:57 +11:00
Mikhail Katychev
feda9f044d
added lib_test.go
2021-01-13 09:22:40 +11:00
Mikhail Katychev
85629af59c
added EvaluateNodes and EvaluateCandidateNodes to yqlib
2021-01-13 09:22:40 +11:00
Mike Farah
5fc26e9453
Merge now copies anchor names
2021-01-13 09:21:16 +11:00
Mike Farah
07a6fa4df5
Fixed creation of candidateNode in operators to include file metadata
2021-01-12 19:36:28 +11:00
Mike Farah
ec29ee7c14
Cleaning up exposed public api
2021-01-12 09:58:50 +11:00
Mike Farah
24538c0cc7
Fixed tag operator for top level node
2021-01-12 09:45:57 +11:00
Mike Farah
61398bfd3a
Fixed equals operator for top level node
2021-01-12 09:40:37 +11:00
Mike Farah
f7d95021c1
Fixed has operator for top level node
2021-01-12 09:30:24 +11:00
Mike Farah
6bb8b1fb77
fixing exposed functions and interfaces
2021-01-11 17:13:48 +11:00
Mike Farah
5e2c19cc86
fixing exposed functions and interfaces
2021-01-11 16:46:28 +11:00
Mike Farah
30c269a66c
Better add documentation
2021-01-11 15:52:06 +11:00
Mike Farah
70a1c60d7b
Added scalar addition
2021-01-11 15:43:50 +11:00
Mike Farah
e4d48bbc0d
Fixed collect at document level
2021-01-11 14:44:53 +11:00
Mike Farah
369ff94ad0
Better error handling will empty env
2021-01-11 14:38:53 +11:00
Mike Farah
1c7fb14631
Better recursive decent docs
2021-01-10 11:27:18 +11:00
Mike Farah
f4de5c4300
Better docIndex docs
2021-01-10 11:18:13 +11:00
Mike Farah
a72c14f06b
Better env docs
2021-01-10 11:09:59 +11:00
Mike Farah
5ed52aca66
Merged env commands in :eye-roll:
2021-01-10 10:51:23 +11:00
Mike Farah
5a5ac0dfef
Merge branch 'env_var'
2021-01-10 10:50:31 +11:00
Mike Farah
5a55869745
Bump version
2021-01-09 12:23:20 +11:00
Mike Farah
15e18bb98b
Error when passing files and using null-input flag
2021-01-09 12:23:06 +11:00
Mike Farah
644063646e
Env Ops!
2021-01-09 12:06:19 +11:00
Mike Farah
aabed1a237
strenv
2021-01-09 11:38:08 +11:00
Mike Farah
c12764dba8
wip
2021-01-08 21:09:43 +11:00
Mike Farah
1d5ecb244d
wip
2021-01-08 21:07:46 +11:00
Mike Farah
7798a141cf
Bumped go yaml for comment hanlding fixes
2021-01-08 20:56:54 +11:00
Mike Farah
b7583a538d
Added webi
2021-01-08 12:14:36 +11:00
Mike Farah
529e88b630
Added recurse examples
2021-01-08 12:11:29 +11:00
Mike Farah
658006eb93
Added another delete example
2021-01-08 11:59:49 +11:00
Mike Farah
2743a7e058
Can assign-update tag
2021-01-06 20:44:28 +11:00
Mike Farah
f95862fba3
Can assign-update style
2021-01-06 20:37:53 +11:00
Mike Farah
3f58c4bc38
Can assign-update aliases and anchors
2021-01-06 20:30:48 +11:00
Mike Farah
a7975df7cd
Can assign-update comments
2021-01-06 20:22:50 +11:00
Mike Farah
3d5a5e0360
updating readme
2021-01-06 15:33:20 +11:00
Mike Farah
155755ae2f
brew v3!
2021-01-06 15:22:29 +11:00
Mike Farah
601c13531c
Updated collect objcet doc
2021-01-06 15:20:54 +11:00
Mike Farah
69d00c89df
Added shorthand document index selection
2021-01-05 13:28:37 +11:00
Mike Farah
2faff7b05f
Unwrap node in get tag to return proper tag at root level
2021-01-05 13:23:03 +11:00
Mike Farah
165949041d
Added v3 snap instructions
2021-01-05 13:05:03 +11:00
Mike Farah
dbd7ab0f13
Refactored doc generation, add fi fileIndex alias
2021-01-02 10:49:33 +11:00
Mike Farah
6d512ad718
Fixed updating yaml from other files
2021-01-02 10:27:32 +11:00
Mike Farah
4fef4a7ab1
update issue template, instruct questions to be raised in disussion
2020-12-31 13:43:44 +11:00
Mike Farah
dcb17b51a9
fixed heading
2020-12-31 09:33:15 +11:00
Mike Farah
385417556d
added tar.gz instructions
2020-12-31 09:30:59 +11:00