Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
2297521
Run all the integration tests - 2024-07-05 PT
seratch Jul 8, 2024
56dab57
Add missing properties in app_mention event payload
seratch Jul 10, 2024
daf16fd
Add missing properties in app_mention event payload
seratch Jul 10, 2024
9f8ff51
Generate sample JSON files
seratch Jul 10, 2024
48f98b6
Upgrade java-websocket and http4k patch versions
seratch Jul 11, 2024
9976da9
Run all the integration tests - 2024-07-15 PT
seratch Jul 16, 2024
d226674
Fix #1336 missing and invalid properties in rich text block elements …
seratch Jul 16, 2024
3cb6168
Run all the integration tests - 2024-07-16 PT
seratch Jul 16, 2024
fb3aaf5
Upgrade http4k and jedis-mock patch versions
seratch Jul 16, 2024
dda54b9
version 1.40.3
seratch Jul 16, 2024
298b0c8
Start new version development
seratch Jul 16, 2024
de31461
http4k 5.26+ does not support Java 8
seratch Jul 17, 2024
64c9c7c
Update Doker project example
seratch Jul 17, 2024
bc749f2
Run all the integration tests - 2024-07-18 PT
seratch Jul 18, 2024
544fb21
Run all the integration tests - 2024-07-22 PT
seratch Jul 23, 2024
ba36084
Fix #1338 public_url is missing in com.slack.api.model.Team
seratch Jul 25, 2024
afd9e35
Run all the integration tests - 2024-07-25 PT
seratch Jul 26, 2024
59c3205
Upgrade micronaunt verison to the latest one
seratch Jul 26, 2024
02137af
Bump rexml from 3.2.8 to 3.3.2 in /docs (#1339)
dependabot[bot] Jul 26, 2024
3f3ef44
Run all the integration tests - 2024-07-26 PT
seratch Jul 29, 2024
3ce2789
Run all the integration tests - 2024-07-29 PT
seratch Jul 30, 2024
becc247
Run all the integration tests - 2024-07-30 PT
seratch Jul 31, 2024
2b84963
Run all the integration tests - 2024-07-31 PT
seratch Aug 1, 2024
ce2540f
Bump rexml from 3.3.2 to 3.3.3 in /docs (#1341)
dependabot[bot] Aug 2, 2024
71c22e7
Run all the integration tests - 2024-08-05 PT
seratch Aug 6, 2024
9db47c3
Run all the integration tests - 2024-08-06 PT
seratch Aug 7, 2024
fdbe39f
Docs: adds docusaurus site (#1342)
lukegalbraithrussell Aug 9, 2024
71ed00d
docs: google analytics tag (#1344)
lukegalbraithrussell Aug 9, 2024
7859986
Run all the integration tests - 2024-08-16 PT
seratch Aug 19, 2024
d4622ca
Fix #1345 filename & title getting improperly defaulted in filesUploa…
Cheos137 Aug 19, 2024
0bee2ae
Upgrade http4k and micronaut (#1350)
seratch Aug 19, 2024
11a6def
Run all the integration tests - 2024-08-19 PT
seratch Aug 20, 2024
efa3f24
Fix #1343 block_suggestion response does not support description in a…
seratch Aug 20, 2024
52d1c76
Add custom function support (#1241)
seratch Aug 20, 2024
bd8e9c4
Upgrade http4k version to the latest
seratch Aug 20, 2024
e3702f3
version 1.41.0
seratch Aug 20, 2024
84e31c2
Start new version development
seratch Aug 20, 2024
af96a49
Run all the integration tests - 2024-08-20 PT
seratch Aug 21, 2024
e542f29
Run all the integration tests - 2024-08-21 PT
seratch Aug 22, 2024
9cb6946
Add Jakarta EE compatible Socket Mode client ref: #919 (#1352)
seratch Aug 23, 2024
28d637e
Update docs
seratch Aug 23, 2024
5090101
Fix document errors
seratch Aug 23, 2024
b190887
Update GH workflow to replace variables in docs
seratch Aug 23, 2024
9a7f455
Run all the integration tests - 2024-08-22 PT
seratch Aug 23, 2024
1722eaf
Fix a bug on GH Actions workflow
seratch Aug 23, 2024
1aa7536
Upgrade http4k and jedis versions
seratch Aug 23, 2024
c88a82f
version 1.42.0
seratch Aug 23, 2024
57be31e
Start new version development
seratch Aug 23, 2024
1f3471e
Run all the integration tests - 2024-08-23 PT
seratch Aug 26, 2024
6a28d12
requestSharedInvite approve/deny sample JSON payloads.
Jul 4, 2024
9f8f1d2
add requestSharedInvite.list json sample
Aug 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/maintainers_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,7 @@ By installing App(2) and App(3), you get the followings. Set them as env variabl

### Generating Documentation

The documentation is built using [Jekyll](https://jekyllrb.com/) and hosted with GitHub Pages. The source files are
contained in the `docs` directory. Reading the Jekyll configuration in `docs/_config.yml` is helpful to understand how
the documentation is organized and built.

Refer to the [README](https://github.com/slackapi/java-slack-sdk/blob/master/docs/README.md) for details.
Refer to the [README](https://github.com/slackapi/java-slack-sdk/blob/main/docs/README.md) for details on editing documentation.

### Releasing

Expand Down
108 changes: 108 additions & 0 deletions .github/workflows/docs-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
name: Implement docs site

on:
pull_request:
branches:
- main
paths:
- 'docs/**'
push:
branches:
- main
paths:
- 'docs/**'
workflow_dispatch:

jobs:
build:
name: Build Docusaurus
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: docs/package-lock.json

- name: Install dependencies
run: npm ci
working-directory: ./docs

- name: Read version from docs/version-config.yml
id: read_version
run: |
sdkLatestVersionValue=$(grep 'sdkLatestVersion:' docs/version-config.yml | awk '{print $2}')
okhttpVersionValue=$(grep 'okhttpVersion:' docs/version-config.yml | awk '{print $2}')
slf4jApiVersionValue=$(grep 'slf4jApiVersion:' docs/version-config.yml | awk '{print $2}')
kotlinVersionValue=$(grep 'kotlinVersion:' docs/version-config.yml | awk '{print $2}')
helidonVersionValue=$(grep 'helidonVersion:' docs/version-config.yml | awk '{print $2}')
javaxWebsocketApiVersionValue=$(grep 'javaxWebsocketApiVersion:' docs/version-config.yml | awk '{print $2}')
springBootVersionValue=$(grep 'springBootVersion:' docs/version-config.yml | awk '{print $2}')
compatibleMicronautVersionValue=$(grep 'compatibleMicronautVersion:' docs/version-config.yml | awk '{print $2}')
quarkusVersionValue=$(grep 'quarkusVersion:' docs/version-config.yml | awk '{print $2}')
tyrusStandaloneClientVersionValue=$(grep 'tyrusStandaloneClientVersion:' docs/version-config.yml | awk '{print $2}')
tyrusStandaloneClientV2VersionValue=$(grep 'tyrusStandaloneClientV2Version:' docs/version-config.yml | awk '{print $2}')
jakartaWebsocketApiVersionValue=$(grep 'jakartaWebsocketApiVersion:' docs/version-config.yml | awk '{print $2}')
echo "sdkLatestVersion=$sdkLatestVersionValue" >> $GITHUB_ENV
echo "okhttpVersion=$okhttpVersionValue" >> $GITHUB_ENV
echo "slf4jApiVersion=$slf4jApiVersionValue" >> $GITHUB_ENV
echo "kotlinVersion=$kotlinVersionValue" >> $GITHUB_ENV
echo "helidonVersion=$helidonVersionValue" >> $GITHUB_ENV
echo "javaxWebsocketApiVersion=$javaxWebsocketApiVersionValue" >> $GITHUB_ENV
echo "springBootVersion=$springBootVersionValue" >> $GITHUB_ENV
echo "compatibleMicronautVersion=$compatibleMicronautVersionValue" >> $GITHUB_ENV
echo "quarkusVersion=$quarkusVersionValue" >> $GITHUB_ENV
echo "tyrusStandaloneClientVersion=$tyrusStandaloneClientVersionValue" >> $GITHUB_ENV
echo "tyrusStandaloneClientV2Version=$tyrusStandaloneClientV2VersionValue" >> $GITHUB_ENV
echo "jakartaWebsocketApiVersion=$jakartaWebsocketApiVersionValue" >> $GITHUB_ENV

- name: Replace placeholders in .md files
run: |
for DOCS_DIR in "./docs/content" "./docs/i18n/ja-jp/docusaurus-plugin-content-docs/current"; do
find $DOCS_DIR -name "*.md" | while read file; do
sed -i "s/sdkLatestVersion/${{ env.sdkLatestVersion }}/g" "$file"
sed -i "s/okhttpVersion/${{ env.okhttpVersion }}/g" "$file"
sed -i "s/slf4jApiVersion/${{ env.slf4jApiVersion }}/g" "$file"
sed -i "s/kotlinVersion/${{ env.kotlinVersion }}/g" "$file"
sed -i "s/helidonVersion/${{ env.helidonVersion }}/g" "$file"
sed -i "s/javaxWebsocketApiVersion/${{ env.javaxWebsocketApiVersion }}/g" "$file"
sed -i "s/springBootVersion/${{ env.springBootVersion }}/g" "$file"
sed -i "s/compatibleMicronautVersion/${{ env.compatibleMicronautVersion }}/g" "$file"
sed -i "s/quarkusVersion/${{ env.quarkusVersion }}/g" "$file"
sed -i "s/tyrusStandaloneClientVersion/${{ env.tyrusStandaloneClientVersion }}/g" "$file"
sed -i "s/tyrusStandaloneClientV2Version/${{ env.tyrusStandaloneClientV2Version }}/g" "$file"
sed -i "s/jakartaWebsocketApiVersion/${{ env.jakartaWebsocketApiVersion }}/g" "$file"
done
done
- name: Build website
run: npm run build
working-directory: ./docs

- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/build

deploy:
name: Deploy to GitHub Pages
if: github.event_name != 'pull_request'
needs: build

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # verifies deployment is from an appropriate source

# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
4 changes: 2 additions & 2 deletions bolt-aws-lambda/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
<parent>
<groupId>com.slack.api</groupId>
<artifactId>slack-sdk-parent</artifactId>
<version>1.40.3-SNAPSHOT</version>
<version>1.42.1-SNAPSHOT</version>
</parent>

<properties>
<aws-lambda-core.version>1.2.3</aws-lambda-core.version>
</properties>

<artifactId>bolt-aws-lambda</artifactId>
<version>1.40.3-SNAPSHOT</version>
<version>1.42.1-SNAPSHOT</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
12 changes: 12 additions & 0 deletions bolt-docker-examples/echo-command-app/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# Linux start script should use lf
/gradlew text eol=lf

# These are Windows script files and should use crlf
*.bat text eol=crlf

# Binary files should be left untouched
*.jar binary

6 changes: 6 additions & 0 deletions bolt-docker-examples/echo-command-app/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
.env
bin/

# Ignore Gradle project-specific cache directory
.gradle

# Ignore Gradle build output directory
build
2 changes: 1 addition & 1 deletion bolt-docker-examples/echo-command-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gradle:6.8.3-jdk11 AS build
FROM gradle:8-jdk11 AS build
COPY . /home/gradle/src
WORKDIR /home/gradle/src
RUN gradle build
Expand Down
11 changes: 6 additions & 5 deletions bolt-docker-examples/echo-command-app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("org.jetbrains.kotlin.jvm") version "1.4.31"
id("org.jetbrains.kotlin.jvm") version "2.0.0"
id("application")
}
repositories {
Expand All @@ -10,17 +10,18 @@ repositories {
dependencies {
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("com.slack.api:bolt-jetty:1.40.2")
implementation("ch.qos.logback:logback-classic:1.2.11")
implementation('net.logstash.logback:logstash-logback-encoder:6.2')
implementation("com.slack.api:bolt-jetty:1.42.0")
implementation("ch.qos.logback:logback-classic:1.5.6")
implementation('net.logstash.logback:logstash-logback-encoder:7.4')
}
application {
mainClassName = "example.AppKt"
}
configurations {
jar.archiveName = 'slack-app-backend.jar'
jar.archiveFileName = 'slack-app-backend.jar'
}
jar {
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
manifest {
attributes 'Main-Class': 'example.AppKt'
}
Expand Down
6 changes: 6 additions & 0 deletions bolt-docker-examples/echo-command-app/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This file was generated by the Gradle 'init' task.
# https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties

org.gradle.parallel=true
org.gradle.caching=true

11 changes: 11 additions & 0 deletions bolt-docker-examples/echo-command-app/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This file was generated by the Gradle 'init' task.
# https://docs.gradle.org/current/userguide/platforms.html#sub::toml-dependencies-format

[versions]
guava = "33.1.0-jre"

[libraries]
guava = { module = "com.google.guava:guava", version.ref = "guava" }

[plugins]
jvm = { id = "org.jetbrains.kotlin.jvm", version = "2.0.0" }
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading