Skip to content

Commit

Permalink
Update CHANGELOG for v0.2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins committed Jul 6, 2022
1 parent 6471068 commit 20c0091
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ and Yorkie JS SDK adheres to [Semantic Versioning](https://semver.org/spec/v2.0.

## [Unreleased]

## [0.2.10] - 2022-07-06

### Added

- Implement array methods with objects: #327

### Changed

- Improve performance deletion in Text: #326

### Fixed

- Fix a bug when deleting blocks concurrently: #328

## [0.2.9] - 2022-06-30

### Changed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yorkie-js-sdk",
"version": "0.2.9",
"version": "0.2.10",
"description": "Yorkie JS SDK",
"main": "./dist/yorkie-js-sdk.js",
"typings": "./dist/yorkie-js-sdk.d.ts",
Expand Down
12 changes: 6 additions & 6 deletions src/document/crdt/rga_tree_split.ts
Original file line number Diff line number Diff line change
Expand Up @@ -801,8 +801,11 @@ export class RGATreeSplit<T extends RGATreeSplitValue> {
// There are 2 types of nodes in `candidates`: should delete, should not delete.
// `nodesToKeep` contains nodes should not delete,
// then is used to find the boundary of the range to be deleted.
const [nodesToDelete, nodesToKeep] =
this.filterNodes(candidates, editedAt, latestCreatedAtMapByActor)
const [nodesToDelete, nodesToKeep] = this.filterNodes(
candidates,
editedAt,
latestCreatedAtMapByActor,
);

const createdAtMapByActor = new Map();
const removedNodeMap = new Map();
Expand Down Expand Up @@ -831,10 +834,7 @@ export class RGATreeSplit<T extends RGATreeSplitValue> {
candidates: Array<RGATreeSplitNode<T>>,
editedAt: TimeTicket,
latestCreatedAtMapByActor?: Map<string, TimeTicket>,
): [
Array<RGATreeSplitNode<T>>,
Array<RGATreeSplitNode<T> | undefined>,
] {
): [Array<RGATreeSplitNode<T>>, Array<RGATreeSplitNode<T> | undefined>] {
const isRemote = !!latestCreatedAtMapByActor;
const nodesToDelete: Array<RGATreeSplitNode<T>> = [];
const nodesToKeep: Array<RGATreeSplitNode<T> | undefined> = [];
Expand Down

0 comments on commit 20c0091

Please sign in to comment.