Skip to content

Releases: fauna/fauna-shell

1.3.0

02 May 20:38
f84d1d1
Compare
Choose a tag to compare

What's Changed

  • Move project and environment commands from beta to GA
  • Add upgrade instructions to the README

Full Changelog: 1.2.1...v1.3.0

1.2.1

30 Jan 19:50
59208b3
Compare
Choose a tag to compare

What's Changed

  • Improve error handling in the shell.
  • Default the .fauna-shell file to read-only permissions (0600), as it contains fauna secrets.
  • Fix examples in fauna endpoint add.
  • Fix a bug where timeout was not passed to the fauna client correctly.

Full Changelog: 1.2.0...1.2.1

1.2.0

13 Dec 19:58
343900b
Compare
Choose a tag to compare

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 a endpoint 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 to fauna 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

02 Nov 22:25
Compare
Choose a tag to compare
  • Fix bug with scoped database queries. Ensure ensureDbScopeClient passes along version flag.

Full Changelog: 1.1.1...1.1.2

1.1.1

02 Nov 21:06
Compare
Choose a tag to compare
  • Fix errors being output by the cloud-login command.

Full Changelog: 1.1.0...1.1.1

1.2.0-beta1

09 Oct 16:24
6517976
Compare
Choose a tag to compare
1.2.0-beta1 Pre-release
Pre-release

What's Changed

  • Add project configuration, which is managed with fauna project and fauna 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

12 Sep 16:59
bbbc34e
Compare
Choose a tag to compare

What's Changed

  • Add schema commands, fauna schema diff, fauna schema pull, and fauna schema push.
  • fauna schema pull pulls down schema from a database and stores the files locally
  • fauna 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

30 Aug 00:10
8b389a2
Compare
Choose a tag to compare
1.1.0-beta1 Pre-release
Pre-release

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

29 Aug 18:46
047c7ca
Compare
Choose a tag to compare

Changes

  • Fix shell hanging on exit

Full Changelog: 1.0.0...1.0.1

1.0.0

21 Aug 15:51
4c73ec2
Compare
Choose a tag to compare

New Features

  • Add support for FQL v10 in both fauna shell and fauna eval.
  • Add --typecheck flag to fauna shell and fauna eval, which toggles typechecking in v10. It has no effect in v4.
  • Add a new json-tagged format for fauna eval, which returns the tagged format from the /query/1 endpoint.

Breaking Changes

  • Default fauna eval and fauna shell to use FQL v10 (previously this used v4).
  • Default fauna eval to output the simple format in a TTY, and the json 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