Skip to content

v4.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Dec 14:50
· 18 commits to master since this release
04bc776

Adapt v4.0.0

Diff since v3.7.2

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:

  • Remove ndims/eltype, and simplify parent type queries. (#75) (@maleadt)

Closed issues:

  • Rename Adapt.ndims for clarity (#72)