diff --git a/CHANGELOG.md b/CHANGELOG.md index 26de99e3ea..cf4799dd29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,11 @@ a release. --- ## [Unreleased] +### Added - Blameable: Added UUID in allowed types list for Blameable fields in Annotation +- Blameable: Allow ascii_string to validTypes (issue #2726) +- Sluggable: Allow ascii_string to validTypes +- IpTraceable: Allow ascii_string to validTypes ## [3.15.0] ### Added diff --git a/src/Blameable/Mapping/Driver/Annotation.php b/src/Blameable/Mapping/Driver/Annotation.php index 57fcce9e52..b01a086d28 100644 --- a/src/Blameable/Mapping/Driver/Annotation.php +++ b/src/Blameable/Mapping/Driver/Annotation.php @@ -41,6 +41,7 @@ class Annotation extends AbstractAnnotationDriver 'int', 'ulid', 'uuid', + 'ascii_string', ]; public function readExtendedMetadata($meta, array &$config) diff --git a/src/IpTraceable/Mapping/Driver/Annotation.php b/src/IpTraceable/Mapping/Driver/Annotation.php index 3c7cfb0010..8eb3efb795 100644 --- a/src/IpTraceable/Mapping/Driver/Annotation.php +++ b/src/IpTraceable/Mapping/Driver/Annotation.php @@ -37,6 +37,7 @@ class Annotation extends AbstractAnnotationDriver */ protected $validTypes = [ 'string', + 'ascii_string', ]; public function readExtendedMetadata($meta, array &$config) diff --git a/src/Sluggable/Mapping/Driver/Annotation.php b/src/Sluggable/Mapping/Driver/Annotation.php index 76fe2e37a0..254024d855 100644 --- a/src/Sluggable/Mapping/Driver/Annotation.php +++ b/src/Sluggable/Mapping/Driver/Annotation.php @@ -61,6 +61,7 @@ class Annotation extends AbstractAnnotationDriver 'datetimetz', 'datetimetz_immutable', 'citext', + 'ascii_string', ]; public function readExtendedMetadata($meta, array &$config)