Skip to content

Releases: EdJoPaTo/telegram-format

v3.1.0

06 Jan 14:15
9c3c4e9
Compare
Choose a tag to compare

v3.0.1

10 Dec 13:33
9ce8d43
Compare
Choose a tag to compare
  • build: add support for Node.js 12 486352b
  • docs(readme): correct deno documentation link f3bbd1d

v3.0.0

28 Nov 15:40
41d0720
Compare
Choose a tag to compare

This release mainly provides a native TypeScript module for Deno! Check out https://deno.land/x/telegram_format.

BREAKING CHANGE: This release requires ES modules (no more CommonJS) and Node.js 14 or higher.

v2.1.0

30 Dec 21:22
Compare
Choose a tag to compare
  • feat: add support for spoiler tag fd89b59
  • fix(markdownv2): escape ) in urls 7cea539
  • chore(npm): drop support for Node.js 10 cd9369c

v2.0.2...v2.1.0

v2.0.2

05 Apr 22:50
Compare
Choose a tag to compare
  • fix: Markdownv2 character \ is not escaped (#10) de6218b
    thanks to @iamel89 for providing the fix!

v2.0.1...v2.0.2

v2.0.1

18 Jul 00:23
0eb113b
Compare
Choose a tag to compare
  • fix(MarkdownV2): escape - in escape regex (#1) 7a39701

v2.0.0...v2.0.1

v2.0.0

03 Mar 17:02
da7db29
Compare
Choose a tag to compare

Add support for MarkdownV2 (8642303), strikethrough and underline (23cef46) and nested formatting (756ba07)

BREAKING CHANGE: html functions do not escape on their own anymore.
Use format.bold(format.escape(input) instead of format.bold(input) whenever you need.
This way you can nest functions like format.bold(format.italic(input)) without escaping the format of the inner one making it useless.

v1.2.1...v2.0.0

v1.2.1

08 Jan 09:16
eeba610
Compare
Choose a tag to compare
  • fix: escape monospace bad letters 23e4d42
  • fix(markdown): replace not only first bad char fc02923

v1.2.0...v1.2.1

v1.2.0

07 Jan 13:02
70938a3
Compare
Choose a tag to compare

v1.1.0...v1.2.0

v1.1.0

03 Sep 11:02
5166231
Compare
Choose a tag to compare

v1.0.0...v1.1.0