Skip to content

Release v1.7.1

Latest

Choose a tag to compare

@github-actions github-actions released this 16 May 21:49

StaticBackend CLI v1.7.1

This release adds a few day-to-day CLI commands and refreshes the generated
client-library reference files.

New commands

  • Added backend function run <name> for running server-side functions from the CLI.
  • Function runs can receive JSON with --data or --data-file.
  • Function runs can use the configured root token with --use-root-token.
  • When a root token is available, function run prints the latest run output by default. Use --output=false to skip it.
  • Added backend users commands for listing, adding, and deleting application users.

Client library references

  • Added backend llm to write StaticBackend client-library reference files into the current directory.
  • Added JavaScript and Go client references.
  • Added Node.js server-client support via backend llm node, which writes sb-node.md.
  • Updated the generated references to cover more of the client APIs.

CLI behavior

  • backend db, backend account, and backend users now show their command help when run without a subcommand.
  • The config filename convention is now backend.yml.
  • Removed colored output from commands, which makes logs and copied terminal output easier to read.

Dependencies

  • Updated github.com/staticbackendhq/backend-go to v1.7.0.
  • Updated Cobra and several transitive dependencies.

Install

npm install -g @staticbackend/cli

Notes

If you already have a local config file using the old naming convention, rename it to backend.yml before relying on commands that read saved credentials.