Release Notes
Upgrade to the latest version
Quickly upgrade your source code to the latest and greatest version of Timefold, run this command:
Maven:
$ mvn org.openrewrite.maven:rewrite-maven-plugin:LATEST:run \
-Drewrite.recipeArtifactCoordinates=ai.timefold.solver:timefold-solver-migration:{project-version} \
-Drewrite.activeRecipes=ai.timefold.solver.migration.ToLatest
Gradle:
$ curl https://timefold.ai/product/upgrade/upgrade-timefold.gradle > upgrade-timefold.gradle
$ gradle -Dorg.gradle.jvmargs=-Xmx2G --init-script upgrade-timefold.gradle rewriteRun -DtimefoldSolverVersion=0.8.42
$ rm upgrade-timefold.gradle
It automatically replaces deprecated methods with better alternatives. Run your tests and commit the changes.