Skip to content

Releases: jmjuanes/codecake

v0.5.0

08 Jan 18:32
e67d1e1
Compare
Choose a tag to compare

What's Changed

  • feat: remove linewrap option and restore support for custom highlights by @jmjuanes in #9
  • ci: update versions in workflows by @jmjuanes in #10

Full Changelog: v0.4.2...v0.5.0

v0.4.2 (2024-03-22)

22 Mar 20:04
Compare
Choose a tag to compare

🐛 Bug fixes

v0.4.1 (2024-03-13)

13 Mar 19:50
Compare
Choose a tag to compare

🚀 New features

v0.4.0 (2023-11-14)

14 Nov 18:26
65e9ab6
Compare
Choose a tag to compare

🚀 New Features:

  • Added lineWrap Option:
    • Introducing the lineWrap option that enables text to wrap to the next line when it reaches the end of the editor width. This feature enhances readability by preventing excessively long lines.

💥 Breaking Changes:

  • Custom Highlighting Not Supported:
    • Due to the introduction of the lineWrap option, the editor no longer supports custom highlights. The code is now split into lines, treating each line as an independent block. This change may affect the performance and accuracy of external syntax highlighters, such as highlight.js or Prism, particularly with multiline strings or code blocks.

🐛 Bug fixes

  • Prevent catastrophic backtracking in some regex for highlight (a42ea02).

v0.3.0 (2023-10-19)

19 Oct 18:01
d836eef
Compare
Choose a tag to compare

🚀 New features

  • Add closing brackets and quotes option (791caee).
  • Improve indentation and add autoIndent option (deef693).
  • Add new codecake-monoblue syntax theme (64100f3).
  • Add new codecake-one-light and codecake-one-dark syntax themes (20eca63).

🐛 Bug fixes

  • Add as word to list of JavaScript keywords (f4d40b6).
  • Prevent infinite loop in HTML comment regex (253b5e9).

v0.2.1 (2023-10-17)

16 Oct 18:08
405c480
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fix highlight of a number or a keyword when it is part of another word (4c03781).
  • Fixed demo styles (61a448f).

v0.2.0 (2023-09-27)

27 Sep 18:30
2e9f78b
Compare
Choose a tag to compare

🚀 New Features

  • Support JSX syntax highlight (64b0161).

v0.1.3 (2023-09-13)

13 Sep 16:57
7ac2091
Compare
Choose a tag to compare

🐛 Bug fixes

v0.1.2 (2023-08-04)

04 Aug 17:04
91ac25b
Compare
Choose a tag to compare

🐛 Bug fixes

  • Bug fixed in regular expression for highlighting comments (a6163f8).
  • Bug fixed in regular expression for highlighting strings (8586be3).

v0.1.1 (2023-07-30)

30 Jul 15:00
09d8698
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fixed bug when option.className is empty (7769533).