Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @slack/bolt to v3.22.0 #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 23, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@slack/bolt (source) 3.9.0 -> 3.22.0 age adoption passing confidence

Release Notes

slackapi/bolt (@​slack/bolt)

v3.22.0

Compare Source

What's new

This release adds support for the assistant.threads.* API methods introduced in @slack/web-api@6.13.0 🤖 as well as improvements to documentation at the new https://tools.slack.dev/bolt-js site and patches to dependencies 🔒

Example usage

More details about these endpoints can be discovered in the documentation, and listeners can be added to code to respond to incoming events like so:

app.event('assistant_thread_started', async ({ client, event, logger }) => {
  logger.info('A new thread started');
  logger.debug(event);
  const now = new Date();
  const title = await client.assistant.threads.setTitle({
    title: `Chats from ${now.toISOString()}`,
    channel_id: event.assistant_thread.channel_id,
    thread_ts: event.assistant_thread.thread_ts,
  });
  logger.debug(title);
  const suggestions = await client.assistant.threads.setSuggestedPrompts({
    channel_id: event.assistant_thread.channel_id,
    thread_ts: event.assistant_thread.thread_ts,
    title: 'Ask the computer for answers',
    prompts: [
      {
        title: 'Find the time',
        message: `What happens at ${Math.floor(now.getTime() / 1000)}`,
      },
    ],
  });
  logger.debug(suggestions);
});

app.event('assistant_thread_context_changed', async ({ client, event, logger }) => {
  logger.info('The channel of focus changed');
  logger.debug(event);
  const response = client.chat.postMessage({
    thread_ts: event.assistant_thread.thread_ts,
    channel: event.assistant_thread.channel_id,
    text: `Now visiting <#${event.assistant_thread.context.channel_id}>`,
  });
  logger.debug(response);
});

app.message(async ({ client, message, logger }) => {
  logger.info('A new message was received');
  logger.debug(message);
  if (message.subtype === 'message_changed' || message.subtype === 'message_deleted') {
    return;
  }
  const status = await client.assistant.threads.setStatus({
    channel_id: message.channel,
    thread_ts: message.thread_ts,
    status: 'is thinking...',
  });
  logger.debug(status);
  /**
    * Actual response generation could happen here!
    */
  setTimeout(async () => {
    const response = await client.chat.postMessage({
      channel: message.channel,
      thread_ts: message.thread_ts,
      text: 'How insightful!',
    });
    logger.debug(response);
  }, 3000);
});
Changes
📚 Documentation
📦 Dependencies

🎉 New contributors

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).21.4...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).22.0

v3.21.4

Compare Source

What's Changed

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).21.3...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).21.4

v3.21.3

Compare Source

What's Changed

Woops! We (coughfilmajcough) removed the EnvelopedEvent export in a recent change. We are adding it back in in this patch release. Please accept our sincere apologies for this temporary breaking change in bolt 3.21.2.

Changelog

New Contributors

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).21.2...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).21.3

v3.21.2

Compare Source

What's Changed

The main change in this patch release is creating an npm release for the change in #​2223, where exported event payload types were moved from bolt-js to @slack/types. If you see errors compiling your TypeScript-based application that look like:

Module './types' has already exported a member

.. then upgrading to this release should address the issue (see #​2233 and #​2234 for issue details).

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).21.1...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).21.2

v3.21.1

Compare Source

What's Changed

This patch release brings improvements to documentation and sureness in our CI, as well as security updates to certain @slack packages - see CVE-2024-39338 and axios@1.7.4 for more details!

Changes

📚 Documentation
🔒 Security
🧰 Maintenance

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).21.0...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).21.1

v3.21.0

Compare Source

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

New Contributors

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).20.0...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).21.0

v3.20.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).19.0...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).20.0

v3.19.0

Compare Source

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('@&#8203;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!

🎁 Enhancments
🐛 Fixes
📚 Documentation
🧰 Maintenance
📦 Dependencies

New Contributors

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).18.0...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).19.0

v3.18.0

Compare Source

What's Changed
New Contributors

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).17.1...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).18.0

v3.17.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).17.0...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).17.1

v3.17.0

Compare Source

What's Changed

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).16.0...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).17.0

v3.16.0

Compare Source

What's Changed
Enhancements 🎁
Maintainers
New Contributors 👋

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).15.0...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).16.0

v3.15.0

Compare Source

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
Bug Fixes
Dependencies
Other

New Contributors

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).14.0...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).15.0

v3.14.0

Compare Source

What's Changed

Enhancements
Bug Fixes
Dependencies

New Contributors

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).13.3...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).14.0

v3.13.3

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).13.2...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).13.3

v3.13.2

Compare Source

What's Changed

Enhancements
Bug fixes
Documentation
Dependencies

