Skip to content

Releases: squarecloudofc/sdk-api-py

Release 3.8.0

12 Sep 14:02
26a43fc

Choose a tag to compare

Release Notes - [3.8.0] (12/09/2025)

Features

  • Added environment routes and methods 56b2dae

Fix

  • Modifying FileInfo since folders does not have lastModified, causing errors 8e3cdd8
  • Remove the additional slash on the file path dfb5eac
  • Changing buffer -> content in create_file_app c2a2018
  • Updating Analytics dataclass to reflect the new api response 3f848bc
  • Fixing some names from backups to snapshots dcb61db and 320f3d6

Deprecated

Release 3.7.5

02 Sep 20:11
4266c91

Choose a tag to compare

Release Notes - [3.7.5] (02/09/2025)

Fix

  • Added missing cluster attribute on UploadData 9b835f9

Chore

  • Moving some dependencies to devdependencies d890fe3

Release 3.7.4

24 Jul 21:08
85c7f3c

Choose a tag to compare

Release Notes - [3.7.4] (24/07/2025)

Fix

fix: Changing backups to snapshots on Endpoints. e03e51d

Chore

Chore: Changing user-agent version. 63ee3ab

Release 3.7.3

08 May 14:27
420a56f

Choose a tag to compare

Release Notes - [3.7.3] (08/05/2025)

Chores

Tests

  • test(tests): Standardize quotes, clean up imports, and update dict syntax.
    • Replaced single quotes with double quotes for consistency.
    • Removed unused import statements.
    • Updated dictionary keys and values to use double quotes. ([f01b2d0](robert-nogueira@f01b2d0))
  • 🧪 Refactor tests and improve type annotations. ([cd99c5f](robert-nogueira@cd99c5f))

Styles

Refactors

Enhancements

Documentation

BREAKING CHANGES

Release 3.7.2

24 Aug 14:36

Choose a tag to compare

Release Notes - [3.7.2] (24/08/2024)

🚀 Features

  • ✨ added "download" method to Backup class

🚨 Breaking Changes

This release has no breaking changes.

Release 3.7.1

23 Aug 21:55

Choose a tag to compare

Release Notes - [3.7.1] (23/08/2024)

🐛 Bug Fixes

  • 📦 added missing package: "typing_extensions"

🚨 Breaking Changes

This release has no breaking changes.

3.7.0

16 Aug 23:24
698fb70

Choose a tag to compare

Release Notes - [3.7.0] (16/08/2024)

📜 Summary

This release introduces input validation enhancements across the codebase, improvements in error logging, and updates to versioning.

🚀 Features

  • Applied @validate decorator to various methods in Application and Client classes to enforce input validation.

✨ Enhancements

  • Replaced find_spec('pydantic') with USING_PYDANTIC for better conditional imports.
  • Added additional error logging in HTTPClient to improve error tracking.

🚨 Breaking Changes

  • This release has no breaking changes.

✏️ Additional Notes

  • Optional Dependency: Pydantic is now an optional dependency. You can enable Pydantic support by installing it separately.
    To use Pydantic, install it with:
    pip install "squarecloud-api[pydantic]"

Release 3.6.2

12 Aug 13:27

Choose a tag to compare

Release Notes - [3.6.2] (12/08/2024)

📜 Summary

This release Introduced adaptations to allow the installation of Pydantic to be optional. This change allows users to choose whether or not to install Pydantic based on their project requirements.

✏️ Adicional notes

to install squarecloud-api with pydantic, use pip install "squarecloud-api[pydantic]"

3.6.0

10 Jul 21:46

Choose a tag to compare

Release Notes - [3.6.0] (10/07/2024)

🚀 Features

  • Implemented DNS records and file moving features in HTTP client.
  • Added methods for DNS records and file moving in application client.
  • Introduced new endpoints for DNS records and file moving.

♻️ Refactored

  • Refactored code to update endpoint signatures and improve code organization.

✏️ Additional Notes

  • Added tests for DNS records and file moving features. (795ddcb)
  • Updated examples. (c610857)

🚨 Breaking Changes

  • Renamed BackupData to Backup and introduced BackupInfo in data.py. (d8400b8)

Release 3.5.1

04 Jul 02:22

Choose a tag to compare

Release Notes - [3.5.1] (03/07/2024)

📜 Summary

This release includes updates to dependencies, improvements to the CLI and core classes, and fixes for log messages and test cases.

🚀 Features

  • Added new dependencies: DeployData and DomainAnalytics imports in squarecloud/__init__.py.

📦 Dependencies

  • Updated aiohttp from 3.9.3 to 3.9.5.

🐛 Bug Fixes

  • Core Classes:

    • Fixed return value of __repr__ method in Application class (squarecloud/app.py).
  • CLI:

    • Updated table title and rows to use app.name instead of app.tag in squarecloud/cli/app.py.
    • Fixed table headers and rows in app_list and app_group to remove unnecessary fields in squarecloud/cli/app.py.
  • Logging:

    • Fixed log message to use app.name instead of app.tag in CaptureListenerManager (squarecloud/listeners/capture_listener.py).
  • Tests:

    • Added imports and assertions in test_app.py to check the return types of various methods.

✨ Enhancements

  • Type Hints:
    • Added ParamSpec and TypeVar for type hints in Client class (squarecloud/client.py).

🚨 Breaking Changes

  • This release has no breaking changes.