Releases: squarecloudofc/sdk-api-py
Releases · squarecloudofc/sdk-api-py
Release 3.8.0
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
Release 3.7.4
Release 3.7.3
Release Notes - [3.7.3] (08/05/2025)
Chores
- 🧹 chore(py.typed): Add
py.typedfile to indicate the package supports type hints. ([38d4e86](robert-nogueira@38d4e86)) - 🧹 chore(data.py): Clean up unused code and improve type hint formatting. ([926026b](robert-nogueira@926026b))
- 🧹 chore(pyporject.toml): Update dependencies, Python version, and tooling for improved development, linting, and security. ([391f86b](robert-nogueira@391f86b))
- 🧹 chore(safety-project.ini): Add
.safety-project.iniconfiguration file to define project metadata for safety checks. ([ee37f1d](robert-nogueira@ee37f1d))
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
- 🎨 style(client.py): Standardize string quotes from single to double for consistency across the file. ([aded547](robert-nogueira@aded547))
- 🎨 style(style): Update parameter names from
__kwargsto_kwargsfor consistency and readability. ([576e8c1](robert-nogueira@576e8c1))
Refactors
- 🗑️ delete examples/app_data. ([6cb1b41](robert-nogueira@6cb1b41))
- 🩹 Fix parameter name inconsistency in
RequestListenerManager. ([adcdff0](robert-nogueira@adcdff0)) - ♻️ Refactor data classes to use custom metaclass for immutability. ([634e8cb](robert-nogueira@634e8cb))
- ♻️ Refactor Client class methods and improve typings. ([a1e3136](robert-nogueira@a1e3136))
- ♻️ Refactor typing and improve function signatures in Application class. ([9b95733](robert-nogueira@9b95733))
Enhancements
- ✨ Enhance typing and improve script clarity. ([fd6b17d](robert-nogueira@fd6b17d))
Documentation
- 🏷️ Improved typing and sorted imports. ([c06955c](robert-nogueira@c06955c))
- 📚 Improved examples. ([77de002](robert-nogueira@77de002))
BREAKING CHANGES
- 🧹 chore(data.py): Removed the
requestsattribute fromStatusData. ([926026be](robert-nogueira@926026be))
Release 3.7.2
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
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
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
@validatedecorator to various methods inApplicationandClientclasses to enforce input validation.
✨ Enhancements
- Replaced
find_spec('pydantic')withUSING_PYDANTICfor better conditional imports. - Added additional error logging in
HTTPClientto 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
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
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
BackupDatatoBackupand introducedBackupInfoindata.py. (d8400b8)
Release 3.5.1
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:
DeployDataandDomainAnalyticsimports insquarecloud/__init__.py.
📦 Dependencies
- Updated
aiohttpfrom 3.9.3 to 3.9.5.
🐛 Bug Fixes
-
Core Classes:
- Fixed return value of
__repr__method inApplicationclass (squarecloud/app.py).
- Fixed return value of
-
CLI:
- Updated table title and rows to use
app.nameinstead ofapp.taginsquarecloud/cli/app.py. - Fixed table headers and rows in
app_listandapp_groupto remove unnecessary fields insquarecloud/cli/app.py.
- Updated table title and rows to use
-
Logging:
- Fixed log message to use
app.nameinstead ofapp.taginCaptureListenerManager(squarecloud/listeners/capture_listener.py).
- Fixed log message to use
-
Tests:
- Added imports and assertions in
test_app.pyto check the return types of various methods.
- Added imports and assertions in
✨ Enhancements
- Type Hints:
- Added
ParamSpecandTypeVarfor type hints inClientclass (squarecloud/client.py).
- Added
🚨 Breaking Changes
- This release has no breaking changes.