Commit graph

163 commits

Author SHA1 Message Date
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
b41b28f099
Add ability to configure HTTP endpoint limits (#4670) 2024-09-03 14:01:53 +01:00
Dmitrii Blaginin
883d4f48d9
Store connection ID for web socket connections (#4536)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-08-22 17:25:08 +01:00
Raphael Darley
9657dd80c7
Add graphql support (#3797)
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
Co-authored-by: Micha de Vries <mt.dev@hotmail.com>
2024-08-18 18:49:27 +00:00
Sergii Glushchenko
6502b5ed8a
Select from individual record with version (#4510) 2024-08-15 05:29:53 +00:00
Rushmore Mushambi
57c7f5ec03
Serialisation improvements for sql::Value (#4255) 2024-08-13 08:29:43 +00:00
Raphael Darley
4f3b96334e
Upgrade to http/hyper v1.0 (#3726)
Co-authored-by: Salvador Girones <salvadorgirones@gmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-07 10:42:25 +00:00
Sergii Glushchenko
c73435a881
Remove global static Datastore (#4377) 2024-07-18 12:11:59 +00:00
Tobie Morgan Hitchcock
bfc474e4d8
Refactor transaction, caching, and key-value store interfaces (#4257)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-07-17 22:44:05 +00:00
Mees Delzenne
5706c9b368
Fix clippy tests, eliminate globals, remove unused function return variant. (#4303) 2024-07-05 09:34:43 +00:00
Tobie Morgan Hitchcock
112df064fd
Add UPSERT statement (#4163) 2024-06-12 09:15:09 +00:00
Brian Yarr
a11f1bc82f
feature-2924: Add an option to suppress server identification headers (#3770)
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-06-10 15:39:38 +00:00
David Bottiau
d38bf4e386
fix: handle content-type with charset (#4139) 2024-06-06 11:37:04 +00:00
Gerard Guillemas Martos
bf702b0d67
Require explicit authentication level (#4089) 2024-05-27 08:15:15 +00:00
Raphael Darley
cd653bdf7e
refactor rpc code (#3790)
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-04-17 18:56:08 +00:00
Rushmore Mushambi
e842515882
Drop the old parser (#3814) 2024-04-06 17:33:36 +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
2fbb4f4617
Add #[non_exhaustive] to core structs and enums (#3781) 2024-04-02 20:12:08 +00:00
Maxwell Flitton
e201366602
updating surrealml-core and adding checking for version and name (#3773) 2024-03-28 13:57:26 +00:00
Gerard Guillemas Martos
0985b1e18d
Fix: Allow legacy headers in CORS (#3747)
Co-authored-by: Gerard Guillemas Martos <gerard@DESKTOP-6S0AS7R>
2024-03-22 20:50:01 +00:00
Raphael Darley
da483716c5
Add post rpc (#3697) 2024-03-19 15:17:38 +00:00
Rushmore Mushambi
454509e4d1
Update dependencies and add ml2 feature (#3385) 2024-02-09 19:31:16 +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
Tobie Morgan Hitchcock
f587289923
Fix WebSocket notification sending format (#3314) 2024-01-15 19:38:30 +00:00
Mees Delzenne
2755f572fc
Introduce new experimental parser (#2885)
Co-authored-by: Raphael Darley <raphael@raphaeldarley.com>
2024-01-10 16:43:56 +00:00
Tobie Morgan Hitchcock
a35fc0d04d
Improve WebSocket protocol implementation (#3291) 2024-01-09 15:27:03 +00:00
Rushmore Mushambi
8a4e2a347e
Fix lints for Rust v1.75.0 (#3246) 2024-01-02 23:11:45 +00:00
Rushmore Mushambi
23d67305f5
Fix deserialisation and HTTP engine regressions (#3180) 2023-12-20 10:31:19 +00:00
Tobie Morgan Hitchcock
1b9cbcacaf
Ensure compression is only enabled when response is a certain size (#3168) 2023-12-19 08:53:42 +00:00
Maxwell Flitton
2ae8416791
Add support for ML model storage and execution (#3015) 2023-12-12 13:51:43 +00: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
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
Rushmore Mushambi
3baf1c6ea9
Add Query::with_stats to return query statistics along with the results (#3019) 2023-11-27 19:13:52 +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
Emmanuel Keller
f8b559ace1
Introduce http-compression feature flag (#2916) 2023-11-01 13:58:20 +00:00
Emmanuel Keller
bc2f7fdafa
Feat: enable compression on the HTTP connector (#2867) 2023-10-23 13:37:42 +00:00
Jan S
74ad693709
Fix typos (#2764) 2023-09-28 09:17:29 +00:00
Raphael Darley
db5fb6df63
Switch transaction to enum from bool (#2743) 2023-09-26 13:02:53 +00:00
Salvador Girones Gil
8ebd1b4a66
[logging] Move HTTP/WS logs to debug (#2650) 2023-09-08 16:48:12 +01:00
Micha de Vries
e19334f53c
Add X-Forwarded-For Client-IP header (#2600) 2023-09-04 11:10:59 +00:00
Tobie Morgan Hitchcock
8b6af2a562
Ensure transactions are handled properly (#2585) 2023-09-02 22:22:41 +01:00
Tobie Morgan Hitchcock
fc7f5cb0b0
Support variable field projection with type::field() and type::fields() (#2552) 2023-08-31 13:06:10 +01:00
Yusuke Kuoka
d52784f953
Fix Ctrl-C to work for node and telemetry (#2476) 2023-08-21 12:35:34 +01:00
Salvador Girones Gil
3b26ad2a44
[rpc] Add WebSocket metrics (#2413) 2023-08-16 13:27:53 +01:00
Przemyslaw Hugh Kaznowski
87705098ab
Change kill id type to value (#2402)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-08-08 17:15:01 +00:00
Przemyslaw Hugh Kaznowski
abbf9819c4
Add tests for Live Queries over web sockets (#2382)
Co-authored-by: Salvador Girones <salvadorgirones@gmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-08-04 17:43:23 +00:00
Salvador Girones Gil
e91011cc78
[rpc] Better tracing for WebSockets (#2325) 2023-08-03 14:59:05 +00:00
Salvador Girones Gil
998b263517
[iam] RBAC and multiple root users (#2176)
Co-authored-by: Przemyslaw Hugh Kaznowski <hughkaznowski@protonmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-07-29 18:47:25 +00:00
Tobie Morgan Hitchcock
773cb5f130
Add insert method to WebSocket RPC endpoint (#2296) 2023-07-20 09:19:36 +00:00
Tobie Morgan Hitchcock
09dde86e73
Allow for DIFFs in notifications for simple live queries (#2290) 2023-07-19 16:19:19 +00:00