This release tags DLPack v1.0 release.
- Introduce versioning
DLManagedTensorVersioned
- flags about exported tensor
This release acompanies array api changes, see the note below
Starting Python array API standard v2023, a new max_version argument is added to __dlpack__
for the consumer to signal the producer the maximal supported DLPack version. Starting DLPack 1.0, the DLManagedTensorVersioned struct should be used and the existing DLManagedTensor struct is considered deprecated, though a library should try to support both during the transition period if possible.