Skip to content

symphony-bdk-3.0.0

Compare
Choose a tag to compare
@yinan-symphony yinan-symphony released this 07 Feb 18:16
· 12 commits to release/v3.0 since this release

❗ Breaking change

BDK 3.0.0 migrated to SpringBoot 3.2.2 and Java 17.

Changes that BDK Bot developers need to do for this migration

  • Replace javax. ... import by jakarta. ....
  • Add -parameter compiler argument to your maven or gradle script, it is indispensable to make @Slash commands work.

Maven sample

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>${java.version}</source>
                    <target>${java.version}</target>
                    <compilerArgs>
                        <arg>-parameters</arg>
                    </compilerArgs>
                </configuration>
            </plugin>

Gradle sample

           tasks.withType(JavaCompile) {
               options.encoding = 'UTF-8'
              options.compilerArgs << '-parameters'
           }

Installation

Using Maven:

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.finos.symphony.bdk</groupId>
            <artifactId>symphony-bdk-bom</artifactId>
            <version>3.0.0</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

Using Gradle:

dependencies {
    implementation platform('org.finos.symphony.bdk:symphony-bdk-bom:3.0.0')
}

Please refer to BDK reference document for more details.

Important

BDK version 3.0: Major change !

The newly introduced BDK version 3.0 relies on Java 17 and SpringBoot 3. This is a major change that allows Symphony to continue to propose the latest security fixes following the end of support of Spring Boot 2 and also to keep up with the latest evolutions of Java.

For the next 6 months Symphony will provide critical security fixes for BDK 2.0 where possible (since Spring gives no guarantees for their packages).

Please consider migrating your Bots in the coming months to benefit from the latest features and support.