v4.0.0
Adapt v4.0.0
Breaking changes: Adapt.ndims
, Adapt.eltype
and Adapt.parent
(type-versions of Base functions) have been removed. Instead, Base.ndims
and Base.eltype
should be used, which works fine on typed. To replace Adapt.parent
, use the new and exported parent_type
or unwrap_type
functions (the former only returns the direct parent, while the latter returns the innermost type). Note that where Adapt.parent
used to return a raw typename, parent_type
and unwrap_type
return type, i.e., with type variables retained.
Note that these changes likely don't affect you, as there are no public users of these interfaces.
Merged pull requests:
Closed issues:
- Rename
Adapt.ndims
for clarity (#72)