Releases: jfcere/ngx-markdown
v21.3.0
New features and enhancements
- feat(deps): add support for marked 18 by @BernhardBehrendt, @jfcere in #646
Security fixes
- build(deps): bump @hono/node-server from 1.19.11 to 1.19.13 by @dependabot[bot] in #639
- build(deps): bump hono from 4.12.8 to 4.12.12 by @dependabot[bot] in #640
- build(deps): bump follow-redirects from 1.15.11 to 1.16.0 by @dependabot[bot] in #642
- build(deps): bump hono from 4.12.12 to 4.12.14 by @dependabot[bot] in #643
- build(deps): bump dompurify from 3.3.3 to 3.4.0 by @dependabot[bot] in #644
Special Thanks
🥇 Thanks to @BernhardBehrendt for his contribution in #646
Full Changelog: v21.2.0...v21.3.0
v21.2.0
New features and enhancements
- chore(lib): plugin optional packages are no longer installed by default (#634) (d552e35) @hardikpatel043
Security fixes
- build(deps): bump tar from 7.5.7 to 7.5.9 by @dependabot[bot] in #623
- build(deps): bump immutable from 5.1.4 to 5.1.5 by @dependabot[bot] in #627
- build(deps-dev): bump minimatch from 3.1.2 to 3.1.5 by @dependabot[bot] in #625
- build(deps): bump rollup from 4.53.3 to 4.59.0 by @dependabot[bot] in #626
- build(deps): bump tar from 7.5.9 to 7.5.10 by @dependabot[bot] in #628
- build(deps): bump tar from 7.5.10 to 7.5.11 by @dependabot[bot] in #629
- build(deps): bump dompurify from 3.3.0 to 3.3.3 by @dependabot[bot] in #630
- build(deps): bump angular to fix vulnerabilities by @jfcere in #633
- build(deps): bump lodash-es and langium by @dependabot[bot] in #637
- build(deps): bump lodash from 4.17.23 to 4.18.1 by @dependabot[bot] in #638
Special Thanks
🥇 Thanks to @hardikpatel043 for his contribution in #634
Full Changelog: v21.1.0...v21.2.0
v21.1.0
New features and enhancements
Security fixes
- Bump lodash from 4.17.21 to 4.17.23 (#615) (0e15099) @dependabot[bot]
- Bump tar from 7.5.2 to 7.5.3 (#612) (37b852c) @dependabot[bot]
- Bump tar from 7.5.3 to 7.5.7 (#617) (a31ebbb) @dependabot[bot]
- chore: update angular-cli-ghpages to 3.0.2 (#620) (508c7f8) @jfcere
v21.0.1
v21.0.0
Update Angular 21
Library has been updated to support Angular 21.
It is recommended to stick with ngx-markdown v20.x.x if you are using Angular 20.
New features and enhancements
- Update to Angular 21
- Update Marked dependency to 17.0.0
- Remove direct use of
SecurityContext | SanitizeFunctiontype forMarkdownModuleConfig.sanitizeparameter
⚠ Breaking changes
- Marked dependency has been updated to 17.0.0 and requires updating your project
- The configuration property
MarkdownModuleConfig.sanitizeno longer accepts a parameter of typeSecurityContext | SanitizeFunctionbut requires the use ofSANITIZEinjection token instead (see sanitization for instruction)
☝ Please note that
Zone.jsis still needed for now and will be removed in a future version.
Commits
v20.1.0
v20.0.0
Update Angular 20
Library has been updated to support Angular 20.
It is recommended to stick with ngx-markdown v19.x.x if you are using Angular 19.
New features and enhancements
- Update to Angular 20
- Remove direct uses of function when providing marked extensions through
MarkdownModuleConfig.markedExtensions - Remove
AsyncPipefrom the library to reduce bundle size
⚠ Breaking changes
- The configuration property
MarkdownModuleConfig.markedExtensionsno longer accepts an array of functions as a parameter but requires the use ofMARKED_EXTENTIONSinjection token (see marked extensions for instruction)
Special Thanks
🥇 Thanks to @arturovt for his first contribution in removing AsyncPipe (#587)
Commits
v19.1.1
v19.1.0
v19.0.0
Update Angular 19
Library has been updated to support Angular 19.
It is recommended to stick with ngx-markdown v18.x.x if you are using Angular 18.
New features and enhancements
- Update to Angular 19
- Update
markeddependency to 15.0.0 - Add global configuration for
mermaidplugin and update options
⚠ Breaking changes
Marked dependency
Marked has been updated to the latest version, 15.0.0. The renderer token override functions have changed and need to be adjusted. Extension packages will also need to be updated to match the new marked version.
Mermaid plugin
Mermaid options have been updated and bring model changes. Minor adjustments will need to be made, please refer to lib/src/mermaid-options.ts for updated typings.
Special thanks
🥇 Thanks to @pkurcx for his contribution to update Angular 19.