Commit graph

1323 commits

Author SHA1 Message Date
Mees Delzenne
5706c9b368
Fix clippy tests, eliminate globals, remove unused function return variant. (#4303) 2024-07-05 09:34:43 +00:00
Mees Delzenne
07a88383fa
Minor lib improvements (#4261) 2024-07-05 09:19:04 +00:00
Micha de Vries
12ddb94508
Improve RETURN logic (#4298)
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-07-04 15:05:47 +00:00
Przemyslaw Hugh Kaznowski
03bd9d37fb
4294 bug lq delete notifications missing after 5s (#4297) 2024-07-03 15:35:04 +00:00
Przemyslaw Hugh Kaznowski
85253812f7
Gh 3906 fix incorrect shutdown (#4295) 2024-07-03 15:06:44 +00:00
Raphael Darley
7965c0031f
Remove obsolete lifetime and type parameter (#4296) 2024-07-03 15:02:14 +00:00
Tobie Morgan Hitchcock
af80c1ccce
Improve structured output (#4217)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
2024-06-25 07:41:06 +00:00
Mees Delzenne
4148aef961
Add missing datetime prefix. (#4244) 2024-06-21 21:32:41 +00:00
Gerard Guillemas Martos
24c8b06c93
Fix: Correctly implement none for Capabilities (#4218) 2024-06-18 18:49:12 +00:00
Mees Delzenne
befb185f1d
Fix cancelling task leading to an error (#4195) 2024-06-18 14:49:04 +00:00
Mees Delzenne
26de6072aa
Hide surrealdb-core capabilities struct and implement builder. (#4173)
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
2024-06-17 14:30:30 +00:00
Mees Delzenne
17ea0d881e
Implement missing modulo operator in new parser (#4182) 2024-06-13 11:23:24 +00:00
David Bottiau
fa66779e43
fix: check args for array::clump (#4167) 2024-06-13 06:42:15 +00:00
Mees Delzenne
3539eac25d
Restructure the parser around the concept of token gluing. (#4081) 2024-06-12 13:52:08 +00:00
Mees Delzenne
2184e80f45
Refactor function target and net target parsing and matching. (#4150) 2024-06-12 10:00:51 +00:00
Tobie Morgan Hitchcock
e1123ae6d6
Remove SpeeDB storage engine (#4171) 2024-06-12 09:40:48 +00:00
David Bottiau
9ffe94a02f
Add html functions (#4155)
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-06-12 09:18:00 +00:00
Tobie Morgan Hitchcock
112df064fd
Add UPSERT statement (#4163) 2024-06-12 09:15:09 +00:00
Mees Delzenne
1e0eddceaa
Restructure the Query struct in the rust library (#4145) 2024-06-11 12:01:58 +00:00
Gerard Guillemas Martos
d9ae887d50
Resolve panics when a NS or a DB are not configured (#4157)
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
2024-06-11 09:34:21 +00:00
Emmanuel Keller
2913917284
[Feat] aligns DEFINE resource creation (already exists) (#4148) 2024-06-07 16:24:55 +00:00
Emmanuel Keller
7253c01190
[Bug fix] KNN brute force is not working anymore when an index exists (#4143) 2024-06-06 15:40:38 +00:00
Emmanuel Keller
39c1b333de
[Bug fix] Redefining HNSW index error (#4142) 2024-06-06 13:15:53 +00:00
Emmanuel Keller
9c196fa154
[Feat] Implements a few math functions (#4132) 2024-06-05 15:21:49 +00:00
Gerard Guillemas Martos
20e07a4f79
Improve definition of different durations for authentication (#4119) 2024-06-05 12:36:41 +00:00
Emmanuel Keller
e9987f66de
[Bug Fix] Fixes behaviour on non-truthy condition on group foreign table (#4117) 2024-06-03 09:35:13 +00:00
Gerard Guillemas Martos
d2821461b7
Allow defining a maximum session duration on DEFINE USER (#4116) 2024-05-31 07:40:27 +00:00
Obei Sideg
876f281be5
Add string functions for IP (#4111)
Signed-off-by: Obei Sideg <obei.sideg@gmail.com>
2024-05-30 20:15:08 +00:00
Gerard Guillemas Martos
5cbe400e4c
Update fuzzing README from #3806 (#4107) 2024-05-28 15:31:10 +00:00
Emmanuel Keller
f79a946cbe
[Bug fix] Iterator not found on unique indexes with == (#4108) 2024-05-28 15:30:24 +00:00
Gerard Guillemas Martos
9962c56961
Redact secrets from access statements in INFO (#4100) 2024-05-28 15:29:11 +00:00
Micha de Vries
e98a56958b
.generate() should not format table name (#4102) 2024-05-28 13:01:25 +00:00
Micha de Vries
5df3d2d190
INSERT RELATION (#4057)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-05-28 12:37:16 +00:00
Emmanuel Keller
a9e075463d
Move Transaction to Context (#4096) 2024-05-28 10:43:45 +00:00
Gerard Guillemas Martos
bf702b0d67
Require explicit authentication level (#4089) 2024-05-27 08:15:15 +00:00
Emmanuel Keller
3ccadb0740
[Bug fix] Index creation schemafull checks (#4091) 2024-05-24 18:09:10 +00:00
Emmanuel Keller
7495611bc4
[Feat] KNN filtering with limit and KNN distance function (#4036) 2024-05-24 13:45:21 +00:00
Emmanuel Keller
23653e5fce
[Feat] Add TEMPFILES clause to the SELECT statement (#4084) 2024-05-23 13:04:20 +00:00
Tobie Morgan Hitchcock
948666e33a
Update README (#4042)
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-05-23 09:28:47 +00:00
Gerard Guillemas Martos
e38b891e62
Consolidate authentication methods (#3988)
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-05-22 13:57:25 +00:00
Emmanuel Keller
e37a6fb18b
Make temporary table active only if the temporary directory is set (#4079) 2024-05-22 10:05:32 +00:00
Tobie Morgan Hitchcock
2219388802
Prevent subqueries from being executed multiple times (#4051) 2024-05-16 15:51:09 +00:00
Micha de Vries
47054b2891
Indexes should be populated on import (#4047) 2024-05-15 13:29:40 +00:00
David Bottiau
97ce910832
Add array::shuffle function (#3993) 2024-05-15 08:56:46 +00:00
Emmanuel Keller
51aea4ff8f
Removes old alternative syntax for geometry and record (#4034) 2024-05-14 09:23:07 +00:00
Emmanuel Keller
6277aab0e1
Query planner should evaluate non boolean expressions (#4022) 2024-05-14 08:58:06 +00:00
Emmanuel Keller
1c09e1863d
Serialisation size checks for large vectors (#4033) 2024-05-13 18:46:22 +00:00
Przemyslaw Hugh Kaznowski
63a7caf40e
Add original value to Del in change feeds (#3969) 2024-05-13 17:07:39 +00:00
Emmanuel Keller
8890053176
Fixes math:min in foreign table (#4017) 2024-05-10 12:42:40 +00:00
Emmanuel Keller
fcaff735e6
Fixes 3990 (#4012) 2024-05-10 10:46:10 +00:00
Rushmore Mushambi
24ae06051e
Add a surrealdb-next release train (#3888) 2024-05-10 09:05:32 +00:00
Rushmore Mushambi
f607703f7e
Fix FFLAGS import and warnings in tests (#4010) 2024-05-09 21:14:03 +00:00
Emmanuel Keller
009486b2bb
Feature: Initial Hnsw implementation (#3353) 2024-05-08 14:26:41 +00:00
Mees Delzenne
061ad8c712
Update rquickjs dependency (#3942) 2024-05-08 11:00:54 +00:00
Emmanuel Keller
b9f02d146d
TreeCache is currently inefficient on writes (#3954) 2024-04-30 18:09:54 +00:00
Emmanuel Keller
8172753ac4
Feat: Introduce Rebuild command (#3933) 2024-04-24 13:30:58 +00:00
Przemyslaw Hugh Kaznowski
8f6af53de6
Remaining LQ v2 fixes (#3925) 2024-04-23 10:00:23 +00:00
David Bottiau
854e6e6df2
Fix response content-type on /rpc endpoint (#3918)
Co-authored-by: Raphael Darley <raphael@raphaeldarley.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-04-19 20:13:51 +01:00
Raphael Darley
7cc36b0c70
move macros (#3914) 2024-04-19 12:33:40 +01:00
Mees Delzenne
49ad32f45e
Implement reblessive into the executor. (#3803) 2024-04-18 15:51:47 +00:00
Raphael Darley
31cc0e37e0
Add relation rpc method (#3775)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
Co-authored-by: Salvador Girones Gil <salvadorgirones@gmail.com>
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-04-18 11:48:12 +01:00
Przemyslaw Hugh Kaznowski
52dc064005
Fix api live tests for lq v2 (#3900) 2024-04-18 08:45:24 +00:00
Raphael Darley
4c8c9f6c8a
Info structure refactor (#3886)
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-04-17 15:27:55 +01:00
Emmanuel Keller
53ad2c5366
IN operator should be recognised by the query planner (#3890) 2024-04-17 12:24:30 +00:00
Emmanuel Keller
a82c0ec0ad
Query planner strategy for record links (#3668) 2024-04-16 18:05:09 +00:00
Micha de Vries
dc669b78e3
Fix $value being NONE for DELETE events (#3869) 2024-04-16 08:49:33 +00:00
Rushmore Mushambi
77f1318152
Fix benchmarks (#3864) 2024-04-15 10:28:08 +00:00
Emmanuel Keller
56b4f7d71e
Bug: Wrong count when using COUNT with a subquery (#3855) 2024-04-11 11:38:42 +00:00
Emmanuel Keller
2f19afec56
Bug when using array::group in a group by query (#3826) 2024-04-08 23:04:44 +00:00
Rushmore Mushambi
e842515882
Drop the old parser (#3814) 2024-04-06 17:33:36 +00:00
Rushmore Mushambi
9f97f0bc48
Stabilise and use parser2 for parsing (#3801)
Co-authored-by: Mees Delzenne <mees.delzenne@gmail.com>
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
2024-04-05 16:05:22 +00:00
Rushmore Mushambi
88095e3fad
Update dependencies (#3805) 2024-04-05 09:19:54 +00:00
Gerard Guillemas Martos
1a394aeb5d
Fix fuzzing (#3800) 2024-04-04 07:30:13 +00:00
Mees Delzenne
6375bd45a6
Feature: Add type::range function (#3748)
Co-authored-by: Rushmore Mushambi <rushmore@webenchanter.com>
2024-04-03 12:05:29 +00:00
Tobie Morgan Hitchcock
b03aeca08c
Cleanup a few things in the code (#3793)
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2024-04-03 09:54:12 +00:00
Rushmore Mushambi
53b2878a93
Stabilise sql2 and jwks (#3798) 2024-04-03 07:05:40 +00:00
Rushmore Mushambi
2fbb4f4617
Add #[non_exhaustive] to core structs and enums (#3781) 2024-04-02 20:12:08 +00:00
Pratim
3dc00c8229
Add integration test for rocket (#3785)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-04-02 08:42:06 +00:00
Emmanuel Keller
829fb0baf9
Bug fix: Improve support of range queries with complex queries (#3786) 2024-03-30 23:11:54 +00:00
Emmanuel Keller
c82bbc0820
Feature: On disk temporary table (#3749)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-03-28 16:29:55 +00:00
Maxwell Flitton
e201366602
updating surrealml-core and adding checking for version and name (#3773) 2024-03-28 13:57:26 +00:00
Rushmore Mushambi
464837c6c1
Bump MSRV to 1.77 (#3778) 2024-03-27 18:22:18 +00:00
Przemyslaw Hugh Kaznowski
5d3e537abe
SUR-347 - Live Queries error when no change feed (#3772) 2024-03-26 17:49:49 +00:00
Przemyslaw Hugh Kaznowski
390b2496fe
Fixup tests for LQ to prevent >60s tests (#3768) 2024-03-26 13:23:46 +00:00
Raphael Darley
722e7e61b2
Improve tests for DEFINE ... TYPE (#3759) 2024-03-26 11:21:00 +00:00
Mees Delzenne
567832825a
Implement reblessive into the parser to prevent any overflows. (#3591) 2024-03-22 20:50:11 +00:00
Emmanuel Keller
ab3582d057
Bug fix: empty array on index (#3745) 2024-03-21 17:08:20 +00:00
Przemyslaw Hugh Kaznowski
2b4fb84511
Add Versionstamp generator (#3716)
Co-authored-by: Rushmore Mushambi <rushmore@webenchanter.com>
2024-03-21 11:37:07 +00:00
Raphael Darley
ce8e2d4578
bugfix: Enforce TYPE RELATION (#3732) 2024-03-21 10:59:08 +00:00
Przemyslaw Hugh Kaznowski
e00c456389
Revert CF timestamp format (#3690) 2024-03-21 10:15:40 +00:00
Dave MacLeod
f1cc3c8d14
[Documentation] Improve Rust client code samples a bit (#3699) 2024-03-20 17:11:55 +00:00
Pratim
a21b025f01
Rocket example (#3713)
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
Co-authored-by: Rushmore Mushambi <rushmore@webenchanter.com>
2024-03-20 17:10:07 +00:00
Rushmore Mushambi
6af01e0ed4
Bump version to v1.5.0 (#3728) 2024-03-20 16:45:20 +00:00
Emmanuel Keller
d9eb60f2a5
bug fix: partial highlight with ngram and other cleanups (#3725) 2024-03-20 13:11:02 +00:00
Rushmore Mushambi
ec3bb1f659
Add insert method to the Rust SDK (#3720) 2024-03-20 11:24:24 +00:00
Przemyslaw Hugh Kaznowski
8b13546327
Make Change Feeds record patch values optionally (#3552)
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-03-20 10:09:04 +00:00
Emmanuel Keller
45c296a270
search::highlight option to highlight only the searched characters (edgengram, ngram) (#3719) 2024-03-19 17:47:50 +00:00
Raphael Darley
50125cb2b7
Add DEFINE TABLE ... RELATION (#3710)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-03-19 11:20:58 +00:00
Micha de Vries
7f6abc69bb
Overhaul force (#3632) 2024-03-18 20:59:39 +00:00
Rushmore Mushambi
0a466cd39d
Fix API warnings (#3715) 2024-03-18 17:18:22 +00:00