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.
2.1.1 - 2022-11-27
- Fixed
TypeError: db.useDatabase is not a function
(#50)
2.1.0 - 2022-10-25
- Upgraded to arangojs v8
2.0.1 - 2022-01-27
- Fixed
Cannot read property 'isDirectory' of null
(#34)
2.0.0 - 2020-07-02
- Dropped support for Node.js versions older than 12 (LTS)
-
Changed source directory from
dist
tolib
This should not affect you unless you're using
foxx-cli
internals directly in your own code.
-
Added support for
--force
toupgrade
andreplace
Using the
--force
flag allows falling back toinstall
if the service does not currently exist.
-
Options
--legacy
and--development
are now passed on correctlyPreviously these options had no effect when using
install
,replace
orupgrade
.
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
andtcp
alias protocols you may notice that theserver 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
andserver 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
orhttps+unix:///socket/path
http://unix:/socket/path
orhttps://unix:/socket/path
tcp://unix:/socket/path
orssl://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.
1.2.0 - 2018-06-26
-
Option
--password-file
(alias-p
) reads the password from a fileThis is an alternative to
--password
which is interactive for security reasons.
1.1.3 - 2018-04-18
- Fixed
foxx init
: generateCrudRoutes is not defined (#27)
1.1.2 - 2018-04-11
-
foxx bundle
warning when outfile already exists now shows correct path -
foxx init -i
only adds routers toindex.js
when generating CRUD routersThis 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
1.1.1 - 2018-04-10
- Re-released on Linux to fix bad linebreaks in
foxx
CLI command
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
-
1.0.1 - 2018-03-22
-
HTTPS URLs are now resolved correctly
Foxx CLI now uses the
request
module to download service sources locally.
1.0.0 - 2018-03-21
- Initial public release