Commit aceb2e4
committed
feat!: remove backward compatibility for legacy pipeline_outputs format
Remove temporary deserialization logic for old pipeline_outputs format in
pipeline snapshots. This backward-compatibility layer was introduced in
PR deepset-ai#10096 and marked for removal in Haystack 2.23.0.
BREAKING CHANGE: Pipeline snapshots created before Haystack 2.17.0 will
no longer deserialize correctly. Users must recreate snapshots with the
current Haystack version or manually migrate to the new serialization schema.
Changes:
- Remove conditional deserialization check in Pipeline.run()
- Remove test_load_pipeline_snapshot_with_old_pipeline_outputs_format test
- Add breaking change documentation with migration instructions
The new format uses 'serialization_schema' and 'serialized_data' fields,
consistent with other pipeline state serialization.
Closes deepset-ai#10168
Ref deepset-ai#100961 parent 49d1391 commit aceb2e4
3 files changed
Lines changed: 9 additions & 37 deletions
File tree
- haystack/core/pipeline
- releasenotes/notes
- test/core/pipeline
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
| 255 | + | |
261 | 256 | | |
262 | 257 | | |
263 | 258 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | 157 | | |
189 | 158 | | |
190 | 159 | | |
| |||
0 commit comments