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.0 - #166

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps slack-api-client from 1.6.1 to 1.22.0.

Release notes

Sourced from slack-api-client's releases.

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.getIsntance().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 Manfiest:

settings:
  event_subscriptions:
    request_url: https://{your domain}/slack/events
    bot_events:
      - message_metadata_deleted
      - message_metadata_posted
      - message_metadata_updated
    # Manually add this part in the App Manifest editor at https://api.slack.com/apps 
</tr></table> 

... (truncated)

Commits
  • 7b65903 version 1.22.0
  • 488e32e Upgrade kotlin patch verison and other optional ones too
  • 1765871 Run all the integration tests - 2022-05-02 PT
  • 40e765d Fix #968 Message metadata support (#980)
  • 2beb278 Run all the integration tests - 2022-04-28 PT
  • 9d2c3fe Add preview image replacement example
  • 5dceba1 Run all the integration tests - 2022-04-28 PT
  • 31b1320 Run all the integration tests - 2022-04-27 PT
  • 9138fb5 Run all the integration tests - 2022-04-21 PT
  • 1884bde Run all the integration tests - 2022-04-20 PT
  • 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.0.
- [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.0)

---
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 May 10, 2022

Copy link
Copy Markdown
Contributor Author

Superseded by #169.

@dependabot dependabot Bot closed this May 10, 2022
@dependabot
dependabot Bot deleted the dependabot/maven/com.slack.api-slack-api-client-1.22.0 branch May 10, 2022 14:07
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