Skip to content

v0.2.4 - New PhoneLookup API, SIM card functions, and lots of improvements and bug fixes!

Compare
Choose a tag to compare
@vestrel00 vestrel00 released this 09 Sep 17:01
· 82 commits to main since this release

This release contains a brand new API for matching contacts, a bunch of SIM card improvements and bug fixes, and the long awaited fix for permissions extension crashes πŸ”₯ πŸ₯‚ πŸ₯³ ⭐ ❀️

There is a potential one-line breaking change, which you probably don't have to worry about 🀞

πŸ’‘ New features

  1. New API for specialized matching of phone numbers; PhoneLookupQuery #259, documentation
  2. Detect SIM card availability #212, documentation
  3. Detect SIM card name and number max character limits #201, documentation
  4. Extensions for getting successfully inserted SimContacts #260, documentation

πŸ› οΈ Improvements

  1. Optimize Query and BroadQuery when not including data fields #249
  2. Add Account to BlankRawContactEntity #254
  3. Apply offset and limit manually in all query APIs for devices that do not support them #253

🐞 Bug fixes

  1. Permissions module extension xxxWithPermission() may crash app #143
  2. Query APIs do not return local contacts in Samsung devices when passing null to accounts functions #257
  3. Unable to delete multiple duplicate SIM contacts in one delete operation #261
  4. Deleting SIM contacts with name but no number or with number but no name always fails #263

πŸ’£ Breaking changes

  1. Remove includeBlanks function from Query, BroadQuery, and ProfileQuery APIs #251

♻️ Internal refactors

  1. Replace permissions library Dexter with TedPermissions #101

πŸ§— Migrating from 0.2.0, 0.2.1, 0.2.2, or 0.2.3 -> 0.2.4

If you use the includeBlanks function of Query, BroadQuery, or ProfileQuery APIs, all you would need to do is delete that line of code and you are done!

If you used to set includeBlanks to true, then nothing will change for you because it is now hard coded to true. If you used to set it to false, also nothing will change for you because it was never working correctly anyways.

πŸ—’οΈ Full Changelog

0.2.3...0.2.4

πŸ—£οΈ Discuss this release

Head on over to the v0.2.4 Release Checklist and leave a comment or some reactions πŸ™