This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
Releases: ckeditor/ckeditor5-watchdog
Releases · ckeditor/ckeditor5-watchdog
v19.0.0
v18.0.0
v17.0.0
MAJOR BREAKING CHANGES
- The
Watchdog
class was renamed toEditorWatchdog
and is available insrc/editorwatchdog.js
. - The
EditorWatchdog.for()
method was removed in favor of the constructor. - The
EditorWatchdog#constructor()
API changed. Now theEditorWatchdog
constructor accepts the editor class as the first argument and the watchdog configuration as the second argument. TheEditorWatchdog
editor creator now defaults to( sourceElementOrData, config ) => Editor.create( sourceElementOrData, config )
.
Features
- Introduced
ContextWatchdog
which is a watchdog forContext
. Closes ckeditor/ckeditor5#6079. Closes ckeditor/ckeditor5#6042. Closes ckeditor/ckeditor5#4696. (76c4938)
v16.0.0
v15.0.0
v11.0.0
Features
- Added support for multi-root editors. Closes #22. (692955e)
- Added unhandled promise rejection error handling. Fixed objects in the
crashed
array. Closes #3. (1a47364) - Introduced the observable
Watchdog#state
property. Introduced theminimumNonErrorTimePeriod
configuration which defaults to 5 seconds and will be used to prevent infinite restart loops while allowing a larger number of random crashes as long as they do not happen too often. RenamedwaitingTime
configuration option tosaveInterval
. Closes #7. Closes #15. (5bdbfe5)
Bug fixes
- The editor data will be saved correctly after the
destroy()
method is called. Added the protectedWatchdog#_now()
method that allows for time-based testing of the error handling mechanism. Closes #17. Closes #19. (a54db15)
Other changes
- The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See ckeditor/ckeditor5#1988. (741594a)
- Made the
Watchdog#restart()
method private. Changed the signatures ofWatchdog#create()
andWatchdog#destroy()
, so now these methods will return empty promises. Closes #13. (69aef8b)
BREAKING CHANGES
- Renamed
waitingTime
configuration option tosaveInterval
. Watchdog#restart()
is no longer public.