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 andType: 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
- Added go v1.23 to test matrix (test.yml) by @nemuvski in #1315
- Bumped GitHub Actions to Latest Versions by @shogo82148 in #1314
- Updated deprecated comment for UploadFile and UploadFileContext by @shogo82148 in #1316
New Contributors
- @shogo82148 made their first contribution in #1314
- @Nikolo made their first contribution in #1309
- @luke-josh made their first contribution in #1317
- @Manjish made their first contribution in #1320
- @YutoKashiwagi made their first contribution in #1319
- @obed-sj made their first contribution in #1279
- @gideonw made their first contribution in #1328
- @bamo made their first contribution in #1330
- @jarospisak-unity made their first contribution in #1334
Full Changelog: v0.14.0...v0.15.0