Skip to content

Releases: misskey-dev/mfm.js

v0.16.5

05 Jun 06:59
Compare
Choose a tag to compare
v0.16.5 Pre-release
Pre-release

npm: https://www.npmjs.com/package/mfm-js/v/0.16.5

✨ Improvements

  • Parser: parsing results are now cached. Thanks to this, nestable syntax is now available and safe to use. 🎉

v0.16.4

08 May 12:42
Compare
Choose a tag to compare
v0.16.4 Pre-release
Pre-release

npm: https://www.npmjs.com/package/mfm-js/v/0.16.4

improvements

  • improve detection of mention, hashtag, italic(except tag syntax).

v0.16.3

24 Apr 04:49
Compare
Choose a tag to compare
v0.16.3 Pre-release
Pre-release

⚠️ お知らせ ⚠️
入れ子の構文を含む文字列を入力するとマシンに高い負荷が掛かる問題が見つかっています。
このバージョンでは機能としては全て有効となっているものの、負荷が高くならないように関連する構文の動作を変更してます。
Misskeyをはじめとした本パーサを使用しているソフトウェアはv0.16.2以降のバージョンの使用をおすすめします。

We have found an issue where input a string containing nested syntax puts a heavy load on the machine.
All features are enabled in this version, but the behavior of the related syntax has changed to avoid overloading.
We recommend that you use v0.16.2 version or later for software that uses this parser, such as Misskey.

npm: https://www.npmjs.com/package/mfm-js/v/0.16.3

v0.16.2

20 Apr 01:18
Compare
Choose a tag to compare
v0.16.2 Pre-release
Pre-release

⚠️ お知らせ ⚠️
特定の構文を入力すると高負荷となる不具合が見つかったため、一部の機能を無効にしました。
Misskeyをはじめとした本パーサを使用しているソフトウェアは応急処置的にこのバージョン以降を使用することをおすすめします。

English:
We found a bug that caused a heavy load when inputing a specific syntax, so we disabled some features.
We recommend that you use this version or later as a first aid for software that uses this parser, such as Misskey.

npm: https://www.npmjs.com/package/mfm-js/v/0.16.2

v0.16.1

19 Apr 03:30
Compare
Choose a tag to compare
v0.16.1 Pre-release
Pre-release

npm: https://www.npmjs.com/package/mfm-js/v/0.16.1

ℹ️ Moved documents of APIs and MFM syntaxes to the repository.

✨ Improvements

  • API: Change the behavior of toString (fn syntax).

v0.16.0

18 Apr 06:17
Compare
Choose a tag to compare
v0.16.0 Pre-release
Pre-release

Beta release.

npm: https://www.npmjs.com/package/mfm-js/v/0.16.0

💎 Features

  • Parser: Implement new function syntax (#48)

✨ Improvements

v0.15.1

17 Apr 07:12
Compare
Choose a tag to compare
v0.15.1 Pre-release
Pre-release

Beta release.

npm: https://www.npmjs.com/package/mfm-js/v/0.15.1

✨ Improvements

  • API: inspect API accept a single node. (be39aab)
  • Parser: allow empty line for quote block of multiple lines (#46)

v0.15.0

15 Apr 09:15
Compare
Choose a tag to compare
v0.15.0 Pre-release
Pre-release

Beta release.

npm: https://www.npmjs.com/package/mfm-js/v/0.15.0

💎 Features

  • CLI: Add parse-plain npm script.

✨ Improvements

  • Parser: Improve detection of hashtag (#43)
  • Parser: Improve detection of mention (#45)
  • Parser: Improve detection of italic syntax (d08b0dc, 17ac0b9)

v0.14.1

14 Apr 15:20
Compare
Choose a tag to compare
v0.14.1 Pre-release
Pre-release

Beta release.

npm: https://www.npmjs.com/package/mfm-js/v/0.14.1

✨ Improvements

  • Parser: Fix bug of MFM function syntax (#42)

v0.14.0

10 Apr 11:55
Compare
Choose a tag to compare
v0.14.0 Pre-release
Pre-release

Beta release.

npm: https://www.npmjs.com/package/mfm-js/v/0.14.0

💎 Features

  • node generation macros are available.

✨ Improvements

  • parser performance is improved: use node generation macros (150cbd2)

⚠️ Breaking changes

  • api: change the function signature of extract API (10e50dd)
  • remove createNode utility (2d2bea6)