apankowski / garcon

Bot re-posting lunch posts from chosen Facebook pages on Slack
Apache License 2.0
3 stars 0 forks source link

Update non-major #326

Closed renovate[bot] closed 2 weeks ago

renovate[bot] commented 2 weeks ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.slack.api:slack-api-client 1.40.3 -> 1.42.0 age adoption passing confidence
com.google.guava:guava 33.2.1-jre -> 33.3.0-jre age adoption passing confidence
org.flywaydb.flyway 10.10.0 -> 10.17.3 age adoption passing confidence
com.avast.gradle.docker-compose 0.17.7 -> 0.17.8 age adoption passing confidence
org.springframework.boot 3.3.2 -> 3.3.3 age adoption passing confidence
org.jetbrains.kotlin.plugin.spring 2.0.10 -> 2.0.20 age adoption passing confidence
org.jetbrains.kotlin.kapt 2.0.10 -> 2.0.20 age adoption passing confidence
org.jetbrains.kotlin.jvm 2.0.10 -> 2.0.20 age adoption passing confidence
org.flywaydb:flyway-database-postgresql (source) 10.10.0 -> 10.17.3 age adoption passing confidence

Release Notes

slackapi/java-slack-sdk (com.slack.api:slack-api-client) ### [`v1.42.0`](https://redirect.github.com/slackapi/java-slack-sdk/releases/tag/v1.42.0): version 1.42.0 [Compare Source](https://redirect.github.com/slackapi/java-slack-sdk/compare/v1.41.0...v1.42.0) ### Announcements #### Jakarta EE compatible Socket Mode Since this version, developers can migrate to the newer Jakarta EE compatible WebSocket interface for Socket Mode modules. To enable this, the following two optional modules are added: - com.slack.api:slack-jakarta-socket-mode-client - com.slack.api:bolt-jakarata-socket-mode The Socket Mode client's default implementation uses tyrus-standalone-client **1.x**, which is compatible with **javax.websocket-api** APIs. The Jakarta EE version of this interface is the **jakarta.websocket-client-api** APIs, and tyrus-standalone-client **2.x** is compatible with it. Since it's not feasible to have both tyrus-standalone-client 1.x and 2.x in the same module's dependencies, I have added a new module named slack-jakarta-socket-mode-client. See [https://github.com/slackapi/java-slack-sdk/issues/919](https://redirect.github.com/slackapi/java-slack-sdk/issues/919) for more details. Developers can initialize the Jakarta-compatible SocketModeClient this way: ```java import com.slack.api.Slack; import com.slack.api.jakarta_socket_mode.JakartaSocketModeClientFactory; public class Example { public static void main(String[] args) throws Exception { var appToken = System.getenv("SLACK_APP_TOKEN"); var slack = Slack.getInstance(); // Java EE compatible Socket Mode client slack.socketMode(appToken).connect(); // Jakarta EE compatible Socket Mode client JakartaSocketModeClientFactory.create(slack, appToken).connect(); } } ``` In the same way, I’ve added a new Jakarta-compatible module, which is equivalent to bolt-socket-mode. Here is the demo code. As you can see, just replace the dependency and imports in the code: ```java import com.slack.api.bolt.App; import com.slack.api.bolt.jakarta_socket_mode.SocketModeApp; public class Example { public static void main(String[] args) throws Exception { var app = new App(); app.command("/hi", (req, ctx) -> { ctx.say("Hi there!"); return ctx.ack(); }); var appToken = System.getenv("SLACK_APP_TOKEN"); // Switch from com.slack.api.bolt.socket_mode to com.slack.api.bolt.jakarta_socket_mode new SocketModeApp(appToken, app).start(); } } ``` The reason behind this enhancement is that many Java-house companies are planning to eliminate the legacy javax.\* dependencies from their project settings. I don't think the short-term risk of having a javax.websocket dependency is significant, but it seems it's about time to provide an option for migration on the developers' side. ### Changes - \[slack-api-client]\[bot] [#​1352](https://redirect.github.com/slackapi/java-slack-sdk/issues/1352) Add Jakarta EE compatible Socket Mode client ref: [#​919](https://redirect.github.com/slackapi/java-slack-sdk/issues/919) - Thanks [@​seratch](https://redirect.github.com/seratch) - \[slack-api-client] Add missing properties in web API responses - Thanks [@​seratch](https://redirect.github.com/seratch) *** - All issues/pull requests: https://github.com/slackapi/java-slack-sdk/milestone/105?closed=1 - All changes: https://github.com/slackapi/java-slack-sdk/compare/v1.41.0...v1.42.0 ### [`v1.41.0`](https://redirect.github.com/slackapi/java-slack-sdk/releases/tag/v1.41.0): version 1.41.0 [Compare Source](https://redirect.github.com/slackapi/java-slack-sdk/compare/v1.40.3...v1.41.0) ### Announcements #### Support for custom steps Bolt for Java now supoports the way to build custom steps in Workflow Builder. Here is a quick example demonstrating how it works: ```java app.function("sample_function", (req, ctx) -> { app.executorService().submit(() -> { try { var userId = req.getEvent().getInputs().get("user_id").asString(); var response = ctx.client().chatPostMessage(r -> r .channel(userId) // sending a DM .text("Hi! Thank you for submitting the request! We'll let you know once the processing completes.") ); var outputs = new HashMap(); outputs.put("channel_id", response.getChannel()); outputs.put("ts", response.getTs()); ctx.complete(outputs); } catch (Exception e) { ctx.logger.error(e.getMessage(), e); try { ctx.fail("Failed to handle 'sample_function' custom step execution (error: " + e.getMessage() + ")"); } catch (Exception ex) { ctx.logger.error(e.getMessage(), e); } } }); return ctx.ack(); }); ``` The App Manifest for the custom step would be something like this: ```json "functions": { "sample_function": { "title": "Send a request", "description": "Send some request to the backend", "input_parameters": { "user_id": { "type": "slack#/types/user_id", "title": "User", "description": "Who to send it", "is_required": true, "hint": "Select a user in the workspace", "name": "user_id" } }, "output_parameters": { "channel_id": { "type": "slack#/types/channel_id", "title": "DM ID", "description": "The DM ID", "is_required": true, "name": "channel_id" }, "ts": { "type": "string", "title": "Message timestamp", "description": "Sent message timestamp", "is_required": true, "name": "ts" } } } } ``` Please refer to https://api.slack.com/automation/functions/custom-bolt for more details! ### Changes - \[bolt] [#​1241](https://redirect.github.com/slackapi/java-slack-sdk/issues/1241) Add custom function support - Thanks [@​seratch](https://redirect.github.com/seratch) - \[bolt]\[slack-app-backend] [#​1351](https://redirect.github.com/slackapi/java-slack-sdk/issues/1351) [#​1343](https://redirect.github.com/slackapi/java-slack-sdk/issues/1343) block_suggestion response does not support description in an option - Thanks [@​ESteanes](https://redirect.github.com/ESteanes) [@​seratch](https://redirect.github.com/seratch) - \[slack-api-client] [#​1346](https://redirect.github.com/slackapi/java-slack-sdk/issues/1346) Fix a bug where filename & title getting improperly defaulted in filesUploadV2 - Thanks [@​Cheos137](https://redirect.github.com/Cheos137) - \[slack-api-client] Add missing properties in web API responses - Thanks [@​seratch](https://redirect.github.com/seratch) *** - All issues/pull requests: https://github.com/slackapi/java-slack-sdk/milestone/104?closed=1 - All changes: https://github.com/slackapi/java-slack-sdk/compare/v1.40.3...v1.41.0
flyway/flyway (org.flywaydb:flyway-database-postgresql) ### [`v10.17.2`](https://redirect.github.com/flyway/flyway/releases/tag/flyway-10.17.2): Flyway 10.17.2 See release notes [here](https://documentation.red-gate.com/flyway/release-notes-and-older-versions/release-notes-for-flyway-engine) CLI artifact available [here](https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/10.17.2/) ### [`v10.17.1`](https://redirect.github.com/flyway/flyway/releases/tag/flyway-10.17.1): Flyway 10.17.1 See release notes [here](https://documentation.red-gate.com/flyway/release-notes-and-older-versions/release-notes-for-flyway-engine) CLI artifact available [here](https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/10.17.1/) ### [`v10.17.0`](https://redirect.github.com/flyway/flyway/releases/tag/flyway-10.17.0): Flyway 10.17.0 See release notes [here](https://documentation.red-gate.com/flyway/release-notes-and-older-versions/release-notes-for-flyway-engine) CLI artifact available [here](https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/10.17.0/) ### [`v10.16.0`](https://redirect.github.com/flyway/flyway/releases/tag/flyway-10.16.0): Flyway 10.16.0 See release notes [here](https://documentation.red-gate.com/flyway/release-notes-and-older-versions/release-notes-for-flyway-engine) CLI artifact available [here](https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/10.16.0/) ### [`v10.15.2`](https://redirect.github.com/flyway/flyway/releases/tag/flyway-10.15.2): Flyway 10.15.2 See release notes [here](https://documentation.red-gate.com/flyway/release-notes-and-older-versions/release-notes-for-flyway-engine) CLI artifact available [here](https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/10.15.2/) ### [`v10.15.0`](https://redirect.github.com/flyway/flyway/releases/tag/flyway-10.15.0): Flyway 10.15.0 See release notes [here](https://documentation.red-gate.com/flyway/release-notes-and-older-versions/release-notes-for-flyway-engine) CLI artifact available [here](https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/10.15.0/) ### [`v10.14.0`](https://redirect.github.com/flyway/flyway/releases/tag/flyway-10.14.0): Flyway 10.14.0 See release notes [here](https://documentation.red-gate.com/flyway/release-notes-and-older-versions/release-notes-for-flyway-engine) CLI artifact available [here](https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/10.14.0/) ### [`v10.13.0`](https://redirect.github.com/flyway/flyway/releases/tag/flyway-10.13.0): Flyway 10.13.0 See release notes [here](https://documentation.red-gate.com/flyway/release-notes-and-older-versions/release-notes-for-flyway-engine) CLI artifact available [here](https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/10.13.0/) ### [`v10.12.0`](https://redirect.github.com/flyway/flyway/releases/tag/flyway-10.12.0): Flyway 10.12.0 See release notes [here](https://documentation.red-gate.com/flyway/release-notes-and-older-versions/release-notes-for-flyway-engine) CLI artifact available [here](https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/10.12.0/) ### [`v10.11.1`](https://redirect.github.com/flyway/flyway/releases/tag/flyway-10.11.1): Flyway 10.11.1 See release notes [here](https://documentation.red-gate.com/flyway/release-notes-and-older-versions/release-notes-for-flyway-engine) CLI artifact available [here](https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/10.11.1/) ### [`v10.11.0`](https://redirect.github.com/flyway/flyway/releases/tag/flyway-10.11.0): Flyway 10.11.0 See release notes [here](https://documentation.red-gate.com/flyway/release-notes-and-older-versions/release-notes-for-flyway-engine) CLI artifact available [here](https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/10.11.0/)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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



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

github-actions[bot] commented 2 weeks ago

Test Results

 39 files   39 suites   20s :stopwatch: 272 tests 272 :white_check_mark: 0 :zzz: 0 :x: 277 runs  277 :white_check_mark: 0 :zzz: 0 :x:

Results for commit 04cb8c5d.

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud