Releases: fsspec/universal_pathlib
Releases · fsspec/universal_pathlib
v0.3.4
What's Changed
- Add full simplecache protocol support by @ap-- in #453
- support JSON schema generation by @pmeier in #451
- build(deps): bump pathlib-abc from
0.5.1to>=0.5.1,<0.6.0by @dependabot[bot] in #450 - upath.core: deprecate _protocol_dispatch=False by @ap-- in #454
Full Changelog: v0.3.3...v0.3.4
v0.3.3
What's Changed
- Add upath.implementations.zip.ZipPath by @ap-- in #442
- Add upath.implementations.tar.TarPath by @ap-- in #443
- Support chaining for zip and tar paths by @ap-- in #440
- upath.core: remove chain_parser from overloads for upath class narrowing by @ap-- in #436
- Cut release 0.3.3 by @ap-- in #447
Full Changelog: v0.3.2...v0.3.3
v0.3.2
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
.pathproperty to return correct normalized paths (#426) - upath.implementations: correct
.pathnormalization 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
v0.3.1
What's Changed
- UPath implement
.infoby @ap-- in #416 - Stricter upath types and remove Compat* protocol by @ap-- in #417
- Fix type annotations for upath.core, upath.extensions and upath.implementations by @ap-- in #420
- Backport types and methods to local by @ap-- in #421
- typesafety: add thorough typechecks to UPath interface by @ap-- in #414
- Upath add move into by @ap-- in #422
- Upath add from_uri by @ap-- in #423
- Chore license and ci permissions by @ap-- in #424
- Cut release 0.3.1 by @ap-- in #425
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
Fixed
- upath: support relative paths (#405)
- upath: implement chain functionality (#346)
- upath: fix upath suffixes (#407)
- upath: update flavours (#350, #351, #400, #403, #411)
- upath: fix GH test skipping (#361)
- ci: update ubuntu runners (#359)
- ci: address skip_existing deprecation (#369)
- tests: split protocol mismatch test (#365)
- tests: ensure non-local upaths raise with builtin open (#368)
- tests: add an xfail test for // behaviour on s3 (#370)
- tests: fix xfail call args (#409)
- tests: add a os.PathLike test (#410)
Added
- upath: api extensions via
upath.extensions.ProxyUPath(#372) - upath: add upath.types in preparation for deriving from pathlib-abc (#364)
- upath: add optional support for pydantic (#395) thanks @pmeier 🙏 ❤️
- upath: list late registered protocols (#358)
- repo: add a security policy (#327)
- ci: start running against 3.14 (#363)
Changed
- upath: inherit from
pathlib_abc.ReadablePathandpathlib_abc.WritablePath(#366, #402, #404) - upath: drop Python 3.8 (#360)
- upath: remove deprecated accessor support (#362)
New Contributors
Full Changelog: v0.2.6...v0.3.0
v0.2.6
What's Changed
- Fix: ensure typing_extension is dependency for earlier python versions by @mgxd in #290
- Fix sftp join issue for non-root prefixed paths by @ap-- in #294
- Fix: Add support for
abfssprotocol by @jslorrma in #311 - Added: expanduser no-op by @ollie-bell in #293
- tests: minor fixes for tests by @ap-- in #312
- tests: allow configuring smb port via env var by @ap-- in #314
- tests: reenable py3.13 tests on windows by @ap-- in #295
- ci: switch to trusted publishing by @ap-- in #320
- Update flavours by @ap-- in #285, #299, #313, #319
New Contributors
- @mgxd made their first contribution in #290
- @ollie-bell made their first contribution in #293
- @jslorrma made their first contribution in #311
Full Changelog: v0.2.5...v0.2.6
v0.2.5
What's Changed
- Bump dvc from 3.55.1 to 3.55.2 by @dependabot in #273
- upath.implementations.cloud: move empty bucket checks to subclasses by @ap-- in #277
- Enable windows local tests by @ap-- in #278
- Support python 3.13 by @ap-- in #275
Full Changelog: v0.2.4...v0.2.5
v0.2.4
What's Changed
Added
Fixed
- Fix UPath.rename type signature by @ap-- in #258
- Prevent SMBPath.rename warnings when using defaults by @ap-- in #259
- Update moto[s3,server] remove upper version bound by @dependabot in #248
- Implement UPath.samefile by @ap-- in #261
- Fix touch exists_ok if file exists by @ap-- in #262
- tests: add test for mkdir with existing gcs bucket by @ap-- in #263
- UPath.joinpath raise error on protocol mismatch by @ap-- in #264
- tests: fix xpass test in http tests by @ap-- in #266
- Silence various warnings in tests by @ap-- in #267
Changed
- Move from setup.cfg to pyproject.toml by @ap-- in #260
- allow upath lstat by @ap-- in #271
- upath: update flavours by @ap-- in #272
New Contributors
- @dependabot made their first contribution in #248
Full Changelog: v0.2.3...v0.2.4
v0.2.3
What's Changed
Added
- Add
st_birthtimeas standard field by @tehunter in #254 - implement SMBPath and tests by @tharwan in #219
- Add typesafety checks by @ap-- in #212
Fixed
- upath._flavour_sources: update flavours by @ap-- in #224
- README: fix link to filesystem spec extra optionnal dependencies by @petrus-v in #232
- upath._flavour: fix path parsing for HttpPath on Python3.12 by @ap-- in #236
- Fix UPath.rename for absolute paths by @Koncopd in #225
- upath: fix is_absolute on <3.12 by @ap-- in #256
New Contributors
- @tharwan made their first contribution in #219
- @petrus-v made their first contribution in #232
- @Koncopd made their first contribution in #225
- @tehunter made their first contribution in #254
Full Changelog: v0.2.2...v0.2.3
v0.2.2
What's Changed
Fixed
- upath: imports of filesystem classes are now lazy by @ap-- in #200
- docs: fixed entrypoint examples for UPath subclass registration by @joouha in #196
- upath: fixed comparison
__eq__with pathlib.Path on py<3.12 by @ap-- in #203 - upath: open() now passes fsspec options through to fsspec by @ap-- in #204
- upath: fixed regression for args that implement
__fspath__different from__str__by @ap-- in #200
Full Changelog: v0.2.1...v0.2.2