This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
Releases: ckeditor/ckeditor5-utils
Releases · ckeditor/ckeditor5-utils
v19.0.0
MINOR BREAKING CHANGES
- The
translate
function from thetranslation-service
was marked as protected. See #334. - The format of stored editor translations has been changed. If you use
window.CKEDITOR_TRANSLATIONS
please see #334. - The
getPositionedAncestor()
helper will no longer return the passed element when it is positioned.
MAJOR BREAKING CHANGES
env.isEdge
is no longer available. See ckeditor/ckeditor5#6202.
Features
- Added the support for initializing
Collection
items via theconstructor()
. Closes ckeditor/ckeditor5#6319. (8846e66) - Provided support for plural forms internalization. Part of ckeditor/ckeditor5#6526. (5f6ea75)
Bug fixes
- Do not execute
ResizeObserver
callbacks when the resized element is invisible (but still in DOM) (see ckeditor/ckeditor5#6570). (fb13d9d) - Editor will now load correctly in environment with
Symbol
polyfill. Closes ckeditor/ckeditor5#6489. (7cd1f48) - Fixed various cases with typing multi-byte unicode sequences (e.g. emojis). Closes ckeditor/ckeditor5#3147. Closes ckeditor/ckeditor5#6495. (6dc1ba6)
- The
getOptimalPosition()
helper should prefer positions that fit inside the viewport even though there are some others that fit better into the limiter. Closes ckeditor/ckeditor5#6181. (7cd1238)
Other changes
- Removed
env.isEdge
as Edge is now detected and treated as Chrome. Closes ckeditor/ckeditor5#6202. (2902b30) - The
getPositionedAncestor()
helper should useoffsetParent
instead ofgetComputedStyle()
for performance reasons. Closes ckeditor/ckeditor5#6573. (7939756)
v18.0.0
v17.0.0
MINOR BREAKING CHANGES
- The
getResizeObserver()
helper is no longer available. We recommend using theResizeObserver
class instead.
Features
- Added iterator interface to the
Config
class. (1fdf2f1)
Other changes
- Improved
toMap()
method performance. This results in improved editor data processing speed. Closes ckeditor/ckeditor5#5854. (fef816e) - Replaced the
getResizeObserver()
helper with theResizeObserver
class for performance reasons. See ckeditor/ckeditor5#6145. (05c97f8) - The
uid()
helper should be a lot faster. Closes ckeditor/ckeditor5#6188. (b57fc3f)
v16.0.0
v15.0.0
Features
-
Implemented the
getResizeObserver()
helper that offers an entry to the nativeResizeObserver
API (see ckeditor/ckeditor5#416). (875d5a4) -
Introduced
assertEqualMarkup()
test util method. Closes ckeditor/ckeditor5-paste-from-office#14. (ee1655f) -
Introduced support for creating elements in other XML namespaces. See ckeditor/ckeditor5#1842. (37fbcb9)
Thanks @Sebobo!
Bug fixes
Rect#excludeScrollbarsAndBorders
should support RTL environments. Fixed incorrect output of the method. Closes #297. (35f34fc)
Other changes
- Introduced the
CKEditorError.rethrowUnexpectedError()
helper. Added custom error handling for theEmitter#fire()
function. Part of ckeditor/ckeditor5#1304. (1d84705)
v14.0.0
Features
- Add feature detection of Unicode properties entities' support. (21c0f6b)
- Allowed specifying editor content language in
Locale
. Implemented the (UI and content) language direction discovery inLocale
. ImplementedLocale#uiLanguage
,Locale#uiLanguageDirection
,Locale#contentLanguage
, andLocale#contentLanguageDirection
properties. See ckeditor/ckeditor5#1151. (91c95f3)
Other changes
- The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See ckeditor/ckeditor5#1988. (71469ac)
- Removed the CKEditor 5 logger and its usage. Part of ckeditor/ckeditor5#383. (584ef1d)
BREAKING CHANGES
- The
Locale()
constructor arguments syntax has changed. Please refer to the API documentation to learn more. - The
Locale#language
property has been deprecated byLocale#uiLanguage
. Please refer to the API documentation to learn more. - Removed the CKEditor 5 logger utility.
v13.0.1
v13.0.0
Features
- Added
env.isAndroid
. (591f641)
Other changes
- Added context as second required argument to the
CKEditorError
's constructor, changedisCKEditorError()
method tois()
. Introduced theareConnectedThroughProperties()
utility. See ckeditor/ckeditor5-watchdog#1. (bacc764)
BREAKING CHANGES
- The list of
CKEditorError()
's parameters was changed – now it requires the message, context and then data. TheisCKEditorError()
method was renamed tois()
.
v12.1.1
v12.1.0
Features
- Added
isSafari
property andisSafari()
helper to theenv
module. See: ckeditor/ckeditor5#1463. (f1ba6ae) - Made
FocusTracker#focusedElement
observable to bring support for multi-root editors (see ckeditor/ckeditor5#1599). (952d440)