All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
pushcommand now correctly validates content of a--workspace-state(-w) flag
pushcommand now works with current directory, instead of always forcing root git directory
- use zerops proxy to detect zcli latest version
ZEROPS_TOKENenvironment variable takes precedence over stored zcli
- authenticate via present ZEROPS_TOKEN environment variable
- fix automatic project selection if service is defined
- new
project scopecommand
- new
--serviceflag toproject envcommand, which allows overriding env isolation - new
--userOnlyflag toproject envcommand, which excludes non-user envs
- new
project envcommand
- new commands:
zcli project createandzcli service create zcli pushcan also create new project and service- filtering to tui selector and help view to other tui components
- vpn check now only looks for the existence of a wireguard interface instead of pinging core service
- zcli version check
- check zcli version
- multiline output format
--noGitflag topushcommand, which deploys contents of working dir as-is, without special git rules (gitignore etc.)- checks to
pushcommand whether git is installed and correctly initialised when--noGitflag is not used
- DNS resolver configuration for VPN on Darwin OS (no longer need for .zerops suffix)
--workspaceStateflag should now work correctly if set toall, but the repository has no changes
--verbose(shorthand-v) flag todeployandpushcommands to log additional data do zcli debug log file
- local zCLI config file now correctly allows for
.zcli,.zcli.ymland.zcli.yaml deployandpushcommands now correctly interpretarchiveFilePathflag- inactive logView inside of spinner doesn't render
deployandpushno longer stores the entire file on disk, instead streams them directly to Zerops- ui & render logic for logView
-gshorthand for--deployGitFolderflag todeployandpushcommands--workspaceState(shorthand-w) flag topushcommand which allows selection of what will be deployed:all- deploys all files in the work space, including modified and unstaged (default)staged- deploys only staged changesclean- deploys current cleanHEAD
- build and prepare logs for
zcli push
- use viper to parse flags, envs and config files
service logs --messageType=WEBSERVERshould no longer panic
- select tables should now respect terminal height and use pagination if necessary
- issue with service scoping if no service flag was used
- issue with scoping where Project would not be loaded when
serviceIdflag was used
- report error if selections are empty
- Build binaries with CGO_ENABLED=0
- Removed the need to provide the --projectId flag for service scope commands when the --serviceId flag is provided.
- install scripts for Linux, macOS and Windows
- check if
resolvectlis available forvpncommands
- commands will now exit with exit code 1 for all error types
service deploycommand now reacts to the.deployignorefile located in the--workingDirdirectory, learn more about.deployignorein the docs
go getwould fail due to thenon–ascii.txtfile in one of the test cases. File is now created ad-hoc during the test and then cleaned up.
service logandvpn startwere ignoring env and config values forlimitandmtuparameters respectively
- released binaries do not include debug tables and should be about 25% to 30% smaller
pushcommand now correctly pushes all files if called from a repository utilizing git submodules
zcli initcommand
- use
ping -6whenping6is not available
- fix OSX vpn DNS setup
- fix OSX vpn DNS setup
- support absolute path for import script
- fix missing clientId in get logs on appVersion and container
- remove printing null or empty error meta
- project import on windows
- better VPN Darwin support with DHCP setup
- replace old
zerops-iorepository to newzeropsiorepository name
--followflag forzcli service logscommand to receive continuous stream of logs
vpn start [ --preferredPort PORT_RANGE ]parameter
- windows vpn setup
- linux vpn setup
- darwin vpn setup
--regionflag withREGIONenv option to thezcli bucket s3createanddeletecommands
zerops.ymlfile is optional for certain service types indeploycommand
- Validation of
zerops.ymlfile intodeploycommand
zcli deploywould not work on Windows when certain formats of paths were passed as parameters.
- Return correct error messages when project not found by name or ID.
- New set of S3 management
bucketcommands with ability tocreateanddeletebuckets- via
Zerops API:zcli bucket zerops create projectNameOrId serviceName bucketName [flags]zcli bucket zerops delete projectNameOrId serviceName bucketName [flags]
- via
S3 API:zcli bucket s3 create serviceName bucketName [flags]zcli bucket s3 delete serviceName bucketName [flags]
- via
- PersistentKeepalive for windows VPN clients
- Inherit the
PATHvariable from the user ondaemon installondarwinplatform.
- Added missing default URL for region list command.
- Updated protobufs to the latest version (!!!breaking change!!! previous zCLI versions are not compatible and will not work).
- Updated
protoc-genfrom GitHub toprotoc-gen-goandprotoc-gen-go-grpcfrom GoLang.org.
- Enable lowercase formatTemplate values, fix length of timestamps.
- Update commands descriptions.
- Accept lowercase values for service log flags.
- Improve error messages.
- Add service log command.
- Hide internal flags from help, hide completion command.
- Add missing --source flag.
- Enable usage of project ID instead of project name.
- Fix corrupted archives from
pushanddeploycommands on Windows platform.
- New flag
deployGitFolderforpushcommand which packs.gitfolder along other files for thebuildphase.
- Archives stored by
pushanddeploycommands now usetar.gzformat instead ofzip. - Flag
zipFilePathwas renamed toarchiveFilePath
- New command
zcli region list, which lists available regions to the user. - Hint user the possibility to change the region when auth error occurs.
- Support id, which is printed to stdin on
internal server error. - Fix an error with incorrect certificate server name.
- New commands
zcli projectandzcli service, both with subcommandsimport,start,stopanddeletefor full project and services management. - Increase timeout values.