Skip to content

Releases: jfcere/ngx-markdown

v1.6.0

07 May 03:01
Compare
Choose a tag to compare

Update to Angular 6

Repository has been updated to Angular 6 and now uses HttpClient instead of Http service.

Breaking changes

Due to the fact that Angular 6 uses RxJS 6 and that they removed deep imports ngx-markdown is no longer supported for all previous version of Angular. If you are using an older version of Angular you can still use previous versions of the package (<1.6.0).

As of Angular 6, the default value of compile option preserveWhitespaces is now set to false which tells the compiler to remove blank text nodes from compiled templates. This can cause issues when using content projection into markdown component and/or directive. To avoid the issue you can place the ngPreserveWhitespaces directive on the host element (see the Usage documentation in README.md).

Commits

v1.5.2

14 Mar 01:13
Compare
Choose a tag to compare

v1.5.1

22 Feb 05:55
Compare
Choose a tag to compare

v1.5.0

28 Dec 04:00
Compare
Choose a tag to compare

New features and enhancements

  • Make Prism.js optional
  • Add marked options configuration through MarkdownModule.forRoot()
  • Add MarkdownPipe implementation
  • Expose renderer in MarkdownService
  • Expose options in MarkdownService
  • Remove e2e related
  • Update README.md documentation
  • Update marked to v0.3.9 to fix XSS vulnerability issue
  • Update Prism.js to v1.9.0

Commits

v1.4.1

10 Dec 22:10
Compare
Choose a tag to compare

v1.4.0

28 Oct 16:17
Compare
Choose a tag to compare

Repository renamed to ngx-markdown

To be more accurate with Angular versions and with the upcoming v5 release, I have renamed the repository to ngx-markdown.

Breaking changes

Module, component and directive names have been adjusted to follow the new repository name.

  • Module has been renamed from MarkdownToHtmlModule to MarkdownModule
  • Component has been renamed from <markdown-to-html> to <markdown>
  • Directive has been renamed from <div markdown-to-html> to <div markdown>

Although the changes shouldn't be too hard I am still sorry for any inconvenience that the renaming could cause. For more information please follow the readme.md or don't hesitate to open an issue.

Commits

v1.3.2

17 Sep 19:25
Compare
Choose a tag to compare

Bug fixes

v1.3.1

23 Aug 03:16
Compare
Choose a tag to compare

Bug fixes

v1.3.0

23 Aug 05:27
Compare
Choose a tag to compare

Enhancement

The library is now distributed in plain Javascript with definitelytyped files instead of TypeScript (also includes UMD bundle files).

⚠️ Please note that breaking changes are no longer valid in version 1.3.1 Please be sure to be up-to-date to avoid the strikethrough step below.

Breaking changes

Library marked is no longer automatically imported which means you will need to add marked.js file manually to you application.

v1.2.1

04 Jun 20:43
Compare
Choose a tag to compare