Releases: slackapi/bolt-js
@slack/[email protected]
What's Changed
Bolt-JS now supports Custom Steps! That's right, your trusty Bolt app now let's you expose Custom Steps in Bolt, allowing you to provide steps for use in Workflow Builder.
You can now use the new function()
method to register handlers for the function_executed
event. Check out our API docs on the topic to get started.
Changelog
- Add support for remote functions by @misscoded in #2026
- chore(deps): bump axios to 1.7.4 to address CVE by @helzahalim in #2201
- chore: purge the "workflow step" terminology by @WilliamBergamin in #2199
New Contributors
- @helzahalim made their first contribution in #2201
Full Changelog: https://github.com/slackapi/bolt-js/compare/@slack/[email protected]...@slack/[email protected]
@slack/[email protected]
What's Changed
- Add missing Events API payload types by @seratch in #2155
- docs: replacement steps from apps with custom functions by @lukegalbraithrussell in #2149
- Add an optional handler for invalid request signature error by @dophsquare in #2154
- Add missing properties in app_mention event payload by @seratch in #2160
- fix: add ts to PinnedMessageItem interface by @maxretries in #2164
- fix: add missing fields in ChannelCreatedEvent by @maxretries in #2166
- Fix broken link in "external select" section by @ornato-t in #2169
- Docs: adds Docusaurus site by @lukegalbraithrussell in #2174
- Docs: remove overzealous redirect by @lukegalbraithrussell in #2177
- docs - add manual redirects scripts by @lukegalbraithrussell in #2178
- Docs: Adds landing page and redirects by @lukegalbraithrussell in #2179
- Docs - fixes README image link by @lukegalbraithrussell in #2180
- Docs: remove superfluous files by @lukegalbraithrussell in #2181
- Fix Bold Text Rendering Issue by @suekou in #2183
- chore(deps-dev): bump @types/node from 22.1.0 to 20.14.2 by @dependabot in #2192
- chore(deps): bump axios to 1.7.3 to address CVE by @filmaj in #2194
- Publish
@slack/[email protected]
by @filmaj in #2195
New Contributors
- @dophsquare made their first contribution in #2154
- @maxretries made their first contribution in #2164
- @ornato-t made their first contribution in #2169
- @suekou made their first contribution in #2183
Full Changelog: https://github.com/slackapi/bolt-js/compare/@slack/[email protected]...@slack/[email protected]
@slack/[email protected]
What's Changed
More customizations for the AwsLambdaReceiver
have landed as well as a few touchups to typings and documented details!
With this release, the signature verification for AwsLambdaReceiver
can now be turned off if that's something you're interested in! Perhaps you have your own stylish way of verifying these signatures. The following can be added to your receiver to unlock this:
const { App, AwsLambdaReceiver } = require('@slack/bolt');
const app = new App({
...
receiver: new AwsLambdaReceiver({
signatureVerification: false,
}),
});
Read on and browse around for more details on all of the changes included!
🎁 Enhancements
- Add flag to
AwsLambdaReceiver
to enable/disable signature verification in #2107 - thanks @noah-guillory!
🐛 Fixes
- Add a type predicate for
CodedError
in #2110 - thanks @filmaj! - ButtonAction value field not required in #2134 - thanks @srajiang!
- fix(types): return void promises from the express receiver middleware parser in #2141 - thanks @zimeg!
📚 Documentation
- docs: fixed duplicative header links in reference in #2120 - thanks @lukegalbraithrussell!
- docs: deprecate Steps from Apps docs in #2130 - thanks @filmaj!
- docs: add JSDoc to and list out all available builtin middleware functions in the docs in #2136 - thanks @filmaj!
🧰 Maintenance
- ci(test): perform unit testing against node version 22 in #2140 - thanks @zimeg!
- chore(release): tag version @slack/[email protected] in #2142 - thanks @zimeg!
📦 Dependencies
- Bump @types/node from 20.12.7 to 20.12.10 in #2111 - thanks @dependabot!
- Bump @types/node from 20.12.10 to 20.12.11 in #2114 - thanks @dependabot!
- Bump @types/node from 20.12.11 to 20.12.12 in #2117 - thanks @dependabot!
- Bump @types/node from 20.12.12 to 20.14.0 in #2125 - thanks @dependabot!
- Bump @types/node from 20.14.0 to 20.14.2 in #2132 - thanks @dependabot!
New Contributors
- @noah-guillory made their first contribution in #2107
- @lukegalbraithrussell made their first contribution in #2120
Full Changelog: https://github.com/slackapi/bolt-js/compare/@slack/[email protected]...@slack/[email protected]
@slack/[email protected]
What's Changed
- Fix #2056 by adding
files
toapp_mention
event payload by @seratch in #2057 - Update acknowledging_requests.md by @technically-tracy in #2086
New Contributors
- @technically-tracy made their first contribution in #2086
Full Changelog: https://github.com/slackapi/bolt-js/compare/@slack/[email protected]...@slack/[email protected]
@slack/[email protected]
What's Changed
- chore(3.17.1): Publish v3.17.1 by @rafael-fecha, including dependency updates to address an Axios security vulnerability in #2029
New Contributors
- @rafael-fecha made their first contribution in #2029
Full Changelog: https://github.com/slackapi/bolt-js/compare/@slack/[email protected]...@slack/[email protected]
@slack/[email protected]
What's Changed
- Support for
style.code
properties on rich text elements (updates@slack/types
to 2.11 and@slack/web-api
to 6.11) by @filmaj in #2017
Full Changelog: https://github.com/slackapi/bolt-js/compare/@slack/[email protected]...@slack/[email protected]
@slack/[email protected]
What's Changed
Enhancements 🎁
- Close HTTP response on unhandled request timeout - Thank you @suhailgupta03 in #2007
- Prevent sending response headers if already sent in default error han… - Thanks! @suhailgupta03 in #2006
Maintainers
- Complete every matrix test regardless of adjacent failures - Thank you @zimeg in #2004
- Bump @types/node from 20.9.0 to 20.9.2 by @dependabot in #2000
- Bump @types/node from 20.9.2 to 20.10.0 by @dependabot in #2003
New Contributors 👋
- @suhailgupta03 made their first contribution in #2006 🎉
Full Changelog: https://github.com/slackapi/bolt-js/compare/@slack/[email protected]...@slack/[email protected]
@slack/[email protected]
What's Changed
This minor release includes support for the new File Input Block Kit Element, which allows for users to submit files using Block Kit. It also removes all traces of vulnerable versions of the axios
dependency.
Enhancements
- Add
file_input
block element payload support in TS by @seratch in #1995 - Add
rich_text_input
block element payload support in TS by @seratch in #1963 - Allow a custom
SocketModeReceiver
to be used with Socket Mode by @zimeg in #1972 - Include an example of using middleware with the
ExpressReceiver
by @zimeg in #1973
Bug Fixes
- fix: options constraint has wrong type definition by @nemanjastanic in #1940
Dependencies
- Bump @types/node from 20.6.2 to 20.9.0
- Upgrade axios by @wannfq in #1986
- Update mocha and web-api dependencies by @filmaj in #1994
Other
New Contributors
- @nemanjastanic made their first contribution in #1940
- @wannfq made their first contribution in #1986
- @mkly made their first contribution in #1992
Full Changelog: https://github.com/slackapi/bolt-js/compare/@slack/[email protected]...@slack/[email protected]
@slack/[email protected]
What's Changed
Important Notice
Since this version, we've dropped Node 16 support as the version is EOLed on September 11th, 2023. Please upgrade to a newer Node.js version from now on.
Enhancements
- Add typings for timepicker by @YussufElarif in #1928
- Upload code coverage reports using the Codecov GitHub Action by @zimeg in #1937
- Expose useful functions by @WilliamBergamin in #1955
Bug Fixes
Dependencies
- Bump @types/node from 20.4.5 to 20.4.8 by @dependabot in #1922
- Bump @types/node from 20.4.8 to 20.5.0 by @dependabot in #1923
- Bump @types/node from 20.5.0 to 20.5.1 by @dependabot in #1929
- Bump @types/node from 20.5.1 to 20.5.7 by @dependabot in #1934
- Bump @slack/logger from 3.0.0 to 4.0.0 by @dependabot in #1935
- Bump @types/node from 20.5.7 to 20.5.9 by @dependabot in #1938
- Bump @types/node from 20.5.9 to 20.6.0 by @dependabot in #1945
- Bump @types/node from 20.6.0 to 20.6.2 by @dependabot in #1951
- Release: @slack/[email protected] by @WilliamBergamin in #1956
New Contributors
- @YussufElarif made their first contribution in #1928
Full Changelog: https://github.com/slackapi/bolt-js/compare/@slack/[email protected]...@slack/[email protected]
@slack/[email protected]
What's Changed
- Add missing user object member to type BlockAction by @GovernmentHack in #1910
- Fix socket mode exception when using node v20 by @WilliamBergamin in #1918
New Contributors
- @GovernmentHack made their first contribution in #1910
Full Changelog: https://github.com/slackapi/bolt-js/compare/@slack/[email protected]...@slack/[email protected]