Bot releases are hidden (Show)
Published by stevengill over 3 years ago
Updated @slack/socket-mode
dependency to use a range (^1.0.0
) instead of a specific version - thanks @stevengill
Published by stevengill over 3 years ago
Published by stevengill almost 4 years ago
orgAuthorize
option when initializing App
. If you used this option previously, you must use authorize
instead for both single workspace installs and org wide app installs. See the migration guide to learn more! (#730) - thanks @stevengillInstallationStore.fetchOrgInstallation()
or InstallationStore.storeOrgInstallation()
. If you used these previously, you must use InstallationStore.fetchInstallation()
and InstallationStore.storeInstallation()
instead. See the migration guide to learn more! (#730) - thanks @stevengillApp
, use the socketMode: true
option to choose connecting to Slack without an HTTP server (👋 goodbye managing ngrok). In order to use Socket Mode, you must first enable it for your app’s configuration (https://api.slack.com/apps → Your App → Socket Mode).
SocketModeReceiver
class. This receiver allows your app to receive events from Slack over a WebSocket connection.App
, conditionally check for when you’re not in production (e.g. process.NODE_ENV !==
'``production``'
) to set developerMode:
```true`. Developer Mode currently enables debug logging, enables SocketMode, adds a custom failure handler for OAuth, and outputs the body of every incoming request. (#714, #742) - thanks @stevengillHTTPReceiver
is the new default receiver for App
. This will allow Bolt for JavaScript apps to more easily work with other popular web frameworks (Hapi.js, Koa, etc). (#670, #753) - thanks @aoberoi
ExpressReceiver
is still available to use for those of you that have usecases which aren’t covered by HTTPReceiver
.requestListener
property to selectively send it requests. This property follows the exact function signature as the first argument to Node’s built-in http.createServer()
, so it’s very flexible. It will throw an HTTPReceiverDeferredRequestError
, with a req
and res
property if it was not able to handle a given request.app.start()
. This method now takes TLS options as its second parameter (after the port). The simplest example of starting an HTTP server is app.start(3000, { key: MY_TLS_KEY, cert: MY_TLS_CERT })
. (#234, #658) - thanks @aoberoiPublished by stevengill almost 4 years ago
is_enterprise_install
check for slash commands (#737, #738) - thanks @mattcaseyAppMentionInterface
(#735, #739) - thanks @misscoded, @BenAlderferchannel
and other missing properties to all MessageEvent
interfaces (#736, #740) - thanks @misscoded, @BenAlderferPublished by stevengill almost 4 years ago
axios
dependency (#721, #722) - Thanks @brendan-miller-snykPublished by stevengill almost 4 years ago
InstallationStore
by adding saveOrgInstall
and fetchOrgInstall
methods. (#521) - thanks @stevengill, @aoberoiAuthorizations
in event api payloads which are replacing authed_users
and authed_teams
(#655, #656) - thanks @stevengillPublished by aoberoi about 4 years ago
StepUpdateArguments
and StepCompleteArguments
type definitions to correctly, and more precisely, describe the arguments to the update()
and complete()
utility arguments when building a WorkflowStep
- Thanks @seratch (#653)Published by aoberoi about 4 years ago
The new WorkflowStep
class gives Bolt apps the ability to offer Workflow Builder Steps from Apps.
Slack users can compose Workflows using steps that your app defines. Your app will create the interface for the user to add or edit their step, with the specific inputs and ouputs it needs. Later, Slack will send an event to your app when it's time to execute that step. Learn how to build using WorkflowStep
in the Bolt for JS docs.
Thanks to @misscoded, @selfcontained, @amarinelli, @seratch (#607, #592, #593 )
Fixes types for radio buttons and date picker to allow selected_options
to be null
- Thanks @stevengill (#622)
Adds documentation for publishing views to the App Home Home Tab - Thanks @shaydewael (#626)
A slew of documentation updates!
client
listener arg instead of app.client
consistently - Thanks @shaydewael (#613)Published by misscoded about 4 years ago
This release includes additions to the Workflow Steps from Apps beta. 🎉
WorkflowStep
class, new utility props, tests, and associated types - Thanks, @misscoded!Install via npm install @slack/bolt@feat-workflow-steps
Published by stevengill about 4 years ago
api_app_id
to slash command payloads (#573, #574) - Thanks @stevengillclientOptions
gets passed down to @slack/oauth
(#585, #586) - Thanks @stevengillinstallerOptions
named authorizationUrl
. This can be used to change the default authorization endpoint when doing OAuth. (#585, #586) - Thanks @stevengillBolt-js
now exposes exported interfaces from @slack/oauth
and everything exported from @slack/types
(#585, #586) - Thanks @stevengillPublished by misscoded about 4 years ago
This release includes additions to the Workflow Steps from Apps beta. 🎉
Add to types associated with the workflow_step
feature, including optional workflow_step
object on view submit/close events (#578) - Thanks, @selfcontained!
Install via npm install @slack/bolt@feat-workflow-steps
Published by misscoded about 4 years ago
calls_rejected
event (#505, #506) - Thanks, @stevengill!app_mention
events (#499) - Thanks, @hashedhyphen!userScopes
to AppOptions
(#540) - Thanks, @joshmcgrath08!ReactionAddedEvent
(#537) - Thanks, @dbmikus!Published by misscoded about 4 years ago
This release is for the Workflow Steps from Apps beta. 🎉
Install via npm install @slack/bolt@feat-workflow-steps
Published by stevengill over 4 years ago
Published by stevengill over 4 years ago
ExpressReceivers
not working properly with the new OAuth changes. (https://github.com/slackapi/bolt-js/pull/503) - Thanks @stevengill & @marksPublished by stevengill over 4 years ago
res.send
to res.status(500).send()
(#487) - Thanks @dburandtRadioButton
and Checkbox
(#471) - Thanks @yoichiroPublished by aoberoi over 4 years ago
processBeforeResponse
option did not ensure processing was complete before HTTP response was sent (#462) - thanks @aoberoiPublished by stevengill over 4 years ago
Thanks for checking out the 2.0.0
release of Bolt for JavaScript! Firstly, a huge thank you to all of the folks who contributed to this release. A special shoutout to community contributor @barlock for the massive contributions he contributed!
Make sure to read the migrating to 2.0.0
guide to learn what changes are needed to upgrade your existing Bolt for JavaScript apps.
processBeforeResponse
option to be used. (#353, #380, #381, #439, #440, #444) - Thanks @barlock, @aoberoi, @stevengill and @seratchshortcut()
method instead of the action()
method. (#428) - Thanks @stevengillView
type missing optional id from response (#436, #437) - Thanks @seratch@slack/[email protected]
(#442, #445, #449) - Thanks @stevengillprocessBeforeResponse
to App[Options]
to improve Bolt support for Function-as-a-Service platforms (like AWS Lambda) (#444) - Thanks @stevengillPublished by stevengill over 4 years ago
.shortcut
method (#427, #430) - thanks @stevengill & @shaydewaelbolt
with bolt for javascript
in our documentation (#425) - thanks @shaydewaelMultiUsersSelectAction
(#422, #423) - thanks @seratchPublished by stevengill over 4 years ago
logger
(#405, #406) - Thanks @seratch