Commit Graph

2338 Commits

Author SHA1 Message Date
Sunli
7352bc773e Merge pull request #786 from smmoosavi/data-context
Add DataContext trait
2022-01-19 08:42:57 +08:00
Sunli
431553c423 Merge pull request #788 from Niennienzz/patch-3
Update depth_and_complexity.md
2022-01-19 08:25:18 +08:00
Joe Zhou
4474bff19f Update depth_and_complexity.md 2022-01-18 12:07:23 -05:00
Seyyed Morteza Moosavi
cd46909ea3 Add DataContext trait 2022-01-18 13:20:35 +03:30
Sunli
d376f1277b Release 3.0.22
async-graphql@3.0.22
async-graphql-actix-web@3.0.22
async-graphql-axum@3.0.22
async-graphql-derive@3.0.22
async-graphql-parser@3.0.22
async-graphql-poem@3.0.22
async-graphql-rocket@3.0.22
async-graphql-tide@3.0.22
async-graphql-value@3.0.22
async-graphql-warp@3.0.22

Generated by cargo-workspaces
2022-01-18 11:26:30 +08:00
Sunli
c1a4481dda Update CHANGELOG.md 2022-01-18 10:45:29 +08:00
Sunli
b127d71d0a Merge pull request #784 from dungeonfog/actix-cbor-support
Actix integration: cbor response support + error handling improvements
2022-01-18 10:42:48 +08:00
Sunli
cea21fbe45 Add support flatten attribute for SimpleObject, ComplexObject and Object macros. #533 2022-01-18 10:33:07 +08:00
Follpvosten
086a50edd1 actix-web: make cbor optional feature, add test 2022-01-17 16:09:16 +01:00
Follpvosten
ab99dd0e94 actix cbor/json error handling; add Content-Length header for cbor 2022-01-16 10:57:25 +01:00
Follpvosten
cb66de126c add cbor response support for actix integration 2022-01-15 21:00:15 +01:00
Sunli
5193c462b5 Release 3.0.21
async-graphql@3.0.21
async-graphql-actix-web@3.0.21
async-graphql-axum@3.0.21
async-graphql-derive@3.0.21
async-graphql-parser@3.0.21
async-graphql-poem@3.0.21
async-graphql-rocket@3.0.21
async-graphql-tide@3.0.21
async-graphql-value@3.0.21
async-graphql-warp@3.0.21

Generated by cargo-workspaces
2022-01-11 09:45:51 +08:00
Sunli
707890e551 Add Union and Interface support for trait objects. #780
Clippy clean
2022-01-11 09:35:09 +08:00
Sunli
5d99df4502 Update examples 2022-01-06 16:08:02 +08:00
Sunli
92f3864396 Release 3.0.20
async-graphql@3.0.20
async-graphql-actix-web@3.0.20
async-graphql-axum@3.0.20
async-graphql-derive@3.0.20
async-graphql-parser@3.0.20
async-graphql-poem@3.0.20
async-graphql-rocket@3.0.20
async-graphql-tide@3.0.20
async-graphql-value@3.0.20
async-graphql-warp@3.0.20

Generated by cargo-workspaces
2022-01-05 13:06:10 +08:00
Sunli
f212ae30ab Update CHANGELOG.md 2022-01-05 12:46:14 +08:00
Sunli
f07863967f Merge branch 'master' of github.com:async-graphql/async-graphql 2022-01-05 11:52:44 +08:00
Sunli
69a9db8547 Merge pull request #776 from terahlunah/align_indexmap_version
Use indexmap version 1.6.2 in async-graphql-value
2022-01-05 11:52:20 +08:00
Sunli
b484a6104d Fix the generic SimpleObject can't define the lifetimes. #774 2022-01-05 11:52:02 +08:00
Sunli
d1d0154ad8 Merge branch 'master' of github.com:async-graphql/async-graphql 2022-01-05 10:16:07 +08:00
Sunli
7b0d5e0670 Bump actix-web from 4.0.0-beta.18 to 4.0.0-beta.19 2022-01-05 10:15:47 +08:00
Sunli
b926bbe060 Merge pull request #773 from QuentinPerez/qperez/bump/lru
Bump lru to 0.7.1
2022-01-05 10:06:14 +08:00
Sunli
b9fa5daf29 Merge pull request #771 from oscartbeaumont/password-stregth-validator-pr
feat: added min_password_strength validator
2022-01-05 10:05:32 +08:00
Terah
db1a6eb806 Align indexmap version to 1.6.2 2022-01-04 13:35:23 +01:00
Quentin Perez
c5b3bfb2c7 Bump lru to 0.7.1
The advisory script brought up a RUSTSEC error:

---
error[A001]: Use after free in lru crate
    ┌─ /home/haptop/Developer/radicle-link/Cargo.lock:207:1
    │
