Commit graph

365 commits

Author SHA1 Message Date
Rushmore Mushambi
948b9640fb
Drop the sql::v1 module from the core library (#3683) 2024-03-15 14:37:27 +00:00
Przemyslaw Hugh Kaznowski
65d8e6d422
Make EngineOptions hidden (#3700) 2024-03-15 11:36:31 +00:00
Rushmore Mushambi
f93f4999ed
Refactor Cargo features to use separate core library versions (#3688)
Co-authored-by: Mees Delzenne <mees.delzenne@gmail.com>
2024-03-15 11:21:32 +00:00
Dave MacLeod
b34cfc72fc
Fix string::is::longitude regex, more test coverage (#3684) 2024-03-14 14:51:03 +00:00
Gerard Guillemas Martos
900fc58328
Add tests for the signin and signup methods (#3689) 2024-03-13 13:15:42 +00:00
Przemyslaw Hugh Kaznowski
4804426648
Remove race conditions in cf tests (#3669) 2024-03-13 12:12:35 +00:00
Gerard Guillemas Martos
9e2a0c75ca
Fix: Consistently enforce session expiration (#3686) 2024-03-13 09:06:16 +00:00
Mees Delzenne
3c92765fad
Fix export generating unparsable code with the new parser (#3351) 2024-03-12 15:43:56 +00:00
Przemyslaw Hugh Kaznowski
2fe398f5b4
Baseline for KILL, realising other PRs need to land (#3600) 2024-03-12 13:01:23 +00:00
Gerard Guillemas Martos
cb3ca6dd39
Add JWT ID claim to tokens issued by SurrealDB (#3651) 2024-03-12 11:03:27 +00:00
Emmanuel Keller
2fe4f352be
Feature: A query with aggregations should not store every records in memory (#3657)
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-03-12 10:48:53 +00:00
Gerard Guillemas Martos
21975548f2
Move JWKS cache storage to memory (#3649) 2024-03-12 10:34:35 +00:00
Przemyslaw Hugh Kaznowski
b62011bfec
Improve debug experience on debug builds (#3672) 2024-03-12 09:27:28 +00:00
Emmanuel Keller
0e3fb7b365
Bug fix: Implements the union strategy on unique indexes (#3674) 2024-03-12 08:58:22 +00:00
Mees Delzenne
87da9c0b01
Fix warnings (#3634) 2024-03-08 10:58:07 +00:00
Emmanuel Keller
1784a1202e
Check that objects properties are recognized by the query planner (#3643) 2024-03-07 16:45:05 +00:00
Rushmore Mushambi
03e9998ff1
Bump version to v1.4.0 (#3656)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-07 16:43:39 +00:00
Emmanuel Keller
686a140d80
Support of IN operator in the planner (#3640) 2024-03-06 23:41:48 +00:00
Micha de Vries
e637a538d2
Implement IF NOT EXISTS-clause on DEFINE-statements (#3584) 2024-03-06 13:24:24 +00:00
Emmanuel Keller
5534a70431
Bug fix: Restore cosine distance on MTree indexes (#3614) 2024-03-06 09:29:19 +00:00
Micha de Vries
50b4b07b38
Implement IF EXISTS for additional REMOVE-statements (#3377)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2024-03-05 19:28:38 +00:00
Mees Delzenne
0e2f83ed9d
Make handling of negative numbers in record-id-ids more consistent. (#3633) 2024-03-05 18:43:04 +00:00
Mees Delzenne
807b4681fa
Change KNN operator syntax. (#3617)
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
2024-03-05 16:01:17 +00:00
Gerard Guillemas Martos
957eff19a9
Implement session expiration (#3561) 2024-03-05 15:26:14 +00:00
Emmanuel Keller
4eba4a61ab
The query planner should accept Datetime and Uuid values (#3626) 2024-03-05 15:10:43 +00:00
Mees Delzenne
654443c9c1
Allow scientific notation decimal (#3625) 2024-03-04 15:04:08 +00:00
Przemyslaw Hugh Kaznowski
e06cd111cf
Add Engine Config for configuring how many live queries can be created per transaction (#3559) 2024-03-01 17:12:53 +00:00
Maxwell Flitton
9fc5af2660
Drop the ml2 feature from Cargo files (#3606) 2024-03-01 13:53:36 +00:00
Przemyslaw Hugh Kaznowski
2914641827
Fix linting issues in main February 2024 (#3595) 2024-03-01 12:51:32 +00:00
Emmanuel Keller
a182908fde
Tooling: Test checking file based database migration (#3558) 2024-03-01 08:29:42 +00:00
Przemyslaw Hugh Kaznowski
99600d50ba
Add syntax for change feeds to store original value alongside change (#3567)
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-02-28 19:35:39 +00:00
Przemyslaw Hugh Kaznowski
888184f50f
Add notifications for LQ v2 on CF (#3480)
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-02-27 15:18:25 +00:00
Przemyslaw Hugh Kaznowski
73a90ac4e1
Optimise imports in tx.rs (#3568) 2024-02-22 17:00:25 +00:00
Farhan
d386871515
Upgrade surrealkv to version 0.1.3 (#3566) 2024-02-22 15:50:21 +00:00
Mees Delzenne
55f2a63885
Update rquickjs version (#3557) 2024-02-21 20:55:10 +00:00
Micha de Vries
25c704a77f
Fix document not being available to delete permissions clause (#3555) 2024-02-21 10:04:45 +00:00
Przemyslaw Hugh Kaznowski
b52d630c4b
Adjust live statement to avoid storage on live query (#3523) 2024-02-20 14:32:37 +00:00
Przemyslaw Hugh Kaznowski
7b0771acb7
Change Feed stores original value of difference (#3420) 2024-02-20 11:11:49 +00:00
Mees Delzenne
1e5bd504b2
Feature: some more error message improvements for the new parser. (#3416) 2024-02-19 15:07:39 +00:00
Rushmore Mushambi
e08029ce48
Enable parser2, ml2 and surrealkv in nightly binaries (#3538) 2024-02-19 13:59:31 +00:00
Rushmore Mushambi
41a7c16338
Fix clippy warnings (#3529) 2024-02-16 17:09:55 +00:00
Mees Delzenne
bbd5268e71
Bugfix: fix a panic in span rendering (#3527) 2024-02-16 17:05:24 +00:00
Mees Delzenne
6469b653cd
Bugfix: Fix MATH::SQRT_2 not parsing (#3514) 2024-02-16 10:17:22 +00:00
Farhan
485a224bcd
Add SurrealKV as an experimental backend store (#3451) 2024-02-15 20:47:10 +00:00
Przemyslaw Hugh Kaznowski
0c93e0b6d4
Refactor LQ structs so they are available under a specific mod (#3516) 2024-02-15 15:31:53 +00:00
Przemyslaw Hugh Kaznowski
28efeb0fa7
Refactor lives for change feed lq v2 (#3515) 2024-02-15 15:26:17 +00:00
Emmanuel Keller
06a06338b2
Bug fix: In some conditions iteration stages would avoid iterating (#3513) 2024-02-15 11:32:20 +00:00
Mees Delzenne
3ccca6636b
Improve the js-surql value conversion for numbers (#3460) 2024-02-12 11:57:41 +00:00
Rushmore Mushambi
d55d1a3b6e
Implement revision types for client/server communication (#3474) 2024-02-12 11:52:36 +00:00
Emmanuel Keller
2d2b3a40bb
Refactor: In MTree large vector improvement (#3466) 2024-02-12 11:31:35 +00:00
Mees Delzenne
9a88d5f011
Bugfix: Fix builtin error pointing to the wrong part (#3467) 2024-02-12 11:16:38 +00:00
Rushmore Mushambi
c5eed02415
Rename ml1 and ml2 crate names (#3479) 2024-02-12 09:27:57 +00:00
Rushmore Mushambi
da94438e06
Revert "Bugfix: Compute futures in query conditions" (#3476) 2024-02-11 16:48:22 +00:00
Rushmore Mushambi
7d49521c70
Fix the modulo operator on sql2 and parser1 (#3477) 2024-02-11 16:27:07 +00:00
Rushmore Mushambi
454509e4d1
Update dependencies and add ml2 feature (#3385) 2024-02-09 19:31:16 +00:00
Rushmore Mushambi
40039dc1ad
Don't include jwks in docs.rs features (#3465) 2024-02-09 09:41:42 +00:00
Rushmore Mushambi
211a3fe867
Fix documentation builds on docs.rs (#3462) 2024-02-08 15:43:27 +00:00
Mees Delzenne
9ff0fade50
Bugfix: Fix a panic when invalid builtin function names are passed to the executor (#3454) 2024-02-07 15:13:40 +00:00
Przemyslaw Hugh Kaznowski
8bce4d7789
Introduce guidepost code for live queries on change feeds (#3392)
Co-authored-by: Rushmore Mushambi <rushmore@webenchanter.com>
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-02-06 14:46:44 +00:00
Rushmore Mushambi
b0b438b4b8
Bump version to v1.3.0 (#3444)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-05 22:06:37 +00:00
Mees Delzenne
4ce6b15c50
Update rquickjs version (#3419) 2024-02-05 17:00:31 +00:00
Mees Delzenne
0615200767
Bugfix: Fix json failing to parse with trailing whitespace (#3427) 2024-02-05 16:59:45 +00:00
Rushmore Mushambi
2ee33e7bdb
Revert breaking changes from sql1 (#3433) 2024-02-05 16:21:23 +00:00
Rushmore Mushambi
05a86ead5b
Release the core crate together with the SDK crate and binaries (#3437) 2024-02-05 12:01:39 +00:00
Rushmore Mushambi
690dd55a86
Extract core lib into a standalone crate (#3423)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-02-02 22:10:47 +00:00