Skip to content

v9.0.0

Compare
Choose a tag to compare
@jfcere jfcere released this 14 Feb 02:20
· 138 commits to master since this release

Update Angular 9

Library has been updated to support Angular 9. As per Angular Documentation the new version stays backward compatible with Angular 8.

Dependencies as been updated to support Marked ^0.8.0 which brings a few breaking changes due to some deprecation.

⚠️ Breaking Changes

The following modifications has been done to MarkdownModule configuration:

  • Removed MarkedOptions.tables option (now enabled with gfm)
  • Removed MarkedOptions.sanitize and sanitizer options (deprecated by marked.js)
  • Changed MarkedOptions.smartLists default value to false (to be inline with marked.js)
  • Added sanitize option to specify SecurityContext when sanitizing (defaulted to SecurityContext.HTML)

📘 Please refer to sanitization section of the README.md file regarding the sanitize configuration with MarkdownModule.forRoot().

Commits