Skip to content

Releases: squarecloudofc/sdk-api-py

Release 3.3.2

18 Feb 22:04
Compare
Choose a tag to compare

Release Notes - [3.3.2] (18/02/2024)

Summary

This release is focused on fix some bugs

Changelog

Bug Fixes

Breaking Changes

This release has no breaking changes.

Release 3.3.1

19 Jan 12:43
Compare
Choose a tag to compare

Release Notes - [3.3.1] (25/12/2023)

Summary

This release is focused on refactoring some of the code

Changelog

  • Exceptions now inheirits from Exception instead BaseException
  • Added header 'User-Agent' on requests headers
  • import errors in squarecloud.__init__.py
  • Update cli parameters and options descriptions

Breaking Changes

This release has no breaking changes.

Release 3.2.1

26 Dec 17:48
Compare
Choose a tag to compare

Release Notes - [3.2.1] (25/12/2023)

Summary

This release is focused on adding support for new endpoints and refactoring some of the code, as you can see below

Changelog

Features

Bug Fixes

  • Resolved bug in the Request and Capture listeners system, when more than one application could access listeners from another application

Enhancements

  • Pydantic Dataclasses Integration:

    • The default Python dataclasses have been replaced with pydantic dataclasses.
    • This enhancement brings advanced data type validation to ensure the correctness of data structures.
  • Error handling refactored

    • Error handling has been refactored in http module.
    • Error messages have changed
    • New Exceptions have been added to support the new endpoints

Breaking Changes

This release has no breaking changes.

Additional Notes

This release was supposed to come out yesterday (12/25/2023), but unexpected events made that impossible, so, Merry belated Christmas 🎄

Release 3.1.3

26 Oct 21:57
Compare
Choose a tag to compare

Some changes were made due to a change in api responses

Release 3.1.0

06 Oct 20:31
Compare
Choose a tag to compare

This release adds CLI feature.

Release 3.0.3

02 Sep 02:28
Compare
Choose a tag to compare

Fixed an error caused by a change in the UPLOAD route response

v3.0.2

26 Apr 14:05
Compare
Choose a tag to compare

This version fix an error raised when upload an application without description and subdomain.

Release 3.0.0

25 Apr 19:07
Compare
Choose a tag to compare

This version uses v2 routes, version 2.0.1(and below) will stop working from March 20th as api v1 routes will be deprecated

Added Features

New Application methods:

  • new Application.files_list method docs
  • new Application.read_file docs
  • new Application.create_file docs
  • new Application.delete_file docs

New Client methods

  • new Client. app_files_list docs
  • new Client.read_app_file docs
  • new Client.craete_app_file docs
  • new Client.delete_app_file docs
  • new Client.statistics docs

Application Caching

now the methods Application.logs, Application.data, Application.status, Application.backup have parameter update_cache, if it is False the cache of the Application will not be updated
this value by default is True docs

Release 2.0.1

16 Jan 13:51
Compare
Choose a tag to compare

Release v2.0.1

this version contains very useful features, for detailed information read the docs

Added features

  • new Client.upload method to upload an application
  • now you can create event with the new listeners(capture, on_request)
  • new parameter avoid_listener added in all Application and Client methods
  • new caching system for Applications objects

Compatibility

just a few minor changes may require code change

  • squarecloud.data.CompleteLogsData now is squarecloud.data.FullLogsData
  • Client.logs_complete now is Client.full_logs