Skip to content

py-v0.4.0

Latest
Compare
Choose a tag to compare
@kylebarron kylebarron released this 10 Feb 14:59
· 8 commits to main since this release
9e0b202

See also a blog post announcing this release.

New Features 🪄

  • Support for pickling & always manage store prefix by @kylebarron in #185, #239, #223
  • Add top-level obstore.store.from_url function, which delegates to each store's from_url constructor by @kylebarron in #179, #201
  • Add option to return Arrow from list_with_delimiter by @kylebarron in #238, #244
  • (Provisional) Enhanced loading of s3 credentials using aws-config crate by @kylebarron in #203
  • Access config values out from stores by @kylebarron in #210
  • LocalStore updates:
    • Enable automatic cleanup for local store, when deleting directories by @kylebarron in #175
    • Optionally create root dir in LocalStore by @kylebarron in #177
  • File-like object updates:
    • Add support for writable file-like objects by @kylebarron in #167

    • Updates to readable file API:

      • Support user-specified capacity in readable file-like objects by @kylebarron in #174
      • Expose ObjectMeta from readable file API by @kylebarron in #176
  • Merge config and kwargs and validate that no configuration parameters have been passed multiple times. (#180, #182, #218)
  • Add __repr__ to Bytes class by @jessekrubin in #173

Breaking changes 🔧

  • get_range, get_range_async, get_ranges, and get_ranges_async now require named parameters for start, end, and length to make the semantics of the range request fully explicit. by @kylebarron in #156
  • Previously, individual stores did not manage a prefix path within the remote resource and PrefixStore was used to enable this. As of 0.4.0, PrefixStore was removed and all stores manage an optional mount prefix natively.
  • obstore.open has been renamed to obstore.open_reader.
  • The from_env constructor has been removed from S3Store, GCSStore, and AzureStore. Now all constructors will read from environment variables. Use __init__ or from_url instead. #189
  • obstore.exceptions.ObstoreError renamed to obstore.exceptions.BaseError #200

Bug fixes 🐛

Documentation 📖

Other

New Contributors

Full Changelog: py-v0.3.0...py-v0.4.0