João Otávio Stivi [Profile]

Chief Technology Officer at Square Cloud

Changelog written by João Otávio Stivi in 01/03/2024.

Official Plans Update

During February and March, many meetings and research were conducted to better understand the needs of users. After a lot of work, we are proud to announce that all plans have been updated, bringing new features and improvements.

Medium to Hobby

Improvements:

  • RAM doubled (1GB => 2GB)

Advanced to Standard

Improvements:

  • RAM doubled (2GB => 4GB)
  • Now you can use Custom Domains!

Senior to Pro

Improvements:

  • RAM doubled (4GB => 8GB)
  • Now you have Premium Support!

Deluxe to Business

Improvements:

  • RAM doubled (8GB => 16GB)
  • Increased processing (4vCPU => 6vCPU)

Official CLI Update

We have implemented a new CLI version, bringing significant improvements.

Installation

To install the CLI, just run the following command in your terminal:

Improvements

  • Install script now fetches the latest GitHub tag to install the latest version of the CLI.
  • Reworked REST client and introduced a new file .squareignore to ignore files when zipping the current folder.
  • Automatic parsing of errors returned from Square Cloud with exit code 0, reducing the need for manual error handling.
  • New log command, to view the logs of your application.

Update

To update the CLI, just run the following command in your terminal:


Website Update

We have implemented a new design and layout, making the user experience more enjoyable and intuitive.

New home page


New plans page


New individual services page

New Customer Service

We have implemented a new support center, making it easier to find answers to your questions and get help when you need it.

You can also access the support center directly from the dashboard. Or by clicking here.

Dashboard Update

New dashboard version released! Packed with features and improvements suggested by our community. Your experience just got better – check it out now! ❤️

New Upload System

We have implemented a new upload system, making it easier to upload your applications, and now you can receive a warning if you don’t have a plan or enough memory to upload your application.

New Teams System

We have implemented a new teams system, making it easier to manage your team and share your applications with your team members.


Payments System

We have implemented a new payment system, making it easier and centralized to understand your checkout.

Documentation Update

Our documentation has been updated with new content and a new design, making it easier to find what you need.

Access the documentation by clicking here.

API Update

This month we have also implemented new endpoints and fixed some bugs. All database queries have been optimized, bringing significant performance improvements. Account internal routes have been restructured (less bytes/transaction), making it faster and more reliable for browsers and mobile devices.

Endpoint: /v2/apps/:appId/deploy/info

New endpoint to get the current deployment information of an application.

{
    "status": "success",
    "response": { 
        "webhook": "https://api.squarecloud.app/v2/git/webhook/69ce71f11974f2cc21d47cd0a8bcbafdaacbc3c9924b23ca40e0e2032705f6391eb89b40983338e0f2415e9331d602ccc"
    }
}

Endpoint: /v2/apps/:appId/deploy/git-webhook

Fix a bug that cause slow response time when requesting the first time.

Clusters Update

  • Improved Online Status Accuracy: Addressed an issue causing false online status reports.
  • Enhanced Stop System: Achieved faster application shutdown times, now averaging under ~7 seconds.
  • Optimized LACK_OF_CPU Response: Ensured reliable delivery of responses in cases of CPU shortages.
  • Real-time Log Performance: Resolved an issue where real-time logs were not displaying promptly.
  • Enhanced Log Transmission: Increased the limit of transmitted logs on initial connection from 100 to 200 to provide more comprehensive data.
  • Storage Limit Adjustment: Reduced the space limit for each application to 10GB to deter system abuse. For additional storage needs, consider leveraging Square Cloud Blob.

Libraries cited in this article

@squarecloud/cli:

  • New package published, uses the new CLI version.

Personal note: Special thanks to richaardev, who helped me a lot in the development of the new CLI. 🎉