# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

[See GitHub Releases](https://github.com/mll-lab/graphql-php-scalars/releases).




- Consider variables in Mixed scalar https://github.com/mll-lab/graphql-php-scalars/pull/35



- Support `thecodingmachine/safe` 3



- Add a new abstract scalar `IntRange`



- Add a new scalar `BigInt`



- Support `egulias/email-validator:^4`



- Require `webonyx/graphql-php:^15`


- Drop support for PHP 7.4



- Clean up error messages



- Support `spatie/regex` versions 2 and 3



- Support `thecodingmachine/safe` version `^2`



- Add scalars `Date`, `DateTime` and `DateTimeTz`



- Add scalar `Null`



- Allow `egulias/email-validator:^2`



- Return coerced string value in `Regex::parseValue()`


- Require `egulias/email-validator:^3`


- Drop support for PHP 7.2 and 7.3



- Move `ext-json` to `require` section in `composer.json`



- Improve error message when values can not be coerced into strings



- Support PHP 8


- Rename `Mixed` class to `MixedScalar` because `mixed` is a reserved name in PHP 8.
  The GraphQL name of the scalar is still `Mixed` so the schema does not change.



- Support `webonyx/graphql-php@^14.0.0`



- Move util functions to class for better autoloading



- Export only minimally needed files in distribution package



- Bump dependencies of various packages


- Remove support for PHP 7.1
