mirror of
https://github.com/codex-team/editor.js
synced 2024-06-15 20:25:15 +02:00
chore(release): change log updated, version updated (#2356)
* changelog updated, version updated
This commit is contained in:
parent
0d6c8bd4af
commit
1f74c5bec9
|
@ -2,29 +2,30 @@
|
||||||
|
|
||||||
### 2.27.0
|
### 2.27.0
|
||||||
|
|
||||||
- `New` — *Toolbar API* — Toolbox toggling method added.
|
- `New` — *Toolbar API* — Added a new method for toggling the toolbox.
|
||||||
- `Refactoring` — Popover class refactored.
|
- `New` — Added types for block mutation events
|
||||||
|
- `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.
|
||||||
- `Improvement` — *Toolbox* — Number of `close()` method calls optimized.
|
- `Improvement` — *Toolbox* — Number of `close()` method calls optimized.
|
||||||
- `Improvement` — The `onChange` callback won't be triggered only if all mutations contain nodes with the `data-mutation-free` attributes.
|
- `Improvement` — The `onChange` callback can be muted if all mutations contain nodes with the `data-mutation-free` attribute.
|
||||||
- `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
|
|
||||||
- `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.
|
- `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.
|
||||||
- `Fix` — The `onChange` won't be triggered with Block Tunes opening and closing.
|
- `Improvement` — The block mutation handler is now called on every block change (including background changes), instead of only when a block is focused
|
||||||
|
- `Improvement` — Number of caret saving method calls optimized for Block Tunes opening/closing.
|
||||||
|
- `Improvement` — Package size reduced by removing redundant files.
|
||||||
|
- `Refactoring` — Switched from Webpack to Vite as the build system.
|
||||||
|
- `Refactoring` — *Dependencies* — Upgraded Cypress to v12 and related libraries to the latest versions.
|
||||||
|
- `Refactoring` — *Dependencies* — Upgraded TypeScript to v5.
|
||||||
- `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.
|
- `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.
|
||||||
- `Refactoring` — All events in common editor Event Bus now have own type declarations.
|
- `Refactoring` — All events in common editor Event Bus now have own type declarations.
|
||||||
- `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.
|
- `Refactoring` — Removed the block mutation observer from blocks and attached a single observer to the editor's blocks wrapper element.
|
||||||
- `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.
|
- `Refactoring` — Removed the debounce from the block mutation handler and used batching instead.
|
||||||
- `Refactoring` — Debounce have been removed from Block's mutation handler. The batching in `ModificationObserver` used instead.
|
- `Refactoring` — Refactored the popover class for better performance and maintenance.
|
||||||
- `Improvement` — Number of caret saving method calls optimized for Block Tunes opening/closing.
|
- `Fix` — The `onChange` callback won't trigger when block tunes are opened or closed.
|
||||||
- `New` — Types for Block mutation events added.
|
- `Fix` — Resolved a compiler error caused by importing the `BlockToolData` type.
|
||||||
- `Fix` — Resolve compiler error from importing the BlockToolData type.
|
- `Fix` — Resolved a problem where the document would scroll to the beginning after moving a block above the viewport.
|
||||||
- `Fix` — Resolved a problem when document was being scrolled to the beginning after moving up a Block above the viewport.
|
- `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.
|
||||||
- `Improvement` — Package size reduced by removing redundant files.
|
|
||||||
- `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.
|
|
||||||
- `Improvement` — *Dependencies* — Upgrade TypeScript to v5.
|
|
||||||
- `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.
|
- `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.
|
||||||
- `Improvement` — *Dependencies* — Upgrade Cypress to v12, upgrade related libraries to latest versions.
|
- `CI` — Ubuntu container is now used for Edge tests runner.
|
||||||
- `CI` — Use Ubuntu container for Edge tests runner.
|
- `CI` — Node 16 is used for GitHib Actions.
|
||||||
- `Improvement` — Use Vite as build system instead of Webpack.
|
|
||||||
|
|
||||||
### 2.26.5
|
### 2.26.5
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@editorjs/editorjs",
|
"name": "@editorjs/editorjs",
|
||||||
"version": "2.27.0-rc.5",
|
"version": "2.27.0",
|
||||||
"description": "Editor.js — Native JS, based on API and Open Source",
|
"description": "Editor.js — Native JS, based on API and Open Source",
|
||||||
"main": "dist/editorjs.umd.js",
|
"main": "dist/editorjs.umd.js",
|
||||||
"module": "dist/editorjs.mjs",
|
"module": "dist/editorjs.mjs",
|
||||||
|
|
Loading…
Reference in a new issue