Skip to content

Commit 78cc641

Browse files
committed
Prepare v2 release
1 parent 9fbceb0 commit 78cc641

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Change Log
22

3-
## [0.2.0](https://github.com/gomodules/jsonpatch/tree/0.2.0) (2019-06-25)
4-
[Full Changelog](https://github.com/gomodules/jsonpatch/compare/1.0.0...0.2.0)
3+
## [v2.0.0](https://github.com/gomodules/jsonpatch/tree/v2.0.0) (2019-06-25)
4+
[Full Changelog](https://github.com/gomodules/jsonpatch/compare/1.0.0...v2.0.0)
55

66
**Merged pull requests:**
77

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ As per http://jsonpatch.com JSON Patch is specified in RFC 6902 from the IETF.
99
JSON Patch allows you to generate JSON that describes changes you want to make to a document, so you don't have to send the whole doc. JSON Patch format is supported by HTTP PATCH method, allowing for standards based partial updates via REST APIs.
1010

1111
```console
12-
go get gomodules.xyz/jsonpatch
12+
go get gomodules.xyz/jsonpatch/v2
1313
```
1414

1515
I tried some of the other "jsonpatch" go implementations, but none of them could diff two json documents and generate format like jsonpatch.com specifies. Here's an example of the patch format:
@@ -31,7 +31,7 @@ package main
3131

3232
import (
3333
"fmt"
34-
"gomodules.xyz/jsonpatch"
34+
"gomodules.xyz/jsonpatch/v2"
3535
)
3636

3737
var simpleA = `{"a":100, "b":200, "c":"hello"}`

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module gomodules.xyz/jsonpatch
1+
module gomodules.xyz/jsonpatch/v2
22

33
go 1.12
44

jsonpatch_json_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"testing"
55

66
"github.com/stretchr/testify/assert"
7-
"gomodules.xyz/jsonpatch"
7+
"gomodules.xyz/jsonpatch/v2"
88
)
99

1010
func TestMarshalNullableValue(t *testing.T) {

jsonpatch_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
jp "github.com/evanphx/json-patch"
88
"github.com/stretchr/testify/assert"
9-
"gomodules.xyz/jsonpatch"
9+
"gomodules.xyz/jsonpatch/v2"
1010
)
1111

1212
var simpleA = `{"a":100, "b":200, "c":"hello"}`

0 commit comments

Comments
 (0)