19.0.0 (2020-04-29)
Internal changes only (updated dependencies, documentation, etc.).
18.0.0 (2020-03-19)
Internal changes only (updated dependencies, documentation, etc.).
17.0.0 (2020-02-19)
- 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 )
.
- Introduced
ContextWatchdog
which is a watchdog forContext
. Closes ckeditor/ckeditor5#6079. Closes ckeditor/ckeditor5#6042. Closes ckeditor/ckeditor5#4696. (76c4938)
16.0.0 (2019-12-04)
- Only instances of the
Error
class will be handled byWatchdog
. Closes ckeditor/ckeditor5#5678. (3f24a2e)
15.0.0 (2019-10-23)
- Made the Watchdog#setDestructor() method optional and default to editor => editor.destroy(). Closes #21. (5a9dc0c)
11.0.0 (2019-08-26)
- 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)
- 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)
- 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)
- Renamed
waitingTime
configuration option tosaveInterval
. Watchdog#restart()
is no longer public.
10.0.1 (2019-07-10)
Internal changes only (updated dependencies, documentation, etc.).
10.0.0 (2019-07-04)
The initial watchdog feature implementation.