UNPKG

3.61 kBMarkdownView Raw
1## 0.5.3 (25 jan 2021)
2
3### New features
4
5- Support `defaultMenuIsOpen` prop. Thanks [gterral](https://github.com/gterral)!
6
7## 0.5.2 (23 jan 2021)
8
9### New features
10
11- Support `defaultInputValue` prop. Thanks [gterral](https://github.com/gterral)!
12
13## 0.5.1 (05 dec 2020)
14
15### Bugfix
16
17- Fixed `typescript` crash with latest `@types/react-select`
18
19## 0.5.0 (26 nov 2020)
20
21### Internal changes
22
23- Migrate to [new JSX transform](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html)
24
25### Breaking changes
26
27- Drop `react` less than `16.14.0`
28
29## 0.4.1 (30 sep 2020)
30
31### New features
32
33- Add `defaultAdditional` prop
34
35## 0.4.0-alpha.2
36
37### Bugfix
38
39- Remove empty item from cache if input value changed during debounce timeout [#61](https://github.com/vtaits/react-select-async-paginate/issues/61)
40
41## 0.4.0-alpha.1
42
43### Breaking changes
44
45- `AsyncPaginateBase` is removed. `AsyncPaginate` supports `inputValue`, `menuIsOpen`, `onInputChange`, `onMenuClose`, `onMenuOpen` now.
46
47## 0.4.0-alpha.0
48
49The project was fully rewritten to **typescript** and **react hooks**.
50
51### Breaking changes
52
53- Use `withAsyncPaginate` and `withAsyncPaginateBase` instead of `SelectComponent` prop.
54
55 ```javascript
56 const CustomAsyncPagiante = withAsyncPaginate(SelectComponent);
57 ```
58
59- `AsyncPaginateBase` is removed. `AsyncPaginate` supports `inputValue`, `menuIsOpen`, `onInputChange`, `onMenuClose`, `onMenuOpen` now.
60
61- `additional` is `undefined` by default instead of `null`.
62
63- Save previous additional if not changed.
64
65- Validate result of `loadOptions` call.
66
67- Use named export instead of default export.
68
69 ```javascript
70 import { AsyncPaginate } from 'react-select-async-paginate';
71 ```
72
73## 0.3.14 (01 apr 2020)
74
75### Bugfix
76
77- Removed excess check of scrollability of menu for load more options [#52](https://github.com/vtaits/react-select-async-paginate/issues/52)
78
79## 0.3.13 (28 mar 2020)
80
81### Bugfix
82
83- Fixed checking of the need to load options [#51](https://github.com/vtaits/react-select-async-paginate/issues/51)
84
85## 0.3.12 (17 mar 2020)
86
87### New features
88
89- Add `loadOptionsOnMenuOpen` prop
90
91## 0.3.6 (06 aug 2019)
92
93### Bugfix
94
95- Request options automatically on change `cacheUniq` if `defaultOptions` is `true`
96
97## 0.3.5 (30 jul 2019)
98
99### New features
100
101- Support `defaultOptions` prop
102
103## 0.3.4 (15 jun 2019)
104
105### Bugfix
106
107- Changed TypeScript typings
108
109## 0.3.3 (06 jun 2019)
110
111### New features
112
113- Added TypeScript typings
114
115## 0.3.2 (03 jun 2019)
116
117### New features
118
119- Support `react-select` v3
120
121## 0.3.1 (24 may 2019)
122
123### Bugfix
124
125- Disabled filtering of options in select by default.
126
127## 0.3.0 (25 apr 2019)
128
129### New features
130
131- Moved logic of opening and closing menu to `AsyncPaginateBase`.
132
133### Breaking changes
134
135- `AsyncPaginateBase` now requires `menuIsOpen` prop.
136- `AsyncPaginate` not supports `onMenuOpen` and `onMenuClose`. You should use `AsyncPaginateBase` for those cases now.
137
138## 0.2.9 (25 mar 2019)
139
140### New features
141
142- Added `AsyncPaginateBase` component for manual control of input value.
143- Added `onMenuClose` and `onMenuOpen` callbacks.
144
145## 0.2.8 (31 jan 2019)
146
147### New features
148
149- Added `SelectComponent` prop for usage of custom base select component.
150
151## 0.2.7 (23 jan 2019)
152
153### New features
154
155- Added `reduceOptions` prop for reduce grouped options from different groups into one.
156- Added `reduceGroupedOptions` util.
157
158## 0.2.6 (15 jan 2019)
159
160### New features
161
162- Added `shouldLoadMore` prop.
163
164## 0.2.5 (11 jan 2019)
165
166### New features
167
168- Added `debounceTimeout` prop.
169- Added `additional` prop for collect additional data of requests (e.g. current page number).
170
\No newline at end of file