New Contributors

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).13.1...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).13.2

v3.13.1

Compare Source

Enhancements
Bug fixes
Documentation
Dependencies

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).13.0...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).13.1

v3.13.0

Compare Source

What's Changed

Enhancements
Bug fixes
Tests
Documentation
Dependencies
Chores

New Contributors

Full Changelog: https://github.com/slackapi/bolt-js/compare/[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).12.2...[@&#8203;slack/bolt](https://redirect.github.com/slack/bolt)[@&#8203;3](https://redirect.github.com/3).13.0

v3.12.2

Compare Source

What's Changed


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.10.0 fix(deps): update dependency @slack/bolt to v3.11.0 Apr 24, 2022
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 07d4065 to 6d783a5 Compare April 24, 2022 20:32
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.11.0 fix(deps): update dependency @slack/bolt to v3.11.1 May 16, 2022
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 6d783a5 to 3acb47a Compare May 16, 2022 02:16
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 3acb47a to 152904f Compare June 18, 2022 16:16
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.11.1 fix(deps): update dependency @slack/bolt to v3.11.3 Jun 18, 2022
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 152904f to 93785c5 Compare September 25, 2022 18:24
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.11.3 fix(deps): update dependency @slack/bolt to v3.12.1 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 93785c5 to 114caea Compare November 20, 2022 11:32
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.12.1 fix(deps): update dependency @slack/bolt to v3.12.2 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 114caea to de4a611 Compare April 17, 2023 10:31
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.12.2 fix(deps): update dependency @slack/bolt to v3.13.0 Apr 17, 2023
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.13.0 fix(deps): update dependency @slack/bolt to v3.13.1 May 28, 2023
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from de4a611 to 16a5562 Compare May 28, 2023 11:47
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 16a5562 to 3600161 Compare July 13, 2023 00:21
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.13.1 fix(deps): update dependency @slack/bolt to v3.13.2 Jul 13, 2023
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.13.2 fix(deps): update dependency @slack/bolt to v3.13.3 Aug 4, 2023
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 3600161 to 2e880bc Compare August 4, 2023 17:15
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 2e880bc to 776d6ed Compare September 21, 2023 16:21
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.13.3 fix(deps): update dependency @slack/bolt to v3.14.0 Sep 21, 2023
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.14.0 fix(deps): update dependency @slack/bolt to v3.15.0 Nov 15, 2023
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 776d6ed to 272c0e6 Compare November 15, 2023 18:44
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.15.0 fix(deps): update dependency @slack/bolt to v3.16.0 Dec 1, 2023
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 272c0e6 to 3fff3c5 Compare December 1, 2023 19:45
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 3fff3c5 to 0b71c76 Compare December 20, 2023 21:46
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.16.0 fix(deps): update dependency @slack/bolt to v3.17.0 Dec 20, 2023
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 0b71c76 to e1c3c81 Compare January 11, 2024 19:33
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.17.0 fix(deps): update dependency @slack/bolt to v3.17.1 Jan 11, 2024
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from e1c3c81 to f6415ac Compare April 25, 2024 19:07
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.17.1 fix(deps): update dependency @slack/bolt to v3.18.0 Apr 25, 2024
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from f6415ac to 5556031 Compare June 20, 2024 01:29
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.18.0 fix(deps): update dependency @slack/bolt to v3.19.0 Jun 20, 2024
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 5556031 to 09b2053 Compare August 12, 2024 19:01
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.19.0 fix(deps): update dependency @slack/bolt to v3.20.0 Aug 12, 2024
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 09b2053 to 618eaad Compare August 14, 2024 20:25
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.20.0 fix(deps): update dependency @slack/bolt to v3.21.0 Aug 14, 2024
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 618eaad to 0be42bd Compare August 16, 2024 04:58
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.21.0 fix(deps): update dependency @slack/bolt to v3.21.1 Aug 16, 2024
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 0be42bd to c02417e Compare September 5, 2024 17:08
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.21.1 fix(deps): update dependency @slack/bolt to v3.21.2 Sep 5, 2024
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from c02417e to 2624593 Compare September 11, 2024 15:45
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.21.2 fix(deps): update dependency @slack/bolt to v3.21.3 Sep 11, 2024
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 2624593 to 0d712a5 Compare September 11, 2024 23:15
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.21.3 fix(deps): update dependency @slack/bolt to v3.21.4 Sep 11, 2024
@renovate renovate bot force-pushed the renovate/slack-bolt-3.x branch from 0d712a5 to 01f1409 Compare September 27, 2024 22:53
@renovate renovate bot changed the title fix(deps): update dependency @slack/bolt to v3.21.4 fix(deps): update dependency @slack/bolt to v3.22.0 Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants