Skip to content

Releases: josephburnett/jd

v2.1.2

17 Feb 05:05
Compare
Choose a tag to compare

1644f50 Set version 2.1.2
ab2d2c2 Merge branch 'master' into release-2.1
ae549aa Update action.yml
66c6936 Set version 2.1.1
711b0c6 Merge branch 'master' into release-2.1
5ad59f8 Remove unnecessary dir and err
1a04f2d Do not include error in output
7279de5 Run in github workspace
ca93531 Action uses absolute path to jd
564fa57 Output with = not ::
23552d7 String split args

v2.1.1

17 Feb 04:37
Compare
Choose a tag to compare

New GitHub Action!

v2.1.0

15 Feb 20:10
Compare
Choose a tag to compare

d966630 Set version 2.1.0
ae47fa6 Add action version check
9ad6986 Copy from absolute path
858755a Use arg 0 to wrap as action
f048eda GitHub output adaptor
9108c30 Update git-diff-driver to V2
f79e55c Get GOROOT from go env tool
4147f1d Bump gopkg.in/yaml.v3 from 3.0.0-20200615113413-eeeca48fe776 to 3.0.0
0dc0396 Update library usage version note

v2.0.2

15 Feb 05:46
Compare
Choose a tag to compare

02bcafc Set version 2.0.2
d5c3d0b Get GOROOT from go env tool

v2.0.1

10 Feb 03:21
Compare
Choose a tag to compare

ba67648 Set version 2.0.1
e6fa88b Bump gopkg.in/yaml.v3 from 3.0.0-20200615113413-eeeca48fe776 to 3.0.0

v2.0.0

09 Feb 19:41
Compare
Choose a tag to compare

This release changes jd to the V2 API by default. You can still use the V1 API with -v2=false. The V2 API adds the following features:

  1. Produces a minimal diff between array elements using LCS algorithm.
  2. Adds context before and after when modifying an array to prevent bad patches.

b7b3ffd Set version 2.0.0
993046e Turn on v2 API by default
81a04f5 Exit code 0 on successful patch
8521e7e Remove logo
85f7276 Update examples to v2
073cdb5 Include example in README.md
c911d87 Update UI with v2 API
e80cd9b Enable v2 merge translation
52f8080 Enable v2 patch translation
03bdda3 Fix bad patch test case
8bde27d Coalece diff elements after reading patch
0985f0c Trim only context from patch
83745d9 Coalece in progress
ce9d9fb Take into account add without remove
7a60d0b Update op after reading context
250db44 Use prev and next paths
a9b1208 Empty path mean no context
e36810f Last tests for context
2fd78ae More tests
5643aaf Test getting context from patch
5ce749a Read and write v2 patch context
1315082 Update README.md
c59db45 chore: update index.html
8231a44 Update v2.md
ee85823 Notes on YAML-JSON mapping
1fc141c Update go.yml
e87608c V2 no longer separate module

v1.9.2

09 Feb 19:25
Compare
Choose a tag to compare

04e983b Set version 1.9.2
a36f8e9 Exit code 0 on successful patch

v1.9.1

19 Aug 15:13
Compare
Choose a tag to compare

32aea9a Set version 1.9.1
c3c342b V2 no longer separate module

v1.9.0

18 Aug 22:28
Compare
Choose a tag to compare

This release includes a preview of the v2 API. The v2 API
produces minimal diffs for lists. And it includes a new format
with context to support it. You can try it out with the -v2
flag.

bd4d7e2 Set version 1.9.0
6125a15 Make vendor
7985941 Add vendor target before release
2aef56f Reformat .PHONY directives
128d245 Update README.md
1f854f4 Clarify -precision comments
6446402 Noop JSON Patch [] and noop JSON Merge Patch {}
6132595 Port precision to v2
3846799 Use slices from experimental
0b05a7b Revert "Upgrade v2 to 1.21"
ef44caa Upgrade v2 to 1.21
1bccd65 go mod tidy and vendor in lib and v2
5509377 go mod vendor
04a032d Only set after context on a single diff element
60a3e81 Previous should be from list b
0beb845 Update dependencies
6a3563e Add the -v2 flag to try out the new API
17354e1 Merge branch 'master' into lcs3
53844ff A few more context tests
ec9f62f Check before and after context
8b0379e More list patch test context
6929b83 Start new diff element after reading after context
c4fcc9e Read diff context
6035605 Fix object test expectation
fa7a502 Fix some edge cases
5ce3586 More simple list diff implementation
8e742b1 Web UI with arguments give error
0a1ac0a Accept number-like keys in JSON Pointers
1e10b14 Prevent -precision with -set or -mset options
56b2cb3 Add precision to the commandline
015cbcc Add test for precision in object
cf8d025 Update instructions for including the UI
0c20aab Fix context before
7b15f05 Add context to diff
c30f084 More list patch tests for LCS
7c606b5 More list diff tests for LCS
cec575c Advance path cursor when both adding and removing
a466ab6 Do not reverse path cursor
7ebb35b Apply patch diff adds in reverse order
4d0e97b Render patch diff with multiple add and remove
ea86e0d Special case for replacing whole list
434971c Bring back checkDiffElement for object assertion
82adb4f Better expectation for regression test
ad176de Special case for -1 index
97eee0c New list patch with multiple values
d17a826 Fix list test expectation for lcs
245125f Give empty object and lists different hashes
5ae2bc8 LCS impl

v1.8.1

25 Feb 02:16
Compare
Choose a tag to compare

11eae3c Set version 1.8.1
9af84e9 Accept number-like keys in JSON Pointers