Changelog
[2.0.0] - 2020-07-02
Changed source directory from dist
to lib
This should not affect you unless you're using foxx-cli
internals directly
in your own code.
Added support for --force
to upgrade
and replace
Using the --force
flag allows falling back to install
if the service
does not currently exist.
Options --legacy
and --development
are now passed on correctly
Previously these options had no effect when using install
, replace
or upgrade
.
Changelog
[1.3.0] - 2018-11-07
Server endpoint URLs are no longer pre-processed
URLs are now handed over to arangojs unaltered to rely on arangojs' URL handling
logic. When using URLs that include credentials or use the ssl
and tcp
alias protocols you may notice that the server set
command no longer modifies
these and the .foxxrc
file contains the raw URLs.
Note that when using URLs that include credentials the credentials will therefore
be printed in plain text when the URL is displayed by a Foxx CLI command (e.g.
server show
and server list
).
Added support for unix socket URLs (#32)
Unix socket URLs are now supported in the following formats:
unix:///socket/path
http+unix:///socket/path
or https+unix:///socket/path
http://unix:/socket/path
or https://unix:/socket/path
tcp://unix:/socket/path
or ssl://unix:/socket/path
Note that unix socket URLs can not include credentials.
Authorization errors now show a prettier error message
Previously authorization errors were not handled directly and would indicate a "Code: 11" ArangoError. Now these errors result in a more readable error message with suggestions for solving the problem.
Changelog
[1.2.0] - 2018-06-26
Option --password-file
(alias -p
) reads the password from a file
This is an alternative to --password
which is interactive for security reasons.
Changelog
[1.1.2] - 2018-04-11
foxx bundle
warning when outfile already exists now shows correct path
foxx init -i
only adds routers to index.js
when generating CRUD routers
This fixes a bug where defining collections without also generating CRUD routers
would still result in the routers being referenced in index.js
leading to a
broken service.
Foxx CLI now follows symlinks when generating the service bundle
Changelog
[1.1.1] - 2018-04-10
foxx
CLI commandChangelog
[1.1.0] - 2018-04-10
foxx init
makes it easy to create boilerplate for a Foxx service.
foxx add
allows generating various JavaScript files:
foxx add script
generates a script and adds it to the manifest
foxx add test
generates a test suite
foxx add router
generates a router and registers it in the main file
foxx add crud
generates a CRUD router for a collection