Skip to content

Releases: codebytere/node-mac-contacts

v1.7.1

28 Aug 13:37
3015935
Compare
Choose a tag to compare

What's Changed

  • fix: crash when accessing contact cache in e240ec2

Full Changelog: v1.7.0...v1.7.1

v1.7.0

28 Aug 13:04
6bf890f
Compare
Choose a tag to compare

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

20 Jun 17:36
1c6adca
Compare
Choose a tag to compare

What's Changed

  • chore(deps): update misc deps in 9c2b5ba
  • chore: add extra error handling in getAllContacts in ea3a34d
  • build: run workflows with Node.js@18 in c8ca168
  • perf: cache contacts until changed in 0412ea6

Full Changelog: v1.5.0...v1.6.0

v1.5.0

21 May 08:15
58cdd4f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.4.0...v1.5.0

v1.4.0

22 Jan 19:15
e7130bc
Compare
Choose a tag to compare
  • Added contacts.requestAccess() to explicitly request access to the CNContactStore via a dialog presented to the user.

v1.3.0

04 May 18:37
c177962
Compare
Choose a tag to compare
  • Fixes an issue with duplicate contacts across containers
  • Allows deleting contacts by identifier
  • Now returns the contact identifier with each contact.

v1.2.0

19 Apr 17:33
ac69405
Compare
Choose a tag to compare

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

16 Apr 20:25
ad7a79b
Compare
Choose a tag to compare

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

10 Apr 01:24
e13c8ca
Compare
Choose a tag to compare
  • 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

15 Aug 01:36
9401e3e
Compare
Choose a tag to compare

Adds two new capabilities:

  • contacts.addNewContact(contact)
  • contacts.deleteContact(name)