This is a Beta release of the upcoming Timefold Solver 2.0.0, coming later this month.
Although we aren't yet finished with all the backwards incompatible changes, there is already enough to give a good overview of what the release is shaping up to be.
We are grateful to everyone in our community who decide to help us test this release.
Check out our migration documentation to help you with the transition.
Changelog
🚀 Features
🐛 Fixes
- 9d44aa2 Invert rewardsWith and penalizesBy handling of mixed constraints (#2142), closes #2142
- 5d5c6f2 Use field getters/setters when available, enforce getters/setters are public (#2072), closes #1710 #1862 #2072
🔄️ Changes
- 2aee14c Change usage of Random to RandomGenerator (#2074), closes #2074
- 504bab1 Significantly improve assertion speed (#2157), closes #2157
- b374d38 Move testing utilities into their own packages
- a0f80b2 Validate constraint name
- 1423f15 Remove SolverManager's ProblemId generic
- 41c117e ScoreDirector is no longer public (#2129), closes #2129
- 8f37ec3 Unify move interfaces (#2127), closes #2127
- ea13d1e Remove remaining deprecation from public API (#2124), closes #2124
- 38c1f1c Clean up around solver config (#2122), closes #2122
- 69ccead Clean up around problem changes (#2121), closes #2121
- 2f99a1d Value range cleanup (#2111), closes #2111
- 83fa869 Remove deprecations around score and constraints (#2106), closes #2106
- b63ae37 Remove deprecated shadow variables (#2101), closes #2101
- 8acc01d Remove deprecations which touch the outer modules
- 4bccea6 Remove deprecated Maven modules
- 6976060 Remove deprecated chained variable support and clean up related files (#2091), closes #2091
- c4e2538 Remove autodiscover member type (#2133), closes #2133
- 88b96cb Use Gizmo MemberAccessors when possible, remove domainAccessType from SolverConfig (#2123), closes #2123
- ded9ceb Upgrade to spring 4.x (#2067), closes #2067
Contributors
We'd like to thank the following people for their contributions:
- Christopher Chianelli (@Christopher-Chianelli)
- Dolverin (@Dolverin)
- Tom Cools (@TomCools)
- Frederico Gonçalves (@zepfred)
- Peter Laggner (@greyhairredbear)
- Lukáš Petrovický (@triceo)
Timefold Solver Community Edition is an open source project, and you are more than welcome to contribute as well!
For more, see Contributing.
Should your business need to scale to truly massive data sets or require enterprise-grade support,
check out Timefold Solver Enterprise Edition.
Timefold Solver Enterprise Edition requires a license.
How to use Timefold Solver
To see Timefold Solver in action, check out the quickstarts.
With Maven or Gradle, add the ai.timefold.solver : timefold-solver-core : 2.0.0-beta-1 dependency in your pom.xml to get started.
You can also import the Timefold Solver Bom (ai.timefold.solver : timefold-solver-bom : 2.0.0-beta-1)
to avoid duplicating version numbers when adding other Timefold Solver dependencies later on.
Additional notes
The changelog and the list of contributors above are automatically generated.
It excludes contributions to certain areas of the repository, such as CI and build automation.
This is done for the sake of brevity and to make the user-facing changes stand out more.