Skip to content

Releases: jaredhowland/contacts

v6.0.0

11 Sep 20:32
ecefc14
Compare
Choose a tag to compare

Added

  • Options class to pass options to Vcard class constructor
  • New Properties class from refactored Vcard 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 new Properties class

Deprecated

  • Options passing to Vcard class constructor as an array
  • debug method in Vcard
  • addNicknames is now addNickname

Removed

  • Travis CI integration due to pricing changes
  • addNicknames is removed and replaced with addNickname

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

10 Sep 16:22
2d0ef39
Compare
Choose a tag to compare
v6.0.0-alpha.2 Pre-release
Pre-release

Added

  • New Properties class from refactored Vcard class
  • Build badge to README

Changed

  • addNickname now only accepts strings and not arrays
  • Moved some methods from Helpers\Vcard to new Properties class

Deprecated

  • debug method in Vcard
  • addNicknames is now addNickname

Removed

  • addNicknames method is now addNickname

Fixed

  • None

v6.0.0-alpha.1

05 Sep 20:03
a042a3b
Compare
Choose a tag to compare
v6.0.0-alpha.1 Pre-release
Pre-release

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

28 Feb 19:56
Compare
Choose a tag to compare

[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

28 Jan 20:38
Compare
Choose a tag to compare

[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

25 Jan 00:04
Compare
Choose a tag to compare

Added

  • Nothing

Changed

  • Reduced code complexity
  • Date files were edited

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • addBirthday method so optional year parameter comes after required methods parameters month and day
  • testAddBirthdayWithYear so test passes again
  • testAddBirthdayWithoutYear so test passes again

Security

  • Nothing

4.0.0

24 Jan 19:57
14038fc
Compare
Choose a tag to compare

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 from src

Fixed

  • Nothing

Security

  • PHP 7.2 and above now required

3.0.3

15 Dec 16:46
Compare
Choose a tag to compare
  • 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

07 Dec 03:20
18b0f2c
Compare
Choose a tag to compare

See (CHANGELOG.md) for relevant changes

1.2.1

04 Dec 23:46
Compare
Choose a tag to compare

See (CHANGELOG.md) for relevant changes