Releases: slackapi/bolt-js
@slack/bolt@3.13.0
What's Changed
Enhancements
- Fix #1718 selected_date_time is missing in ViewStateValue interface by @seratch in #1719
- Fix #1325 Added support for dynamic custom paths by @jeffbaldwinjr in #1785
Bug fixes
Tests
- Test against node 18.x by @machisuke in #1792
Documentation
- Add in update to AWS Lambda guide to make ExpressReceiver config more clear by @hello-ashleyintech in #1649
- Update Heroku guides with the new low-cost Eco Dyno plan by @mwbrooks in #1655
- Reword migrate beta documentation by @srajiang in #1668
- 📝 Improve doc: remove double quotes from hash key by @yamashush in #1685
- 📄 Update Japanese OAuth docs by @yamashush in #1697
- Add reference to Slack documentation on
block_actionspayload shape by @srajiang in #1700 - Update outdated documents related on AWS Lambda by @wormwlrm in #1704
- [next-gen docs] Update next-gen capitalization of terms and also trim down on the getting started guide by @hello-ashleyintech in #1709
- Typo in docs -> future -> beta TOS link by @funtaps in #1716
- Fix typo in japanese docs: concepts#logging by @sotabkw in #1787
- Remove legacy tag by @WilliamBergamin in #1796
Dependencies
- Bump @types/node from 18.11.8 to 18.11.9 by @dependabot in #1650
- Bump @types/node from 18.11.9 to 18.11.10 by @dependabot in #1670
- Bump @types/node from 18.11.10 to 18.11.13 by @dependabot in #1680
- 🔼 Update actions/checkout, actions/setup-node to v3 by @yamashush in #1686
- Bump @types/node from 18.11.13 to 18.11.17 by @dependabot in #1689
- Bump @types/node from 18.11.17 to 18.11.18 by @dependabot in #1705
- Update @slack/oauth dependency to v2.6.0 by @srajiang in #1708
- Bump @types/node from 18.11.18 to 18.11.19 by @dependabot in #1734
- Bump @types/node from 18.11.19 to 18.13.0 by @dependabot in #1738
- Bump @types/node from 18.13.0 to 18.14.0 by @dependabot in #1745
- Bump @types/node from 18.14.0 to 18.14.2 by @dependabot in #1754
- Bump @types/node from 18.14.2 to 18.14.6 by @dependabot in #1757
- Fix #1780 by upgrading axios version to the latest by @SorsOps in #1781
- Bump @types/node from 18.14.6 to 18.15.10 by @dependabot in #1786
- Bump @types/node from 18.15.10 to 18.15.11 by @dependabot in #1794
Chores
New Contributors
- @wormwlrm made their first contribution in #1704
- @funtaps made their first contribution in #1716
- @SorsOps made their first contribution in #1781
- @sotabkw made their first contribution in #1787
- @jeffbaldwinjr made their first contribution in #1785
- @machisuke made their first contribution in #1792
Full Changelog: https://github.com/slackapi/bolt-js/compare/@slack/bolt@3.12.2...@slack/bolt@3.13.0
@slack/bolt@4.0.0-nextGen.9
What's Changed
- Added
block_suggestionsevent support for Function Interactivity, thanks @hello-ashleyintech @filmaj! #1645 - Add in update to AWS Lambda guide to make ExpressReceiver config more clear, thanls @hello-ashleyintech in #1649
Full Changelog: https://github.com/slackapi/bolt-js/compare/@slack/bolt@3.12.2...@slack/bolt@4.0.0-nextGen.9
@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 futureRun 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.jsonfile in their project root are now Slack CLI compatible by @srajiang - Adds CLI hook implementations
get-manifeststartandget-hooksby @srajiang - Exports utility types and functions intended for
manifest.jsauthoring 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
isEnterpriseInstallto 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