Commit graph

1069 commits

Author SHA1 Message Date
Mees Delzenne
01a07b7c91
Fix clippy warnings in tests (#3101) 2023-12-09 20:25:50 +00:00
Rushmore Mushambi
846282f5ae
Support pre-release servers (#3094) 2023-12-08 09:18:38 +00:00
Micha de Vries
daf02dc4e6
INSERT should respect unique indexes (#3092) 2023-12-07 14:45:12 +00:00
Emmanuel Keller
c3a3116700
Temporarily ignore flaky mtree test (#3086) 2023-12-07 10:03:14 +00:00
Micha de Vries
d658a0a3fb
Always display permissions (#3083) 2023-12-06 21:30:18 +00:00
Mees Delzenne
42f506a916
Bugfix: Fix inconsistant record parsing (#3076) 2023-12-06 00:08:16 +00:00
Micha de Vries
aac8ec8a36
Default table permissions should be NONE (#3074) 2023-12-06 00:06:53 +00:00
Tobie Morgan Hitchcock
1d3844ff69
Update compatible dependencies (#3069) 2023-12-05 12:12:56 +00:00
Salvador Girones Gil
e4aa85a843
[rocksdb/speedb] Define keep_log_file_num. Default to 20 (#3064) 2023-12-04 13:17:27 +01:00
Gerard Guillemas Martos
06504873f6
Merge pull request from GHSA-6r8p-hpg7-825g
* Dive before parsing 'ifelse' and basic idioms

* Check 'get' path length before recursing

* Add tests to check for intended behaviour

* Remove unused import

* Use correct name for parsed entity

* Add comment
2023-12-04 10:46:21 +01:00
Gerard Guillemas Martos
bc4ffcb4cf
Revert to using legacy authentication in signin by default (#3052)
Co-authored-by: Salvador Girones Gil <salvadorgirones@gmail.com>
2023-12-04 08:47:37 +00:00
Rushmore Mushambi
69572e9e6b
Make all futures easier to send across threads (#3053) 2023-12-01 15:25:28 +00:00
Rushmore Mushambi
a8ed51f629
Make Stream easier to send across threads (#3042) 2023-11-29 09:35:52 +00:00
Gerard Guillemas Martos
a70ddb2e2a
[auth] Support auth levels for basic auth (#2985)
Co-authored-by: Salvador Girones Gil <salvadorgirones@gmail.com>
2023-11-28 14:53:40 +00:00
Micha de Vries
6e7c22e3b0
Optional function arguments should be optional (#3036) 2023-11-27 21:38:05 +00:00
Micha de Vries
81d82c6110
Basic object:: functions (#3033) 2023-11-27 19:14:41 +00:00
Rushmore Mushambi
3baf1c6ea9
Add Query::with_stats to return query statistics along with the results (#3019) 2023-11-27 19:13:52 +00:00
Mees Delzenne
a97d749b8a
Implement string prefixes for old parser. (#3031) 2023-11-27 19:12:36 +00:00
Tobie Morgan Hitchcock
73d66ed2be
Update 3rd party dependencies (#3026) 2023-11-27 10:23:26 +00:00
Micha de Vries
d51d69d35a
Make SELECT ONLY deterministic (#3025) 2023-11-26 20:11:41 +00:00
Noyan Alimov
a58ad52acd
made array::flatten function aggregate (#3018) 2023-11-25 15:23:19 +00:00
Emmanuel Keller
9ead2cdbb6
MTree fully tested with Euclidean and Manhattan distances (#3006) 2023-11-21 21:25:00 +00:00
Rushmore Mushambi
468d72ff81
Fix the nightly channel (#3012) 2023-11-21 13:24:59 +00:00
Micha de Vries
aa8591c7f4
Implement type::is::none() function (#3011) 2023-11-21 09:03:06 +00:00
Tobie Morgan Hitchcock
3f43e741c2
Improve WebSocket performance (#2999)
Co-authored-by: Salvador Girones Gil <salvadorgirones@gmail.com>
2023-11-20 19:08:07 +00:00
Tobie Morgan Hitchcock
9c0d107588
Improve RocksDB and SpeeDB performance (#3000) 2023-11-20 18:47:44 +00:00
Emmanuel Keller
6efd3e3d87
Feat: Analyzers to support functions (#2974)
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-11-20 18:36:21 +00:00
Tobie Morgan Hitchcock
5b23602359
Improve performance of CREATE statements, and record insertion (#3001) 2023-11-20 18:13:34 +00:00
Rushmore Mushambi
7d75fe1877
Drop uuid_unstable as it is no longer necessary (#3009) 2023-11-20 17:42:44 +00:00
Gerard Guillemas Martos
2584970b1d
Update third-party dependencies (#3005) 2023-11-20 15:50:37 +00:00
Micha de Vries
5da77aa1ef
Env flag: SURREAL_INSECURE_FORWARD_SCOPE_ERRORS (#3003)
Co-authored-by: Salvador Girones Gil <salvadorgirones@gmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-11-20 14:54:27 +00:00
Mees Delzenne
256a08a396
Factor out the parser into its own module. (#2979) 2023-11-18 13:56:13 +00:00
Salvador Girones Gil
b0be22360e
[bench] New benchmarks against different datastores (#2956) 2023-11-18 13:55:01 +00:00
Emmanuel Keller
7a34452262
Bug fix: possible corruption of MTree and incomplete knn (#2986) 2023-11-18 07:26:11 +00:00
Micha de Vries
afb9f49c2f
Pass IP & Origin onto session used by scope queries (#2991) 2023-11-17 21:33:11 +00:00
Rushmore Mushambi
98e866dfd1
Add FETCH example (#2981) 2023-11-15 09:44:02 +00:00
Rushmore Mushambi
2d19ac9f7a
Add live query API (#2919)
Co-authored-by: Emmanuel Keller <keller.emmanuel@gmail.com>
2023-11-13 17:19:47 +00:00
Fredrik Bondza
57724a27ca
Change math::median indexing for even length arrays (#2971) 2023-11-13 16:43:06 +00:00
Emmanuel Keller
0bdfbfe5df
Support of subfields for embedding indexing (#2967) 2023-11-13 16:11:38 +00:00
Mees Delzenne
d5ec59a039
Bugfix: Fix identifiers which look like numbers failing to parse. (#2972)
Co-authored-by: Salvador Girones Gil <salvadorgirones@gmail.com>
2023-11-13 16:06:00 +00:00
Mees Delzenne
bdb68c9eaa
Bugfix: Fix ORDER BY RAND() failing to parse when selecting specific fields. (#2964) 2023-11-10 18:36:52 +00:00
Emmanuel Keller
ca2c1560da
Repetitive expressions and idioms are not anymore re-evaluated (#2935) 2023-11-08 10:06:52 +00:00
Yusuke Kuoka
cf040b36ba
Make Remove{Table,Database,Namespace} faster for TiKV and FDB (#2915) 2023-11-01 16:01:00 +00:00
Micha de Vries
ed60a35b9b
Forward custom thrown errors in SIGNIN and SIGNUP queries (#2902) 2023-10-28 12:39:46 +00:00
Przemyslaw Hugh Kaznowski
4b255efaea
Make cluster tick handle errors and rollback gracefully (#2860) 2023-10-26 22:47:12 +00:00
Emmanuel Keller
b8ff68b464
Feat: Indexes used with the operators CONTAINS[ANY|ALL] (#2879) 2023-10-26 21:34:28 +00:00
Emmanuel Keller
08ac7579d1
Feat: Implements MTree index deletions (#2738) 2023-10-26 22:33:06 +01:00
Przemyslaw Hugh Kaznowski
42cff67bd1
Fix cluster startup to handle stray heartbeats (#2891) 2023-10-26 15:24:46 +00:00
Micha de Vries
38e0aa4aa9
Ability to cast string to a Thing/Record ID (#2834) 2023-10-26 13:18:49 +00:00
Przemyslaw Hugh Kaznowski
7d5d6c4325
Revert breaking change on key clash and introduce new error (#2823) 2023-10-26 13:17:31 +00:00