Skip to content

Releases: jfcere/ngx-markdown

v15.1.1

04 Feb 19:54
Compare
Choose a tag to compare

Bug fixes

v15.1.0

15 Jan 19:19
Compare
Choose a tag to compare

New features and enhancements

  • Add disableSanitizer: boolean option as an input property to MarkdownComponent and as a parameter to MarkdownPipe, allowing to bypass the DOM sanitizer (default is false) (#430) (434b9c1) @paviad @jfcere
  • Add srcRelativeLink: boolean input property to MarkdownComponent to support relative links for remotely loaded markdown (default is false) (#431) (1dd4951) @datumgeek @jfcere

Special Thanks

🥇 Thanks to paviad for his contribution to adding the disableSanitizer option.
🥇 Thanks to datumgeek for his contribution to adding the srcRelativeLink option.

v15.0.0

20 Nov 20:08
4b68e5d
Compare
Choose a tag to compare

Update Angular 15

Library has been updated to support Angular 15.

It is recommended to stick with ngx-markdown v14.x.x if you are using Angular 14.

⚠ Breaking Changes

The library dependencies have been removed and set as peer/optional dependencies instead to avoid having unused packages installed locally and avoid conflicts for projects that already use any of those dependencies.

Once you have updated ngx-markdown you will need to manually install your required peer/optional dependencies following the updated installation section of the README.md.

New features and enhancements

  • Update to Angular 15
  • Move dependencies to optionalDependencies for plugin integrations
  • Update emoji-toolkit optional dependencies to v7.0.0 which support Unicode 14.

Commits

v15.0.0-next.0

23 Oct 00:31
c95d31b
Compare
Choose a tag to compare
v15.0.0-next.0 Pre-release
Pre-release

⚠️ Breaking change

The library dependencies have been removed and set as peer dependencies instead to avoid having unused packages installed locally and avoid conflict for projects that already use any of those dependencies.

You can update ngx-markdown using the command below and install your required peer dependencies manually following the updated installation section of the README.md.

npm install [email protected]

ℹ️ This change will be included in the next major release of ngx-markdown which will come out when Angular 15 will be officially released.

Commits

v14.0.1

22 Jun 00:55
Compare
Choose a tag to compare

Bug fixes

v14.0.0

16 Jun 01:39
Compare
Choose a tag to compare

Update Angular 14

Library has been updated to support Angular 14.

It is recommended to stick with ngx-markdown v13.x.x if you are using Angular 13.

⚠ Breaking Changes

  • MarkdownService.compile function has been renamed to parse and its parameters combined into the parseOptions object
  • MarkdownService.render function has been added to render elements once markdown has been parsed into HTML
  • MarkdownService.renderKatex function is now private and called within the MarkdownService.render function
  • Katex plugin now requires Katex Auto-render extension (refer to README.md for instructions)

New features and enhancements

Bug fixes

Special thanks

  • syabru for his contribution to add the inline parsing option
  • shanmukhateja for his contribution to add the re-rendering feature with the demo page

v13.1.0

05 Feb 02:51
Compare
Choose a tag to compare

Security Update

This is a security update for Angular 13 to fix a vulnerability reported with marked version < 4.0.10

GHSA-5v2h-r2cx-5xgj
High Severity
Vulnerable versions: < 4.0.10
Patched version: 4.0.10

⚠ Breaking Changes

Javascript file for marked moved from node_modules/marked/lib/marked.js to node_modules/marked/marked.min.js and should be changed accordingly.

If you are using Angular CLI, you will need to change the path of marked file in the scripts section of your angular.json like this...

"scripts": [
- "node_modules/marked/lib/marked.js",
+ "node_modules/marked/marked.min.js",
  "node_modules/prismjs/prism.js",
  "node_modules/prismjs/components/prism-typescript.js",
  ...
]

Commits

v12.1.0

05 Feb 02:44
Compare
Choose a tag to compare

Security Update

This is a security update for Angular 12 to fix a vulnerability reported with marked version < 4.0.10

GHSA-5v2h-r2cx-5xgj
High Severity
Vulnerable versions: < 4.0.10
Patched version: 4.0.10

⚠ Breaking Changes

Javascript file for marked moved from node_modules/marked/lib/marked.js to node_modules/marked/marked.min.js and should be changed accordingly.

If you are using Angular CLI, you will need to change the path of marked file in the scripts section of your angular.json like this...

"scripts": [
- "node_modules/marked/lib/marked.js",
+ "node_modules/marked/marked.min.js",
  "node_modules/prismjs/prism.js",
  "node_modules/prismjs/components/prism-typescript.js",
  ...
]

Commits

v11.2.0

05 Feb 02:42
Compare
Choose a tag to compare

Security Update

This is a security update for Angular 11 to fix a vulnerability reported with marked version < 4.0.10

GHSA-5v2h-r2cx-5xgj
High Severity
Vulnerable versions: < 4.0.10
Patched version: 4.0.10

⚠ Breaking Changes

Javascript file for marked moved from node_modules/marked/lib/marked.js to node_modules/marked/marked.min.js and should be changed accordingly.

If you are using Angular CLI, you will need to change the path of marked file in the scripts section of your angular.json like this...

"scripts": [
- "node_modules/marked/lib/marked.js",
+ "node_modules/marked/marked.min.js",
  "node_modules/prismjs/prism.js",
  "node_modules/prismjs/components/prism-typescript.js",
  ...
]

Commits

v13.0.0

08 Nov 03:38
Compare
Choose a tag to compare

Update Angular 13

Library has been updated to support Angular 13.

It is recommended to stick with ngx-markdown v12.x.x if you are using Angular 12.

Commits