Commit graph

2708 commits

Author SHA1 Message Date
Rushmore Mushambi
3c48558ca2
Fix decimal deserialisation (#2687) 2023-09-12 15:34:58 +01:00
Yusuke Kuoka
5446666e7d
Fix panic on commit when defining db and tb in strict mode (#2684)
Co-authored-by: Yusuke Kuoka <yusuke.kuoka@surrealdb.com>
Co-authored-by: Mees Delzenne <mees.delzenne@gmail.com>
2023-09-12 15:33:24 +01:00
Finn Bear
bbc077fc0e
Bugfix - prevent infinite parser recursion in stmts & binary exprs. (#2675) 2023-09-12 12:03:52 +01:00
Finn Bear
82e0d85da0
Bugfix - avoid panics when displaying error snippets. (#2674) 2023-09-12 11:34:17 +01:00
Micha de Vries
5bfe598a96
Process scripting functions before "type::*" functions (#2681)
Co-authored-by: Mees Delzenne <mees.delzenne@gmail.com>
2023-09-12 11:14:09 +01:00
Tobie Morgan Hitchcock
248829cf8a
Ensure live queries are killed correctly (#2676) 2023-09-12 10:38:28 +01:00
Tobie Morgan Hitchcock
28368d83c9
Add live queries to INFO FOR TB statement (#2673) 2023-09-11 20:35:32 +01:00
Tobie Morgan Hitchcock
8e22ea66e3
Ensure invalid sessions do not cause live queries to fail (#2672) 2023-09-11 19:10:46 +01:00
Tobie Morgan Hitchcock
592a1b7c7e
Add $before and $after params to RETURN clauses (#2665) 2023-09-10 19:22:41 +01:00
Tobie Morgan Hitchcock
c3acab4614
Support FOR statements inside code blocks (#2664) 2023-09-10 12:30:30 +01:00
Tobie Morgan Hitchcock
a4856327cf
Fix authentication issues with LIVE SELECT statements (#2661) 2023-09-10 11:58:50 +01:00
Tobie Morgan Hitchcock
9f33d5dc27
Ensure scope SIGNUP and SIGNIN works with guest access disabled (#2663) 2023-09-10 11:41:28 +01:00
Tobie Morgan Hitchcock
b83b9d3e3e
Ensure DEFAULT clause is displayed on DEFINE FIELD statements (#2662) 2023-09-10 10:48:31 +01:00
Tobie Morgan Hitchcock
ebabe9554b
Ensure parameters are computed before being stored on WebSocket (#2654) 2023-09-08 20:10:12 +01:00
Rushmore Mushambi
bee0e950a5
Compute local variables before storing them (#2652) 2023-09-08 19:24:12 +01:00
Salvador Girones Gil
91cc18c411
[instrument] Move traces to debug (#2653) 2023-09-08 19:21:25 +01:00
Przemyslaw Hugh Kaznowski
93d82146fb
Cluster bootstrapping LQ GC now warns instead of panics (#2611) 2023-09-08 19:18:51 +01:00
Salvador Girones Gil
b1ae2b4094
[dbs/processor] Reduce batch size for scan operations (#2651) 2023-09-08 16:53:26 +01:00
Salvador Girones Gil
8ebd1b4a66
[logging] Move HTTP/WS logs to debug (#2650) 2023-09-08 16:48:12 +01:00
Adminy
6877e9d1a1
clear auth failure messages (#2635) 2023-09-08 14:27:38 +01:00
Mees Delzenne
b02567d233
Improved error messages (#2566) 2023-09-08 11:28:36 +00:00
Emmanuel Keller
fe78ca3c32
Feature: Add fallback reason to the explanation (#2647) 2023-09-07 23:36:39 +00:00
Naiyarah Hussain
5626dccd21
Update CODE_OF_CONDUCT.md (#2645) 2023-09-06 20:22:51 +01:00
Rushmore Mushambi
cb379ab69b
Fix CI warnings (#2620) 2023-09-06 13:51:33 +00:00
Tobie Morgan Hitchcock
aade3ab2ae
Revert "[docker] Run Docker container as root" (#2639) 2023-09-06 09:12:47 +01:00
Finn Bear
0a0755c5a8
Bugfix #2633 - export surrealdb::sql::With (#2634) 2023-09-06 05:21:33 +00:00
Tobie Morgan Hitchcock
59718fc665 Release 1.0.0-beta.11 2023-09-05 16:43:15 +01:00
Tobie Morgan Hitchcock
e316498e96
Add ONLY keyword for single result outputs (#2624) 2023-09-05 16:22:13 +01:00
Tobie Morgan Hitchcock
e008745a54
Allow any value to be used for error type in THROW statement (#2618) 2023-09-05 16:21:34 +01:00
Salvador Girones Gil
4de6775aa4
[statements] Fix NS/DB validation (#2630) 2023-09-05 16:20:07 +01:00
Rushmore Mushambi
4259e05413
Fix relative paths (#2615) 2023-09-05 07:38:39 +01:00
Finn Bear
e9821ee09e
Experimental Bugfix - consolidate execution depth limit. (#2616) 2023-09-04 23:51:33 +01:00
Finn Bear
64c0b8b471
Bugfix - impl Try{Add, Sub, Mul, Div, Pow, Neg} for Number. (#2613) 2023-09-04 19:53:03 +01:00
Finn Bear
65ceb61f6a
Bugfix - Prevent niche parser recursion due to subqueries. (#2614) 2023-09-04 19:52:32 +01:00
Tobie Morgan Hitchcock
abb5ce00db
Ensure incorrect data causes error (#2559) 2023-09-04 18:54:17 +01:00
Salvador Girones Gil
c64ccf7cf2
[docker] Run Docker container as root (#2612) 2023-09-04 18:28:05 +01:00
Micha de Vries
22c36b80c8
move is::* -> string::is::*, add new type::is::* fncs (#2603) 2023-09-04 16:10:18 +00:00
Salvador Girones Gil
7265136c0a
[security] Allow all functions by default (#2608) 2023-09-04 16:46:57 +01:00
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