Skip to content

Releases: MurhafSousli/ngx-highlightjs

v6.1.2

13 Mar 00:26
c1229aa
Compare
Choose a tag to compare
  • fix: check if options is defined in HighlightLoader service, closes #219 in cac55cb.
  • fix: Update deprecated usage of throwError in rxjs 7, in cac55cb.

v6.1.1

07 Jan 19:43
1a54928
Compare
Choose a tag to compare
  • fix: RxJS peerDependency warning when installing the package, closes #205 in 87c8521.
  • fix: Passing empty string to [highlight] input should clear the highlighted content (test cases is added for that), closes #119 in 2d67fb3.

v6.1.0

14 Nov 19:22
71552af
Compare
Choose a tag to compare

Added a dynamic way for loading the highlighting theme, if you have light and dark themes in your app, this release makes it easier to change the highlight theme on the fly

v6.0.0

14 Nov 03:17
3fd0990
Compare
Choose a tag to compare

Update to Angular 13

v5.0.0

28 Aug 04:01
64d43a3
Compare
Choose a tag to compare
  • Update highlight.js to v11
  • Build library with partial compilationMode

v4.1.4

06 Jun 01:44
e9e0ce8
Compare
Choose a tag to compare
  • Upgrade to Angular 12
  • Set peer dependency of hljs to v10

The library is still compatible with the new version of highlight.js v11 but the highlighting function will be deprecated in their next release

v4.1.3

03 Dec 10:47
ce920ef
Compare
Choose a tag to compare

4.1.3

  • Upgrade to Angular 11
  • Build the library in strict mode

Breaking changes:

  • refactor: Highlight directive => function highlightElement(code: string, languages: string[]): the languages param is not optional anymore.

v4.1.2

07 Oct 00:31
c1c8fcc
Compare
Choose a tag to compare
Merge pull request #146 from MurhafSousli/hljs_v10

v4.1.2

v4.1.1

27 Jul 02:19
5480a61
Compare
Choose a tag to compare
Merge pull request #136 from MurhafSousli/dev

v4.1.1

v4.1.0

27 Jul 01:56
d44d376
Compare
Choose a tag to compare
Merge pull request #134 from MurhafSousli/dependabot/npm_and_yarn/lod…