Skip to content

Releases: ctera/ctera-python-sdk

2.20.4

19 May 11:52
923e294
Compare
Choose a tag to compare

move instantiation of TCP connector to ClientSession creation.

2.20.3

19 May 00:57
Compare
Choose a tag to compare

What's New

  • New AsyncEdge object for asynchronous access to the CTERA Edge Filer, including file browser extensions:

    • listdir, handle, handle_many, download, download_many, upload, upload_file, mkdir, makedirs, copy, move, and delete
  • Logging behavior change:
    By default, the CTERA SDK no longer enables logging. As a library, enabling logging is now the responsibility of the client/application.

  • Configuration updates:
    Changes to the default configuration file. See the documentation for more details.

Portal Configuration

To disable SSL verification:

# Synchronous
cterasdk.settings.core.syn.settings.connector.ssl = False

# Asynchronous
cterasdk.settings.core.asyn.settings.connector.ssl = False

To change HTTP client timeouts:

# Synchronous
cterasdk.settings.core.syn.settings.timeout.sock_connect = 30  # Example: 30 seconds
cterasdk.settings.core.syn.settings.timeout.sock_read = 60     # Example: 60 seconds

# Asynchronous
cterasdk.settings.core.asyn.settings.timeout.sock_connect = 30
cterasdk.settings.core.asyn.settings.timeout.sock_read = 60

Edge Filer Configuration

To disable SSL verification:

# Synchronous
cterasdk.settings.edge.syn.settings.connector.ssl = False

# Asynchronous
cterasdk.settings.edge.asyn.settings.connector.ssl = False

2.20.2

04 May 12:08
b6d9820
Compare
Choose a tag to compare
  • Refactor of the file-system library to support synchronous and asynchronous operations.
  • Support download and download_many asynchronously.

2.20.1

03 May 00:13
f22f18a
Compare
Choose a tag to compare

📦 CTERA Python SDK – Release Notes

🚀 New Features & Enhancements

  • Bearer Token Support
    Support initialization of the CTERA Direct IO client using a Bearer token for flexible authentication options.

  • Improved Path Handling
    Clients can now use both relative and absolute paths. Previously, paths starting with / were not allowed — this limitation has been removed!

  • Async Team Portal Browsing
    The AsyncGlobalAdmin object now supports browsing Team Portals.

  • Team Portal Impersonation API
    Added support for instantiating a Team Portal user session from an admin session using the Impersonation API, available via GlobalAdmin and AsyncGlobalAdmin.

  • File Handle Support
    New ability to:

    • Obtain a handle for an individual file
    • Generate a handle for a ZIP archive containing multiple files
  • Upload from File Handle
    Support for uploading files directly from a file-like object (handle).

  • Asynchronous File Operations (asyncio)
    Async support for file operations enables easier implementation of a CTERA Portal MCP Server. Supported methods include:

    • handle, handle_many, upload, upload_file, mkdir, makedirs, listdir, walk
    • versions, rename, delete, undelete, copy, move, permalink
  • Refactored File Access Library
    Common infrastructure for sync and async file operations to reduce duplication and improve maintainability.

  • Improved Unit Testing Infrastructure

    • Shared infrastructure to patch calls for testing
    • Added unit tests for:
      • Retrieving versions
      • mkdir
      • File browser functionality
  • New File Access Exceptions
    Introduced new exception classes for granular error handling during file operations.


🧾 Documentation Updates

  • Fixed documentation for CTERA Direct IO client initialization
  • Added new documentation for managing Edge Filer storage arrays

2.19.59

16 Apr 16:52
dfb8406
Compare
Choose a tag to compare

parity implementation of asynchronous iterators with user defined schema methods

2.19.58

14 Apr 11:14
83eff37
Compare
Choose a tag to compare

feat: add new role settings with test support

Added new role settings to RoleSettings class:

  • allowFoldersFilesPermanentDelete: Control permanent file/folder deletion
  • canManageLegalHolds: Control legal hold management permissions
  • canManageComplianceSetting: Control compliance settings management

Updated corresponding test cases to include the new settings.

2.19.57

14 Apr 09:38
bb85e5f
Compare
Choose a tag to compare
update task manager for edge and core (#289)

2.19.56

10 Apr 23:28
29dd147
Compare
Choose a tag to compare

Refactor unit-tests, update set_timezone in Portal documentation

2.19.55

20 Mar 15:37
94cc3cb
Compare
Choose a tag to compare

Resolve issues accessing agents from the Portal
Support permalink

2.19.54

19 Mar 01:20
e07a695
Compare
Choose a tag to compare
Saimon/add docs file access (#285)