Releases: nepada/email-address
Releases · nepada/email-address
3.2.1
3.2.0
3.1.2
3.1.1
3.1.0
3.0.0
- Drop deprecated methods
EmailAddress::getLowercaseValue()
andEmailAddress::getOriginalValue()
(BC-break). - Drop deprecated named constructors from
EmailAddress
and convert it to interface (BC-break). - Mark most of the
AbstractEmailAddress
methods as final (possible BC-break). - Explicitly require
ext-mbstring
in composer.json. - Compatible with PHP 8.0.
2.3.0
New
- Introduce two distinct implementations of
RfcEmailAddress
andCaseInsensitiveEmailAddress
to be used instead of genericEmailAddress
. - Add
EmailAddress::equals()
for comparing two email address value objects.
Deprecations
EmailAddress::getOriginalValue()
is deprecated, usetoString()
instead.EmailAddress::getLowercaseValue()
is deprecated, for case insensitive representation of email address use directlyCaseInsensitiveEmailAddress
implementation.- Named constructors on
EmailAddress
are deprecated, you should use named constructors of a specific implementation. - For backward compatibility reasons
EmailAddress
exists as an abstract class. It should not be inherited from by userland. It will be converted to interface in the next major release.