- Only bump version
- Fix a security issue by updating
moment
- Add password reset URL support for appEnv config files
- Add support for login hooks
- Improve error message for iOS push settings in config management
- Modify collection hooks sequentially
- Add collection hooks: onPreInsert, onPreUpdate, onPostInsert, onPostUpdate
- Do not update the appEnv when no settings are supplied on
kinvey appenv apply
- Fix appEnv ID check
- Support login with external identity providers
- Modify commands to accept only
--org <org>
(--app <app>
is no longer valid):flex init
flex create
flex list
service create
website create
app create
- Remove
flex job
command - Update API version to 4
- Update min node version to 12.16.1
- Move
file
from positional argument to option - Rename
push
commands toapply
- Allow creating app, app env or service with a name that contains only digits
- Do not export the
serviceEnvironment
field on the serviceObject duringservice export
- Fetch all orgs that a user can read
- Do not export services of type custom
- Remove support for SAP services as they are deprecated
- Allow
insertMany
method for services - Improve profile description
- Fix BAAS host slashes when backend runs on localhost
- Add
org push
to modify organizations from config file - Fix config management by adjusting to services endpoints changes
- Improve response error handling
- Config management related logic uses v3 API
- Support service environments in service config files
- Support runtime and environment variables in flex service config files
- Fix 'app push' to update properly env metadata
- Validate files size when deploying websites
- Output error if identifier (e.g.
--app
) matches more than one entity - Update
lodash.merge
to4.6.2
website deploy
command improvements:- verify files for index and/or error page are present
- add
--force
flag to force deploy
- Add flex runtime version
node12
- Add websites support:
website create <name>
website show
website list
website deploy
website publish
website status
website unpublish
website delete
- Show any 'status' value in all caps (
flex status
)
- Suggest command when token is expired
- Use backend error when HTTP status code is 401
- Apply Kinvey lint rules and fix lint errors
- Preserve existing env vars on
flex deploy --set-vars <env variables>
- Migrate to v3 API
- Add service environments functionality in flex namespace
- Add
org export
to export organizations - Ensure
export
creates non-existing directories - App functionality to create/modify app from config file
- Add
app export
command to export applications - Support rapid data and flex service types for
service export
- Specify entity identifiers as options
- Add
service export
command to export a flex service to config file - Output logs properly when log message is an object
- Prompt for 2FA token on 'profile login' if required
- Rearrange logs
- Add support for groups in env config file
- Fix env export issues
- Add functionality to create/modify env from config file
- Add functionality to export env to config file
- Add runtime environment support for internal flex services
- Add commands:
- organizations-related:
org list
,org show
,org use
- applications-related:
app create
,app list
,app show
,app use
,app delete
- app environments-related:
appenv create
,appenv list
,appenv show
,appenv use
,appenv delete
- collections-related:
coll create
,coll list
,coll delete
- organizations-related:
- Add
org
option toapp create
- Add
flex create
command to create internal flex services - Add
flex clear
command to clear project settings - Add environment variables for internal flex services
- Repurpose the
flex delete
command to delete internal flex services - Ask for confirmation on app/appenv/coll/flex delete
- Fail on unsupported hyphenated option or flag
- Update production dependencies (moment.js, request.js)
- Update dev dependencies
- Show help on
kinvey <namespace>
- Fix
flex deploy
to work with local setup - Fix
profile login
to update only token
- Enhance
flex status
output
- Prompt for 2FA token on 'profile login' if required
- Rearrange logs
- Output logs properly when log message is an object
- Ask for profile override if profile already exists on 'kinvey init'
- Setup Travis
- Use active profile if no other specified on 'profile delete'
- Add 'profile login'
- Add 2fa option
- Apply Kinvey es6 style guide
- Fix 'flex init' when no config file
- Refactor command handlers
- Fail on too many args
- Replace host with instanceId
- Configure flex project for many instances
- Provide shorthand option for number
- Show connection errors details
- Show validation errors details
- Validate 'from' is before 'to' when retrieving logs
- Prompt for app/org if token is valid
- Accept '--serviceId' option for 'flex deploy'
- Enable JSON output format
- Enable '--no-color' flag
- Don't show flex service name when '--serviceId'
- Don't invalidate profile token if it can't be overwritten
- Don't output anything if '--silent'
- Fix line endings in bin directory
- Add profiles to support using multiple Kinvey accounts
- Move all flex-related commands under the flex namespace (e.g.
status
->flex status
) - Add commands:
init
- prompts for credentials disregarding command line options and ENV variablesflex init
- prompts for project settings
- Allow providing credentials to all commands (except
init
) as command line options or as ENV variables - Remove commands:
config
logout
- Add some command line options to flex-related commands
- Increase request timeout to 10s
status
command now reports the email address (plus first/last name, if set) of deployer and the date/time at which service was deployed
status
command now reports the version of the most recently-deployed servicelogs
command enhancements- [from] and [to] optional arguments replaced with
--from
and--to
flags - Added
-n
(--number
) and--page
flags - Only 100 entries are returned by default unless the
-n
flag is supplied
- [from] and [to] optional arguments replaced with
- Fixed bug resulting in 2FA login crash
- ES6 rewrite
- Support 2FA token login
- Add ability to login to the CLI using ENV variables
- Fixed bug where
instance
param was not respected when runningconfig [instance]
in a fresh environment
- Fixed crash on
config
against the default instance (under certain scenarios)
- Added HTTPS proxy usage information to README
- Fixed bug which resulted in a 'ProjectNotConfigured' error when running the
list
command with a successfully configured project
- Fixed bug which resulted in a CLI crash when parsing/printing non-string log message data
- Skip log entries which have no corresponding message (and report which entries have been skipped when running CLI in verbose mode)
- CLI now supports operations against data links backed by Kinvey organizations
kinvey config
targets the default Kinvey instance for data link selection if a host is not provided (even if the CLI was previously configured with a custom host)- Fixed 'Archive Limit Exceeded' bug occasionally encountered during deployment of valid Kinvey services from within Windows environments
- Update CLI update check frequency (interval shortened to 30 minutes)
- Fixed bug where 'ProjectNotConfigured' was not correctly displayed after attempting to execute commands without a valid CLI configuration
- Remove duplicate 'host' output during config command when using custom Kinvey instance
- Cache last recycle job ID
- Update session storage filename
- Add support for refactored KBW/KMR 'status' command. Repurpose existing 'status' command into 'job'
- Cache last deploy job for ease of retrieval using
kinvey job
- Add support for logging thresholds (requires Flex SDK >= 1.0.0)
- Allow setting of persistent host via
kinvey config [instance]
config
command now prompts for a new service on every run (fixed prior bug where it did nothing if saved data was already present)- Upgrade CLI to check for
kinvey-flex-sdk
(instead ofkinvey-backend-sdk
) logs
command now takes optional runtime arguments (instead of prompting for log filters)- Obfuscate instance URLs at configuration time (e.g.
kinvey config acme-us1
) - Fixed bug where credentials were improperly cleared during logout/refresh
- Fixed bug where
status
command (no arg command) crashed if supplied with an argument
- Support node 6.x
- Handle authentication errors when deploying.
- Do not display progress message for completed jobs.
- Display progress and error messages when retrieving deploy status.
- Implement
logs
command
- Refactor routes.
- Renew expired tokens.
- Updated dependencies.
- Initial version.