Skip to content

Commit 1f74c5b

Browse files
authored
chore(release): change log updated, version updated (#2356)
* changelog updated, version updated
1 parent 0d6c8bd commit 1f74c5b

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

docs/CHANGELOG.md

+19-18
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,30 @@
22

33
### 2.27.0
44

5-
- `New`*Toolbar API* — Toolbox toggling method added.
6-
- `Refactoring` — Popover class refactored.
5+
- `New`*Toolbar API* — Added a new method for toggling the toolbox.
6+
- `New` — Added types for block mutation events
7+
- `New` — Batching added to the `onChange` callback. Now the second argument can contain an array of CustomEvents as well as a single one. Multiple changes made in a short period of time will be batched under a single `onChange` call.
78
- `Improvement`*Toolbox* — Number of `close()` method calls optimized.
8-
- `Improvement` — The `onChange` callback won't be triggered only if all mutations contain nodes with the `data-mutation-free` attributes.
9-
- `Improvement`**Breaking Change** — Batching added to the `onChange` callback. Now the second argument can contain an array of CustomEvents as well as a single one. If several changes will be made in short period of time, they will be batched under the single `onChange` call
9+
- `Improvement` — The `onChange` callback can be muted if all mutations contain nodes with the `data-mutation-free` attribute.
1010
- `Improvement` — Pressing "Enter" at the end of a Block won't lead to redundant `block-changed` event triggering. Only `block-added` event will be dispatched.
11-
- `Fix` — The `onChange` won't be triggered with Block Tunes opening and closing.
12-
- `Refactoring``EventDispatcher` types improved. Now we can pass `EventsMap` via generic to specify a map of event names and their payloads that can be used in a particular EventDispatcher instance.
13-
- `Refactoring` — All events in common editor Event Bus now have own type declarations.
14-
- `Refactoring` — Now Blocks don't have own Mutation Observer. The single observer attached to the editor's blocks wrapper element. `ModificationsObserver` listens blocks wrapper changes, then emits an event into the common editor Event Bus. Each Block subscribes to such events and handle those who related to a particular Block.
15-
- `Improvement` — Block's mutation handler now will be called on every block change (including background changes). Previously, it have worked only if a particular Block have been focused.
16-
- `Refactoring` — Debounce have been removed from Block's mutation handler. The batching in `ModificationObserver` used instead.
11+
- `Improvement` — The block mutation handler is now called on every block change (including background changes), instead of only when a block is focused
1712
- `Improvement` — Number of caret saving method calls optimized for Block Tunes opening/closing.
18-
- `New` — Types for Block mutation events added.
19-
- `Fix` — Resolve compiler error from importing the BlockToolData type.
20-
- `Fix` — Resolved a problem when document was being scrolled to the beginning after moving up a Block above the viewport.
2113
- `Improvement` — Package size reduced by removing redundant files.
22-
- `Fix`- Several bugs caused by random browser extensions. Now we are not searching for a block's container in the DOM on saving. Instead, we keep it in memory and update it when the tool changes a container element.
23-
- `Improvement`*Dependencies* — Upgrade TypeScript to v5.
14+
- `Refactoring` — Switched from Webpack to Vite as the build system.
15+
- `Refactoring`*Dependencies* — Upgraded Cypress to v12 and related libraries to the latest versions.
16+
- `Refactoring`*Dependencies* — Upgraded TypeScript to v5.
17+
- `Refactoring``EventDispatcher` types improved. Now we can pass `EventsMap` via generic to specify a map of event names and their payloads that can be used in a particular EventDispatcher instance.
18+
- `Refactoring` — All events in common editor Event Bus now have own type declarations.
19+
- `Refactoring` — Removed the block mutation observer from blocks and attached a single observer to the editor's blocks wrapper element.
20+
- `Refactoring` — Removed the debounce from the block mutation handler and used batching instead.
21+
- `Refactoring` — Refactored the popover class for better performance and maintenance.
22+
- `Fix` — The `onChange` callback won't trigger when block tunes are opened or closed.
23+
- `Fix` — Resolved a compiler error caused by importing the `BlockToolData` type.
24+
- `Fix` — Resolved a problem where the document would scroll to the beginning after moving a block above the viewport.
25+
- `Fix`- Fixed several bugs caused by browser extensions — Removed the search for a block's container in the DOM on saving and kept it in memory instead, updating it when the tool changes a container element.
2426
- `Fix`*ToolsAPI*`pasteConfig` getter with `false` value could be used to disable paste handling by Editor.js core. Could be useful if your tool has its own paste handler.
25-
- `Improvement`*Dependencies* — Upgrade Cypress to v12, upgrade related libraries to latest versions.
26-
- `CI` — Use Ubuntu container for Edge tests runner.
27-
- `Improvement` — Use Vite as build system instead of Webpack.
27+
- `CI` — Ubuntu container is now used for Edge tests runner.
28+
- `CI` — Node 16 is used for GitHib Actions.
2829

2930
### 2.26.5
3031

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@editorjs/editorjs",
3-
"version": "2.27.0-rc.5",
3+
"version": "2.27.0",
44
"description": "Editor.js — Native JS, based on API and Open Source",
55
"main": "dist/editorjs.umd.js",
66
"module": "dist/editorjs.mjs",

0 commit comments

Comments
 (0)