Skip to content

3.0.0

Choose a tag to compare

@joaotonaco joaotonaco released this 25 Apr 19:27
· 225 commits to main since this release

Now using Square Cloud API v2, old versions (2.2.2 and below) will stop working from March 20th as API v1 is being deprecated.

New features

  • Application#files - Now you can manage your application files.
    • files#list - List all files within a specific path.
    • files#read - Get the content of a file.
    • files#create - Create a brand new file.
    • files#delete - Delete an existing file.

Changes

Applications

- api.getApplication('Id')
+ api.applications.get('Id')

- api.uploadApplication(file)
+ api.applications.create(file)

Users

- api.getUser('Id')
+ api.users.get('Id')

Removed features

  • Application#getLogs now doesn't support full logs URL due to API changes.

Refactor

  • Now it's required to use NodeJS version 19 or newer.
  • The code has been fully refactored.