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:
- Produces a minimal diff between array elements using LCS algorithm.
- 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