Releases: codebytere/node-mac-contacts
Releases · codebytere/node-mac-contacts
v1.7.1
v1.7.0
What's Changed
- build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #41
- build(deps): bump yaml and lint-staged by @dependabot in #43
- fix: reduce spurious contact-changed notifications in f18f6eb
- feat: expose external parameter to contact event in 0eaaae7
Full Changelog: v1.6.0...v1.7.0
v1.6.0
v1.5.0
What's Changed
- chore(deps): specify operating system by @KishanBagaria in #21
- refactor: args validation by @KishanBagaria in #26
- feat: support more fields in updateContact/addNewContact by @KishanBagaria in #27
- fix: phone number and email labels by @KishanBagaria in #29
Full Changelog: v1.4.0...v1.5.0
v1.4.0
- Added
contacts.requestAccess()
to explicitly request access to the CNContactStore via a dialog presented to the user.
v1.3.0
- Fixes an issue with duplicate contacts across containers
- Allows deleting contacts by
identifier
- Now returns the contact
identifier
with each contact.
v1.2.0
This release exposes an EventEmitter
via contacts.listener
, which can be used to listen to potential changes to the CNContactStore
. When a contact is changed either with methods contained in this module, or manually by a user, the contact-changed
event will be emitted.
v1.1.0
Adds the ability to request extra properties from contacts fetched via getContactsByName()
or getAllContacts()
.
The following new properties are now optionally fetchable:
jobTitle
String (optional) - The contact's job title.departmentName
String (optional) - The name of the department associated with the contact.organizationName
String (optional) - The name of the organization associated with the contact.middleName
String (optional) - The contact's middle name.note
String (optional) - The note associated with the contact.contactImage
Buffer (optional) - a Buffer representation of the contact's profile picture.contactThumbnailImage
Buffer (optional) - a Buffer representation of The thumbnail version of the contact’s profile picture.socialProfiles
Object[] (optional) - An array of labeled social profiles for a contact.instantMessageAddresses
Object[] (optional) - An array of labeled IM addresses for the contact.
v1.0.0
- Fixed an issue where contacts would only be returned from the default contact container.
- Added contact images as buffers to individual contact objects.
v0.2.0
Adds two new capabilities:
contacts.addNewContact(contact)
contacts.deleteContact(name)