itkdb history¶
All notable changes to itkdb will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased¶
Changed:
Added:
Fixed:
0.5.0 - 2024-03-11¶
Added:
- Command-line interfaces for
itkdb eos upload
anditkdb eos delete
Changed:
- Migrated relevant portions of
client.py
toeos.py
for splitting out the EOS-specific functionality withpycurl
0.4.14 - 2024-02-15¶
Fixed:
- Dropped
python-magic
dependency for Windows installations.
0.4.13 - 2023-11-30¶
Fixed:
- Dropped
pylibmagic
dependency for Windows installations.
0.4.12 - 2023-11-15¶
Fixed:
- Handle empty attachments properly, returning a itkdb.models.BinaryFile instead of a
requests.models.Response
object, and not crashing with content-type / mimetype checks.
0.4.11 - 2023-10-30¶
Fixed:
- Do not attempt to delete attachment from EOS if the token is not returned from ITk PD.
0.4.10 - 2023-10-27¶
Fixed:
-
Added a new
pycurl
callbackSEEKFUNCTION
to handleEOS
redirects better to resolve errors likepycurl.error: (65, "necessary data rewind wasn't possible")
0.4.9 - 2023-10-18¶
Fixed:
-
Add upper bound on
urllib3
for CentOS7/SL7 machines to matchopenssl
. Without the fix one gets something likeImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips 26 Jan 2017'. See: https://github.com/urllib3/urllib3/issues/2168
0.4.8 - 2023-09-12¶
Fixed:
- itkdb.responses.PagedResponse reruns authentication when paginating.
0.4.7 - 2023-08-30¶
Added:
auth_expiry_threshold
to itkdb.core.User, itkdb.core.Session, and itkdb.client.Client to force reauthentication sooner than when the token actually expires
0.4.6 - 2023-08-29¶
Changed:
- Pagination will not keep history by default (see below for how to recover existing behavior)
Added:
- Keyword arguments for keeping pagination history, set to
False
by default to not keep previous pages- itkdb.Client has a
pagination_history
keyword argument - itkdb.responses.PagedResponse has a
history
keyword argument
- itkdb.Client has a
Fixed:
itkdb authenticate
had a broken f-string
0.4.5 - 2023-07-14¶
Added:
- Dependency on
python-magic-bin
for Windows installations
0.4.4 - 2023-06-02¶
Added:
- Functionality to automatically delete attachments from EOS (if the attachment is on EOS)
0.4.3 - 2023-05-04¶
Changed:
- Undo changes in v0.4.3
Added:
- Upper-bound on
urllib3<2
Fixed:
- Handle
json
attachments correctly
0.4.2 - 2023-05-01¶
Fixed:
- Improved caching for later versions of
urllib3
whereHTTPResponse
object does not havestrict
attribute
0.4.1 - 2023-04-28¶
Changed:
- Updated CERN TLS chain/certificates
Added:
- More examples to documentation
0.4.0 - 2023-03-02¶
Added:
- This documentation website!
- Functionality to upload to EOS (
with_eos
argument to itkdb.Client) - Automatic SSL verification for requests to
.cern.ch
itkdb.utils
itkdb.models
- itkdb.models.BinaryFile as a base for all file models
- itkdb.models.ZipFile (#17)
- Configuration
- Support for python 3.11 (#19)
contrib
feature for rendering exceptions that return HTML (#20)- itkdb.data for data files (#15 for image/text data files and the CERN SSL cert chain, #24 for ROOT file)
Changed:
- Renamed
itkdb.utilities
toitkdb.utils
itkdb.models
itkdb.models.Image
to itkdb.models.ImageFileitkdb.models.Text
to itkdb.models.TextFile
- Improved handling of large data files by creating a temporary file on disk when downloading from ITkPD or EOS
- itkdb.core.User arguments renamed from
accessCode1
/accessCode2
toaccess_code1
/access_code2
to be more pythonic
Fixed: