v8.4.1
Hi all,
Please find the new JARs on the maven site here.
The new release contains metadata changes and some code changes. Upgrading to the latest release is always encouraged since phone number information changes often!
Main code changes in this release:
- isPossibleWithReason now returns the new enums INVALID_LENGTH and
IS_POSSIBLE_LOCAL_ONLY, where these apply. We hope any users of this method have already updated their code appropriately, as per this announcement.
A reminder of example changes you might want to make, if they have not been made already:
- If you are calling isPossible, but you only want to accept possible fully-qualified numbers, you may want to switch to isPossibleWithReason and check for IS_POSSIBLE only.
- If you have a switch statement that generates messages based on the result from isPossibleWithReason you should check that these messages are appropriate for the new values as well. More details about these enums in the code, e.g. the
PhoneNumberUtil
javadoc
Full details in the release notes.
Thanks to all those who contributed by providing issue reports!
Want to be notified of future releases? Join the discussion group!