Skip to content

Latest commit

 

History

History
382 lines (179 loc) · 16.8 KB

CHANGELOG.md

File metadata and controls

382 lines (179 loc) · 16.8 KB

0.10.1 (2022-12-08)

Bug Fixes

  • smart_open: relax range to < 7.0 (#98) (43d1327)

0.10.0 (2022-11-23)

Bug Fixes

  • stat: return BlobStat for all pathy paths (#96) (f092605)

BREAKING CHANGES

  • stat: Previously when using Pathy.fluid paths that point to local file system paths, Pathy would return an os.stat_result rather than a BlobStat. This made it difficulty to treat mixed paths consistently.

Now Pathy returns a BlobStat structure for local and remote paths.

If you need to use os.stat_result you can still call os.stat(my_path) to access it.

0.9.0 (2022-11-22)

Bug Fixes

  • blob: properly initialize default last_modified (d831bee)
  • windows: consistent path separator in resolve (44f5ca0)
  • windows: file:/// paths had the wrong suffix (674a109)
  • windows: return None owner on windows where not implemented (abd28c4)

Features

  • Pathy: raise error when not using Pathy.fluid for absolute paths (e7f4e73), closes #87
  • windows: add windows CI test execution (504823d)

BREAKING CHANGES

  • Pathy: Previously Pathy would allow you to initialize Pathy instances with absolute system paths (unix and windows). Now Pathy raises a ValueError if given an absolute system path that suggest using Pathy.fluid instead.

0.8.1 (2022-11-16)

Bug Fixes

  • azure: "azure" scheme was not registered (#94) (2791565)

0.8.0 (2022-11-16)

Features

  • azure: support azure blob container storage (#93) (9624856)

BREAKING CHANGES

  • azure: This removes an internal bit of code that allows for enumerating buckets in certain situations. The API was impossible to reach without going indirectly through the glob functionality, and it's unclear whether the code paths were ever reached outside of specific unit testing situations. If there's an explicit need for listing buckets, we can add a top-level API for it.

0.7.1 (2022-11-15)

Bug Fixes

  • pypi: add classifiers for python 3.10 / 3.11 (515cb5d), closes #89

0.7.0 (2022-11-15)

Features

  • python: support python 3.11 (c2a0586)

BREAKING CHANGES

  • python: Pathy.exists() no longer enumerates buckets if given a path with no root.

0.6.2 (2022-06-30)

Bug Fixes

  • smart_open: use compression flag required by 6.x versions (8c5f092)

0.6.1 (2021-10-25)

Bug Fixes

  • Update for Python 3.10 compatibility (#68) (450c2f2)

0.6.0 (2021-06-26)

Features

  • support smart_open >=5.0.0,<6.0.0 (#63) (9718752)

BREAKING CHANGES

  • This change removes support for smart_open < 5.0.0

The API for specifying s3 credentials changed in smart_open v5, so previous versions are incompatible.

0.5.2 (2021-04-24)

Features

  • cli: add version number to cli help string (#55) (8001907)

0.5.1 (2021-04-23)

Features

  • clients: add support for S3 bucket storage (#54) (5bb7e1b)

0.5.0 (2021-04-22)

Bug Fixes

  • auto-import: move public exports into init.py (fd09021)
  • cli: ls returns code 1 from invalid sources (b2ff829)
  • samefile: compare self.key to other.key not self.key (688628e)

BREAKING CHANGES

  • auto-import: Previously you could import symbols directly from their files in the module, e.g. from pathy.base import Pathy. Now you must import them from the base package, e.g. from pathy import Pathy.

0.4.0 (2021-02-15)

Bug Fixes

  • gcs: stop handling DefaultCredentialsError (d4754ff), closes #43

BREAKING CHANGES

Pathy would previously handle google's DefaultCredentialsError and raise its own, which covered some use-cases and confused others. If google's cloud SDK cannot find default credentials, you will need to handle that exception manually.

0.3.6 (2021-02-10)

Features

  • cli: add "-l" flag to ls command (e47fb02)
  • Pathy: add "ls" method for quickly querying blobs with stats (bf452e7)
  • tests: include tests in pypi package (#44) (d6ad724)

0.3.5 (2021-02-02)

Bug Fixes

  • pypi: add requirements.txt to distribution (#45) (759cd86)
  • python 3.9 compatibility (#46) (a965f40)

0.3.4 (2020-11-22)

Features

  • clients: add set_client_params for specifying client-specific args (#39) (84b9987)

0.3.3 (2020-11-12)

Bug Fixes

  • path.scheme would error with schemeless paths (#37) (80f0036)

0.3.2 (2020-11-12)

Bug Fixes

  • upgrade smart-open to >=2.2.0,<4.0.0 (#36) (fdf083e)

0.3.1 (2020-09-26)

Features

  • update smart-open to 2.2.0 for minimal deps (4b3e959)
  • ci: add pyright check to lint step (10ce34d)

0.3.0 (2020-09-04)

Code Refactoring

  • add BasePathy class to bind PathType var to (796dd40)

Features

  • add get_client/register_client for supporting multiple services (747815b)
  • ci: add lint check before testing (2633480)
  • GCS: print install command when using GCS without deps installed (d8dbcd4)

BREAKING CHANGES

  • This renames the internal GCS/File adapter classes by removing the prefix Client.
  • ClientBucketFS -> BucketFS
  • ClientBlobFS -> BlobFS
  • ClientBucketGCS -> BucketGCS
  • ClientBlobGCS -> BlobGCS
  • BucketStat -> BlobStat
  • use_fs, get_fs_client, use_fs_cache, get_fs_cache, and clear_fs_cache moved from pathy.api to pathy.clients

0.2.0 (2020-08-22)

Code Refactoring

  • rename PureGCSPath to PurePathy (5632f26)

Features

  • build: use husky to auto update docs when code changes (5a32357)
  • README: generate API and CLI docs (0213d2f)

BREAKING CHANGES

  • PureGCSPath is now PurePathy

0.1.3 (2020-06-28)

Features

0.1.2 (2020-05-23)

Bug Fixes

  • path.owner() can raise when using filesystem adapter (2877b06)

0.1.1 (2020-04-24)

Features

  • cli: add -r and -v flags for safer usage (a87e36f)

0.1.0 (2020-04-24)

Features

  • add FluidPath and GCSPath.fluid method (3393226)
  • cli: add ls [path] command (17cab1d)
  • cli: add pathy executable with cp and mv commands (98760fc)
  • cli: add rm [path] command (31cea91)
  • pathy: rename library to be more generic (c62b14d)

0.0.17 (2020-04-17)

Bug Fixes

  • do not de/compress opened files based on extension (22d14e7)

0.0.16 (2020-04-16)

Features

  • typing: expose library python types to mypy (53cf348)

0.0.15 (2020-04-16)

Bug Fixes

  • requirements: remove typer dependency (08e8fa0)

0.0.14 (2020-04-16)

Bug Fixes

  • iterdir: don't return empty results (2a8b870)

0.0.13 (2020-04-16)

Bug Fixes

  • to_local: issue where files without extensions would not be cached (3d543a8)

0.0.12 (2020-04-15)

Bug Fixes

  • recursion error when copying blob folders (8b6e01c)

0.0.11 (2020-04-15)

Features

  • to_local: support caching folders (cc56f6e)

0.0.10 (2020-04-14)

Features

  • add use_fs_caching and Pathy.to_local for caching (2894360)

0.0.9 (2020-04-08)

Features

0.0.8 (2020-04-08)

Features

  • allow passing Pathy to spacy.Model.to_disk (1d628cb)
  • use_fs: allow passing root folder as Path (3635152)

0.0.7 (2020-03-30)

Bug Fixes

  • gcs: gracefully handle invalid gcs client case (529f630)

0.0.6 (2020-03-30)

Features

  • add github releases for each pypi version (66dbed8)

0.0.5 (2020-03-30)

Bug Fixes

0.0.4 (2020-03-30)

Features

  • support unlink path operation

0.0.3 (2020-03-30)

Features

  • gcs: use smart_open for streaming files (e557ab9)
  • add file-system bucket adapter (1c72f47)
  • use_fs stores buckets on the file-system (f717280)

0.0.2 (2020-03-18)

Bug Fixes

  • tests: enable unit tests on ci (dd56011)