Releases: fauna/fauna-shell
Releases · fauna/fauna-shell
1.2.0
What's Changed
- Add project configuration. Projects can be created, which makes a
.fauna-project
file that should get checked in to VCS. These projects can be used to deploy schema changes and share project settings more easily. - The format of
.fauna-shell
has been updated, to support adding more fields later. All endpoints now live under aendpoint
object, as opposed to being a top-level field. Files will be migrated if modified by the shell, and the shell can still parse the old format as well. fauna cloud-login
no longer conflicts with your session in the dashboard, so it can be used to log in on both the website and shell.- Renamed
fauna add-endpoint
and similar tofauna endpoint add
, and improved these commands to be available without user interaction.
For developers
Internally, we switched a lot of code over to typescript. This was just to help develop new functionality.
Full Changelog: 1.1.0...1.2.0
1.1.2
- Fix bug with scoped database queries. Ensure
ensureDbScopeClient
passes along version flag.
Full Changelog: 1.1.1...1.1.2
1.1.1
- Fix errors being output by the
cloud-login
command.
Full Changelog: 1.1.0...1.1.1
1.2.0-beta1
What's Changed
- Add project configuration, which is managed with
fauna project
andfauna stack
. - Update
fauna cloud-login
to keep a valid session alive. - Cleanup unused flags on a number of commands (namely
--graphqlHost
and--graphqlPort
). - Add
--endpointURL
, and deprecate the--domain
,--scheme
, and--port
flags.
Full Changelog: 1.1.0...1.2.0-beta1
1.1.0
What's Changed
- Add schema commands,
fauna schema diff
,fauna schema pull
, andfauna schema push
. fauna schema pull
pulls down schema from a database and stores the files locallyfauna schema push
pushes the schema on disk to a database.fauna schema diff
shows a diff between the local files and files in a database.
Full Changelog: 1.0.1...1.1.0
1.1.0-beta1
What's Changed
Add schema commands:
fauna schema ls
will list all schema files in a database.fauna schema cat <file>
will read a fsl file from the database.fauna schema pull --dir <dir>
will pull schema files down from the database.fauna schema push --dir <dir>
will push schema files to the database.
Full Changelog: 1.0.1...1.1.0-beta1
1.0.1
1.0.0
New Features
- Add support for FQL v10 in both
fauna shell
andfauna eval
. - Add
--typecheck
flag tofauna shell
andfauna eval
, which toggles typechecking in v10. It has no effect in v4. - Add a new
json-tagged
format forfauna eval
, which returns thetagged
format from the/query/1
endpoint.
Breaking Changes
- Default
fauna eval
andfauna shell
to use FQL v10 (previously this used v4). - Default
fauna eval
to output thesimple
format in a TTY, and thejson
format when not in a TTY (previously it always used the json format by default)
For developers
Things have switched to yarn
instead of npm
now.
Full Changelog: 0.15.0...1.0.0
0.15.0
0.13.0
Release 0.13.0