Releases: staticbackendhq/cli
Release list
Release v1.7.1
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
--dataor--data-file. - Function runs can use the configured root token with
--use-root-token. - When a root token is available,
function runprints the latest run output by default. Use--output=falseto skip it. - Added
backend userscommands for listing, adding, and deleting application users.
Client library references
- Added
backend llmto 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 writessb-node.md. - Updated the generated references to cover more of the client APIs.
CLI behavior
backend db,backend account, andbackend usersnow 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-gotov1.7.0. - Updated Cobra and several transitive dependencies.
Install
npm install -g @staticbackend/cliNotes
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.
Release v1.7.0
Release v1.6.1
Release v1.6.0-test2
trying to fix GH action issues
v1.5.0
v1.4.3
v1.4.2
Update includes core@v1.4.0's new feature and bud fixes.
Also, a special dev mode root token is now enabled by default removing the need to constantly update the dynamic root token at each stop/start of the CLI.
Use safe-to-use-in-dev-root-token and it will resolve the the current root token.
StaticBackend CLI v1.4.0
This release includes a full development server. The server is the same as the production one from the core package.
It uses volatile / in-memory data, so data is not persisting over restart. But all functionalities of the real backend is available from this simple local binary making it a great option to build quick prototype.
StaticBackend CLI v1.0.1
This update introduced the function command.
To create a server-side function you use the following command
$> backend function add --name daily_trial_process --trigger daily_trials --source ./path/to/func.jsThe following commands are available:
add- Create a new server-side functiondelete- Delete the function by its nameinfo- Display run history for a functionlist- List server-side functionsupdate-
binary-for-linux-32-bit.gz
binary-for-linux-64-bit.gz
binary-for-mac-64-bit.gz
binary-for-windows-32-bit.exe.gz
binary-for-windows-64-bit.exe.gz
Update a server-side function
StaticBackend CLI v1.0.0
This release contains the v1 feature-complete for the local development server. Fixes and improvements will be added, but there will not have any breaking changes for this major version.
- Added real-time component via Server-Sent Events.