Skip to content

Commit d08bfea

Browse files
LawnStarterTeamremarkablemark
authored andcommitted
build(release): release 9.1.1
1 parent 9851739 commit d08bfea

4 files changed

+68
-60
lines changed

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "9.1.0"
2+
".": "9.1.1"
33
}

CHANGELOG.md

+65-57
Original file line numberDiff line numberDiff line change
@@ -1,296 +1,304 @@
1+
# Changelog
2+
3+
## [9.1.1](https://github.com/lawnstarter/react-native-picker-select/compare/v9.1.0...v9.1.1) (2024-03-29)
4+
5+
### Build System
6+
7+
- **package:** release 9.1.1 ([f7c7646](https://github.com/lawnstarter/react-native-picker-select/commit/f7c764608f58598422b92fee19d3a96e5124c508))
8+
19
## 9.1.0
210

311
##### Bugfix
412

5-
- Improve comparison in getSelectedItem (#543)
13+
- Improve comparison in getSelectedItem (#543)
614

715
## 9.0.1
816

917
##### Bugfix
1018

11-
- Correct types for PickerStyle interface (#528)
12-
- Fix Icon prop type (#529)
19+
- Correct types for PickerStyle interface (#528)
20+
- Fix Icon prop type (#529)
1321

1422
## 9.0.0
1523

1624
##### Breaking Changes
1725

18-
- Moved `react-native-picker` to peerDependencies and upgraded to ^2.4.0 (#523)
26+
- Moved `react-native-picker` to peerDependencies and upgraded to ^2.4.0 (#523)
1927

2028
---
2129

2230
## 8.1.0
2331

2432
##### New
2533

26-
- Dark mode support (#513)
27-
- donePressed on onClose callback (#319)
28-
- testID available on each item (#498)
34+
- Dark mode support (#513)
35+
- donePressed on onClose callback (#319)
36+
- testID available on each item (#498)
2937

3038
##### Bugfix
3139

32-
- Fixed reliance on now-private dep (#513)
40+
- Fixed reliance on now-private dep (#513)
3341

3442
---
3543

3644
## 8.0.4
3745

3846
##### Bugfix
3947

40-
- Moved dep to @react-native-picker/picker
48+
- Moved dep to @react-native-picker/picker
4149

4250
---
4351

4452
## 8.0.3
4553

4654
##### Bugfix
4755

48-
- Fix `Cannot update component inside function` error (#346)
56+
- Fix `Cannot update component inside function` error (#346)
4957

5058
---
5159

5260
## 8.0.2
5361

5462
##### Bugfix
5563

56-
- Add `fixAndroidTouchableBug` prop (#354)
64+
- Add `fixAndroidTouchableBug` prop (#354)
5765

5866
---
5967

6068
## 8.0.1
6169

6270
##### Bugfix
6371

64-
- Locked @react-native-community/picker to 1.6.0 to fix Expo issues
65-
- Add togglePicker method to Picker component typescript definition (#360)
66-
- Fix wrong PickerProps import in index.d.ts (#352)
67-
- Fixed inputWeb to be a TextStyle, not ViewStyle (#365)
72+
- Locked @react-native-community/picker to 1.6.0 to fix Expo issues
73+
- Add togglePicker method to Picker component typescript definition (#360)
74+
- Fix wrong PickerProps import in index.d.ts (#352)
75+
- Fixed inputWeb to be a TextStyle, not ViewStyle (#365)
6876

6977
---
7078

7179
## 8.0.0
7280

7381
##### Breaking Changes
7482

75-
- Now using [@react-native-community/picker](https://github.com/react-native-community/react-native-picker#readme) under the hood (#340). For that reason, this library now requires React Native 0.60 or above. If using Expo, SDK38 or above is required.
76-
- Replaced item prop `displayValue` with `inputLabel` (#336)
83+
- Now using [@react-native-community/picker](https://github.com/react-native-community/react-native-picker#readme) under the hood (#340). For that reason, this library now requires React Native 0.60 or above. If using Expo, SDK38 or above is required.
84+
- Replaced item prop `displayValue` with `inputLabel` (#336)
7785

7886
##### New
7987

80-
- Added web support (#316)
88+
- Added web support (#316)
8189

8290
---
8391

8492
## 7.0.0
8593

8694
##### Breaking Changes
8795

88-
- Deprecated prop `hideDoneBar` has been removed
89-
- Deprecated prop `placeholderTextColor` has been removed
90-
- Type definitions rewritten (#305)
96+
- Deprecated prop `hideDoneBar` has been removed
97+
- Deprecated prop `placeholderTextColor` has been removed
98+
- Type definitions rewritten (#305)
9199

92100
##### Chore
93101

94-
- Remove deprecated ColorPropType
102+
- Remove deprecated ColorPropType
95103

96104
---
97105

98106
### 6.6.0
99107

100108
##### New
101109

102-
- Updated touchables to all be all TouchableOpacity (with override props available)
103-
- Done text now animates on depress like native select dialog (#215)
110+
- Updated touchables to all be all TouchableOpacity (with override props available)
111+
- Done text now animates on depress like native select dialog (#215)
104112

105113
---
106114

107115
### 6.5.1
108116

109117
##### Bugfix
110118

111-
- Update iOS colors (#281)
119+
- Update iOS colors (#281)
112120

113121
---
114122

115123
### 6.5.0
116124

117125
##### New
118126

119-
- If an item has the `displayValue` property set to true, the TextInput shows the item `value` instead of the item `label` (#279)
127+
- If an item has the `displayValue` property set to true, the TextInput shows the item `value` instead of the item `label` (#279)
120128

121129
---
122130

123131
### 6.4.0
124132

125133
##### New
126134

127-
- Opened up `onOpen` prop to now support Android when in headless or `useNativeAndroidPickerStyle={false}` mode
135+
- Opened up `onOpen` prop to now support Android when in headless or `useNativeAndroidPickerStyle={false}` mode
128136

129137
---
130138

131139
### 6.3.4
132140

133141
##### Bugfix
134142

135-
- Fix for `onDonePress` regression (#236)
136-
- "Done" Text element now set to `allowFontScaling={false}` (#247)
143+
- Fix for `onDonePress` regression (#236)
144+
- "Done" Text element now set to `allowFontScaling={false}` (#247)
137145

138146
---
139147

140148
### 6.3.3
141149

142150
##### Chore
143151

144-
- Split off styles into separate file
152+
- Split off styles into separate file
145153

146154
---
147155

148156
### 6.3.2
149157

150158
##### Bugfix
151159

152-
- Update typescript definition file to add `InputAccessoryView`
160+
- Update typescript definition file to add `InputAccessoryView`
153161

154162
---
155163

156164
### 6.3.1
157165

158166
##### Bugfix
159167

160-
- Fix Done button on iPad (#209)
168+
- Fix Done button on iPad (#209)
161169

162170
---
163171

164172
### 6.3.0
165173

166174
##### New
167175

168-
- Added a prop called `InputAccessoryView` to allow a custom component to replace the InputAccessoryView on iOS. View the [snack](https://snack.expo.io/@lfkwtz/react-native-picker-select) to see examples on how this can be customized. As a result of this change, the `hideDoneBar` prop has been deprecated.
169-
- iOS modal window now correctly resizes on orientation change
170-
- `defaultStyles` are now exported
176+
- Added a prop called `InputAccessoryView` to allow a custom component to replace the InputAccessoryView on iOS. View the [snack](https://snack.expo.io/@lfkwtz/react-native-picker-select) to see examples on how this can be customized. As a result of this change, the `hideDoneBar` prop has been deprecated.
177+
- iOS modal window now correctly resizes on orientation change
178+
- `defaultStyles` are now exported
171179

172180
---
173181

174182
### 6.2.0
175183

176184
##### New
177185

178-
- Supports an empty `items` array (#161)
186+
- Supports an empty `items` array (#161)
179187

180188
---
181189

182190
### 6.1.1
183191

184192
##### Bugfix
185193

186-
- Replaced setTimeouts with callbacks for arrow buttons (#177)
194+
- Replaced setTimeouts with callbacks for arrow buttons (#177)
187195

188196
---
189197

190198
### 6.1.0
191199

192200
##### New
193201

194-
- Opened up `placeholder` on style object for modification (#119) (#155). The `placeholderTextColor` prop is now deprecated, as this style object allows for additional properties.
202+
- Opened up `placeholder` on style object for modification (#119) (#155). The `placeholderTextColor` prop is now deprecated, as this style object allows for additional properties.
195203

196204
---
197205

198206
## 6.0.0
199207

200208
#### Breaking Changes
201209

202-
- In order to make this component less opinionated, especially in terms of style, we have removed the default dropdown arrow icon in leiu of a more flexible `Icon` prop which will render a component - allowing you to insert your own css, image, svg, or icon from any library of your choosing. Due to this change, the `noIcon` prop has been removed. To replicate the arrow from previous versions, see the [last example](example/example.js) / see the styling section in the README for more details.
203-
- In Android, we no longer insert a psuedo-underline by default - as the default input style in React Native sets the underline color to transparent since [this PR](https://github.com/facebook/react-native/commit/a3a98eb1c7fa0054a236d45421393874ce8ce558) - which landed in 0.56. You can add this back in fairly easily, either by using the `textInputProps` prop or by adding a border on one of the wrapping container elements - all depending on your personal usage of the component.
204-
- Some of the default styles of the iOS "Done bar" have been tweaked and streamlined
205-
- if using useNativeAndroidPickerStyle={false}, the outer container is now only `headlessAndroidContainer` without `viewContainer` wrapping it
210+
- In order to make this component less opinionated, especially in terms of style, we have removed the default dropdown arrow icon in leiu of a more flexible `Icon` prop which will render a component - allowing you to insert your own css, image, svg, or icon from any library of your choosing. Due to this change, the `noIcon` prop has been removed. To replicate the arrow from previous versions, see the [last example](example/example.js) / see the styling section in the README for more details.
211+
- In Android, we no longer insert a psuedo-underline by default - as the default input style in React Native sets the underline color to transparent since [this PR](https://github.com/facebook/react-native/commit/a3a98eb1c7fa0054a236d45421393874ce8ce558) - which landed in 0.56. You can add this back in fairly easily, either by using the `textInputProps` prop or by adding a border on one of the wrapping container elements - all depending on your personal usage of the component.
212+
- Some of the default styles of the iOS "Done bar" have been tweaked and streamlined
213+
- if using useNativeAndroidPickerStyle={false}, the outer container is now only `headlessAndroidContainer` without `viewContainer` wrapping it
206214

207215
---
208216

209217
### 5.2.5
210218

211219
##### Bugfix
212220

213-
- Fix headless Android onValueChange trigger on render (#141)
221+
- Fix headless Android onValueChange trigger on render (#141)
214222

215223
---
216224

217225
### 5.2.4
218226

219227
#### Bugfix
220228

221-
- Fix TypeError (#139)
229+
- Fix TypeError (#139)
222230

223231
---
224232

225233
### 5.2.3
226234

227235
##### Bugfix
228236

229-
- Fixes Android headless mode trigger area (#122)
237+
- Fixes Android headless mode trigger area (#122)
230238

231239
---
232240

233241
### 5.2.2
234242

235243
##### Bugfix
236244

237-
- Fixes unnecessary renders (#129)
245+
- Fixes unnecessary renders (#129)
238246

239247
---
240248

241249
### 5.2.1
242250

243251
##### Bugfix
244252

245-
- Fixes keyboard not dismissing on iOS
253+
- Fixes keyboard not dismissing on iOS
246254

247255
---
248256

249257
### 5.2.0
250258

251259
##### New
252260

253-
- Added `onOpen` and `onClose` callbacks (iOS only)
261+
- Added `onOpen` and `onClose` callbacks (iOS only)
254262

255263
---
256264

257265
### 5.1.1
258266

259267
##### New
260268

261-
- Opened up headlessAndroidPicker and chevronContainer on style object for modification
269+
- Opened up headlessAndroidPicker and chevronContainer on style object for modification
262270

263271
---
264272

265273
### 5.1.0
266274

267275
##### New
268276

269-
- Added `useNativeAndroidPickerStyle` prop. See README for more details.
277+
- Added `useNativeAndroidPickerStyle` prop. See README for more details.
270278

271279
##### Bugfix
272280

273-
- Fixed Android headless mode showing selected value outside of View (#83)
281+
- Fixed Android headless mode showing selected value outside of View (#83)
274282

275283
---
276284

277285
### 5.0.1
278286

279287
##### Bugfix
280288

281-
- Fixed `TouchableWithoutFeedback` warning
289+
- Fixed `TouchableWithoutFeedback` warning
282290

283291
---
284292

285293
## 5.0.0
286294

287295
#### Breaking Changes
288296

289-
- `styles.placeholderColor` has been replaced with `placeholderTextColor`
290-
- `mode` prop is now accessible via `pickerProps`
291-
- `animationType` prop is now accessible via `modalProps` (see warning in README)
297+
- `styles.placeholderColor` has been replaced with `placeholderTextColor`
298+
- `mode` prop is now accessible via `pickerProps`
299+
- `animationType` prop is now accessible via `modalProps` (see warning in README)
292300

293301
##### New
294302

295-
- Default placeholder now includes default `color` of #9EA0A4
296-
- `pickerProps`, `modalProps`, and `textInputProps` have been added (see README)
303+
- Default placeholder now includes default `color` of #9EA0A4
304+
- `pickerProps`, `modalProps`, and `textInputProps` have been added (see README)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-picker-select",
3-
"version": "9.1.0",
3+
"version": "9.1.1",
44
"description": "A Picker component for React Native which emulates the native <select> interfaces for each platform",
55
"license": "MIT",
66
"author": "Michael Lefkowitz <[email protected]>",

release-please-config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
33
"release-type": "node",
4-
"pull-request-title-pattern": "build(release): release v${version}",
4+
"pull-request-title-pattern": "build(release): release ${version}",
55
"packages": {
66
".": {
77
"include-component-in-tag": false

0 commit comments

Comments
 (0)