Commit graph

2520 commits

Author SHA1 Message Date
Adam Gąsowski
4c61e3a556
Update Docker Compose usage example in DOCKER.md (#2607)
Co-authored-by: Salvador Girones Gil <salvadorgirones@gmail.com>
2023-09-04 12:27:16 +00:00
Mees Delzenne
48a2bb52ac
Provide existing context to functions called from scripting functions (#2605) 2023-09-04 12:12:24 +00:00
Micha de Vries
e19334f53c
Add X-Forwarded-For Client-IP header (#2600) 2023-09-04 11:10:59 +00:00
Tobie Morgan Hitchcock
8c13d711b8
No need for custom serialization of sql::Datetime (#2594) 2023-09-04 07:54:04 +00:00
Tobie Morgan Hitchcock
576996aafd
Ensure dbs::Capabilities are visible in Rust docs (#2593) 2023-09-04 07:48:25 +00:00
Rushmore Mushambi
87a9631898
Drop compact UUID attributes (#2570) 2023-09-03 09:35:16 +01:00
Tobie Morgan Hitchcock
8b6af2a562
Ensure transactions are handled properly (#2585) 2023-09-02 22:22:41 +01:00
Rushmore Mushambi
99e84d8f77
Return an error when db.connect() is called multiple times (#2576) 2023-09-02 06:40:49 +00:00
Tobie Morgan Hitchcock
fd73619349 Release 1.0.0-beta.10 2023-09-01 15:36:54 +01:00
Tobie Morgan Hitchcock
e9ee5245c2 Code cleanup (#2569) 2023-09-01 15:36:54 +01:00
Tobie Morgan Hitchcock
ed48fddd2a Ensure release build deploys correctly (#2567) 2023-09-01 15:36:54 +01:00
Tobie Morgan Hitchcock
3c40af0165
Add PERMISSIONS to DEFINE PARAM and DEFINE FUNCTION clauses (#2564) 2023-09-01 11:07:04 +01:00
Tobie Morgan Hitchcock
c07f9c131b
Remove RPC diff and use third argument in RPC patch method (#2565) 2023-09-01 10:38:19 +01:00
Salvador Girones Gil
129757a28d
[import] Support larger files when connecting to an HTTP endpoint (#2557) 2023-09-01 09:09:41 +01:00
Tobie Morgan Hitchcock
efa7a14964
Add diff RPC method to WebSocket API (#2560) 2023-09-01 08:00:32 +01:00
Rushmore Mushambi
742a353a8f
Refactor and improve Surreal::export (#2555) 2023-08-31 19:44:18 +00:00
Przemyslaw Hugh Kaznowski
efec9448c0
Fix returned value of bootstrap to not lose errors (#2553) 2023-08-31 20:48:21 +01:00
Tobie Morgan Hitchcock
fc7f5cb0b0
Support variable field projection with type::field() and type::fields() (#2552) 2023-08-31 13:06:10 +01:00
Przemyslaw Hugh Kaznowski
414fc68d24
Change how bootstrap handles transactions and errors (#2551) 2023-08-31 11:06:37 +00:00
Salvador Girones Gil
b56e13bd05
[capabilities] Enable all capabilities for the sql and import cmds (#2548) 2023-08-30 20:34:46 +00:00
Salvador Girones Gil
bdac1fae72
[security] Introduce "allow-guests". Deny all caps by default (#2547) 2023-08-30 18:01:30 +00:00
Emmanuel Keller
0d43e7a156
Implements revision on indexes states (#2516) 2023-08-29 20:21:55 +01:00
Rushmore Mushambi
d06ed3ad3a
Fix time issues on Wasm (#2544) 2023-08-29 18:52:25 +00:00
Salvador Girones Gil
e2cc94b2ad
[tracing] Fix the WS spans (#2540) 2023-08-29 13:04:53 +01:00
Mees Delzenne
daf6743c4e
Miscellaneous parser improvements (#2515) 2023-08-29 11:50:00 +01:00
Rushmore Mushambi
bae9217b72
Fix Wasm binaries (#2541) 2023-08-29 11:47:53 +01:00
Tobie Morgan Hitchcock
8be97a697f
Support ON DUPLICATE KEY UPDATE when a unique index entry exists (#2534) 2023-08-29 09:46:48 +01:00
Rushmore Mushambi
6cb12db82b
Make patch return the patched record (#2530) 2023-08-27 19:28:38 +01:00
Tobie Morgan Hitchcock
5565c8f355
Add support for OMIT clause in SELECT statements (#2529) 2023-08-27 19:00:11 +01:00
Rushmore Mushambi
a29241666d
Serialise Kind::Null variant (#2528) 2023-08-27 17:31:29 +01:00
Tobie Morgan Hitchcock
a31d25d3c5
Support arbitrary number of arrays in array::concat() (#2526) 2023-08-27 11:40:49 +01:00
Tobie Morgan Hitchcock
e491789e20
Add null as a specific field type (#2524) 2023-08-27 11:22:27 +01:00
Tobie Morgan Hitchcock
a867eae362
Add more complete and complex test for SurrealQL functionality (#2520) 2023-08-26 14:13:48 +01:00
Tobie Morgan Hitchcock
2e49aad26a
Enable parsing raw values at base of query (#2508) 2023-08-26 12:08:16 +01:00
Rushmore Mushambi
fd364e56da
Make tick a configuration option (#2495) 2023-08-25 07:55:22 +00:00
Rushmore Mushambi
6cfc270d32
Run rustfmt and clippy using Rust 1.72.0 (#2512) 2023-08-24 19:02:44 +00:00
Salvador Girones Gil
70da8d26a4
[ci] Pin the Rust version (#2511) 2023-08-24 17:33:57 +01:00
Mees Delzenne
e477dc9133
Fix build by upgrading rquickjs (#2509) 2023-08-24 15:05:28 +01:00
Przemyslaw Hugh Kaznowski
cbf933b319
Adding auth to live queries (#2307) 2023-08-24 15:04:57 +01:00
Tobie Morgan Hitchcock
a6ec9dbd02
Ensure edge in and out fields are not overwritten (#2506) 2023-08-24 09:19:19 +01:00
Tobie Morgan Hitchcock
1a4e310e46
Improve output of THROW errors (#2505) 2023-08-23 23:30:13 +01:00
Salvador Girones Gil
b5b6f6f1d4
[security] Introduce the Datastore capabilities (#2489) 2023-08-23 20:26:31 +01:00
Johnny Hauser
5945146459
Include define and remove statements in subquery #2459 (#2496) 2023-08-23 17:05:50 +01:00
Tobie Morgan Hitchcock
16a4c2c40e
Default to true if a WHEN clause is omitted on DEFINE EVENT statements (#2502) 2023-08-23 17:04:56 +01:00
Tobie Morgan Hitchcock
495f69d618
Ensure comments are output with DEFINE statements (#2500) 2023-08-23 17:04:42 +01:00
Tobie Morgan Hitchcock
b1275ed565
Ensure foreach range is computed before iterating over (#2492) 2023-08-22 17:45:22 +01:00
Tobie Morgan Hitchcock
ac35111833
Improve code blocks, foreach statements, and throw statements (#2490) 2023-08-22 12:26:05 +01:00
Rushmore Mushambi
9d89fa0d56
Simplify connect parameters (#2488) 2023-08-22 09:23:49 +00:00
Tobie Morgan Hitchcock
afdd0b3c85
Improve id field handling in the statement data clause (#2487) 2023-08-21 23:47:35 +01:00
Finn Bear
27cc21876d
Security - Limit parser depth. (#2369) 2023-08-21 22:05:11 +00:00