Skip to content

Latest commit

 

History

History
380 lines (292 loc) · 18 KB

CHANGELOG.md

File metadata and controls

380 lines (292 loc) · 18 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Next Release]

2.7.1 - 2023-04-30

  • Update Turkey translation PR
  • Resolve variable name that conflict with Material library PR

2.6.1 - 2022-7-24

2.6.1 - 2022-7-24

  • Changed name code returned by English locale instead of local locale Issue
  • Correct hindi language translations #550 by @kishansinghpanwar
  • Adds Serbian language support #548 by @bozidars27
  • Update libphonenumber-android to the latest (8.12.52)

2.6.0 - 2022-1-21

Added

Fixed

  • Turkey translation PR
  • Auto pop keyboard issue PR

2.5.4 - 2021-7-26

  • New (and working) way for opening keyboard
  • Update deps versions

2.5.3 - 2021-6-6

  • crash fix #475
  • Deps update

2.5.2 - 2021-4-16

  • actual null check for issue #475

2.5.1 - 2021-4-10

  • null check for issue #475
  • respect custom master list when setting auto detected country #454
  • update gradle plug-in
  • Thai language support #474

2.5.0 - 2021-2-24

  • Published to MavenCentral
  • Removed dependencies from jCenter
  • Bye Bye jCenter. You were awesome :)

2.4.7 - 2021-2-22

  • Compressed images

2.4.6 - 2021-2-1

  • Update phonelib version

2.4.5 - 2021-1-11

  • Add better talkBack response for widget
  • Add functionality to provide custom talkBackTextProvider

