Closed sonots closed 9 years ago
In Japanese:
デフォルトで link_names=1 を利かせたかったので、下位互換性を壊しています。
link_names=1 にすると、Incoming Webhook および Slack Web API において、Mention による Desktop Notification が機能するのですが、以下の制限があります。
そのため、attachments を使わざるを得ない color
および title
オプションをデフォルトで無効にしました。デフォルト値の下位互換性が壊れています.
I am supposed to release as v0.6.0
I understand these changes and the effects. At least in my use case, I don't care. Accept these incompatibility, then we receive a number of advantages. I think it is acceptable to change them.
Let merge :+1:
v0.6.0 released
:tada:
Support
link_names
, andparse
options to enable Desktop Notification via Mention for Incoming Webhook and Slack Web API.Following incompatibility changes were introduced:
color
isnil
as defaultmrkdwn
istrue
as defaultlink_names
istrue
as defaulticon_emoji
isnil
as defaultusername
isnil
as default\1. and 2. are because
link_names=1
effectively works only for thetext
field, and not for theattachments
field.color
andtitle
option requires to useattachments
field.\3. and 4. are just because I thought setting them by default reduces troubles which users will experience.
\5. and 6. are just incidentally.