Releases: slackapi/bolt-js
@slack/bolt@3.12.2
What's Changed
- Updated maintainers guide to add more clarity by @WilliamBergamin in #1519
- Delete unnecessary character from doc by @koh110 in #1545
- Update SocketModeFunctions.ts by @rileyeaton in #1553
- Delete CHANGELOG.md by @WilliamBergamin in #1556
- Fix misspellings / typos detected by WebStorm IDE by @seratch in #1557
- Fixed trivial typo by @akmhmgc in #1575
- Set @types/node to set version 18.7.15 by @hello-ashleyintech in #1577
- Add next-gen beta documentation by @stevengill in #1565
- Bump .ruby-version from 2.7.1 to 2.7.4 by @E-Zim in #1594
- Add in information about custom HTTP routes to docs by @hello-ashleyintech in #1601
- Fix node types by @srajiang in #1607
- Update getting started guide, migrate create new app guide, and rearrange nav (next gen) by @hello-ashleyintech in #1603
- Spelling by @jsoref in #1610
- Add in Hello World example across docs by @hello-ashleyintech in #1608
- Fix context.team_id for view interactions in a Slack Connect channel by @WilliamBergamin in #1615
- Add deployment guide for Heroku by @E-Zim in #1617
- Publish @slack/bolt@3.12.2 by @hello-ashleyintech in #1646
New Contributors
- @WilliamBergamin made their first contribution in #1519
- @rileyeaton made their first contribution in #1553
- @akmhmgc made their first contribution in #1575
- @jsoref made their first contribution in #1610
Full Changelog: https://github.com/slackapi/bolt-js/compare/@slack/bolt@3.12.1...@slack/bolt@3.12.2
@slack/bolt@4.0.0-nextGen.8
@slack/bolt@4.0.0-nextGen.6
@slack/bolt@4.0.0-nextGen.3
@slack/bolt@4.0.0-nextGen.2
What's Changed (beta)
This beta release contains feature enhancements to Bolt JS for developers participating in the Slack Platform Beta 🚀
Compatible with the Slack CLI tool
Create a new app from a Github sample template
$ slack create my-app -t slack-samples/bolt-js-starter-template -b future
Run your app for local development from the CLI. We take care of installation, tokens and starting the app in development mode.
$ slack run
Configure your app in code
Declare a manifest.js
or manifest.ts
file import handly utility functions and define any recomposable units contained such as Functions
, Workflows
and Triggers
.
# my-app/manifest.js
const { Manifest } = require('@slack/bolt');
module.exports = Manifest({
runOnSlack: false,
name: '',
displayName: '',
description: '',
botScopes: ['chat:write'],
socketModeEnabled: true,
workflows: [TimeOffWorkflow],
features: {
appHome: {
messagesTabEnabled: true,
messagesTabReadOnlyEnabled: true,
},
},
settings: {
interactivity: {
is_enabled: true,
},
org_deploy_enabled: false,
},
});
Compose Custom Function handling logic via a SlackFunction
.
Write a recomposable unit of logic:
Example:
const myFunc = new SlackFunction('fn_callback_id', () => {});
Attach optional handlers for block_action
and view
events related to your function.
Example:
myFunc.action('action_id', () => {})
.view('view_callback_id', () => {});
Enhancements
- Bolt-JS projects containing a valid
slack.json
file in their project root are now Slack CLI compatible by @srajiang - Adds CLI hook implementations
get-manifest
start
andget-hooks
by @srajiang - Exports utility types and functions intended for
manifest.js
authoring by @srajiang @neptunel - Adds SlackFunction and Function Localized Interactivity handling by @srajiang in #1567
Full Changelog
https://github.com/slackapi/bolt-js/compare/@slack/bolt@3.12.1...@slack/bolt@4.0.0-nextGen.2
@slack/bolt@3.12.1
- Fix #1509 HTTPReceiver does not immediately respond to an invalid signature request (no response instead) (via #1528 ) - thanks @seratch! @nirvparekh!
- Document improvements (#1524 #1526) - thanks @wongjas!
Here is the list of all the issues / pull requests included in the release: https://github.com/slackapi/bolt-js/milestone/28?closed=1
@slack/bolt@3.12.0
- Fix #1507 Add type support for
message_metadata_*
event types (via #1508) - thanks @dannyhostetler! - Allow passing additional types for Global and Middleware Context (via #1505) - thanks @M1kep!
- Fix #1510: Add
isEnterpriseInstall
to Context (via #1511) - thanks @rockingskier! - Fix #1052: Request verification failed: Failed to verify authenticity: stale (via #1503) - thanks @srajiang!
- Fixed receiver warning typo (via #1492) - thanks @nick-w-nick!
Here is the list of all the issues / pull requests included in the release: https://github.com/slackapi/bolt-js/milestone/21?closed=1
@slack/bolt@3.11.3
- Fix #1488 Incorrect types with ViewUpdateResponseAction and ViewPushResponseAction (via #1490) - thanks @seratch @ducminh-phan!
Here is the list of all the issues / pull requests included in the release: https://github.com/slackapi/bolt-js/milestone/26?closed=1
@slack/bolt@3.11.2
- Bug fixes:
- Fix #1454: Missing type declarations for HomeView (via #1455) - thanks @seratch!
- TypeScript 4.7 compiler compatibility (via #1466) - thanks @seratch!
- Fix #1472:
say
type incorrectly inferred as never when usingpin_added
orreaction_*
events (via #1473 and #1476) - thanks @seratch! - Fix an action typo in the docs (via #1475) - thanks @BenAlderfer!
- Add more logs for error patterns in AwsLambdaReceiver (via #1481) - thanks @seratch!
- Fix #1478:
ack()
is not accessible in global middleware in TypeScript (via #1482) - thanks @seratch!
Here is the list of all the issues / pull requests included in the release: https://github.com/slackapi/bolt-js/milestone/25?closed=1
@slack/bolt@3.11.1
- New features / improvements:
- Adding support for new user-change events with types (via #1448) - thanks @filmaj
- Slack prints failed with the error "operation_timeout" when slack command runs and finishes successfully in AWS Lambda (via #1435 #1452) - thanks @nicolls1
- Upgrade socket-mode dependency to the latest minor (via #1441 ) - thanks @seratch !
Here is the list of all the issues / pull requests included in the release: https://github.com/slackapi/bolt-js/milestone/24?closed=1