Commit graph

3301 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
bd031ccbe8
Upgrade surrealcs (#4736) 2024-09-10 20:45:39 +01:00
Maxwell Flitton
d317a0033d
Improve startup error handling for SurrealCS connection pool (#4733)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-10 20:44:04 +01:00
Gerard Guillemas Martos
b7583a653a
Merge commit from fork
* fix

* move check into iam

* refactor

* fix typo

* add test

* remove is_computed

* impl validate_computed for array

* range support

* clippy

* tidy

* tidy

* add comments

---------

Co-authored-by: Raphael Darley <raphael.darley@surrealdb.com>
2024-09-10 17:19:45 +02:00
Micha de Vries
714bf9ebc5
Fix importing from 1.x (#4725)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-10 13:14:01 +00:00
Sergii Glushchenko
516bb977ac
Info for db and table with versioned tables and fields (#4692) 2024-09-10 12:59:31 +00:00
Micha de Vries
29af8f573d
Improve literal types (#4712)
Co-authored-by: Raphael Darley <raphael.darley@surrealdb.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-10 13:50:31 +01:00
Tobie Morgan Hitchcock
ba18cc2d79
Fix bug with timeouts not always being processed (#4721) 2024-09-10 13:37:26 +01:00
Emmanuel Keller
30118f445c
Implements SavePoint(s) (#4707) 2024-09-10 10:10:46 +00:00
Micha de Vries
6735ea96d8
Nested fields in optional fields should not be required (#4719) 2024-09-09 19:04:59 +01:00
Raphael Darley
2eff350c19
improve namespace/database validation for graphql (#4718) 2024-09-09 18:59:55 +01:00
Tobie Morgan Hitchcock
9927fc654a
Convert unreachable!() code to Error::Unreachable errors in core (#4673) 2024-09-09 18:58:17 +01:00
Raphael Darley
6cfbbcd816
change release actions to stable (#4717) 2024-09-09 17:24:52 +01:00
Micha de Vries
b589f7fec1
Improve fix logic, fix graph edges (#4715) 2024-09-09 16:02:40 +00:00
Raphael Darley
fcdc37227e
Fix formatting and import for nightly (#4716) 2024-09-09 16:22:55 +01:00
Raphael Darley
5da3a642a2
Add fail!() macro and test (#4699)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-08 23:39:42 +01:00
Salvador Girones Gil
bb1884d56b
[import] Support SurrealCS on the import command (#4706) 2024-09-06 12:45:28 +00:00
Tobie Morgan Hitchcock
d2b2622a8f
Enable SurrealCS in standard build (#4702)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
Co-authored-by: Salvador Girones <salvadorgirones@gmail.com>
2024-09-06 09:28:23 +01:00
Tobie Morgan Hitchcock
66d904215b
Use async commit and one-phase commit where possible in TiKV (#4701) 2024-09-05 10:27:21 +01:00
Tobie Morgan Hitchcock
a94d356017
Ensure catch!() and run!() macros are consistent (#4700) 2024-09-05 10:26:46 +01:00
Raphael Darley
dc06603d5b
Simplify cfg attributes around codebase (#4695)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-05 09:35:35 +01:00
Tobie Morgan Hitchcock
06b4f95198
Improve aggregate function argument checks (#4698) 2024-09-05 09:10:48 +01:00
Luca Giannini
0294bde560
Refactor migrating away from once cell (#4614)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-05 09:04:12 +01:00
Dave MacLeod
441048082f
Fix typos in env var declarations (#4696) 2024-09-05 07:31:10 +01:00
Anirban Halder
405c96f78d
Added TryFloatDiv trait for MathMean in Aggregate function (#4390)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-04 22:42:38 +01:00
Maxwell Flitton
0a1a99dc68
Initial commit for SurrealCS (#4458)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
Co-authored-by: Raphael Darley <raphael.darley@surrealdb.com>
2024-09-04 14:53:37 +01:00
Rushmore Mushambi
29c6914b04
Update create API (#4688) 2024-09-04 13:48:31 +01:00
Raphael Darley
ebe8d49ed9
add Graphql ci (#4681) 2024-09-04 12:30:15 +01:00
Raphael Darley
7ab4d94e93
bump async graphql version (#4687) 2024-09-04 12:29:56 +01:00
Dave MacLeod
4431809711
Add time::is::leap_year() function (#4671) 2024-09-03 20:30:59 +01:00
Rushmore Mushambi
6818ed6985
Fix retrieving multiple columns from the same response (#4678) 2024-09-03 20:16:43 +01:00
Emmanuel Keller
d148098f5a
Fix 3863 part 1 / 3 (#4666) 2024-09-03 13:31:15 +00:00
Tobie Morgan Hitchcock
33aa5da3cc
Add ability to configure JavaScript runtime limits (#4669) 2024-09-03 14:19:12 +01:00
Tobie Morgan Hitchcock
6e09684e4c
Make surrealdb.query() and surrealdb.value() consistent (#4675) 2024-09-03 14:13:37 +01:00
Julian
507dd931f3
Add function returns to info structure (#4642)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-03 14:02:09 +01:00
Tobie Morgan Hitchcock
b41b28f099
Add ability to configure HTTP endpoint limits (#4670) 2024-09-03 14:01:53 +01:00
Raphael Darley
ff3c3bcc2b
Make sdk create consistent (#4667) 2024-09-03 14:01:37 +01:00
Mees Delzenne
b0cde2a40a
Overhaul the parser error type. (#4652) 2024-09-03 11:53:16 +00:00
Tobie Morgan Hitchcock
329bb74040
Fix NONE and NULL less than or greater than bugs (#4658) 2024-09-02 11:03:26 +01:00
Dave MacLeod
99356dcd49
Default to true for WHEN on DEFINE EVENT statement (#4662) 2024-09-02 11:03:09 +01:00
Tobie Morgan Hitchcock
4145f70463
Fix ensuring unreachable code returns an error instead of panicking (#4665) 2024-09-02 11:02:53 +01:00
Tobie Morgan Hitchcock
185cb9e568
Fix cargo dependency loading issue (#4660) 2024-09-02 09:43:41 +00:00
Tobie Morgan Hitchcock
1153a2469b
Fix complex Record IDs from being output incorrectly within JavaScript functions (#4661) 2024-09-02 09:19:25 +00:00
Tobie Morgan Hitchcock
a0028e2c7a
Fix allowing any to be used for optional arguments (#4659) 2024-09-02 09:15:13 +00:00
Tobie Morgan Hitchcock
7588c7e31a
Fix bug with object array-indexed string field names appearing with quotation marks (#4657) 2024-09-02 09:13:47 +00:00
Emmanuel Keller
cefb95df28
[Bug] Concurrent indexing fails on record updates (#4629) 2024-08-30 16:26:01 +00:00
Julian
3ded680b33
Escape "table" indents (#4655) 2024-08-30 14:34:18 +00:00
Raphael Darley
0733be13a0
improve transparent api (#4651) 2024-08-30 12:39:55 +00:00
Emmanuel Keller
b4937b96e9
Avoid calling the storage engine when range scan is invalid (#4641) 2024-08-30 07:40:09 +00:00
Julian
1e6a3a8f9b
Display function return types (#4643) 2024-08-29 19:05:53 +01:00
Dave MacLeod
ba5c1436ff
Show ENFORCED keyword in INFO statement (#4635) 2024-08-29 14:12:23 +01:00