Skip to content
This repository was archived by the owner on Jun 23, 2022. It is now read-only.

chore(deps): bump slack-api-client from 1.6.1 to 1.22.1 - #169

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/maven/com.slack.api-slack-api-client-1.22.1
Closed

chore(deps): bump slack-api-client from 1.6.1 to 1.22.1#169
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/maven/com.slack.api-slack-api-client-1.22.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 10, 2022

Copy link
Copy Markdown
Contributor

Bumps slack-api-client from 1.6.1 to 1.22.1.

Release notes

Sourced from slack-api-client's releases.

version 1.22.1

Changes

  • [bolt] #984 Add granular user change events - Thanks @​seratch
  • [slack-api-client] #983 Tweaking warnings related to missing accessibility fields text and fallback when posting messages - Thanks @​filmaj
  • [slack-api-client] Add new properties to Audit Logs API response classes - Thanks @​seratch

version 1.22.0

New Features

Message Metadata (Open Beta) Support

Message Metadata is a new feature in the Slack Platform, which enables developers to link a message inside Slack to a corresponding outside event or pattern.

With this Java SDK, you can post a message with metadata as below:

String token = System.getenv("SLACK_BOT_TOKEN");
MethodsClient client = Slack.getInstance().methods(token);
// Post a message with metadata
// You can set any type of data under the event_payload part
Map<String, Object> eventPayload = new HashMap<>();
eventPayload.put("procurement-id", "id-123");
eventPayload.put("amount", 1024);
eventPayload.put("tags", Arrays.asList("Procurement", "Engineering Division"));
// Build the metadata to attach to your app's message
Message.Metadata metadata = Message.Metadata.builder()
.eventType("internal-procurement-approval")
.eventPayload(eventPayload)
.build();
// Post a channel message with the metadata
ChatPostMessageResponse resposne = client.chatPostMessage(req -> req
.channel("#random")
.text("Can you approve this procurement process request?")
.metadata(metadata));

Once your app post a message with metadata, your app (and other apps too!) can access the message metadata by several ways:

If you go with the message_metadata_* events, please don't forget having the following settings in your App Manifest:

... (truncated)

Commits
  • b97f71e version 1.22.1
  • 2859ad9 Upgrade optional dependencies
  • b6c98ce Run all the integration tests - 2022-05-09 PT
  • c575ba4 Add granular user change events (#984)
  • aea01bb Run all the integration tests - 2022-05-08 PT
  • cffe5ae Remove JSON data merged from a different branch
  • 7b251ca Run all the integration tests - 2022-05-08 PT
  • 4b91478 Run all the integration tests - 2022-05-08 PT
  • 9df3c84 Run all the integration tests - 2022-05-06 PT
  • e1f7d2d Tweaking warnings related to missing accessibility fields text and `fallbac...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [slack-api-client](https://github.com/slackapi/java-slack-sdk) from 1.6.1 to 1.22.1.
- [Release notes](https://github.com/slackapi/java-slack-sdk/releases)
- [Changelog](https://github.com/slackapi/java-slack-sdk/blob/main/jSlack_changelog.md)
- [Commits](slackapi/java-slack-sdk@v1.6.1...v1.22.1)

---
updated-dependencies:
- dependency-name: com.slack.api:slack-api-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jun 9, 2022

Copy link
Copy Markdown
Contributor Author

Superseded by #174.

@dependabot dependabot Bot closed this Jun 9, 2022
@dependabot
dependabot Bot deleted the dependabot/maven/com.slack.api-slack-api-client-1.22.1 branch June 9, 2022 14:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants