This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
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.