1 | # @flopflip/react-redux
|
2 |
|
3 | ## 12.1.14
|
4 |
|
5 | ### Patch Changes
|
6 |
|
7 | - [#1438](https://github.com/tdeekens/flopflip/pull/1438) [`10f981f5`](https://github.com/tdeekens/flopflip/commit/10f981f556284c5908b2be0d792db007a4002256) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: update deps
|
8 |
|
9 | - Updated dependencies [[`10f981f5`](https://github.com/tdeekens/flopflip/commit/10f981f556284c5908b2be0d792db007a4002256)]:
|
10 | - @flopflip/react@11.1.15
|
11 | - @flopflip/types@4.1.13
|
12 |
|
13 | ## 12.1.13
|
14 |
|
15 | ### Patch Changes
|
16 |
|
17 | - [`bc7b3f41`](https://github.com/tdeekens/flopflip/commit/bc7b3f413554c4b11ab52ecdc5983da348014885) [#1414](https://github.com/tdeekens/flopflip/pull/1414) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: update dependencies and add eslint sorting of imports
|
18 |
|
19 | - Updated dependencies [[`bc7b3f41`](https://github.com/tdeekens/flopflip/commit/bc7b3f413554c4b11ab52ecdc5983da348014885)]:
|
20 | - @flopflip/react@11.1.14
|
21 | - @flopflip/types@4.1.12
|
22 |
|
23 | ## 12.1.12
|
24 |
|
25 | ### Patch Changes
|
26 |
|
27 | - [`8707dfd8`](https://github.com/tdeekens/flopflip/commit/8707dfd8a34fd581a5e7db448bd3c635d79cfad0) [#1408](https://github.com/tdeekens/flopflip/pull/1408) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: update deps
|
28 |
|
29 | - Updated dependencies [[`8707dfd8`](https://github.com/tdeekens/flopflip/commit/8707dfd8a34fd581a5e7db448bd3c635d79cfad0)]:
|
30 | - @flopflip/react@11.1.13
|
31 | - @flopflip/types@4.1.11
|
32 |
|
33 | ## 12.1.11
|
34 |
|
35 | ### Patch Changes
|
36 |
|
37 | - [`91f6379b`](https://github.com/tdeekens/flopflip/commit/91f6379b64733f63e9df363a0be78d4c5e0d6dcf) [#1405](https://github.com/tdeekens/flopflip/pull/1405) Thanks [@tdeekens](https://github.com/tdeekens)! - refactor: to use screen over rendered
|
38 |
|
39 | * [`808080d0`](https://github.com/tdeekens/flopflip/commit/808080d0d953434d079b15c8afb8211112c4c5ef) [#1406](https://github.com/tdeekens/flopflip/pull/1406) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: update dependencies
|
40 |
|
41 | * Updated dependencies [[`91f6379b`](https://github.com/tdeekens/flopflip/commit/91f6379b64733f63e9df363a0be78d4c5e0d6dcf), [`808080d0`](https://github.com/tdeekens/flopflip/commit/808080d0d953434d079b15c8afb8211112c4c5ef)]:
|
42 | - @flopflip/react@11.1.12
|
43 |
|
44 | ## 12.1.10
|
45 |
|
46 | ### Patch Changes
|
47 |
|
48 | - Updated dependencies [[`5461b6c`](https://github.com/tdeekens/flopflip/commit/5461b6c5746fe004aaff1a6a64be28be40522601)]:
|
49 | - @flopflip/types@4.1.10
|
50 | - @flopflip/react@11.1.10
|
51 |
|
52 | ## 12.1.9
|
53 |
|
54 | ### Patch Changes
|
55 |
|
56 | - Updated dependencies [[`780a527`](https://github.com/tdeekens/flopflip/commit/780a527f6a86395463b5de5fcf88937491dee805)]:
|
57 | - @flopflip/types@4.1.9
|
58 | - @flopflip/react@11.1.9
|
59 |
|
60 | ## 12.1.8
|
61 |
|
62 | ### Patch Changes
|
63 |
|
64 | - Updated dependencies [[`fbc9bce`](https://github.com/tdeekens/flopflip/commit/fbc9bce3281b88e8fe81330cd442409b18b5162b)]:
|
65 | - @flopflip/types@4.1.8
|
66 | - @flopflip/react@11.1.8
|
67 |
|
68 | ## 12.1.7
|
69 |
|
70 | ### Patch Changes
|
71 |
|
72 | - [`e12bda8`](https://github.com/tdeekens/flopflip/commit/e12bda837d42b3a516f47bfe9241162668fa9963) [#1393](https://github.com/tdeekens/flopflip/pull/1393) Thanks [@tdeekens](https://github.com/tdeekens)! - update dependencies
|
73 |
|
74 | - Updated dependencies [[`e12bda8`](https://github.com/tdeekens/flopflip/commit/e12bda837d42b3a516f47bfe9241162668fa9963)]:
|
75 | - @flopflip/react@11.1.7
|
76 | - @flopflip/types@4.1.7
|
77 |
|
78 | ## 12.1.6
|
79 |
|
80 | ### Patch Changes
|
81 |
|
82 | - Updated dependencies [[`dfc1463`](https://github.com/tdeekens/flopflip/commit/dfc146387052c05697353e36c18285df37c0a87f)]:
|
83 | - @flopflip/types@4.1.6
|
84 | - @flopflip/react@11.1.6
|
85 |
|
86 | ## 12.1.5
|
87 |
|
88 | ### Patch Changes
|
89 |
|
90 | - Updated dependencies [[`8fd148b`](https://github.com/tdeekens/flopflip/commit/8fd148b724394887e99ed9136bb309776a2fc375)]:
|
91 | - @flopflip/types@4.1.5
|
92 | - @flopflip/react@11.1.5
|
93 |
|
94 | ## 12.1.4
|
95 |
|
96 | ### Patch Changes
|
97 |
|
98 | - [`1a1d468`](https://github.com/tdeekens/flopflip/commit/1a1d468a454c70482f9cf7412858a3007cbeb9b8) [#1384](https://github.com/tdeekens/flopflip/pull/1384) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: update deps
|
99 |
|
100 | - Updated dependencies [[`d203f38`](https://github.com/tdeekens/flopflip/commit/d203f382100d681f8699e7c6f3b82dd8ad8ab257), [`1a1d468`](https://github.com/tdeekens/flopflip/commit/1a1d468a454c70482f9cf7412858a3007cbeb9b8)]:
|
101 | - @flopflip/types@4.1.4
|
102 | - @flopflip/react@11.1.4
|
103 |
|
104 | ## 12.1.3
|
105 |
|
106 | ### Patch Changes
|
107 |
|
108 | - [`92ebba8`](https://github.com/tdeekens/flopflip/commit/92ebba83bdf1fb876ad830db124c306de6f5c86d) [#1382](https://github.com/tdeekens/flopflip/pull/1382) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: add manypkg for validation for workspaces
|
109 |
|
110 | - Updated dependencies [[`498f3bc`](https://github.com/tdeekens/flopflip/commit/498f3bcdc605f60bd8e72924cdef08c4a079d4f1), [`92ebba8`](https://github.com/tdeekens/flopflip/commit/92ebba83bdf1fb876ad830db124c306de6f5c86d)]:
|
111 | - @flopflip/react@11.1.3
|
112 | - @flopflip/types@4.1.3
|
113 |
|
114 | ## 12.1.2
|
115 |
|
116 | ### Patch Changes
|
117 |
|
118 | - Updated dependencies [[`0fbcac4`](https://github.com/tdeekens/flopflip/commit/0fbcac4d42568dda5fad6f1e33ff605b954301ee)]:
|
119 | - @flopflip/types@4.1.2
|
120 | - @flopflip/react@11.1.2
|
121 |
|
122 | ## 12.1.1
|
123 |
|
124 | ### Patch Changes
|
125 |
|
126 | - Updated dependencies [[`badd563`](https://github.com/tdeekens/flopflip/commit/badd563fb90f0af3a0e364d4393a108c0b7ebec8)]:
|
127 | - @flopflip/types@4.1.1
|
128 | - @flopflip/react@11.1.1
|
129 |
|
130 | ## 12.1.0
|
131 |
|
132 | ### Minor Changes
|
133 |
|
134 | - [`57c90be`](https://github.com/tdeekens/flopflip/commit/57c90be8517cea797b0d89ece686cd66cd65e38e) [#1374](https://github.com/tdeekens/flopflip/pull/1374) Thanks [@tdeekens](https://github.com/tdeekens)! - feat: add support for number json variations
|
135 |
|
136 | Prior to this `@flopflip` supported `sttring` or `boolean` variations. With it it also supports JSON variations (as LaunchDarkly calls them). For `@flopflip` these variations are of type `Record<string, unknown>` or `unknown[]`. In the future we might allow passing in a generic to narrow down the type.
|
137 |
|
138 | ### Patch Changes
|
139 |
|
140 | - Updated dependencies [[`57c90be`](https://github.com/tdeekens/flopflip/commit/57c90be8517cea797b0d89ece686cd66cd65e38e)]:
|
141 | - @flopflip/react@11.1.0
|
142 | - @flopflip/types@4.1.0
|
143 |
|
144 | ## 12.0.1
|
145 |
|
146 | ### Patch Changes
|
147 |
|
148 | - Updated dependencies [[`e9b47fd`](https://github.com/tdeekens/flopflip/commit/e9b47fd613452d5ec5d3bf7af1dcc1cc2d9c11a7)]:
|
149 | - @flopflip/types@4.0.1
|
150 | - @flopflip/react@11.0.1
|
151 |
|
152 | ## 12.0.0
|
153 |
|
154 | ### Major Changes
|
155 |
|
156 | - [`3d2a174`](https://github.com/tdeekens/flopflip/commit/3d2a1742f9e6c99ba0360e8f33de6ce077fbd404) [#1367](https://github.com/tdeekens/flopflip/pull/1367) Thanks [@tdeekens](https://github.com/tdeekens)! - feat: allow adapters to affect each others state
|
157 |
|
158 | An adapter can now have an `effectIds` besides its own `id`. This allows one adapter to effect other adapters state. In turn allowing flopflip to theoretically support multiple adapters.
|
159 |
|
160 | * [`41d403e`](https://github.com/tdeekens/flopflip/commit/41d403eb74afbbc3b703a529ccf0c40150964e9a) [#1366](https://github.com/tdeekens/flopflip/pull/1366) Thanks [@tdeekens](https://github.com/tdeekens)! - refactor: adapters to have own state slice
|
161 |
|
162 | The `react-redux` package has one potential breaking change. If you used `selectFlags` and/or or `selectFlag` directly then you will have to use their new signature.
|
163 |
|
164 | ```diff
|
165 | -useSelector(selectFlags);
|
166 | +useSelector(selectFlags());
|
167 | ```
|
168 |
|
169 | ```diff
|
170 | -useSelector(selectFlag('fooFlag');
|
171 | +useSelector(selectFlag([adapter.id], 'fooFlag'));
|
172 | ```
|
173 |
|
174 | In the second example `memory` could be `id` of your adapter. In the future we plan to support multiple adapters resulting in an array being passed.
|
175 |
|
176 | Note that in other locations, e.g. with `useFeatureToggle` we now which adapter you are using as we retrive it from the adapter context.
|
177 |
|
178 | ### Patch Changes
|
179 |
|
180 | - [`b099b51`](https://github.com/tdeekens/flopflip/commit/b099b5175aebc472281ef40f3d67c5cb298d1be9) [#1362](https://github.com/tdeekens/flopflip/pull/1362) Thanks [@tdeekens](https://github.com/tdeekens)! - refactor: updateFlags to be only on adapter
|
181 |
|
182 | The `updateFlags` export from each adapter is no longer present. Please use the `adapter.updateFlags` function instead. The prior was a re-export of the latter for longer anyway.
|
183 |
|
184 | This affects also other locations you should hopefully not be affected by:
|
185 |
|
186 | 1. `test-utils`: does not export `updateFlags` anymore. Use `adapter.updateFlags`
|
187 | 2. Globals: The globals on the window do not contain a `window.__flopflip__.[id].updateFlags` anymore
|
188 |
|
189 | * [`b9c74ed`](https://github.com/tdeekens/flopflip/commit/b9c74ed24b5e695c914b8c82a3a81926558b78f7) [#1365](https://github.com/tdeekens/flopflip/pull/1365) Thanks [@tdeekens](https://github.com/tdeekens)! - refactor: adapters and system to receive ids
|
190 |
|
191 | - [`1e34552`](https://github.com/tdeekens/flopflip/commit/1e345527629b27bd0fba65b4006a7e3d5537fd9c) [#1368](https://github.com/tdeekens/flopflip/pull/1368) Thanks [@tdeekens](https://github.com/tdeekens)! - fix: to use record with unknown over object
|
192 |
|
193 | * [`981075d`](https://github.com/tdeekens/flopflip/commit/981075dbf4b293e44102205c594b39ffad31188d) [#1364](https://github.com/tdeekens/flopflip/pull/1364) Thanks [@tdeekens](https://github.com/tdeekens)! - refactor: to change import \* style
|
194 |
|
195 | - [`feddd2c`](https://github.com/tdeekens/flopflip/commit/feddd2cbfa8e41d372f79dc214e14f250c114f97) [#1358](https://github.com/tdeekens/flopflip/pull/1358) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: clean up deps
|
196 |
|
197 | - Updated dependencies [[`521660c`](https://github.com/tdeekens/flopflip/commit/521660c2452628e336896300fd1ab743cf6a4b12), [`b099b51`](https://github.com/tdeekens/flopflip/commit/b099b5175aebc472281ef40f3d67c5cb298d1be9), [`3d2a174`](https://github.com/tdeekens/flopflip/commit/3d2a1742f9e6c99ba0360e8f33de6ce077fbd404), [`b9c74ed`](https://github.com/tdeekens/flopflip/commit/b9c74ed24b5e695c914b8c82a3a81926558b78f7), [`1e34552`](https://github.com/tdeekens/flopflip/commit/1e345527629b27bd0fba65b4006a7e3d5537fd9c), [`ea542f5`](https://github.com/tdeekens/flopflip/commit/ea542f5174c3094f7af444caed788f17942bcf38), [`339a427`](https://github.com/tdeekens/flopflip/commit/339a42745a7131ee18aaa27d196a0cdc4207ee88), [`4c1d86b`](https://github.com/tdeekens/flopflip/commit/4c1d86be23e0c0f50b07191e6984db4fd4b0139c), [`41d403e`](https://github.com/tdeekens/flopflip/commit/41d403eb74afbbc3b703a529ccf0c40150964e9a), [`981075d`](https://github.com/tdeekens/flopflip/commit/981075dbf4b293e44102205c594b39ffad31188d), [`feddd2c`](https://github.com/tdeekens/flopflip/commit/feddd2cbfa8e41d372f79dc214e14f250c114f97)]:
|
198 | - @flopflip/react@11.0.0
|
199 | - @flopflip/types@4.0.0
|
200 |
|
201 | ## 11.0.13
|
202 |
|
203 | ### Patch Changes
|
204 |
|
205 | - [`f288170`](https://github.com/tdeekens/flopflip/commit/f2881702bcaf39029d78faf5d89d7bf645096310) [#1355](https://github.com/tdeekens/flopflip/pull/1355) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: update deps
|
206 |
|
207 | * [`5e825b9`](https://github.com/tdeekens/flopflip/commit/5e825b96aee89a325e16a11ee8e3f4b68c9f8f56) [#1351](https://github.com/tdeekens/flopflip/pull/1351) Thanks [@tdeekens](https://github.com/tdeekens)! - fix: typo of selector for adapter context
|
208 |
|
209 | - [`18bd598`](https://github.com/tdeekens/flopflip/commit/18bd598f78891bcc24901f8c916c38f55d80e445) [#1349](https://github.com/tdeekens/flopflip/pull/1349) Thanks [@tdeekens](https://github.com/tdeekens)! - fix: remove unused read-pkg-\* dependencies
|
210 |
|
211 | * [`cbacd83`](https://github.com/tdeekens/flopflip/commit/cbacd836dd9d9411043efb9ad4795d75ed520d83) [#1352](https://github.com/tdeekens/flopflip/pull/1352) Thanks [@tdeekens](https://github.com/tdeekens)! - refactor: to use explicit React imports
|
212 |
|
213 | * Updated dependencies [[`f288170`](https://github.com/tdeekens/flopflip/commit/f2881702bcaf39029d78faf5d89d7bf645096310), [`5e825b9`](https://github.com/tdeekens/flopflip/commit/5e825b96aee89a325e16a11ee8e3f4b68c9f8f56), [`d72a4cd`](https://github.com/tdeekens/flopflip/commit/d72a4cd013295fa15478212d56840c6c4dd2c9df), [`33b3216`](https://github.com/tdeekens/flopflip/commit/33b3216f227969f8a5ce0670b9590e5e06243fea), [`18bd598`](https://github.com/tdeekens/flopflip/commit/18bd598f78891bcc24901f8c916c38f55d80e445), [`cbacd83`](https://github.com/tdeekens/flopflip/commit/cbacd836dd9d9411043efb9ad4795d75ed520d83)]:
|
214 | - @flopflip/react@10.0.14
|
215 | - @flopflip/types@3.1.0
|
216 |
|
217 | ## 11.0.12
|
218 |
|
219 | ### Patch Changes
|
220 |
|
221 | - [`cf47e40`](https://github.com/tdeekens/flopflip/commit/cf47e407bd55c8f9582dbce542010b6f9f6b8a45) [#1345](https://github.com/tdeekens/flopflip/pull/1345) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: update deps
|
222 |
|
223 | - Updated dependencies [[`cf47e40`](https://github.com/tdeekens/flopflip/commit/cf47e407bd55c8f9582dbce542010b6f9f6b8a45)]:
|
224 | - @flopflip/react@10.0.13
|
225 |
|
226 | ## 11.0.11
|
227 |
|
228 | ### Patch Changes
|
229 |
|
230 | - Updated dependencies [[`9ba0922`](https://github.com/tdeekens/flopflip/commit/9ba0922651198b4cb53f4c3f71e358bdfb1fa4ae)]:
|
231 | - @flopflip/types@3.0.11
|
232 | - @flopflip/react@10.0.11
|
233 |
|
234 | ## 11.0.10
|
235 |
|
236 | ### Patch Changes
|
237 |
|
238 | - Updated dependencies [[`5d2376b`](https://github.com/tdeekens/flopflip/commit/5d2376b6491761cd5e11cbe979d318e1d307c7ef)]:
|
239 | - @flopflip/types@3.0.10
|
240 | - @flopflip/react@10.0.10
|
241 |
|
242 | ## 11.0.9
|
243 |
|
244 | ### Patch Changes
|
245 |
|
246 | - Updated dependencies [[`e927867`](https://github.com/tdeekens/flopflip/commit/e92786784675656a79d6866bbeb6797683dcf71e)]:
|
247 | - @flopflip/types@3.0.9
|
248 | - @flopflip/react@10.0.9
|
249 |
|
250 | ## 11.0.8
|
251 |
|
252 | ### Patch Changes
|
253 |
|
254 | - Updated dependencies [[`a25c329`](https://github.com/tdeekens/flopflip/commit/a25c32916caec291d7f949270398e7f4c19ea2a4)]:
|
255 | - @flopflip/types@3.0.8
|
256 | - @flopflip/react@10.0.8
|
257 |
|
258 | ## 11.0.7
|
259 |
|
260 | ### Patch Changes
|
261 |
|
262 | - [`1e559be`](https://github.com/tdeekens/flopflip/commit/1e559bef1170439f6504997a5e2f9b6f6e971230) [#1331](https://github.com/tdeekens/flopflip/pull/1331) Thanks [@tdeekens](https://github.com/tdeekens)! - refactor: to remove type essentials
|
263 |
|
264 | - Updated dependencies [[`1e559be`](https://github.com/tdeekens/flopflip/commit/1e559bef1170439f6504997a5e2f9b6f6e971230)]:
|
265 | - @flopflip/react@10.0.7
|
266 | - @flopflip/types@3.0.7
|
267 |
|
268 | ## 11.0.6
|
269 |
|
270 | ### Patch Changes
|
271 |
|
272 | - [`23b4e4d`](https://github.com/tdeekens/flopflip/commit/23b4e4dd2713e7aff2062cba60bf0251692f78ad) [#1329](https://github.com/tdeekens/flopflip/pull/1329) Thanks [@tdeekens](https://github.com/tdeekens)! - fix: to simplify types of configure
|
273 |
|
274 | - Updated dependencies [[`23b4e4d`](https://github.com/tdeekens/flopflip/commit/23b4e4dd2713e7aff2062cba60bf0251692f78ad)]:
|
275 | - @flopflip/react@10.0.6
|
276 | - @flopflip/types@3.0.6
|
277 |
|
278 | ## 11.0.5
|
279 |
|
280 | ### Patch Changes
|
281 |
|
282 | - [`40e212f`](https://github.com/tdeekens/flopflip/commit/40e212fba6328d6bf2f9a5f2494a4b0f6ec1b811) Thanks [@tdeekens](https://github.com/tdeekens)! - regenerate yarn.lock
|
283 |
|
284 | - Updated dependencies [[`40e212f`](https://github.com/tdeekens/flopflip/commit/40e212fba6328d6bf2f9a5f2494a4b0f6ec1b811)]:
|
285 | - @flopflip/react@10.0.5
|
286 | - @flopflip/types@3.0.5
|
287 |
|
288 | ## 11.0.4
|
289 |
|
290 | ### Patch Changes
|
291 |
|
292 | - [`787b265`](https://github.com/tdeekens/flopflip/commit/787b26580f7fa973e17065c11898dada0201e9e4) [#1325](https://github.com/tdeekens/flopflip/pull/1325) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: update deps
|
293 |
|
294 | - Updated dependencies [[`787b265`](https://github.com/tdeekens/flopflip/commit/787b26580f7fa973e17065c11898dada0201e9e4)]:
|
295 | - @flopflip/react@10.0.4
|
296 | - @flopflip/types@3.0.4
|
297 |
|
298 | ## 11.0.3
|
299 |
|
300 | ### Patch Changes
|
301 |
|
302 | - [`fb8d122`](https://github.com/tdeekens/flopflip/commit/fb8d12285062e0af4a9e66f6e5d7d1e9196a0ac2) [#1323](https://github.com/tdeekens/flopflip/pull/1323) Thanks [@tdeekens](https://github.com/tdeekens)! - fix: to not infer returns
|
303 |
|
304 | - Updated dependencies [[`fb8d122`](https://github.com/tdeekens/flopflip/commit/fb8d12285062e0af4a9e66f6e5d7d1e9196a0ac2)]:
|
305 | - @flopflip/react@10.0.3
|
306 | - @flopflip/types@3.0.3
|
307 |
|
308 | ## 11.0.2
|
309 |
|
310 | ### Patch Changes
|
311 |
|
312 | - [`853b28d`](https://github.com/tdeekens/flopflip/commit/853b28d0d964f9cc897198d463e494881a82efcc) [#1321](https://github.com/tdeekens/flopflip/pull/1321) Thanks [@tdeekens](https://github.com/tdeekens)! - fix: to not use typings on any package
|
313 |
|
314 | - Updated dependencies [[`853b28d`](https://github.com/tdeekens/flopflip/commit/853b28d0d964f9cc897198d463e494881a82efcc)]:
|
315 | - @flopflip/react@10.0.2
|
316 | - @flopflip/types@3.0.2
|
317 |
|
318 | ## 11.0.1
|
319 |
|
320 | ### Patch Changes
|
321 |
|
322 | - [`ad5935f`](https://github.com/tdeekens/flopflip/commit/ad5935fe1d355dbd244f97f78e74fbe0e2a8a3f3) [#1320](https://github.com/tdeekens/flopflip/pull/1320) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: update deps
|
323 |
|
324 | * [`f0e8c66`](https://github.com/tdeekens/flopflip/commit/f0e8c66f008b1f6a959f463e01008844ee70d405) [#1314](https://github.com/tdeekens/flopflip/pull/1314) Thanks [@tdeekens](https://github.com/tdeekens)! - refactor: to use preconstruct cli
|
325 |
|
326 | This swaps out our complete build tooling to embrase a more focussed approach.
|
327 |
|
328 | This should not create issues as all entry points have been migrated.
|
329 |
|
330 | * Updated dependencies [[`ad5935f`](https://github.com/tdeekens/flopflip/commit/ad5935fe1d355dbd244f97f78e74fbe0e2a8a3f3), [`f0e8c66`](https://github.com/tdeekens/flopflip/commit/f0e8c66f008b1f6a959f463e01008844ee70d405)]:
|
331 | - @flopflip/react@10.0.1
|
332 | - @flopflip/types@3.0.1
|
333 |
|
334 | ## 11.0.0
|
335 |
|
336 | ### Major Changes
|
337 |
|
338 | - [`891fb29`](https://github.com/tdeekens/flopflip/commit/891fb294d5d6e016224b5a16d22760f0a55f9606) [#1287](https://github.com/tdeekens/flopflip/pull/1287) Thanks [@renovate](https://github.com/apps/renovate)! - flopflip is now built with TypeScript v4 which can cause compatibility issues if you project runs on an older version of TypeScript
|
339 |
|
340 | ### Patch Changes
|
341 |
|
342 | - Updated dependencies [[`891fb29`](https://github.com/tdeekens/flopflip/commit/891fb294d5d6e016224b5a16d22760f0a55f9606)]:
|
343 | - @flopflip/react@10.0.0
|
344 | - @flopflip/types@3.0.0
|
345 |
|
346 | ## 10.2.8
|
347 |
|
348 | ### Patch Changes
|
349 |
|
350 | - [`5598832`](https://github.com/tdeekens/flopflip/commit/5598832df710f707fe0832cd4011e26c060e24a8) [#1275](https://github.com/tdeekens/flopflip/pull/1275) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: update deps
|
351 |
|
352 | - Updated dependencies [[`5598832`](https://github.com/tdeekens/flopflip/commit/5598832df710f707fe0832cd4011e26c060e24a8)]:
|
353 | - @flopflip/react@9.1.20
|
354 |
|
355 | ## 10.2.7
|
356 |
|
357 | ### Patch Changes
|
358 |
|
359 | - [`eac3bd4`](https://github.com/tdeekens/flopflip/commit/eac3bd4d80fee4209ed39d7b9199916afb7f192f) [#1269](https://github.com/tdeekens/flopflip/pull/1269) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: update dependencies across packages
|
360 |
|
361 | - Updated dependencies [[`eac3bd4`](https://github.com/tdeekens/flopflip/commit/eac3bd4d80fee4209ed39d7b9199916afb7f192f)]:
|
362 | - @flopflip/react@9.1.19
|
363 | - @flopflip/types@2.5.10
|
364 |
|
365 | ## 10.2.6
|
366 |
|
367 | ### Patch Changes
|
368 |
|
369 | - Updated dependencies [[`8c97b10`](https://github.com/tdeekens/flopflip/commit/8c97b10ce7159e8769791834bf6d7a1b5aba37f3)]:
|
370 | - @flopflip/types@2.5.9
|
371 |
|
372 | ## 10.2.5
|
373 |
|
374 | ### Patch Changes
|
375 |
|
376 | - Updated dependencies [[`651a0ac`](https://github.com/tdeekens/flopflip/commit/651a0ac187860c9511d7da0bbf7cde6f5a9bb5aa)]:
|
377 | - @flopflip/types@2.5.8
|
378 |
|
379 | ## 10.2.4
|
380 |
|
381 | ### Patch Changes
|
382 |
|
383 | - [`407f8e7`](https://github.com/tdeekens/flopflip/commit/407f8e7484ef25316d34f14f29b94c673ecd8aed) [#1235](https://github.com/tdeekens/flopflip/pull/1235) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: update deps and migrate to TypeScript v4
|
384 |
|
385 | * [`407f8e7`](https://github.com/tdeekens/flopflip/commit/407f8e7484ef25316d34f14f29b94c673ecd8aed) [#1235](https://github.com/tdeekens/flopflip/pull/1235) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: update deps
|
386 |
|
387 | * Updated dependencies [[`407f8e7`](https://github.com/tdeekens/flopflip/commit/407f8e7484ef25316d34f14f29b94c673ecd8aed), [`407f8e7`](https://github.com/tdeekens/flopflip/commit/407f8e7484ef25316d34f14f29b94c673ecd8aed)]:
|
388 | - @flopflip/react@9.1.18
|
389 | - @flopflip/types@2.5.7
|
390 |
|
391 | ## 10.2.3
|
392 |
|
393 | ### Patch Changes
|
394 |
|
395 | - Updated dependencies [[`6034a1c`](https://github.com/tdeekens/flopflip/commit/6034a1c8ff2c166f3fabee1deac86cf6262edde3)]:
|
396 | - @flopflip/types@2.5.6
|
397 |
|
398 | ## 10.2.2
|
399 |
|
400 | ### Patch Changes
|
401 |
|
402 | - [`b4dd923`](https://github.com/tdeekens/flopflip/commit/b4dd92356208ffe1feefea0a86f7c05d738fcabb) [#1208](https://github.com/tdeekens/flopflip/pull/1208) Thanks [@tdeekens](https://github.com/tdeekens)! - fix: types dependency
|
403 |
|
404 | - Updated dependencies [[`b4dd923`](https://github.com/tdeekens/flopflip/commit/b4dd92356208ffe1feefea0a86f7c05d738fcabb)]:
|
405 | - @flopflip/react@9.1.17
|
406 |
|
407 | ## 10.2.1
|
408 |
|
409 | ### Patch Changes
|
410 |
|
411 | - [`76354f8`](https://github.com/tdeekens/flopflip/commit/76354f8bd034b0ece14374b5eddf39858f75c7a7) [#1143](https://github.com/tdeekens/flopflip/pull/1143) Thanks [@tdeekens](https://github.com/tdeekens)! - chore: update deps
|
412 |
|
413 | - Updated dependencies [[`76354f8`](https://github.com/tdeekens/flopflip/commit/76354f8bd034b0ece14374b5eddf39858f75c7a7)]:
|
414 | - @flopflip/react@9.1.16
|
415 | - @flopflip/types@2.5.4
|
416 |
|
417 | ## 10.2.0
|
418 |
|
419 | ### Minor Changes
|
420 |
|
421 | - [`bafdc4b`](https://github.com/tdeekens/flopflip/commit/bafdc4b27ace4c5490487b22f5f4ee3a5ce32ebf) [#1110](https://github.com/tdeekens/flopflip/pull/1110) Thanks [@tdeekens](https://github.com/tdeekens)! - feat: add use-flag-variations
|
422 |
|
423 | You can use evaluate multiple flag variations at the same time:
|
424 |
|
425 | ```js
|
426 | const [variation1, variation2] = useFlagVariations([
|
427 | FLAG.VARIATION_A,
|
428 | FLAG.VARIATION_B,
|
429 | ]);
|
430 | ```
|
431 |
|
432 | Is the same as:
|
433 |
|
434 | ```js
|
435 | const variation1 = useFlagVariation(FLAG.VARIATION_A);
|
436 | const variation2 = useFlagVariation(FLAG.VARIATION_B);
|
437 | ```
|
438 |
|
439 | * [`8ce10a9`](https://github.com/tdeekens/flopflip/commit/8ce10a953e54bb9e159f606338d327f0a3ede8fb) [#1106](https://github.com/tdeekens/flopflip/pull/1106) Thanks [@tdeekens](https://github.com/tdeekens)! - feat: add use-flag-variation hook
|
440 |
|
441 | You can now conveniently a flag variation without evaluating its actual state (as with `useFeatureToggle`).
|
442 |
|
443 | ```js
|
444 | const variation = useFlagVariation('myFlagName');
|
445 |
|
446 | const isAEnabled = variation === VARIATION_A;
|
447 | const isBEnabled = variation === VARIATION_B;
|
448 |
|
449 | // Is the same as
|
450 |
|
451 | const isAEnabled = useFlagVariation('myFlagName', VARIATION_A);
|
452 | const isBEnabled = useFlagVariation('myFlagName', VARIATION_B);
|
453 | ```
|
454 |
|
455 | Using `useFlagVariation` is often a bit more concise if you want to work with the variation value yourself.
|
456 |
|
457 | ### Patch Changes
|
458 |
|
459 | - Updated dependencies [[`bafdc4b`](https://github.com/tdeekens/flopflip/commit/bafdc4b27ace4c5490487b22f5f4ee3a5ce32ebf), [`8ce10a9`](https://github.com/tdeekens/flopflip/commit/8ce10a953e54bb9e159f606338d327f0a3ede8fb)]:
|
460 | - @flopflip/react@9.1.15
|
461 |
|
462 | ## 10.1.16
|
463 |
|
464 | ### Patch Changes
|
465 |
|
466 | - [`32cc6a8`](https://github.com/tdeekens/flopflip/commit/32cc6a823ff9812ab2f256b69dd3f46e273feb5e) [#1102](https://github.com/tdeekens/flopflip/pull/1102) Thanks [@tdeekens](https://github.com/tdeekens)! - Update dependencies (TypeScript 3.9)
|
467 |
|
468 | - Updated dependencies [[`32cc6a8`](https://github.com/tdeekens/flopflip/commit/32cc6a823ff9812ab2f256b69dd3f46e273feb5e)]:
|
469 | - @flopflip/react@9.1.14
|
470 | - @flopflip/types@2.5.3
|
471 |
|
472 | ## 10.1.15
|
473 |
|
474 | ### Patch Changes
|
475 |
|
476 | - [`ee96512`](https://github.com/tdeekens/flopflip/commit/ee96512dd32ab75e6f9790df9322d6bc27642eac) [#1089](https://github.com/tdeekens/flopflip/pull/1089) Thanks [@tdeekens](https://github.com/tdeekens)! - Updating dependencies.
|
477 |
|
478 | - Updated dependencies [[`ee96512`](https://github.com/tdeekens/flopflip/commit/ee96512dd32ab75e6f9790df9322d6bc27642eac)]:
|
479 | - @flopflip/react@9.1.13
|
480 |
|
\ | No newline at end of file |