Commit graph

235 commits

Author SHA1 Message Date
Gerard Guillemas Martos
c3d788ff4a
Add BEARER access type and its basic grant management (#4302)
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-08-13 16:38:17 +00:00
Sergii Glushchenko
a87433c4d3
Experimental: select all from table with version (#4494) 2024-08-13 15:35:30 +00:00
Gerard Guillemas Martos
a8b96936f4
Check for single and multiple token audiences (#4493) 2024-08-13 11:40:16 +00:00
Micha de Vries
89f1de825a
Fix record<T> casting from string (#4496)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-13 09:50:40 +00:00
Rushmore Mushambi
57c7f5ec03
Serialisation improvements for sql::Value (#4255) 2024-08-13 08:29:43 +00:00
Gerard Guillemas Martos
d038fb2c7a
Disable default audience validation also for JWKS (#4495) 2024-08-12 16:05:19 +00:00
Micha de Vries
f8ba01a688
Fix "specific" match statement exiting early (#4492) 2024-08-12 09:05:12 +00:00
Drew Ridley
d2c59f0b71
Fix JWT 'aud' array (#4488)
Co-authored-by: Drew Ridley <drewr@Drews-MacBook-Pro.local>
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
2024-08-12 08:50:27 +00:00
Micha de Vries
c0be139e59
Implement anonymous functions (#4474)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-10 12:44:12 +00:00
Micha de Vries
3f5ef43248
Skip ASSERT for type option<T> and value NONE (#4483)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-08 17:11:39 +01:00
Micha de Vries
c5a6e08225
Method chaining (#4469) 2024-08-08 11:43:35 +00:00
Tobie Morgan Hitchcock
82349eb557
Slight improvements to RocksDB range scans (#4478) 2024-08-08 10:54:03 +01:00
Gerard Guillemas Martos
e60ce36083
Use upstream jsonwebtoken crate (#4472) 2024-08-07 11:38:02 +00:00
Micha de Vries
ebc140e8ad
DEFINE @kind OVERWRITE (#4465) 2024-08-06 14:10:58 +00:00
Mees Delzenne
0505a8ef6d
Fix like operator not being implemented (#4460) 2024-08-05 17:07:41 +00:00
Micha de Vries
36d83ebccf
Remove faulty flatten (#4463) 2024-08-05 17:06:54 +00:00
Micha de Vries
6d2f4a9833
Improve string::is::datetime and string::is::uuid, Add string::is::record (#4462) 2024-08-05 14:46:08 +00:00
Dave MacLeod
27e17d7cdd
Add array::windows() function (#4445) 2024-08-02 12:50:40 +00:00
Albert Marashi
e8f55b60f2
Fixes division by zero bug by returning NAN for divisions by zero? (#4402)
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
2024-08-02 12:49:46 +00:00
Dmitrii Blaginin
e25ddfc408
Fix validation on schemafull RELATE (#4226) 2024-08-01 11:23:11 +00:00
Micha de Vries
eab548c5a3
Idiom destructuring (#4443) 2024-07-31 15:20:19 +00:00
Micha de Vries
24e9534155
ALTER TABLE-statement (#4435)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-07-30 17:25:11 +01:00
Gerard Guillemas Martos
d030c7d498
Move AUTHENTICATE clause to DEFINE ACCESS statement root (#4385) 2024-07-30 15:23:54 +01:00
Tobie Morgan Hitchcock
05a95df56d
Remove unnecessary backticks from INFO FOR statement output (#4438) 2024-07-30 07:46:35 +01:00
Aman Kumar
6e87f3ef66
Fix-4415: Fixes the Live Query Panic issue (#4437) 2024-07-30 07:46:21 +01:00
Tobie Morgan Hitchcock
bf2eb32f01
Add improved instrumentation to kvs module layer (#4418) 2024-07-30 06:51:28 +01:00
Emmanuel Keller
fed79d4808
Bump to rustc 1.80.0 (#4436)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-07-29 15:39:38 +00:00
Mees Delzenne
2b1e6a32ea
Make communication with the router task more type-safe (#4406) 2024-07-23 14:38:54 +00:00
Emmanuel Keller
08f4ad6c82
MTree bench improvements (replaces hashbrown with ahash) (#4408) 2024-07-23 08:24:00 +00:00
Micha de Vries
4bd1185ff9
Fix querying complex edge table (#4391) 2024-07-20 14:19:08 +01:00
Emmanuel Keller
c415d37a72
MTree/HNSW tests/benches work (#4387) 2024-07-20 08:27:14 +00:00
Micha de Vries
70c682987c
Allow generating ulid and uuid based on a timestamp (#4384) 2024-07-19 11:11:55 +00:00
Emmanuel Keller
c471dc0317
Remove unnecessary cloning of DefineStatementAnalyzer (#4379) 2024-07-19 10:10:09 +00:00
Mees Delzenne
209c145ad0
Remove flume (#4367) 2024-07-19 10:09:54 +00:00
Emmanuel Keller
968b1714dc
Cleanup Fetch resolution (#4312)
Co-authored-by: Gerard Guillemas Martos <gguillemas@users.noreply.github.com>
2024-07-18 11:27:35 +00:00
유정인
6a5dca9214
resolved a TODO: map_err to inspect error (#4271)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-07-18 10:04:12 +00:00
유정인
febca6464a
Refactored: extracted some duplicated code for storing interfaces to ... (#4272)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-07-18 09:14:01 +00:00
JP
a5a3545052
Fix for enum Entry by importing it to sql/mod.rs (#4375)
Co-authored-by: JP <jpmateo@JPMAC.local>
2024-07-18 08:27:38 +00:00
Micha de Vries
c0c99d33b7
Allow unsetting ns/db on rpc (#4373) 2024-07-18 07:07:57 +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
Gerard Guillemas Martos
a81aef0e93
Properly revision RecordAccess structure (#4361) 2024-07-15 11:03:07 +00:00
Gerard Guillemas Martos
e281a4e41e
Allow defining JWT access at the root level (#4348) 2024-07-15 10:59:33 +00:00
Mees Delzenne
a7c4fa5d14
Fix a bug in floating point parsing. (#4337) 2024-07-11 19:36:51 +00:00
Gerard Guillemas Martos
bc665120ee
Port #4335 to 2.0.0-alpha (#4340) 2024-07-11 19:35:30 +00:00
Przemyslaw Hugh Kaznowski
78e8777ff6
4258 bug panic on live select as non root user (#4330) 2024-07-09 10:08:06 +00:00
Vignesh
1baf7848db
Fixes parameter after fetch (#4086)
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-07-05 14:19:53 +00:00
Mees Delzenne
5706c9b368
Fix clippy tests, eliminate globals, remove unused function return variant. (#4303) 2024-07-05 09:34:43 +00:00
Mees Delzenne
07a88383fa
Minor lib improvements (#4261) 2024-07-05 09:19:04 +00:00
Gerard Guillemas Martos
a701230e9d
Fix peeking in parse_uuid (#4304) 2024-07-04 15:56:37 +00:00
Micha de Vries
12ddb94508
Improve RETURN logic (#4298)
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-07-04 15:05:47 +00:00