Skip to content

Commit

Permalink
Update version to v0.3.0 (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
cozitive authored Jan 31, 2023
1 parent c57cbd6 commit 7635b73
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ and Yorkie adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)

## [Unreleased]

## [0.3.0] - 2023-01-31

### Changed
* Merge Text and RichText by @hackerwins in https://github.com/yorkie-team/yorkie/pull/438
* Fix the value type of Counter and remove double type from Counter by @cozitive in https://github.com/yorkie-team/yorkie/pull/441

### Fixed
* Fix wrong string escape in Text's attrs by @cozitive in https://github.com/yorkie-team/yorkie/pull/443
* Increase CRDT Counter in local change by @cozitive in https://github.com/yorkie-team/yorkie/pull/449

## [0.2.20] - 2022-12-30

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
YORKIE_VERSION := 0.2.20
YORKIE_VERSION := 0.3.0

GO_PROJECT = github.com/yorkie-team/yorkie

Expand Down
4 changes: 2 additions & 2 deletions test/bench/document_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,15 +317,15 @@ func BenchmarkDocument(b *testing.B) {
text.Edit(5, 5, "\n", map[string]string{"list": "true"})
assert.Equal(
b,
`[0:0:00:0 {} ""][1:2:00:0 {"b":"1"} "Hel"][1:2:00:3 {"b":"1","i":"1"} "lo"][5:1:00:0 {"list":"true"} "\n"][4:1:00:0 {} " Yorkie"]{1:2:00:5 {} " world"}`,
`[0:0:00:0 {} ""][1:2:00:0 {"b":"1"} "Hel"][1:2:00:3 {"b":"1","i":"1"} "lo"][5:1:00:0 {"list":"true"} "\\n"][4:1:00:0 {} " Yorkie"]{1:2:00:5 {} " world"}`,
text.StructureAsString(),
)
return nil
})
assert.NoError(b, err)
assert.Equal(
b,
`{"k1":[{"attrs":{"b":"1"},"val":"Hel"},{"attrs":{"b":"1","i":"1"},"val":"lo"},{"attrs":{"list":"true"},"val":"\n"},{"val":" Yorkie"}]}`,
`{"k1":[{"attrs":{"b":"1"},"val":"Hel"},{"attrs":{"b":"1","i":"1"},"val":"lo"},{"attrs":{"list":"true"},"val":"\\n"},{"val":" Yorkie"}]}`,
doc.Marshal(),
)
}
Expand Down

0 comments on commit 7635b73

Please sign in to comment.