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

chore(deps): bump slack-api-model from 1.6.1 to 1.20.0 - #147

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 21, 2022

Copy link
Copy Markdown
Contributor

Bumps slack-api-model from 1.6.1 to 1.20.0.

Release notes

Sourced from slack-api-model's releases.

version 1.20.0

Changes

  • [bolt-socket-mode] #939 #937 bolt-socket-mode establishes a connection before a SocketModeApp#start()/startAsync() method call - Thanks @​seratch
  • [slack-api-client] #938 #931 AdminAppsRequestsListRequest class missing enterpriseId field - Thanks @​seratch @​andrewtcobb

version 1.19.0

New Features

A new option to completely disable the underlying API call metrics management

The smart rate limiter feature in this SDK is so useful for easily managing rate limits in Slack API calls. https://slack.dev/java-slack-sdk/guides/web-api-basics#rate-limits

However, as reported at slackapi/java-slack-sdk#933, the feature can be a bit overhead for the app that needs to handle requests associated with a large number of workspace installations (say, thousands!).

Since this version, we've added a new option statsEnabled to SlackConfig and its API client level sub configs such as MethodsConfig, SCIMConfig, and AuditConfig. The default value is true, which is compatible with the past versions.

If you don't need the traffic metrics at all, you can disable this feature by the following way:

SlackConfig config = new SlackConfig();
config.setStatsEnabled(false);
Slack slack = Slack.getInstance(config);

For more granular control, you can set the same flag for each API client:

SlackConfig config = new SlackConfig();
// Disable the metrics only for Web API methods
config.getMethodsConfig().setStatsEnabled(false);
// For SCIM, Audit Logs APIs, the metrics are still available
Slack slack = Slack.getInstance(config);

If you set this flag to false, you can get rid of the potential overhead for large-scale apps. The downside of the customization would be that your app needs to manage rate-limited error patterns on our own. This is because disabling the option means that API call history data, which this SDK's smart rate limiter feature relies on, is no longer maintained.

Also, since this release, the API client behavior with the default settings is significantly improved. Therefore, for most apps, now the default configuration should work without any performance issues.

Changes

  • [slack-api-client] #931 Add bookmarks.* Web APIs - Thanks @​seratch
  • [slack-api-cljent] #930 Add admin.users.unsupportedVersions.export API support - Thanks @​seratch
  • [slack-api-client] #925 Add accessibility_label to button block element - Thanks @​seratch

... (truncated)

Commits
  • 2df4890 version 1.20.0
  • 0b7081a Fix #937 bolt-socket-mode establishes a connection before a SocketModeApp#sta...
  • 92a23fa Fix #936 AdminAppsRequestsListRequest class missing enterpriseId field (#938)
  • 4bbfe44 Update the docs to mention the newly added options for rate limiter (#935)
  • dc852d3 Start new development
  • 4194c64 version 1.19.0
  • 7753b37 Ugprade micronaut patch version
  • 96a192e Fix #933 by adjusting the internals of smart rate limiter (#934)
  • 9ce9280 Run all the integration tests - 2022-02-16 PT
  • 3c41b6d Set the next release version SNAPSHOT
  • 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-model](https://github.com/slackapi/java-slack-sdk) from 1.6.1 to 1.20.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.20.0)

---
updated-dependencies:
- dependency-name: com.slack.api:slack-api-model
  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 Mar 3, 2022

Copy link
Copy Markdown
Contributor Author

Superseded by #153.

@dependabot dependabot Bot closed this Mar 3, 2022
@dependabot
dependabot Bot deleted the dependabot/maven/com.slack.api-slack-api-model-1.20.0 branch March 3, 2022 14:06
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