Commit graph

3281 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
ebb6598c9e
Fix JSON Patch array add and array insertion (#4784) 2024-09-17 02:36:39 +01:00
Tobie Morgan Hitchcock
12843e3a50
Fix selecting directly from an edge graph (#4783) 2024-09-17 00:45:07 +01:00
Tobie Morgan Hitchcock
457adff85c
Improve node membership processing and garbage collection (#4780) 2024-09-16 21:51:29 +01:00
Mees Delzenne
912cafd3c5
Implement expressions in index operators (#4756) 2024-09-16 20:14:41 +00:00
Rushmore Mushambi
82636d43fa
Pin the core library (#4779) 2024-09-16 17:22:41 +00:00
Emmanuel Keller
141e2e5e4c
Select count table scan optimisation (#4285) 2024-09-16 16:30:00 +00:00
Rushmore Mushambi
9af0082376
Fix warnings in Wasm (#4778) 2024-09-16 15:49:55 +00:00
Emmanuel Keller
3d505697de
Query planner to support mixed number types on range queries (#4747) 2024-09-16 15:49:22 +00:00
Gerard Guillemas Martos
0fe9807096
Support allowlisting of specific capabilities via the SurrealDB CLI (#4763) 2024-09-16 15:36:24 +00:00
Rushmore Mushambi
2160380fac
Fix Clippy (#4777) 2024-09-16 14:18:21 +00:00
Raphael Darley
4147f673d3
add descriptions to graphql (#4776)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-16 13:23:22 +00:00
Emmanuel Keller
9cfdd34fc0
Query planner to support composite indexes on the 1st column (#4746) 2024-09-16 13:17:20 +00:00
Dave MacLeod
4d92005125
Remove eager parsing of "false" truthiness (#4775)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-16 08:46:31 +00:00
Dave MacLeod
065ac9cd5a
Add path for time::epoch constant (#4773) 2024-09-16 06:30:13 +00:00
Roman Heinrich
be24734048
Feat: Include record ID in live queries notifications. (#2950)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-16 00:48:57 +01:00
David Bottiau
218fa83c10
Add geo::is::valid() function (#4711)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-15 23:45:24 +01:00
Tobie Morgan Hitchcock
f7a8b5dff9
Improve logging, tracing, and provider integration (#4772) 2024-09-15 23:31:10 +01:00
Gerard Guillemas Martos
00be48674d
Improve testing for signing in and verifying tokens (#4620) 2024-09-15 23:15:53 +01:00
Przemyslaw Hugh Kaznowski
f42c15af2b
4126 bug internal database error ts is less than or equal to the latest ts (#4311) 2024-09-15 22:30:44 +01:00
Mees Delzenne
d94d74a715
Implement parsing of method calls on integers (#4762) 2024-09-13 14:52:56 +00:00
Mees Delzenne
211a02d1ef
Implement insert statements for subqueries (#4760) 2024-09-13 14:38:39 +00:00
Mees Delzenne
1a1278fc3a
Move some of the handling of complex tokens back to the lexer. (#4708)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
Co-authored-by: Dmitrii Blaginin <dmitrii@blaginin.me>
2024-09-12 16:23:33 +00:00
Emmanuel Keller
4e2b2b9e30
SavePoint: Avoid calling get twice on put, putc and delc (#4731) 2024-09-12 15:14:28 +00:00
Raphael Darley
bfa8e98753
improve graphql record fetching (#4682) 2024-09-12 14:14:14 +00:00
Emmanuel Keller
749a30014f
Fallback to table iterator on ORDER BY indexField DESC (#4745) 2024-09-12 13:29:18 +00:00
Mees Delzenne
0444d5e6ce
Implement conversions for bytes and geometries in script functions (#4743) 2024-09-12 12:04:36 +00:00
Raphael Darley
a920ed4d83
Switch SDK to use revision binary format (#4735) 2024-09-11 17:19:37 +00:00
Tobie Morgan Hitchcock
d32110b46d
Add additional chained methods to number values (#4741) 2024-09-11 16:23:16 +01:00
Tobie Morgan Hitchcock
472f3624d5
Upgrade surrealcs (#4744) 2024-09-11 16:17:07 +01:00
Raphael Darley
8f30ee08cf
Deprecate missing format inference on RPC protocol (#4729)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-09-10 20:20:14 +00:00
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