Mike Farah
13d1bbb45f
Generic ast ( #1829 )
...
Remove dependency on yaml.Node for internal AST representation. Yaml decoder is now just another decoder.
2023-10-18 12:11:53 +11:00
Mike Farah
cda69bff5e
Adding recipes
2023-09-01 12:17:54 +10:00
Anders Björklund
cf8cfbd865
Allow build without json and xml support ( #1556 )
...
* Refactor ordered_map into separate files
Separate json and xml, from the regular yaml.
Makes it possible to compile, without those...
* Refactor encoder and decoder creation
Use more consistent parameters vs globals
Return errors instead of calling panic()
* Allow build without json and xml support
2023-03-01 13:19:06 +11:00
Mike Farah
68f47c02c8
XML Decoder: Checking for invalid content outside of a root node #1448
2022-11-27 17:46:50 +11:00
Mike Farah
02be2b2918
Fixed issue where content surrounding tags are lost #1447
2022-11-27 17:29:27 +11:00
Mike Farah
51043770bf
Fixed log level, deleted commented code
2022-11-25 12:09:45 +11:00
Mike Farah
4478bd14c9
Fixed loading yaml with header issue #1445
2022-11-25 12:05:56 +11:00
Mike Farah
c887042a1b
Fixing null csv bug #1404
2022-10-30 22:02:08 +11:00
Mike Farah
d99614f55a
Slice array ( #1403 )
2022-10-29 18:15:21 +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
b20477210f
Added missing validation for adding sequences to maps #1341
2022-09-16 10:04:48 +10:00
Mike Farah
78e9cc7998
Envsubst params ( #1147 )
...
* Can give envsubst optional arguments
2022-03-20 10:56:50 +11:00
Mike Farah
58be9829f9
Added pick operator
2022-03-10 13:39:51 +11:00
Mike Farah
b35893d783
Date Time Ops ( #1110 )
...
* Added datetime operators
* Added date subtract support
2022-02-14 15:37:43 +11:00
Mike Farah
bfaafa66f9
Fixed SEGV error #1096
2022-02-09 11:47:21 +11:00
Mike Farah
703418d0c4
Automatically add "-" when piping and its missing
2022-02-07 09:09:11 +11:00
Mike Farah
1f367ac200
Added notification banner to docs
2022-02-06 14:39:46 +11:00
Mike Farah
0afb59c65e
Tests can have multiple env variables
2022-02-01 14:58:53 +11:00
Mike Farah
535799462f
Added eval operator
2022-02-01 14:47:51 +11:00
Mike Farah
a6fc7aa881
Updating docs
2022-01-28 10:06:25 +11:00
Mike Farah
394be5c65a
Debug github build
2022-01-27 12:47:06 +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
df32baedf1
Added XML decoder ( #1044 )
2021-12-21 15:02:07 +11:00
Matthieu MOREL
59752fb36d
enable more linters ( #1043 )
...
* enable revive linter
* enable gochecknoinits linter
* enable unconvert linter
* enable unparam linter
* enable asciicheck linter
* enable depguard linter
* enable nakedret linter
* enable megacheck linter
* enable nolintlint linter
* enable predeclared linter
* Update go.yml
* Update go.yml
2021-12-21 09:30:08 +11:00
Matthieu MOREL
8711042c98
enable errorlint linter
2021-11-24 09:14:02 +11:00
Mike Farah
33871bf007
Fixed header preprocessing!
2021-11-14 10:59:50 +11:00
Mike Farah
63f54563ea
wip
2021-11-14 10:59:50 +11:00
Mike Farah
d912d7d178
wip
2021-11-14 10:59:50 +11:00
Mike Farah
0b2688c0f1
Split printer
2021-10-30 10:04:41 +11:00
Mike Farah
8c1a96d121
Properties encoder wip
2021-07-25 18:08:33 +10:00
Mike Farah
4e628327c4
Better way of processing leading content
2021-07-20 10:19:55 +10:00
Mike Farah
519cf1dcd7
wip
2021-07-19 19:58:47 +10:00
Mike Farah
3a6f73e836
wip
2021-07-19 19:52:51 +10:00
Mike Farah
28a8721f49
Handle empty files
2021-07-16 21:08:20 +10:00
Mike Farah
ae4b606707
Fixed merge anchor bug #800
2021-05-09 13:26:02 +10:00
Mike Farah
c6efd5519b
Pass context through operators
...
Allows more sophisticated functionality
2021-02-11 10:58:40 +11:00
Mike Farah
626e9cacaf
Split doc operator
2021-02-11 10:58:40 +11:00
Mike Farah
e86f83fb69
Renaming pathtree to expression
2021-02-11 10:58:40 +11:00
Mike Farah
7d5b6b5442
Removed global vars
2021-02-11 10:58:40 +11:00
Mike Farah
7a184bef78
Env Ops!
2021-02-11 10:58:40 +11:00
Mike Farah
34bc33d5c5
strenv
2021-02-11 10:58:40 +11:00
Mike Farah
04491e13c3
Refactored doc generation, add fi fileIndex alias
2021-02-11 10:58:40 +11:00
Mike Farah
5aff50a345
Fixed updating yaml from other files
2021-02-11 10:58:40 +11:00
Mike Farah
a88c2dc5d3
Traverse Array Operator
2020-12-27 22:48:20 +11:00
Mike Farah
08f579f4e3
Fixed create yaml
2020-12-01 14:06:49 +11:00
Mike Farah
3a030651a3
Added append equals, merge append. Fixed creating numeric arrays
2020-11-28 11:24:16 +11:00
Mike Farah
3f04a1b52e
Fixed empty array op
2020-11-22 13:50:32 +11:00
Mike Farah
aed598c736
Fixing docs
2020-11-22 13:16:54 +11:00
Mike Farah
fc3af441e5
Extracted out evaluators
2020-11-22 11:56:28 +11:00
Mike Farah
d38caf6bc2
Added File operators
2020-11-20 22:57:32 +11:00