Commit Graph

2338 Commits

Author SHA1 Message Date
Sunli
5c4289e442
Merge pull request #786 from smmoosavi/data-context
Add DataContext trait
2022-01-19 08:42:57 +08:00
Sunli
af9b78c732
Merge pull request #788 from Niennienzz/patch-3
Update depth_and_complexity.md
2022-01-19 08:25:18 +08:00
Joe Zhou
090b94e4d7
Update depth_and_complexity.md 2022-01-18 12:07:23 -05:00
Seyyed Morteza Moosavi
b0f8f80b63 Add DataContext trait 2022-01-18 13:20:35 +03:30
Sunli
bfb454bc53 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
c09766b8cb Update CHANGELOG.md 2022-01-18 10:45:29 +08:00
Sunli
e5141b0f64
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
3217f7aecd Add support flatten attribute for SimpleObject, ComplexObject and Object macros. #533 2022-01-18 10:33:07 +08:00
Follpvosten
5898f63dac actix-web: make cbor optional feature, add test 2022-01-17 16:09:16 +01:00
Follpvosten
ce36e73639 actix cbor/json error handling; add Content-Length header for cbor 2022-01-16 10:57:25 +01:00
Follpvosten
9f8720c5df add cbor response support for actix integration 2022-01-15 21:00:15 +01:00
Sunli
c6bb4c026c 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
334307b2c2 Add Union and Interface support for trait objects. #780
Clippy clean
2022-01-11 09:35:09 +08:00
Sunli
def05ae200 Update examples 2022-01-06 16:08:02 +08:00
Sunli
8d6f90bc0d 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
a551e446f4 Update CHANGELOG.md 2022-01-05 12:46:14 +08:00
Sunli
90307bba31 Merge branch 'master' of github.com:async-graphql/async-graphql 2022-01-05 11:52:44 +08:00
Sunli
769c6e0f24
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
9eb7c58c36 Fix the generic SimpleObject can't define the lifetimes. #774 2022-01-05 11:52:02 +08:00
Sunli
8ffb1f34a0 Merge branch 'master' of github.com:async-graphql/async-graphql 2022-01-05 10:16:07 +08:00
Sunli
66e15b63da Bump actix-web from 4.0.0-beta.18 to 4.0.0-beta.19 2022-01-05 10:15:47 +08:00
Sunli
a70db3c7b2
Merge pull request #773 from QuentinPerez/qperez/bump/lru
Bump lru to 0.7.1
2022-01-05 10:06:14 +08:00
Sunli
db5baa4f39
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
784fd44f8f Align indexmap version to 1.6.2 2022-01-04 13:35:23 +01:00
Quentin Perez
016d86715c 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
4126906721
fix: export min_password_strength validator 2021-12-30 17:35:33 +08:00
Oscar Beaumont
831b0f8aa5
feat: added min_password_strength validator 2021-12-30 13:53:22 +08:00
Sunli
d6bdcfefdf 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
db3706dafa Clippy 2021-12-30 10:16:49 +08:00
Sunli
21dd82ace7
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
9765e7fdd7 Bump actix-web from 4.0.0-beta.14 to 4.0.0-beta.18 2021-12-30 10:04:58 +08:00
Sunli
0cc4d030e1
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
3df3c3f86a fix: upgrade actix-http to beta.17 and remove deprecated PayloadStream 2021-12-28 16:54:17 +01:00
BratSinot
94e92fe6d2 rustfmt 2021-12-28 13:06:57 +02:00
BratSinot
bc73850e6e Update CHANGELOG. 2021-12-28 13:05:32 +02:00
BratSinot
0e4c19e63f Fix typo. 2021-12-28 12:30:11 +02:00
BratSinot
e0457eefa6 Remove some copy-paste. 2021-12-28 12:25:30 +02:00
BratSinot
807c9d142b Add hashbrown HashMap/HashSet implementations for Input/Output type. 2021-12-28 12:11:40 +02:00
Sunli
f3d6f9319c 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
eca8cdf86c Fix field guards not working on ComplexObject. #767 2021-12-26 10:42:36 +08:00
Sunli
df5b119bdf
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
f387eb1005
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
276b544fdf
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
67fb3e5539 Adjust fomrat for regex validator text 2021-12-21 14:36:13 +09:00
Douman
808da27648 Include regex within validator 2021-12-21 14:34:57 +09:00
Douman
1c719bfa6b Improve regex validator error message to be descriptive 2021-12-21 13:48:02 +09:00
Sunli
22e0e9966e
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
7d4f78fe5d
replace custom email validation with fast_chemail 2021-12-19 20:50:10 +08:00
Sunli
98baf5b2c9 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
4fa52e8c4f Update examples 2021-12-17 09:50:23 +08:00