blob 1.2.0
Breaking changes
-
The
blobclass is now based onlist_of(raw())from the vctrs package (#11). This adds support forvec_cast()andvec_ptype2(). Some operations (such as subset assignment) are now stricter. Thenew_blob()constructor permits safe and fast construction ofblobobjects from a list, andvalidate_blob()checks an existing object for conformity with the rules. -
The new
is_blob()deprecates the existingis.blob().as.blob()is deprecated in favor ofvec_cast()or the newas_blob()(which is just a thin wrapper aroundvec_cast()). -
Indexing a vector of blobs out of bounds now raises an error. Use
NAas index to create aNULLblob.