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.14.0 - #120

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 15, 2021

Copy link
Copy Markdown
Contributor

Bumps slack-api-model from 1.6.1 to 1.14.0.

Release notes

Sourced from slack-api-model's releases.

version 1.14.0

New Features

OAuth flow persistence callbacks

In the past, if a developer desires to customize the parts equivalent to callback_options in bolt-js/bolt-python in the OAuth flow, the developer has to implement the whole OAuthV2SuccessHandler with mostly the same code with DefaultOAuthV2SuccessHandler.

app.oauthCallback(new OAuthV2SuccessHandler() {
  @Override
  public Response handle(OAuthCallbackRequest request, Response response, OAuthV2AccessResponse apiResponse) {
    // Implement your own logic here
    return null;
  }
});

Since v1.14, bolt-java provides App#oauthPersistenceCallback and App#oauthPersistenceErrorCallback methods to accept more granular callbacks. These callbacks can be used for customizing the way your app behaves right after saving (or failing to save) issued tokens and their metadata in your database.

var oauthApp = new App(config);
// To customize the behavior after the installation persistence:
// The default behavior is to display the default completion web page
// or to redirect the installer to the pre-given completion URL.
oauthApp.oauthPersistenceCallback(arguments -> {
var response = arguments.getResponse();
response.setStatusCode(200);
response.setContentType("text/plain; charset=utf-8");
response.setBody("OK!");
});
// To customize the behavior when the installation persistence fails:
// The default behavior is to display the default error web page
// or to redirect the installer to the pre-given failure URL.
oauthApp.oauthPersistenceErrorCallback(arguments -> {
var response = arguments.getResponse();
response.setStatusCode(500);
response.setContentType("text/plain; charset=utf-8");
response.setBody("Something wrong! (" + arguments.getError().getMessage() + ")");
});
apps.put("/slack/oauth/", oauthApp.asOAuthApp(true));
var server = new SlackAppServer(apps);
server.start();

Apart from the two we added in this version, the following callbacks have been also available for customizing some parts of your app's OAuth flow:

</tr></table> 

... (truncated)

Commits
  • ba63aa0 version 1.14.0
  • 8644f12 Bump dependency minor/patch versions
  • f6a31a7 Fix #887 by skipping to create team_id cache data for metrics (#888)
  • 27ef15d Fix #862 Add "urn:scim:schemas:extension:slack:guest:1.0" schema support in t...
  • fa458c2 Run all the integration tests - 2021-11-10 PT
  • 324c2c9 Run all the integration tests - 2021-11-09 PT
  • a9aa570 Fix #875 Add callback_options equivalent to Bolt for Java (#883)
  • 49feb22 Split the CI builds into two
  • eadc254 Run all the integration tests - 2021-11-04 PT
  • 8661ef2 Add admin.users.session.resetBulk API support (#882)
  • 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.14.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.14.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 Nov 30, 2021

Copy link
Copy Markdown
Contributor Author

Superseded by #124.

@dependabot dependabot Bot closed this Nov 30, 2021
@dependabot
dependabot Bot deleted the dependabot/maven/com.slack.api-slack-api-model-1.14.0 branch November 30, 2021 14:04
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