All notable changes to the AIStore Python SDK project are documented in this file.
We structure this changelog in accordance with Keep a Changelog guidelines, and this project follows Semantic Versioning.
-
Update project metadata and improve descriptions in
pyproject.toml
. -
Update supported ETL Python runtime versions, and set the default runtime version to Python 3.13.
-
Support for OCI (
oci://
) as remote backend. -
Support for reading objects directly from the targets (bypassing proxy and LB) via the
direct=True
parameter inobject.get_reader()
.
-
Improvements to Python SDK error handling.
-
Replaced
datetime.fromisoformat
usage and custom parsing logic withdateutil.parser.isoparse
for more consistent and robust ISO timestamp handling injob.py
.
ext
parameter inobject_group.transform(...)
enables replacing file extensions during multi-object transformations (e.g.,{"jpg": "txt"}
).
-
ObjectFile
renamed toObjectFileReader
ensures naming consistency with later-introducedObjectFileWriter
; related errors updated accordingly (e.g.,ObjectFileMaxResumeError
→ObjectFileReaderMaxResumeError
). -
ContentIterator
now properly respects the associatedObjectClient
’s existing byte-range settings, ensuring correct iteration inObjectReader.__iter__()
andObjectFile
.
client.fetch_object_by_url
renamed toclient.get_object_by_url
to better reflect its purpose (callingclient.fetch_object_by_url
now emits a deprecation warning and will be removed in a future release).
-
ObjectWriter
provides a structured interface akin to theObjectReader
class for writing objects (e.g.,put_content
,append_content
,set_custom_props
), instantiable viaobject.get_writer
. -
ObjectFileWriter
is a file-like writer instantiable viaObjectWriter.as_file(...)
.
-
object.get
renamed toobject.get_reader
for clarity and consistency (callingobject.get
now emits a deprecation warning and will be removed in a future release). -
Object
write methods (object.put_content
,object.put_file
,object.append_content
,object.set_custom_props
) are now deprecated in favor ofObjectWriter
equivalents (calling the deprecated methods now emits deprecation warnings and will be removed in a future release).
pyproject.toml
to requirepydantic>=1.10.17
and switched all references topydantic.v1
, ensuring compatibility with both v1 and v2 while preserving existing v1 features (see here).