Repository navigation
v2.5.0
Changed
-
A contact is fitted to Proton's rules before it is sent. Proton's
own app does not save a name over 190 characters, a first or last name
over 94, or an email address with spaces around it. pcontacts now
shortens such a name and removes the spaces before sending, instead of
having the change refused, and lists each adjustment on the Sync card
("values adjusted for Proton") until you dismiss it. Proton keeps the
adjusted value and the phone gets it with the next sync. An email
address that is still invalid is sent as it is and, if Proton refuses
it, listed as a failed change as before. -
Email types sync both ways. An email marked home or work keeps its
type on the phone and on Proton; before, every email on the phone was
"other" and a type set on either side was lost. The Contacts app now
offers home, work and other for a Proton contact's email. After the
update every contact is rewritten once from Proton; a home or work type
you had set on the phone is sent to Proton first, and a different type
on each side is shown as a conflict for you to settle. -
The build checks dependencies against osv.dev only. CI's
vulnerability check asks osv.dev about every artifact the app ships and
fails on any open HIGH or CRITICAL advisory, as the OWASP
Dependency-Check scan did at CVSS 7.0, which it replaces. It needs no
key, so Dependabot's pull requests are checked like any other. Kotlin
is updated to 2.4.21.
Fixed
- A failed change names its cause correctly
(#71). Codes
2001 and 2011 meant a contact Proton cannot take in the form pcontacts
wrote it, not an invalid detail or a change the account does not allow:
the app now says so and asks to report it, since correcting the contact
cannot help. A detail Proton finds too long (code 2024) now says to
shorten it. Each meaning was checked against Proton on a test account;
docs/ERROR_CODES.md lists them.
Full Changelog: v2.4.2...v2.5.0