]>
Commit | Line | Data |
---|---|---|
1 | # API Versioning ChangeLog | |
2 | ||
3 | Our API versioning contains an `APIVER` and an `APIAGE`. | |
4 | The `APIAGE` is the number of versions we're backward compatible with. (iow. things got added | |
5 | without breaking anything unaware of it.) | |
6 | ||
7 | Future changes should be documented in here. | |
8 | ||
9 | ## Version 9: (AGE resets to 0): | |
10 | ||
11 | * volume_import_formats gets a new parameter *inserted*: | |
12 | ||
13 | Old signature: | |
14 | sub($plugin, $scfg, $storeid, $volname, $base_snapshot, $with_snapshots) | |
15 | New signature: | |
16 | sub($plugin, $scfg, $storeid, $volname, $snapshot, $base_snapshot, $with_snapshots) | |
17 | ||
18 | This is now the same as `volume_export_formats`. | |
19 | ||
20 | The same goes for calls to `PVE::Storage::volume_import_formats`, which now | |
21 | takes a `$snapshot` parameter in the same place. | |
22 | ||
23 | * $with_snapshots *may* now be an array reference containing an ordered list of | |
24 | snapshots, but *may* also just be a boolean, and the contained list *may* be | |
25 | ignored, so it can still be treated as a boolean. |