Commit Graph

2011 Commits

Author SHA1 Message Date
Sunli
7dfebf99fd Fix possible stack overflow in validator. 2022-01-28 09:46:14 +08:00
Sunli
de581de6a7 Create SECURITY.md 2022-01-27 16:17:17 +08:00
Sunli
117b53d056 Release 3.0.26
async-graphql@3.0.26
async-graphql-actix-web@3.0.26
async-graphql-axum@3.0.26
async-graphql-derive@3.0.26
async-graphql-parser@3.0.26
async-graphql-poem@3.0.26
async-graphql-rocket@3.0.26
async-graphql-tide@3.0.26
async-graphql-value@3.0.26
async-graphql-warp@3.0.26

Generated by cargo-workspaces
2022-01-26 18:07:45 +08:00
Sunli
334b6efe99 Add skip_input attribute to InputObject macro, skip_output attribute to SimpleObject macro. #797 2022-01-26 17:54:24 +08:00
Sunli
e1db5954ef Release 3.0.25
async-graphql@3.0.25
async-graphql-actix-web@3.0.25
async-graphql-axum@3.0.25
async-graphql-derive@3.0.25
async-graphql-parser@3.0.25
async-graphql-poem@3.0.25
async-graphql-rocket@3.0.25
async-graphql-tide@3.0.25
async-graphql-value@3.0.25
async-graphql-warp@3.0.25

Generated by cargo-workspaces
2022-01-25 09:29:43 +08:00
Sunli
96cfe5cc5c Update CHANGELOG.md 2022-01-25 09:28:04 +08:00
Sunli
00c95cf8b9 Merge pull request #795 from SadiinsoSnowfall/contrib
Fixed variable type not checked when given a default value
2022-01-24 21:58:46 +08:00
SadiinsoSnowfall
61e80c869e Fixed formatting (missing comma) 2022-01-24 14:32:30 +01:00
SadiinsoSnowfall
892cf8169e Fixed formatting (hopefully for the last time) 2022-01-24 14:27:38 +01:00
SadiinsoSnowfall
09918299c1 Fixed formatting (2) 2022-01-24 14:24:33 +01:00
SadiinsoSnowfall
aab3edc459 Fixed formatting 2022-01-24 14:23:06 +01:00
SadiinsoSnowfall
962e1b1f80 Fixed variable type not checked when given a default value 2022-01-24 14:11:46 +01:00
Sunli
c2feefdf09 Fix the problem that some integrations overwritten HTTP headers. #793 2022-01-24 14:14:07 +08:00
Sunli
b9feedc2ca Release 3.0.24
async-graphql@3.0.24
async-graphql-actix-web@3.0.24
async-graphql-axum@3.0.24
async-graphql-derive@3.0.24
async-graphql-parser@3.0.24
async-graphql-poem@3.0.24
async-graphql-rocket@3.0.24
async-graphql-tide@3.0.24
async-graphql-value@3.0.24
async-graphql-warp@3.0.24

Generated by cargo-workspaces
2022-01-24 11:15:17 +08:00
Sunli
2b0e29bc92 Remove 'static bound for impl From<T> for Error. 2022-01-24 10:56:47 +08:00
Sunli
a511ec340a Update connection_type.rs 2022-01-21 10:54:16 +08:00
Sunli
91b99e71d3 Release 3.0.23
async-graphql@3.0.23
async-graphql-actix-web@3.0.23
async-graphql-axum@3.0.23
async-graphql-derive@3.0.23
async-graphql-parser@3.0.23
async-graphql-poem@3.0.23
async-graphql-rocket@3.0.23
async-graphql-tide@3.0.23
async-graphql-value@3.0.23
async-graphql-warp@3.0.23

Generated by cargo-workspaces
2022-01-21 10:40:47 +08:00
Sunli
2eef75510f Implement InputType for Box<str> and Arc<str>. #792 2022-01-21 10:25:50 +08:00
Sunli
32e3462e57 Merge pull request #789 from BratSinot/hashbrown
Bump hashbrown to 0.12.
2022-01-20 09:25:54 +08:00
Sunli
c0a25d403c Merge pull request #791 from jenanwise/add-time-scalars
Add scalars for the `time` crate's datetime types.
2022-01-20 09:25:27 +08:00
Jenan Wise
dacc5660b6 Add scalars for the time crate's datetime types.
With the `time` feature flag enabled, `time::OffsetDateTime` and
`time::PrimitiveDateTime` can be used directly as scalar values,
similar to the previous `chrono::DateTime` and `chrono::NaiveDateTime`
scalar implementations.
2022-01-19 13:39:38 -08:00
BratSinot
d1006ead0b Update changelog. 2022-01-19 14:43:01 +02:00
BratSinot
8444e7a303 Bump hashbrown to 0.12. 2022-01-19 14:40:30 +02:00
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