Commit graph

53 commits

Author SHA1 Message Date
Micha de Vries
1007a30ea4
CBOR convert no unreachables (#3883) 2024-04-16 17:13:47 +00:00
Raphael Darley
2f0f8dcc93
fix cbor http headers (#3866) 2024-04-12 20:58:47 +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
David Bottiau
c7c93108c3
Reduce byte size of datetime and uuid types using cbor format (#3763)
Co-authored-by: David Bottiau <B516QT@login.axa>
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-04-03 14:22:21 +00:00
Rushmore Mushambi
2fbb4f4617
Add #[non_exhaustive] to core structs and enums (#3781) 2024-04-02 20:12:08 +00:00
Micha de Vries
00bc9db496
Optimize CBOR decoding (#3723) 2024-03-19 16:00:30 +00:00
Raphael Darley
da483716c5
Add post rpc (#3697) 2024-03-19 15:17:38 +00:00
Raphael Darley
2e27000c8e
remove unreachable in msgpack (#3691) 2024-03-13 12:37:03 +00:00
Micha de Vries
e5c63234ca
Support tables + geometries in CBOR (#3604)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-03-05 15:19:44 +00:00
Przemyslaw Hugh Kaznowski
19a04c86ba
Add context to live query notifications (#3461) 2024-02-12 11:54:38 +00:00
Rushmore Mushambi
d55d1a3b6e
Implement revision types for client/server communication (#3474) 2024-02-12 11:52:36 +00:00
Tobie Morgan Hitchcock
f587289923
Fix WebSocket notification sending format (#3314) 2024-01-15 19:38:30 +00:00
Micha de Vries
0431d38602
Update CBOR tags (#3312) 2024-01-15 11:36:13 +00:00
Tobie Morgan Hitchcock
f7e6e028a2
Support CBOR and MessagePack binary serialisation in WebSocket (#3251)
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2024-01-09 21:50:27 +00:00
Tobie Morgan Hitchcock
a35fc0d04d
Improve WebSocket protocol implementation (#3291) 2024-01-09 15:27:03 +00:00
Rushmore Mushambi
8bfdab31f2
bugfix: Ensure an attempt to set a protected variable returns an error (#3216)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-01-05 11:28:01 +00:00
Rushmore Mushambi
23d67305f5
Fix deserialisation and HTTP engine regressions (#3180) 2023-12-20 10:31:19 +00:00
Tobie Morgan Hitchcock
08ec62cbe1
Fix memory leak (#3066) 2023-12-05 09:28:29 +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
Gerard Guillemas Martos
2584970b1d
Update third-party dependencies (#3005) 2023-11-20 15:50:37 +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
Tobie Morgan Hitchcock
248829cf8a
Ensure live queries are killed correctly (#2676) 2023-09-12 10:38:28 +01:00
Tobie Morgan Hitchcock
28368d83c9
Add live queries to INFO FOR TB statement (#2673) 2023-09-11 20:35:32 +01:00
Tobie Morgan Hitchcock
ebabe9554b
Ensure parameters are computed before being stored on WebSocket (#2654) 2023-09-08 20:10:12 +01:00
Salvador Girones Gil
8ebd1b4a66
[logging] Move HTTP/WS logs to debug (#2650) 2023-09-08 16:48:12 +01:00
Tobie Morgan Hitchcock
abb5ce00db
Ensure incorrect data causes error (#2559) 2023-09-04 18:54:17 +01:00
Tobie Morgan Hitchcock
c07f9c131b
Remove RPC diff and use third argument in RPC patch method (#2565) 2023-09-01 10:38:19 +01:00
Tobie Morgan Hitchcock
efa7a14964
Add diff RPC method to WebSocket API (#2560) 2023-09-01 08:00:32 +01:00
Salvador Girones Gil
e2cc94b2ad
[tracing] Fix the WS spans (#2540) 2023-08-29 13:04:53 +01:00
Rushmore Mushambi
6cb12db82b
Make patch return the patched record (#2530) 2023-08-27 19:28:38 +01:00
Tobie Morgan Hitchcock
a31d25d3c5
Support arbitrary number of arrays in array::concat() (#2526) 2023-08-27 11:40:49 +01:00
Przemyslaw Hugh Kaznowski
ce6cfb7634
GC live queries when client disconnects (#2255) 2023-08-19 10:01:37 +01:00
Rushmore Mushambi
f16ec7f894
Add a Value::Query variant (#2460) 2023-08-18 23:51:56 +01:00
Przemyslaw Hugh Kaznowski
60b6cc6c75
Test for kill ws (#2407)
Co-authored-by: Salvador Girones <salvadorgirones@gmail.com>
2023-08-18 15:21:01 +00:00
Salvador Girones Gil
3b26ad2a44
[rpc] Add WebSocket metrics (#2413) 2023-08-16 13:27:53 +01:00
Salvador Girones Gil
e91011cc78
[rpc] Better tracing for WebSockets (#2325) 2023-08-03 14:59:05 +00:00
Salvador Girones Gil
53702c247a
[metrics] HTTP Layer + move to Axum (#2237) 2023-07-19 14:35:56 +00:00
Rushmore Mushambi
20ee2f1dc6
Remove manual log targets (#2214) 2023-07-04 21:02:10 +00:00
Tobie Morgan Hitchcock
55918b7c0e
Switch to bincode serialization (#2134)
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2023-07-01 20:09:15 +01:00
Tobie Morgan Hitchcock
591634e049
Ensure HTTP REST API responses are simplified when serialized (#1924) 2023-05-05 19:54:49 +01:00
Rushmore Mushambi
c3c6613e7a
Fix simple ID serialisation in the WebSocket protocol (#1900) 2023-05-02 12:17:27 +01:00
Rushmore Mushambi
91e949248d
Unify serialisation (#1881) 2023-04-29 16:58:22 +01:00
Tobie Morgan Hitchcock
45094c76ce Use custom serialization format 2023-03-31 23:49:52 +01:00
Tobie Morgan Hitchcock
0c95126573 Add support for full binary serialization on HTTP endpoints 2023-03-27 13:52:28 +01:00
CelebrateVC
f0745386cf
Improve code comments for documentation (#1476) 2022-11-23 09:42:59 +00:00
Tobie Morgan Hitchcock
a074dc9af5 Add suport for WebSocket RPC binary protocol 2022-10-25 06:40:23 -07:00
Tobie Morgan Hitchcock
05485406c4 Add support for more input types in WebSocket RPC methods 2022-10-25 06:40:23 -07:00
Tobie Morgan Hitchcock
d2e7a8532d Don’t respond with an id if none was specified in the WebSocket RPC query 2022-10-25 06:40:23 -07:00
Tobie Morgan Hitchcock
a0d86248e2 Enable different output serialization formats in WebSocket RPC 2022-10-25 06:40:23 -07:00