Commit graph

3291 commits

Author SHA1 Message Date
Rushmore Mushambi
0e8036981e
Fix cargo doc warnings (#4794) 2024-09-17 12:37:50 +00:00
Rushmore Mushambi
c173cd9325
Fix the Axum example (#4793) 2024-09-17 12:09:26 +00:00
Raphael Darley
3531435d15
Fix typo in graphql error (#4792) 2024-09-17 13:02:27 +01:00
Emmanuel Keller
efb7000583
select/count optimisation on table range (#4786) 2024-09-17 12:50:08 +01:00
Rushmore Mushambi
7912896c9b
Drop SDK APIs already deprecated in v1 (#4791) 2024-09-17 12:49:50 +01:00
Rushmore Mushambi
65f650f7d9
Add warnings to rustls and native_tls methods (#4790) 2024-09-17 11:13:25 +00:00
Rushmore Mushambi
dca8acfee2
Add a warning about TLS crates (#4788) 2024-09-17 10:32:27 +00:00
Mees Delzenne
e5e4783e3f
Make query depth limits configurable (#4787) 2024-09-17 10:12:10 +00:00
Sergii Glushchenko
682523db6d
Use native SurrealKV savepoints (#4749) 2024-09-17 10:05:15 +00:00
Raphael Darley
c1443fe107
Add graphql config (#4704) 2024-09-17 09:29:16 +00:00
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