Skip to content

Releases: raycharius/slack-block-builder

TimePicker, TypeScript Definitions, Dispatch Actions

17 Oct 20:04
Compare
Choose a tag to compare

✨ Add TimePicker Element and TypeScript Definitions

  • Add TimePicker input element.
  • Support dispatch_action parameter for input block (dispatchAction method in Input object).
  • Support dispatch_action_config for plain-text input (dispatchActionOnCharacterEntered and dispatchActionOnEnterPressed methods on TextInput object).
  • Add TypeScript definitions.

Support Markdown in Text Parameter for Confirmation Dialog

13 Oct 19:24
Compare
Choose a tag to compare

🐛 Fix Bug with Text Parameter Not Supporting Markdown in Confirmation Dialog

  • Parameter text in the ConfirmationDialog object now supports markdown.

Add Support for Header Block

30 Jul 07:56
Compare
Choose a tag to compare

✨ Add Support for Header Block

  • Block Builder now supports the new Header block, released by Slack on 7/30/20.

Filter Falsy Values from Appending Methods

12 Jul 20:13
Compare
Choose a tag to compare

✨ Filter Falsy Values from Appending Methods

  • Now all falsy values passed into appending methods are filtered before validation, not just undefined, making it easier to work with conditions.

Add Support for Message Attachments

01 Jul 20:18
Compare
Choose a tag to compare

✨ Add Support for Message Attachments

  • Add support for message attachments using the Message.attachments() method, passing in objects created through the Bits.Attachment() method.
  • Add Message.getAttachments() method (works the same as the existing Surface.getBlocks() method).

Support Markdown For Description Property of Option Object

29 Jun 23:15
c0c60d8
Compare
Choose a tag to compare

✨ Support Markdown For Description Property of Option Object

  • Now the description property of the Option Bit object supports markdown when used in a Checkboxes or RadioButtons Element object.

Fix Bug with Slack-Formatted Timestamps

25 Jun 23:53
Compare
Choose a tag to compare

🐛 Fix Bug with Slack-Formatted Timestamps

  • Fix issue where Slack timestamp format not permitted for ts and threadTs parameters of the Message surface object.

Support ts Property for Message Surface

25 Jun 23:03
Compare
Choose a tag to compare

✨ Support ts Property for Message Surfaces

  • Calling ts() on the Message surface object now sets the ts parameter in the payload, which helps when updating messages.

Improve Build Methods for Surfaces

18 Jun 00:07
Compare
Choose a tag to compare

⚡ Build Methods for Surface Objects – Improved

  • Methods that build a Surface object can now be called multiple times. Calling a building method after the initial build does not mutate the object in any way – it just returns the built result. These methods include buildToJSON, buildToObject, getBlocks(), printPreviewUrl().
  • Add links to Slack channels for discussing Block Builder to the README.

Version 1.0.0 Released!

16 Jun 22:50
Compare
Choose a tag to compare

🎉 Version 1.0.0 Released!