Skip to content

Conversation

DonalEvans
Copy link
Contributor

The oldest supported version that can upgrade to 9.x is 8.18.0, so any classes that version their serialization based on versions older than 8.18.0 no longer need to do so. This commit removes such versioning from classes in xpack/core/inference and xpack/inference.

  • Remove versioning from writeTo() methods and constructors that take a StreamInput when the version is older than 8.18.0
  • Remove related versioning from test methods for affected classes
  • Remove deprecated LegacyTextEmbeddingResults class

The oldest supported version that can upgrade to 9.x is 8.18.0, so any
classes that version their serialization based on versions older than
8.18.0 no longer need to do so. This commit removes such versioning from
classes in xpack/core/inference and xpack/inference.

- Remove versioning from writeTo() methods and constructors that take a
  StreamInput when the version is older than 8.18.0
- Remove related versioning from test methods for affected classes
- Remove deprecated LegacyTextEmbeddingResults class
@DonalEvans DonalEvans added >refactoring :ml Machine learning Team:ML Meta label for the ML team v9.3.0 labels Oct 9, 2025
@DonalEvans DonalEvans changed the title Remove old transport version support from inference classes [ML] Remove old transport version support from inference classes Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:ml Machine learning >refactoring Team:ML Meta label for the ML team v9.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant