Skip to content

2.3.0

Compare
Choose a tag to compare
@xificurk xificurk released this 05 Jun 09:45
· 182 commits to master since this release

New

  • Introduce two distinct implementations of RfcEmailAddress and CaseInsensitiveEmailAddress to be used instead of generic EmailAddress.
  • Add EmailAddress::equals() for comparing two email address value objects.

Deprecations

  • EmailAddress::getOriginalValue() is deprecated, use toString() instead.
  • EmailAddress::getLowercaseValue() is deprecated, for case insensitive representation of email address use directly CaseInsensitiveEmailAddress 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.