Releases: FaridSafi/react-native-google-places-autocomplete
Releases · FaridSafi/react-native-google-places-autocomplete
Release 2.1.0-RC.0
- add workaround for RNW onBlur issue (#649) (ce02189)
- add textInput refs directly on useImperativeHandle (#650) (dbdb653)
- add release-it (3c2c357)
- add custom input example (#651) (ca74af2)
- Fix onChangeText (#647) (6832c88)
- fixed debounceData function definition (915fce6)
- Update README.md to document the requestUrl prop (#631) (7f1c05a)
v2.0.0
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:
-
Removed the following props
getDefaultValue
- use thesetAddressText
method with a ref instead.editable
- can still be used inside oftextInputProps
keyboardAppearance
- can still be used inside oftextInputProps
onSubmitEditing
- can still be used inside oftextInputProps
placeholderTextColor
- can still be used inside oftextInputProps
returnKeyType
- can still be used inside oftextInputProps
underlineColorAndroid
- can still be used inside oftextInputProps
-
Removed the following methods
triggerFocus
- use thefocus
method with a ref instead.triggerBlur
- use theblur
method with a ref instead.clearText
- use theclear
method with a ref instead.
-
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
typescript: add definition for renderRow
(#624). Thanks @bill-pairaktaridis!
add location compatibility with react-native-service-location
(#623). Thanks @ErickMaeda!
v1.8.3
Typescript: add type for strictbounds (#621). Thanks @victorwpbastos!
v1.8.2
Typescript: make textInputProps optional (#616). Thanks @egorshulga!
v1.8.1
- add type for
listUnderlayColor
(#613). Thanks @gfpacheco!
v1.8.0
- 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
- Add types and docs for instance methods (#582). Thanks @strdr4605!
v1.7.2
- Add types for
enablePoweredByContainer
andonFail
(#568 & #578). Thanks @javiercr and @ynigoreyes!