Skip to content

Releases: FaridSafi/react-native-google-places-autocomplete

Release 2.1.0-RC.0

09 Nov 00:40
Compare
Choose a tag to compare
Release 2.1.0-RC.0 Pre-release
Pre-release

v2.0.0

08 Oct 23:28
Compare
Choose a tag to compare

Changes:

  • Updated all of the typescript definitions, prop-types and props list in the readme with all of the available props.

  • Updated the default styles (see the updated screenshots at the top of the readme).

  • The library now uses hooks internally

Breaking Changes:

  1. Removed the following props

    • getDefaultValue - use the setAddressText method with a ref instead.
    • editable - can still be used inside of textInputProps
    • keyboardAppearance - can still be used inside of textInputProps
    • onSubmitEditing - can still be used inside of textInputProps
    • placeholderTextColor - can still be used inside of textInputProps
    • returnKeyType - can still be used inside of textInputProps
    • underlineColorAndroid - can still be used inside of textInputProps
  2. Removed the following methods

    • triggerFocus - use the focus method with a ref instead.
    • triggerBlur - use the blur method with a ref instead.
    • clearText - use the clear method with a ref instead.
  3. Minimum react-native version is now 0.59.0+ (we now use hooks internally).

Special thanks to @strdr4605 for his help with the typescript definitions.

v1.9.0

05 Oct 15:46
Compare
Choose a tag to compare

typescript: add definition for renderRow (#624). Thanks @bill-pairaktaridis!
add location compatibility with react-native-service-location (#623). Thanks @ErickMaeda!

v1.8.3

22 Sep 15:49
Compare
Choose a tag to compare

Typescript: add type for strictbounds (#621). Thanks @victorwpbastos!

v1.8.2

11 Sep 16:15
Compare
Choose a tag to compare

Typescript: make textInputProps optional (#616). Thanks @egorshulga!

v1.8.1

02 Sep 03:04
Compare
Choose a tag to compare

v1.8.0

09 Jul 22:04
Compare
Choose a tag to compare
  • Add ability to show something when there are no results from the autocomplete query.
  • fix pre-defined places not updating.
  • make the onBlur behavior in textInputProps consistent with onFocus (#506). Thanks @sethcwhiting!
  • update some type definition and the readme.

v1.7.3

07 Jul 16:56
Compare
Choose a tag to compare

v1.7.2

19 Jun 02:37
Compare
Choose a tag to compare

v1.7.1

20 May 23:25
Compare
Choose a tag to compare
  • Ensure list view doesn't show unexpectedly (#398). Thanks @grifotv!