Releases: jaredhowland/contacts
v6.0.0
Added
- Options class to pass options to
Vcardclass constructor - New
Propertiesclass from refactoredVcardclass - Build badge to
README
Changed
- Now requires PHP 8.0 or newer
- Format code according to
PRS-12coding standards - Options are now passed to the
Vcardclass constructor as an object instead of as an array addNicknamenow only accepts strings and not arrays- Moved some methods from
Helpers\Vcardto newPropertiesclass
Deprecated
- Options passing to
Vcardclass constructor as an array debugmethod inVcardaddNicknamesis nowaddNickname
Removed
- Travis CI integration due to pricing changes
addNicknamesis removed and replaced withaddNickname
Fixed
- Tests to work with PHP 8.0
- Example code to work with new version
- Interface so
addBirthdaymethod parameters match current behavior
v6.0.0-alpha.2
Added
- New
Propertiesclass from refactoredVcardclass - Build badge to
README
Changed
addNicknamenow only accepts strings and not arrays- Moved some methods from
Helpers\Vcardto newPropertiesclass
Deprecated
debugmethod inVcardaddNicknamesis nowaddNickname
Removed
addNicknamesmethod is nowaddNickname
Fixed
- None
v6.0.0-alpha.1
Added
- Options class to pass options to
Vcardclass constructor
Changed
- Now requires PHP 8.0 or newer
- Format code according to
PRS-12coding standards - Options are now passed to the
Vcardclass constructor as an object instead of as an array
Deprecated
- Options passing to
Vcardclass 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
addBirthdaymethod 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
addBirthdaymethod so optionalyearparameter comes after required methods parametersmonthanddaytestAddBirthdayWithYearso test passes againtestAddBirthdayWithoutYearso test passes again
Security
- Nothing
4.0.0
Added
Read the Docs <https://readthedocs.org>documentation
Changed
- Daisy-chaining methods allowed
- Tests refactored
Vcard.phphelpers moved to another class (Helpers.php)PSR-12formatted code
Deprecated
- Nothing
Removed
Contactssubdirectory fromsrc
Fixed
- Nothing
Security
PHP 7.2and 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