Skip to content

v0.3.2

Choose a tag to compare

@ap-- ap-- released this 05 Oct 14:50
· 23 commits to main since this release
70826a2

What's Changed

Added

  • upath.types: add storage_options submodule with TypedDict classes for all filesystem implementations (#432)
  • upath.implementations: add storage_options type annotations to all UPath subclass constructors (#432)
  • upath: add type overloads to narrow UPath type based on protocol parameter (#431)
  • upath.registry: add overloads to get_upath_class() to return correct subclass type based on protocol (#429)
  • typesafety: add comprehensive tests for storage_options type checking (#432)
  • typesafety: add tests for protocol-based type narrowing (#429, #431)

Fixed

  • upath: fix chained paths .path property to return correct normalized paths (#426)
  • upath.implementations: correct .path normalization for cloud and http paths (#426)
  • upath._protocol: raise error when explicitly requesting empty protocol but another protocol is found (#430)
  • upath.core: adjust Pydantic v2 schema to support None protocol (#430)
  • tests: add xfail when hitting GitHub rate limit (#429)

Full Changelog: v0.3.1...v0.3.2