207 │ lru 0.6.6 registry+https://github.com/rust-lang/crates.io-index
    │ --------------------------------------------------------------- security vulnerability detected
    │
    = ID: RUSTSEC-2021-0130
    = Advisory: https://rustsec.org/advisories/RUSTSEC-2021-0130
    = Lru crate has use after free vulnerability.

      Lru crate has two functions for getting an iterator. Both iterators give
      references to key and value. Calling specific functions, like pop(), will remove
      and free the value, and but it's still possible to access the reference of value
      which is already dropped causing use after free.
    = Announcement: jeromefroe/lru-rs#120
    = Solution: Upgrade to >=0.7.1
---

This patch follows the recommended solution and pins the `lru` crate
to 0.7.1.
2021-12-30 16:49:06 +01:00
Oscar Beaumont
c06179950f fix: export min_password_strength validator 2021-12-30 17:35:33 +08:00
Oscar Beaumont
df8f4f2791 feat: added min_password_strength validator 2021-12-30 13:53:22 +08:00
Sunli
b8431541c9 Release 3.0.19
async-graphql@3.0.19
async-graphql-actix-web@3.0.19
async-graphql-axum@3.0.19
async-graphql-derive@3.0.19
async-graphql-parser@3.0.19
async-graphql-poem@3.0.19
async-graphql-rocket@3.0.19
async-graphql-tide@3.0.19
async-graphql-value@3.0.19
async-graphql-warp@3.0.19

Generated by cargo-workspaces
2021-12-30 10:43:35 +08:00
Sunli
61d1486cd8 Clippy 2021-12-30 10:16:49 +08:00
Sunli
39bb6110e2 Merge pull request #768 from BratSinot/hashbrown
Add hashbrown HashMap/HashSet implementations for Input/Output type.
2021-12-30 10:05:28 +08:00
Sunli
934f6b9497 Bump actix-web from 4.0.0-beta.14 to 4.0.0-beta.18 2021-12-30 10:04:58 +08:00
Sunli
79c56894e8 Merge pull request #770 from PacoDu/fix-actix-http-payload-stream-deprecated
fix: upgrade actix-http to beta.17 and remove deprecated PayloadStream
2021-12-30 10:01:01 +08:00
Paco Dupont
aebea700c0 fix: upgrade actix-http to beta.17 and remove deprecated PayloadStream 2021-12-28 16:54:17 +01:00
BratSinot
c5d50e789f rustfmt 2021-12-28 13:06:57 +02:00
BratSinot
f5593a27e1 Update CHANGELOG. 2021-12-28 13:05:32 +02:00
BratSinot
97c56f1d76 Fix typo. 2021-12-28 12:30:11 +02:00
BratSinot
1ab7dd27e5 Remove some copy-paste. 2021-12-28 12:25:30 +02:00
BratSinot
4d37f4625d Add hashbrown HashMap/HashSet implementations for Input/Output type. 2021-12-28 12:11:40 +02:00
Sunli
7dbadf26c5 Release 3.0.18
async-graphql@3.0.18
async-graphql-actix-web@3.0.18
async-graphql-axum@3.0.18
async-graphql-derive@3.0.18
async-graphql-parser@3.0.18
async-graphql-poem@3.0.18
async-graphql-rocket@3.0.18
async-graphql-tide@3.0.18
async-graphql-value@3.0.18
async-graphql-warp@3.0.18

Generated by cargo-workspaces
2021-12-26 11:47:50 +08:00
Sunli
9f51772ad9 Fix field guards not working on ComplexObject. #767 2021-12-26 10:42:36 +08:00
Sunli
ed9cb80e94 Merge pull request #765 from Miaxos/fix-federation-empty-entity
fix: issue when empty with federation spec on _Entity node
2021-12-23 19:36:26 +08:00
Anthony Griffon
9a62a7c5ac fix: issue when empty with federation spec on _Entity node
Signed-off-by: Anthony Griffon <anthony@griffon.one>
2021-12-22 18:16:56 +01:00
Sunli
c818c77231 Merge pull request #761 from DoumanAsh/improve_builtin_regex_error
Improve regex validator error message to be descriptive
2021-12-21 18:46:09 +08:00
Douman
8d592b48ae Adjust fomrat for regex validator text 2021-12-21 14:36:13 +09:00
Douman
2d8b22ce65 Include regex within validator 2021-12-21 14:34:57 +09:00
Douman
988dcb7d21 Improve regex validator error message to be descriptive 2021-12-21 13:48:02 +09:00
Sunli
0dedc8dca2 Merge pull request #758 from oscartbeaumont/email-validator-pr
replace custom email validation with fast_chemail
2021-12-20 15:17:33 +08:00
Oscar Beaumont
6e0f803be5 replace custom email validation with fast_chemail 2021-12-19 20:50:10 +08:00
Sunli
da80518c89 Release 3.0.17
async-graphql@3.0.17
async-graphql-actix-web@3.0.17
async-graphql-axum@3.0.17
async-graphql-derive@3.0.17
async-graphql-parser@3.0.17
async-graphql-poem@3.0.17
async-graphql-rocket@3.0.17
async-graphql-tide@3.0.17
async-graphql-value@3.0.17
async-graphql-warp@3.0.17

Generated by cargo-workspaces
2021-12-17 10:01:24 +08:00
Sunli
da512e6624 Update examples 2021-12-17 09:50:23 +08:00