diff --git a/CHANGELOG.md b/CHANGELOG.md index cb28b17e9..78fc13f48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Makefile b/Makefile index b83b97f13..71ab3dd82 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -YORKIE_VERSION := 0.2.20 +YORKIE_VERSION := 0.3.0 GO_PROJECT = github.com/yorkie-team/yorkie diff --git a/test/bench/document_bench_test.go b/test/bench/document_bench_test.go index 20dae0af1..c84be5f2c 100644 --- a/test/bench/document_bench_test.go +++ b/test/bench/document_bench_test.go @@ -317,7 +317,7 @@ 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 @@ -325,7 +325,7 @@ func BenchmarkDocument(b *testing.B) { 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(), ) }