Commit Graph

2011 Commits

Author SHA1 Message Date
Sunli e8f14f328f Fix possible stack overflow in validator. 2022-01-28 09:46:14 +08:00
Sunli b233ea3e41
Create SECURITY.md 2022-01-27 16:17:17 +08:00
Sunli 22c7d40a69 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 3104e0bc8d Add `skip_input` attribute to `InputObject` macro, `skip_output` attribute to `SimpleObject` macro. #797 2022-01-26 17:54:24 +08:00
Sunli 19e5b0219b 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 c9ef19fbff Update CHANGELOG.md 2022-01-25 09:28:04 +08:00
Sunli 8dca3f6078
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 a4654a79e6 Fixed formatting (missing comma) 2022-01-24 14:32:30 +01:00
SadiinsoSnowfall 6372f76e87 Fixed formatting (hopefully for the last time) 2022-01-24 14:27:38 +01:00
SadiinsoSnowfall a0fed1aaf5 Fixed formatting (2) 2022-01-24 14:24:33 +01:00
SadiinsoSnowfall 12840d95e6 Fixed formatting 2022-01-24 14:23:06 +01:00
SadiinsoSnowfall 188caa2267 Fixed variable type not checked when given a default value 2022-01-24 14:11:46 +01:00
Sunli 7d58bd814d Fix the problem that some integrations overwritten HTTP headers. #793 2022-01-24 14:14:07 +08:00
Sunli 40d1de29b9 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 7d68c49abb Remove `'static` bound for `impl From<T> for Error`. 2022-01-24 10:56:47 +08:00
Sunli c2fbb0160d Update connection_type.rs 2022-01-21 10:54:16 +08:00
Sunli 53dd6abd83 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 9b43b136e8 Implement `InputType` for `Box<str>` and `Arc<str>`. #792 2022-01-21 10:25:50 +08:00
Sunli cf5a7896a9
Merge pull request #789 from BratSinot/hashbrown
Bump hashbrown to 0.12.
2022-01-20 09:25:54 +08:00
Sunli 72b9b467bf
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 a68a9be6cf 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 d841218fcf Update changelog. 2022-01-19 14:43:01 +02:00
BratSinot 30a51c14fe Bump hashbrown to 0.12. 2022-01-19 14:40:30 +02:00
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