Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Latest commit

 

History

History
71 lines (36 loc) · 4.55 KB

CHANGELOG.md

File metadata and controls

71 lines (36 loc) · 4.55 KB

Changelog

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)

MAJOR BREAKING CHANGES

  • The Watchdog class was renamed to EditorWatchdog and is available in src/editorwatchdog.js.
  • The EditorWatchdog.for() method was removed in favor of the constructor.
  • The EditorWatchdog#constructor() API changed. Now the EditorWatchdog constructor accepts the editor class as the first argument and the watchdog configuration as the second argument. The EditorWatchdog editor creator now defaults to ( sourceElementOrData, config ) => Editor.create( sourceElementOrData, config ).

Features

16.0.0 (2019-12-04)

Bug fixes

15.0.0 (2019-10-23)

Other changes

  • Made the Watchdog#setDestructor() method optional and default to editor => editor.destroy(). Closes #21. (5a9dc0c)

11.0.0 (2019-08-26)

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 the minimumNonErrorTimePeriod 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. Renamed waitingTime configuration option to saveInterval. Closes #7. Closes #15. (5bdbfe5)

Bug fixes

  • The editor data will be saved correctly after the destroy() method is called. Added the protected Watchdog#_now() method that allows for time-based testing of the error handling mechanism. Closes #17. Closes #19. (a54db15)

Other changes

BREAKING CHANGES

  • Renamed waitingTime configuration option to saveInterval.
  • 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.