Releases: graphpql/graphpinator
Releases · graphpql/graphpinator
2.1
Enhanced validation of schema integrity:
- field, argument and directive names must not start with two underscores (__)
- directive must not reference itself, either directly or indirectly
- argument default value must not contain cycles
- deprecated directive is not allowed to be used on mandatory input field/argument
2.0.1
2.0
Version 2.0 🎉
- Changed interface of ScalarType, validateNonNulFunction is replaced by validateAndCoerceInput / coerceOutput to allow more flexibility with scalar values.
‼️ Major BC, 🏆 feature - Removed option to set description for type by using class constant. Only attribute can be used from now.
⚠️ BC - Significantly reduced code in core classes, some code has been moved to Visitors to reduce objects size.
⚠️ BC - Changed namespace of multiple internal classes.
⚠️ BC - Bumped minimum PHP version to 8.2 - readonly classes are used for internal dtos.
- Added additional validation of resolver function return types. 🏆 feature
2.0 RC5 - final RC
- Release notes of RC1: https://github.com/graphpql/graphpinator/releases/tag/v2.0-rc1
- Additional refactoring of Value classes.
- There could be much more to improve, but lets go with what we have now, there have been enough breaking changes already.
2.0 RC4
- Release notes of RC1: https://github.com/graphpql/graphpinator/releases/tag/v2.0-rc1
- Additional validation for field resolve function types.
2.0 RC3
- Release notes of RC1: https://github.com/graphpql/graphpinator/releases/tag/v2.0-rc1
- Unified code inside list value classes
2.0 RC2
- Release notes of RC1: https://github.com/graphpql/graphpinator/releases/tag/v2.0-rc1
- Moved all schema validation logic into ValidateIntegrityVisitor
2.0 RC1
Version 2.0 RC1 🎉
Whats new
- Changed interface of ScalarType,
validateNonNulFunctionis replaced byvalidateAndCoerceInput/coerceOutputto allow more flexibility with scalar values.‼️ Major BC - Removed option to set description for type by using class constant. Only attribute can be used from now.
⚠️ Minor BC - Significantly reduced code in core classes, some code has been moved to Visitors to reduce objects size.
⚠️ Potential BC - Bumped minimum PHP version to 8.2.
- Changed location/interface of multiple internal classes.
⚠️ Potential BC