Finn Bear
5c07a7b2d4
Security - Add global query timeouts (attempt 2). ( #2097 )
2023-06-12 12:23:30 +01:00
Rushmore Mushambi
409ad61477
Add authentication support for local engines ( #1908 )
2023-06-09 13:45:07 +00:00
Finn Bear
2237afb21a
Feature #1357 - add upgrade CLI. ( #2102 )
2023-06-08 20:57:02 +00:00
Finn Bear
de016af929
Feature - Detect real IP of client using new config option ( #2100 )
2023-06-06 06:31:45 +00:00
Tobie Morgan Hitchcock
3900bfa737
Add SpeeDB storage engine implementation ( #2076 )
2023-05-31 12:35:41 +00:00
Finn Bear
a9bf907432
Feature #2023 - CLI --json output. ( #2075 )
2023-05-31 07:36:50 +00:00
Finn Bear
aa9f560829
Bugfix - make NS, DB optional in sql cli. ( #2046 )
2023-05-26 11:35:46 +01:00
Finn Bear
33c35949b7
Bugfix - CLI show results despite errors in multistatement query. ( #2040 )
2023-05-23 23:10:37 +01:00
Finn Bear
cdf97fcb96
Upgrade to clap v4 ( #2015 )
...
Co-authored-by: Steve Fan <29133953+stevefan1999-personal@users.noreply.github.com>
2023-05-22 20:19:35 +01:00
Tobie Morgan Hitchcock
8780bbda9c
Improve CLI SQL input with empty input ( #1981 )
2023-05-12 17:09:07 -04:00
Finn Bear
875f92415b
Feature 1827 - query CLI line continuation ( #1968 )
2023-05-12 15:47:41 -04:00
Rushmore Mushambi
af85d6d831
Ensure TLS certs exist ( #1967 )
2023-05-10 17:10:50 -04:00
Finn Bear
3d76645908
Bugfix #1946 - allow 4X deeper computation by default, make limit configurable ( #1950 )
2023-05-09 07:37:07 +01:00
Rushmore Mushambi
107e5b5dba
Support switching namespaces and databases separately ( #1927 )
2023-05-05 19:12:19 +01:00
Rushmore Mushambi
1fc802717d
Remove a redundant health check from the isready
command ( #1849 )
2023-04-24 10:50:03 +01:00
Rushmore Mushambi
78625bc7a1
Bypass deserialisation for sql::Value
s on Response::take
( #1834 )
2023-04-20 19:20:50 +01:00
Rushmore Mushambi
1aac97f0da
Print a newline after each query response in the sql shell ( #1798 )
2023-04-14 19:41:37 +01:00
Diptesh Choudhuri
494203d358
Allow exporting to stdout ( #1701 )
2023-03-30 19:13:26 +01:00
Rushmore Mushambi
3e80aa9914
Implement to_value
for sql::Value
( #1659 )
...
`sql::Value` is an integral part of `surrealdb`. It's the internal type used by our storage layer. Because of this, we do a lot of converting between this type and native Rust types. Currently this conversion is done through `JSON` using the `serde_json` crate because we do not have our own custom data format implementation. This works because `SQL` is a superset of `JSON`. This, however, means that this conversion is lossy and can cause surprises in some cases. For example expecting record IDs to be deserialized into a `String` instead of its corresponding Rust native type.
This change implements a custom data format around `sql::Value` and introduces a `to_value` function that facilitates that conversion.
2023-03-30 11:41:44 +01:00
Tobie Morgan Hitchcock
e0cad89a8c
Improve error logging within CLI tool
2023-03-29 19:19:46 +01:00
Salvador Girones Gil
565717659a
Add functionality for open telemetry tracing ( #1727 )
2023-03-29 19:16:18 +01:00
Tobie Morgan Hitchcock
2769033451
Update 3rd party dependencies
2023-03-25 20:49:00 +00:00
Emmanuel Keller
19c287a011
Implement transaction debug tracing ( #1668 )
2023-03-16 09:11:30 -04:00
Tobie Morgan Hitchcock
d1558a63ad
Use string formatting for SQL output in CLI
...
Related to #246
2023-03-07 09:54:58 +00:00
Igor Morozov
b10beda30c
Add isready
CLI command for checking server health ( #1679 )
2023-03-07 09:53:56 +00:00
Rushmore Mushambi
af88fcef38
Make cli::sql
default to using a WebSocket connection ( #1592 )
2023-01-11 13:47:21 +00:00
Rushmore Mushambi
953a2008e2
Rename the engines
module to engine
( #1576 )
2023-01-07 08:32:18 +00:00
Rushmore Mushambi
b3d9ce2c68
Ensure CLI exits with non-zero code on errors ( #1567 )
2022-12-31 08:03:19 +00:00
Rushmore Mushambi
f1b6c44603
Use new client library in CLI import
command ( #1566 )
2022-12-31 08:02:53 +00:00
Rushmore Mushambi
a908d6dd10
Use new client library in CLI export
command ( #1565 )
2022-12-31 08:02:41 +00:00
Rushmore Mushambi
a24bb4f4b8
Allow memory
as an address endpoint in CLI sql
command ( #1563 )
2022-12-30 23:53:45 +00:00
Rushmore Mushambi
7c199ff586
Use new client library in CLI sql
command ( #1561 )
2022-12-30 21:27:19 +00:00
Michal Jirman
157f7c8abe
Add CLI option flag to disable banner ( #1537 )
2022-12-21 11:42:59 +00:00
Tobie Morgan Hitchcock
4067efd1e8
Add a user-agent header to CLI HTTP requests
2022-12-20 10:30:06 +00:00
George
a2038f239b
Fix future clippy linting warnings ( #1423 )
2022-12-18 16:00:36 +00:00
Igor Morozov
ddaea59d05
Improve error messages for CLI import/export ( #1455 )
2022-11-23 09:35:29 +00:00
Rushmore Mushambi
12ded8b066
Log version when starting the server ( #1358 )
2022-10-27 01:58:08 -07:00
Rushmore Mushambi
bcac94f9d6
Add additional build metadata to version identifier ( #1254 )
2022-09-28 20:13:40 +01:00
Rushmore Mushambi
c064890284
Fix the build ( #1248 )
2022-09-27 16:35:03 +01:00
Tobie Morgan Hitchcock
abd15ec55c
Use Accept header on /import and /export HTTP routes
...
Closes #1245
2022-09-27 15:58:20 +01:00
Tobie Morgan Hitchcock
2fccc87fab
Don’t prettify empty responses in SQL REPL
2022-09-25 10:56:57 +01:00
Tobie Morgan Hitchcock
8403238dbb
Use Accept header instead of Content-Type header for client content negotiation
2022-09-16 02:19:06 +01:00
Tobie Morgan Hitchcock
23d1132526
Ignore blank/empty lines in SurrealDB SQL REPL
...
Closes #147
2022-09-15 00:39:25 +01:00
Michael Delaney
960061584d
Add support for specifying database path using env variable DB_PATH ( #78 )
2022-08-31 14:03:11 +01:00
Tobie Morgan Hitchcock
cdf244f0f5
Simplify command line argument verification code
2022-08-29 13:02:20 +01:00
Tobie Morgan Hitchcock
65d91b122e
Add support for simpler datastore paths
2022-08-29 12:30:00 +01:00
Tobie Morgan Hitchcock
69c166fd8e
Only send NS and DB header in SQL REPL requests if specified
2022-08-26 23:16:13 +01:00
clawcastle
2bfcb9d694
Make --ns and --db arguments optional in command-line REPL ( #63 )
...
Closes #34
2022-08-26 21:51:44 +01:00
Kian-Meng Ang
40157f6170
Fix typos ( #42 )
...
Found via `codespell -L crate,inout,ser,fetchs,te,tre,whats`.
2022-08-21 13:13:38 +01:00
Yusuke Kuoka
1d3880d652
Initial implementation of SurrealDB KVS for FoundationDB ( #37 )
...
Referenced in discussion #25
Closes #38
2022-08-15 19:35:41 +01:00