2.4.4 - 2020-12-24

  • Add static helper method to Language enum to create Language for country name code
  • Fix block comments
  • Update gradle versions, SDK versions
  • Dialog rounded corner support (PR #453 by Sergio C)
  • Put ripple effect for picker view and selection row

2.4.2 - 2020-11-26

2.4.1 - 2020-07-18

  • Updated libphonenumber-android to latest
  • No ripple effect (as a potential fix for #403)
  • Enable vectorDrawables.useSupportLibrary (as a potential fix for #403)

2.4.0 - 2020-05-25

Added

Fixed

2.3.9 - 2020-05-08

Fixed

  • US Flag Image to show correctly with border (Pull Request)

2.3.8 - 2020-02-06

Added

2.3.7 - 2020-01-23

Fixed

2.3.6 - 2020-01-20

Added

Fixed

  • Typo

2.3.5 - 2019-12-30

Added

  • Adds ccpDialog_background property to set custom background resource for CCP Dialog.

2.3.4 - 2019-11-13

Fixes

2.3.3 - 2019-09-10

Added

2.3.2 - 2019-09-10

Added

Changed

Version 2.3.1 (August 5, 2019)

Version 2.2.9 (April 24, 2019)

  • Solves issue regarding valid numbers with leading 0

Version 2.2.8 (April 23, 2019)

Version 2.2.7 (April 4, 2019)

Version 2.2.6 (March 23, 2019)

  • Option to deregister exitText.

Version 2.2.5 (March 18, 2019)

Version 2.2.4 (January 20, 2019)

Version 2.2.3 (October 12, 2018)

Version 2.2.2 (June 24, 2018)

Version 2.2.0 (April 20, 2018)

  • Improved international phone formatting.
  • Removes intermediate solution for national phone hint (ccp_hintExampleNumberFormat is no longer supported).
  • Add/Correct some country flags.
  • Uses latest libphonenumber (Optimized for android) library.
  • FailureListener interface to listen to onCountryAutoDetectionFailed Issue#186.

Version 2.1.9 (March 21, 2018)

version 2.1.4 (Jan 29, 2018)

  • Handles national trunk prefixes correctly. Issue#149
  • Feature to add selected country's example number as hint of carrier number edit text. Wiki Page
  • Corrected dimension of French Guiana flag (Pull request by Gautier MECHLING)
  • Feature to exclude specific countries from the list. Wiki Page

version 2.1.2 (Jan 6, 2018)

  • Adds Punjabi language support Pull Request By Dhruv Bhakta
  • Corrected Arabic translation by Ahmed Wahdan
  • Country name textView, Flag imageView, Arrow imageView are now publicly accessible through getter-setters.

version 2.1.1 (Dec 13, 2017)

  • Opens Country class (Renamed to "CCPCountry" to avoid naming confusion) (issue#136)
  • Fixes preview in Android Studio 3
  • Auto detects country while typing area code (among multiple countries with code "+1") (issue#140)
  • Cursor color follows ccpDialog_searchEditTextTint color (issue#131)
  • Possible fix for crash (issue#67)

version 2.1.0 (Nov 17, 2017)

  • Introduces countryAutoDetectionPref option (Default: SIM then NETWORK then LOCALE)
  • Now default value for ccp_autoDetectCountry is false instead of true.
  • Option to remember last selection.
  • Uses android's port instead of libphonenumber. (Suggestion)

version 2.0.9 (Nov 10, 2017)

  • Adds dutch language support
  • Updates build tool version

version 2.0.8 (Nov 1, 2017)

  • Corrects Myanmar flag
  • Applies TypeFace to dialog text as well. Read wiki.

version 2.0.7 (Oct 28, 2017)

  • Dialog events callback listeners
  • Option to change visibility of down arrow
  • Adds UAE as part of name
  • Country name corrections for German language
  • Corrects phone code for holy see
  • Fixes crash for turkish language (for some devices)
  • Option to get country's english name irrespective of selected language
  • Corrects Turkey flag

version 2.0.5

  • Adds country "Iceland"
  • Updates country auto detection method and order (1. Locale, 2. Network, 3. SIM).

version 2.0.4

  • Ukrainian language support
  • Italian language support
  • Updated libphonenumber library version to 8.8.2

version 2.0.3

  • Turkish language support
  • Issue for initial popped status of keyboard for some specific devices irrespective of ccpDialog_keyboardAutoPopup value.

version 2.0.2

  • Few countries' name corrected for spanish language
  • RTL layout bug fix for dialog

version 2.0.1

  • Minor bug fix for showing name code
  • Allowed customization of ccpDialog theme by changing colors of background, text and editText.

version 2.0.0

If you are using version lower than 2.0.0 then please read update guide before upgrading to v2.0.0.

  • Clear search query "X" button
  • All attributes has prefix of ccp and ccpDialog (to avoid name space clashes) i.e "textSize" is now "ccp_textSize".
  • Few attribute name changes to follow convention
    • defaultCode => ccp_default_PhoneCode
    • hideNameCode => ccp_showNameCode
    • keyboardAutoPopOnSearch => ccpDialog_keyboardAutoPopup
    • selectionDialogShowSearch => ccpDialog_allowSearch
    • ccpClickable => ccp_clickable
    • ccpSearchBox_showPhoneCode => ccpDialog_showPhoneCode
  • Supports "match_parent" width attribute with text gravity option
  • As you type formatting of carrier number in registerCarrierNumberEditText (Enabled by default)
  • Feature of auto-detect language (disabled by default)
  • Feature of auto-detect country (enabled by default)
  • Validity checker for full number
  • PhoneNumber validity change listener
  • Differentiate countries with "+1" based on area code. Now full number that starts with +1 will set correct country.

version 1.8

  • Fast Scroller with index.

version 1.7.9

  • Lightweight: Long lists of countries are moved to xml from java. Now it consumes only minimum runtime memory.
  • Adds missing flags of Sint Maarten and Cayman Islands
  • There were some countries which were visible only when english is selected. This is fixed now and all countries will be appearing for all languages.
  • Now it is easier to add new languages.
  • Countries are now listed in ascending order specific to selected language rather than just English name.

version 1.7.8

  • Option to add border to ccp flag. This gives more clarity to flag if flag and background has same or almost similar color.
  • Adds Palestine to country list.
  • Change JAVANESE to INDONESIA

version 1.7.7

  • Option to hide phone code. Allows developers to use CCP as Country Selector and not code selector.

version 1.7.6

  • Typo fix for "Search...", "Select a country", "Results not found".
  • Now "Results not found" text is shifted to top to avoid it from being hidden under bigger keyboards.

version 1.7.5

  • Fixes a problem which was toasting message for disabled search feature

version 1.7.4

  • Adds French Guyana, Martinique and Réunion to country list

version 1.7.3

  • Adds support for HEBREW
  • Two variants of CHINESE are added CHINESE TRADITIONAL and CHINESE SIMPLIFIED
  • Correct layout for RTL layouts
  • Support to enable/disable click
  • Option to hide search bar from selection dialog

version 1.7.1

  • Adds Flag thumbnail
  • Adds option for full country name

version 1.6.1

  • Bug fix for getDefaultCountryCodeAsInt() and getDefaultCountryCodeAsInt()

version 1.6

  • Added country change listener

version 1.5.1

  • Changed ccp view size when code name is hidden

version 1.5

  • Custom master list
  • Custom font
  • Language support
  • Optional KeyboardAutoPopup

version 1.4

  • Country preference
  • Hide country name code option
  • Default country using Country name code

version 1.2

  • Support for textSize and arrowSize modification

version 0.1.1

  • First upload with basic functionalities

New Version Template

[x.y.z] - 20YY-MM-DD

Added

Changed

Deprecated

Removed

Fixed

Security