Skip to content

v0.15.0

Latest
Compare
Choose a tag to compare
@lorenzoaiello lorenzoaiello released this 14 Oct 17:37
· 1 commit to master since this release
203cdb2

Warning

This release includes a breaking change since the last release.

What's Changed

v0.15.0 is now available. It does contain minor breaking changes to two Block Kit elements along with a lot of new functionality.

Breaking Changes

Block Kit - Rich Text Section Date Element

If you are using the RichTextSectionDateElement block kit element, there is a new field Format which is now required. It previously did not exist, but was marked as required in the Block Kit Documentation. Similarly, the function NewRichTextSectionDateElement function signature has been updated to require the new parameter. While this may not have previously worked, the non-backwards compatible signature change prompts it to be identified as breaking change.

Block Kit - Rich Text input Block Element

If you are using the RichTextInputBlockElement block kit element, the InitialValue field type has been changed from string to *RichTextBlock to provide a more strongly typed experience. If you were previously passing a pre-formatted JSON object you will need to update your input to use the RichTextBlock struct instead.

Enhancements

  • Added support for publishing a message to a specific thread by @Nikolo in #1309
  • Added support for unicode parameter in emoji type of rich text blocks by @YutoKashiwagi in #1319
  • Added endpoints for calls.* apis and Type: call in blockkit by @winston-stripe in #1190
  • Added Convenience Methods to Block Elements by @obed-sj in #1279
  • Added functions.completeError and functions.completeSuccess by @gideonw in #1328
  • Added support for external_limited option of inviteShared by @bamo in #1330
  • Added support for Canvas API methods by @jarospisak-unity in #1334

Bug Fixes

  • Added required format field to rich text date blocks by @luke-josh in #1317
  • Updated RichTextInputBlockElement InitialValue data type by @Manjish in #1320

Chores

New Contributors

Full Changelog: v0.14.0...v0.15.0