Skip to content

Conversation

@triceo
Copy link
Collaborator

@triceo triceo commented Jan 14, 2026

No description provided.

@triceo triceo requested a review from TomCools as a code owner January 14, 2026 10:44
Copilot AI review requested due to automatic review settings January 14, 2026 10:44
@triceo triceo requested a review from zepfred as a code owner January 14, 2026 10:44
@triceo triceo added this to the v1.31.0 milestone Jan 14, 2026
@triceo triceo linked an issue Jan 14, 2026 that may be closed by this pull request
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR deprecates chained planning variables in preparation for their removal in Timefold Solver 2.0, directing users to use list variables instead.

Changes:

  • Added deprecation notices to documentation sections about chained variables
  • Added @Deprecated annotations to all chained variable-related classes and configuration types
  • Removed outdated documentation note about when to use chained variables over list variables
  • Added upgrade guide entry for version 1.31.0 explaining the deprecation

Reviewed changes

Copilot reviewed 30 out of 30 changed files in this pull request and generated no comments.

Show a summary per file
File Description
modeling-planning-problems.adoc Removed note comparing chained vs list variables; added deprecation notices to chained variable sections
upgrade-to-latest-version.adoc Added 1.31.0 upgrade note documenting chained variable deprecation
responding-to-change.adoc Updated PinningFilter deprecation message to specify removal in version 2.0
enterprise-edition.adoc Added deprecation notice to nearby selection with chained variable section
score-calculation.adoc Updated constraint streams legacy methods deprecation message; removed deprecated constraint package note
constraint-configuration.adoc Updated constraint packages deprecation to specify removal in version 2.0
TailChainSwapMoveSelectorFactory.java Added @Deprecated annotation and JavaDoc
TailChainSwapMoveSelector.java Added @Deprecated annotation and JavaDoc
TailChainSwapMove.java Added @Deprecated annotation and JavaDoc
SubChainSwapMoveSelectorFactory.java Added @Deprecated annotation and JavaDoc
SubChainSwapMoveSelector.java Added @Deprecated annotation and JavaDoc
SubChainSwapMove.java Added @Deprecated annotation and JavaDoc
SubChainReversingSwapMove.java Added @Deprecated annotation and JavaDoc
SubChainReversingChangeMove.java Added @Deprecated annotation and JavaDoc; removed unused import
SubChainChangeMoveSelectorFactory.java Added @Deprecated annotation and JavaDoc
SubChainChangeMoveSelector.java Added @Deprecated annotation and JavaDoc
SubChainChangeMove.java Added @Deprecated annotation and JavaDoc; removed unused import
KOptMoveSelectorFactory.java Added @Deprecated annotation and JavaDoc
KOptMoveSelector.java Added @Deprecated annotation and JavaDoc
KOptMove.java Added @Deprecated annotation and JavaDoc
ChainedSwapMove.java Added @Deprecated annotation and JavaDoc
ChainedChangeMove.java Added @Deprecated annotation and JavaDoc
package-info.java Added @Deprecated annotation and JavaDoc to entire package
TailChainSwapMoveSelectorConfig.java Added @Deprecated annotation and JavaDoc
SubChainSwapMoveSelectorConfig.java Added @Deprecated annotation and JavaDoc
SubChainChangeMoveSelectorConfig.java Added @Deprecated annotation and JavaDoc
KOptMoveSelectorConfig.java Added @Deprecated annotation and JavaDoc
PlanningVariableGraphType.java Added @Deprecated annotation and JavaDoc to enum
PlanningVariable.java Added @Deprecated annotation and JavaDoc to graphType() method
AnchorShadowVariable.java Added @Deprecated annotation and JavaDoc

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@triceo triceo self-assigned this Jan 14, 2026
@sonarqubecloud
Copy link

@triceo triceo removed this from the v1.31.0 milestone Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecation of chained variable

1 participant