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 external fixes #514

Merged
merged 1 commit into from
Sep 28, 2024
Merged

fix(deps): update external fixes #514

merged 1 commit into from
Sep 28, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 28, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@aws-sdk/client-s3 (source) 3.654.0 -> 3.658.1 age adoption passing confidence
@aws-sdk/client-sqs (source) 3.654.0 -> 3.658.1 age adoption passing confidence
@aws-sdk/s3-request-presigner (source) 3.654.0 -> 3.658.1 age adoption passing confidence
@slack/bolt (source) 3.21.4 -> 3.22.0 age adoption passing confidence
semantic-release 24.1.1 -> 24.1.2 age adoption passing confidence

Release Notes

aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)

v3.658.1

Compare Source

Bug Fixes
  • clients: allow empty string field values for headers (#​6511) (1273ff3)

v3.658.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-s3

v3.657.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-s3

aws/aws-sdk-js-v3 (@​aws-sdk/client-sqs)

v3.658.1

Compare Source

Bug Fixes
  • clients: allow empty string field values for headers (#​6511) (1273ff3)

v3.658.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-sqs

aws/aws-sdk-js-v3 (@​aws-sdk/s3-request-presigner)

v3.658.1

Compare Source

Bug Fixes
  • clients: allow empty string field values for headers (#​6511) (1273ff3)

v3.658.0

Compare Source

Note: Version bump only for package @​aws-sdk/s3-request-presigner

v3.657.0

Compare Source

Note: Version bump only for package @​aws-sdk/s3-request-presigner

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/[email protected] 🤖 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 === 'assistant_app_thread' || 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

semantic-release/semantic-release (semantic-release)

v24.1.2

Compare Source

Bug Fixes

Configuration

📅 Schedule: Branch creation - "after 2pm on Saturday" in timezone Europe/Zurich, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

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

Copy link

This PR will trigger a patch release when merged.

@renovate renovate bot merged commit fa41d84 into main Sep 28, 2024
3 checks passed
@renovate renovate bot deleted the renovate-external-fixes branch September 28, 2024 15:37
solaris007 pushed a commit that referenced this pull request Sep 28, 2024
## [1.67.1](v1.67.0...v1.67.1) (2024-09-28)

### Bug Fixes

* **deps:** update external fixes ([#514](#514)) ([fa41d84](fa41d84))
@solaris007
Copy link
Member

🎉 This PR is included in version 1.67.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant