Releases: jaredhowland/contacts
v6.0.0
Added
- Options class to pass options to
Vcard
class constructor - New
Properties
class from refactoredVcard
class - Build badge to
README
Changed
- Now requires PHP 8.0 or newer
- Format code according to
PRS-12
coding standards - Options are now passed to the
Vcard
class constructor as an object instead of as an array addNickname
now only accepts strings and not arrays- Moved some methods from
Helpers\Vcard
to newProperties
class
Deprecated
- Options passing to
Vcard
class constructor as an array debug
method inVcard
addNicknames
is nowaddNickname
Removed
- Travis CI integration due to pricing changes
addNicknames
is removed and replaced withaddNickname
Fixed
- Tests to work with PHP 8.0
- Example code to work with new version
- Interface so
addBirthday
method parameters match current behavior
v6.0.0-alpha.2
Added
- New
Properties
class from refactoredVcard
class - Build badge to
README
Changed
addNickname
now only accepts strings and not arrays- Moved some methods from
Helpers\Vcard
to newProperties
class
Deprecated
debug
method inVcard
addNicknames
is nowaddNickname
Removed
addNicknames
method is nowaddNickname
Fixed
- None
v6.0.0-alpha.1
Added
- Options class to pass options to
Vcard
class constructor
Changed
- Now requires PHP 8.0 or newer
- Format code according to
PRS-12
coding standards - Options are now passed to the
Vcard
class constructor as an object instead of as an array
Deprecated
- Options passing to
Vcard
class constructor as an array
Removed
- Travis CI integration due to pricing changes
Fixed
- Tests to work with PHP 8.0
- Example files to work with new version
- Interface so
addBirthday
method parameters match current behavior
5.0.1
[ADD] New Helpers
directory to hold the general, and all specific, helper classes (specific helper classes call the generic one)
[CHANGE] addLabel
method so types
parameter is now required just like it is in addAddress
[CHANGE] Moved some methods out of Vcard
class into a Helpers\Vcard
class
[CHANGE] Fixed .travis.yml
configuration to use phpunit
version >=9.0
and PHP version >=7.3
(library still works with version 7.2
but phpunit
requires 7.3
)
[REMOVE] Old and inaccurate documentation
[FIX] Bad Examples\example.php
file so works with new behavior of Contacts
library
5.0.0
[ADD] Update README.rst
for new version
[FIX] Method behavior for addAddress
and addLabel
so that required parameters come before optional ones (breaking backwards compatibility requiring a bump in version number)
[FIX] Tests updated to reflect new method behavior
[FIX] ContactsInterface
updated to reflect new method behavior
[FIX] Errors in CHANGELOG.rst
4.1.0
Added
- Nothing
Changed
- Reduced code complexity
- Date files were edited
Deprecated
- Nothing
Removed
- Nothing
Fixed
addBirthday
method so optionalyear
parameter comes after required methods parametersmonth
andday
testAddBirthdayWithYear
so test passes againtestAddBirthdayWithoutYear
so test passes again
Security
- Nothing
4.0.0
Added
Read the Docs <https://readthedocs.org>
documentation
Changed
- Daisy-chaining methods allowed
- Tests refactored
Vcard.php
helpers moved to another class (Helpers.php
)PSR-12
formatted code
Deprecated
- Nothing
Removed
Contacts
subdirectory fromsrc
Fixed
- Nothing
Security
PHP 7.2
and above now required
3.0.3
- Added a CHANGELOG.md to better document the progress of the project
- Updated the README.md based on information contained in CHANGELOG.md
2.0.2
See (CHANGELOG.md) for relevant changes
1.2.1
See (CHANGELOG.md) for relevant changes