@knocklabs/react-core 0.6.14-canary.2 → 0.6.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +513 -0
  2. package/package.json +3 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,513 @@
1
+ # Changelog
2
+
3
+ ## 0.6.14
4
+
5
+ ### Patch Changes
6
+
7
+ - e05ad61: feat: Migrates the internal store library from zustand to @tanstack/store. This is a non-breaking change that maintains backwards compatibility with the @knocklabs/client and @knocklabs/react-core packages.
8
+ - e05ad61: feat: Migrates the internal store library from zustand to @tanstack/store. This is a non-breaking change that maintains backwards compatibility with the @knocklabs/client and @knocklabs/react-core packages.
9
+ - e05ad61: feat: Migrates the internal store library from zustand to @tanstack/store. This is a non-breaking change that maintains backwards compatibility with the @knocklabs/client and @knocklabs/react-core packages.
10
+ - Updated dependencies [e05ad61]
11
+ - Updated dependencies [e05ad61]
12
+ - Updated dependencies [e05ad61]
13
+ - @knocklabs/client@0.14.10
14
+
15
+ ## 0.6.14-canary.2
16
+
17
+ ### Patch Changes
18
+
19
+ - e69da7b: feat: Migrates the internal store library from zustand to @tanstack/store. This is a non-breaking change that maintains backwards compatibility with the @knocklabs/client and @knocklabs/react-core packages.
20
+ - Updated dependencies [e69da7b]
21
+ - @knocklabs/client@0.14.10-canary.2
22
+
23
+ ## 0.6.14-canary.1
24
+
25
+ ### Patch Changes
26
+
27
+ - c76b2d9: feat: Migrates the internal store library from zustand to @tanstack/store. This is a non-breaking change that maintains backwards compatibility with the @knocklabs/client and @knocklabs/react-core packages.
28
+ - Updated dependencies [c76b2d9]
29
+ - @knocklabs/client@0.14.10-canary.1
30
+
31
+ ## 0.6.14-canary.0
32
+
33
+ ### Patch Changes
34
+
35
+ - 86a72cc: feat: Migrates the internal store library from zustand to @tanstack/store. This is a non-breaking change that maintains backwards compatibility with the @knocklabs/client and @knocklabs/react-core packages.
36
+ - Updated dependencies [86a72cc]
37
+ - @knocklabs/client@0.14.10-canary.0
38
+
39
+ ## 0.6.13
40
+
41
+ ### Patch Changes
42
+
43
+ - bea5604: update @knocklabs/react & @knocklabs/react-core to use named exports instead of barrel exports
44
+
45
+ ## 0.6.12
46
+
47
+ ### Patch Changes
48
+
49
+ - Updated dependencies [4e73f12]
50
+ - @knocklabs/client@0.14.9
51
+
52
+ ## 0.6.11
53
+
54
+ ### Patch Changes
55
+
56
+ - dbbbaf7: Dispose of feed on unmount in `useNotifications` hook
57
+
58
+ Previously, the `useNotifications` hook did not clean up old instances of `Feed`
59
+ on unmount. This has been fixed.
60
+
61
+ ## 0.6.10
62
+
63
+ ### Patch Changes
64
+
65
+ - 337bade: feat: introduce ability to override slack scopes
66
+
67
+ ## 0.6.9
68
+
69
+ ### Patch Changes
70
+
71
+ - 329ee05: downgrade tanstack store deps to 0.6.x to work in older TS version
72
+ - Updated dependencies [329ee05]
73
+ - @knocklabs/client@0.14.8
74
+
75
+ ## 0.6.8
76
+
77
+ ### Patch Changes
78
+
79
+ - Updated dependencies [efd1005]
80
+ - @knocklabs/client@0.14.7
81
+
82
+ ## 0.6.7
83
+
84
+ ### Patch Changes
85
+
86
+ - Updated dependencies [a5c615e]
87
+ - @knocklabs/client@0.14.6
88
+
89
+ ## 0.6.6
90
+
91
+ ### Patch Changes
92
+
93
+ - 8f00623: activation location rules support for guides
94
+ - Updated dependencies [8f00623]
95
+ - @knocklabs/client@0.14.5
96
+
97
+ ## 0.6.5
98
+
99
+ ### Patch Changes
100
+
101
+ - e800896: feat: typescript fixes + quality of life improvements
102
+ - Updated dependencies [e800896]
103
+ - @knocklabs/client@0.14.4
104
+
105
+ ## 0.6.4
106
+
107
+ ### Patch Changes
108
+
109
+ - 96d70bc: fixes memory leak when unmounting the useNotifications hook
110
+
111
+ ## 0.6.3
112
+
113
+ ### Patch Changes
114
+
115
+ - c97a1d9: Update TanStack Store
116
+ - Updated dependencies [c97a1d9]
117
+ - @knocklabs/client@0.14.3
118
+
119
+ ## 0.6.2
120
+
121
+ ### Patch Changes
122
+
123
+ - Updated dependencies [00439a2]
124
+ - @knocklabs/client@0.14.2
125
+
126
+ ## 0.6.1
127
+
128
+ ### Patch Changes
129
+
130
+ - Updated dependencies [4c41841]
131
+ - @knocklabs/client@0.14.1
132
+
133
+ ## 0.6.0
134
+
135
+ ### Minor Changes
136
+
137
+ - 711948c: feat: add guide client, hooks, provider, and components
138
+
139
+ ### Patch Changes
140
+
141
+ - Updated dependencies [711948c]
142
+ - @knocklabs/client@0.14.0
143
+
144
+ ## 0.5.2
145
+
146
+ ### Patch Changes
147
+
148
+ - Updated dependencies [187abc1]
149
+ - @knocklabs/client@0.13.1
150
+
151
+ ## 0.5.1
152
+
153
+ ### Patch Changes
154
+
155
+ - Updated dependencies [4cd1b1e]
156
+ - @knocklabs/client@0.13.0
157
+
158
+ ## 0.5.0
159
+
160
+ ### Minor Changes
161
+
162
+ - 8ba5dcb: [JS] Support React 19 in React SDKs
163
+
164
+ ### Patch Changes
165
+
166
+ - Updated dependencies [8ba5dcb]
167
+ - @knocklabs/client@0.12.0
168
+
169
+ ## 0.4.2
170
+
171
+ ### Patch Changes
172
+
173
+ - 226e319: Fix unnecessary refetches of first page by `useSlackChannels` and `useMsTeamsTeams` hooks
174
+
175
+ Previously, both the `useSlackChannels` and `useMsTeamsTeams` hooks would unnecessarily refetch the first page of data whenever multiple pages of data were loaded. This has been fixed.
176
+
177
+ ## 0.4.1
178
+
179
+ ### Patch Changes
180
+
181
+ - 1b86a0c: fix: correct pagination logic in useSlackChannels hook (KNO-7995)
182
+
183
+ ## 0.4.0
184
+
185
+ ### Minor Changes
186
+
187
+ - 7904b65: Remove `slackSearchbarMultipleChannels` from translations strings
188
+
189
+ ## 0.3.4
190
+
191
+ ### Patch Changes
192
+
193
+ - Updated dependencies [8ea25f4]
194
+ - @knocklabs/client@0.11.4
195
+
196
+ ## 0.3.3
197
+
198
+ ### Patch Changes
199
+
200
+ - 12bc993: Use SWR in `useConnectedSlackChannels` hook
201
+
202
+ `useConnectedSlackChannels` now uses [SWR](https://swr.vercel.app/) under the hood. The returned array of connections (`data`) will now update optimistically when `updateConnectedChannels` is called.
203
+
204
+ - Updated dependencies [4f76cd6]
205
+ - @knocklabs/client@0.11.3
206
+
207
+ ## 0.3.2
208
+
209
+ ### Patch Changes
210
+
211
+ - 85418a0: rename constants.ts to interfaces.ts
212
+ - 8cc9338: Fix types in useConnectedSlackChannels.ts
213
+ - da84a75: deprecate tenant in favor of tenantId in KnockSlackProvider and useKnockSlackClient
214
+ - 2161d3f: Use SWR for data fetching in useConnectedMsTeamsChannels hook
215
+ - 1ba1393: add TeamsKit hooks for teams and channels
216
+ - Updated dependencies [2161d3f]
217
+ - Updated dependencies [2161d3f]
218
+ - Updated dependencies [1ba1393]
219
+ - Updated dependencies [b4b5c02]
220
+ - @knocklabs/client@0.11.2
221
+
222
+ ## 0.3.1
223
+
224
+ ### Patch Changes
225
+
226
+ - b9f6712: fix: types for userId should handle undefined and null
227
+ - Updated dependencies [b9f6712]
228
+ - @knocklabs/client@0.11.1
229
+
230
+ ## 0.3.0
231
+
232
+ ### Minor Changes
233
+
234
+ - 013ad8d: feat: add MsTeamsAuthButton
235
+
236
+ ### Patch Changes
237
+
238
+ - Updated dependencies [013ad8d]
239
+ - @knocklabs/client@0.11.0
240
+
241
+ ## 0.2.29
242
+
243
+ ### Patch Changes
244
+
245
+ - Updated dependencies [26db496]
246
+ - Updated dependencies [988aaf9]
247
+ - @knocklabs/client@0.10.17
248
+
249
+ ## 0.2.28
250
+
251
+ ### Patch Changes
252
+
253
+ - Updated dependencies [bc99374]
254
+ - @knocklabs/client@0.10.16
255
+
256
+ ## 0.2.27
257
+
258
+ ### Patch Changes
259
+
260
+ - Updated dependencies [26166e3]
261
+ - @knocklabs/client@0.10.15
262
+
263
+ ## 0.2.26
264
+
265
+ ### Patch Changes
266
+
267
+ - Updated dependencies [7510909]
268
+ - @knocklabs/client@0.10.14
269
+
270
+ ## 0.2.25
271
+
272
+ ### Patch Changes
273
+
274
+ - 47a88da: feature: allow passing additional OAuth scope to SlackAuthButton
275
+
276
+ ## 0.2.24
277
+
278
+ ### Patch Changes
279
+
280
+ - 1d440f7: feat: add prebuilt In App Feed Components for React Native
281
+ - Updated dependencies [1d440f7]
282
+ - @knocklabs/client@0.10.13
283
+
284
+ ## 0.2.23
285
+
286
+ ### Patch Changes
287
+
288
+ - Updated dependencies [5545f9e]
289
+ - @knocklabs/client@0.10.12
290
+
291
+ ## 0.2.22
292
+
293
+ ### Patch Changes
294
+
295
+ - Updated dependencies [395f0ca]
296
+ - @knocklabs/client@0.10.11
297
+
298
+ ## 0.2.21
299
+
300
+ ### Patch Changes
301
+
302
+ - a4d520c: chore: update generic types
303
+ - Updated dependencies [a4d520c]
304
+ - @knocklabs/client@0.10.10
305
+
306
+ ## 0.2.20
307
+
308
+ ### Patch Changes
309
+
310
+ - Updated dependencies [d0adb14]
311
+ - @knocklabs/client@0.10.9
312
+
313
+ ## 0.2.19
314
+
315
+ ### Patch Changes
316
+
317
+ - 1e60c19: fix: re-introduce subscribe/setstate call for useNotifications
318
+
319
+ ## 0.2.18
320
+
321
+ ### Patch Changes
322
+
323
+ - 29e3942: fix: introduce new useNotificationStore hook to prevent issues that prevent state updates
324
+ - Updated dependencies [29e3942]
325
+ - @knocklabs/client@0.10.8
326
+
327
+ ## 0.2.17
328
+
329
+ ### Patch Changes
330
+
331
+ - f25b112: fix: ensure feed store reference re-renders after changes to user
332
+ - Updated dependencies [f25b112]
333
+ - @knocklabs/client@0.10.7
334
+
335
+ ## 0.2.16
336
+
337
+ ### Patch Changes
338
+
339
+ - 5d2ddab: fix: ensure options are memoized in useAuthenticatedKnockClient
340
+
341
+ ## 0.2.15
342
+
343
+ ### Patch Changes
344
+
345
+ - b29a47a: Add KnockExpoPushNotificationProvider to react-native sdk
346
+ - Updated dependencies [b29a47a]
347
+ - @knocklabs/client@0.10.6
348
+
349
+ ## 0.2.14
350
+
351
+ ### Patch Changes
352
+
353
+ - 5fe3063: Fixes issue where notification data was not updating in react strict mode
354
+
355
+ ## 0.2.13
356
+
357
+ ### Patch Changes
358
+
359
+ - Updated dependencies [044eb0f]
360
+ - @knocklabs/client@0.10.5
361
+
362
+ ## 0.2.12
363
+
364
+ ### Patch Changes
365
+
366
+ - Updated dependencies [5a7c56e]
367
+ - @knocklabs/client@0.10.4
368
+
369
+ ## 0.2.11
370
+
371
+ ### Patch Changes
372
+
373
+ - Updated dependencies [a71ce51]
374
+ - @knocklabs/client@0.10.3
375
+
376
+ ## 0.2.10
377
+
378
+ ### Patch Changes
379
+
380
+ - 42ba22c: fix: improve typing for react < 18
381
+ - Updated dependencies [42ba22c]
382
+ - @knocklabs/client@0.10.2
383
+
384
+ ## 0.2.9
385
+
386
+ ### Patch Changes
387
+
388
+ - 354dd1a: fix: move away from jsx runtime to support react 16 + 17
389
+
390
+ ## 0.2.8
391
+
392
+ ### Patch Changes
393
+
394
+ - 3c277cb: fix: remove react-query and replace with swr for react 16+ support
395
+ - Updated dependencies [3c277cb]
396
+ - Updated dependencies [567e24f]
397
+ - @knocklabs/client@0.10.1
398
+
399
+ ## 0.2.7
400
+
401
+ ### Patch Changes
402
+
403
+ - Updated dependencies [8bdc75b]
404
+ - @knocklabs/client@0.10.0
405
+
406
+ ## 0.2.6
407
+
408
+ ### Patch Changes
409
+
410
+ - Updated dependencies [f58371c]
411
+ - @knocklabs/client@0.9.4
412
+
413
+ ## 0.2.5
414
+
415
+ ### Patch Changes
416
+
417
+ - 10b5646: Include src files for react-core
418
+
419
+ ## 0.2.4
420
+
421
+ ### Patch Changes
422
+
423
+ - bc69618: Add react-native to package.json files to fix a bug in our React Native SDK
424
+ - Updated dependencies [bc69618]
425
+ - @knocklabs/client@0.9.3
426
+
427
+ ## 0.2.3
428
+
429
+ ### Patch Changes
430
+
431
+ - Updated dependencies [fed0f8c]
432
+ - @knocklabs/client@0.9.2
433
+
434
+ ## 0.2.2
435
+
436
+ ### Patch Changes
437
+
438
+ - 282d005: Handle auth disconnected status.
439
+
440
+ ## 0.2.1
441
+
442
+ ### Patch Changes
443
+
444
+ - Updated dependencies [f37d680]
445
+ - @knocklabs/client@0.9.1
446
+
447
+ ## 0.2.0
448
+
449
+ ### Minor Changes
450
+
451
+ - 627e643: Add SlackKit components, hooks, client JS functions, and example apps.
452
+
453
+ ### Patch Changes
454
+
455
+ - e076109: Fix hover state for connect button.
456
+ - Updated dependencies [627e643]
457
+ - @knocklabs/client@0.9.0
458
+
459
+ ## 0.1.6
460
+
461
+ ### Patch Changes
462
+
463
+ - c9faba5: fix esm build issues with mjs files
464
+ - Updated dependencies [c9faba5]
465
+ - @knocklabs/client@0.8.21
466
+
467
+ ## 0.1.5
468
+
469
+ ### Patch Changes
470
+
471
+ - Re-releasing packages
472
+ - Updated dependencies
473
+ - @knocklabs/client@0.8.20
474
+
475
+ ## 0.1.4
476
+
477
+ ### Patch Changes
478
+
479
+ - 7786ec5: chore: upgrade to yarn modern and update local package references
480
+ - 9dd0d15: feat: add onUserTokenExpiring callback option to client
481
+ - Updated dependencies [7786ec5]
482
+ - Updated dependencies [9dd0d15]
483
+ - @knocklabs/client@0.8.19
484
+
485
+ ## 0.1.3
486
+
487
+ ### Patch Changes
488
+
489
+ - 1050660: feat: switch timestamp formatting to date-fns intlFormatDistance
490
+ - Updated dependencies [e53c200]
491
+ - Updated dependencies [d4ba1f2]
492
+ - @knocklabs/client@0.8.18
493
+
494
+ ## 0.1.2
495
+
496
+ ### Patch Changes
497
+
498
+ - 8988230: Fix esm exports and date-fns/locale imports
499
+ - 8315372: Fix cjs build output for React components
500
+
501
+ ## 0.1.1
502
+
503
+ ### Patch Changes
504
+
505
+ - d8a216e: fix: react-core build process
506
+ fix: remove headless prop from KnockFeedProvider
507
+ fix: move KnockFeedContainer from react-core to react and rename to NotificationFeedContainer
508
+
509
+ ## 0.1.0
510
+
511
+ ### Patch Changes
512
+
513
+ - bcdbc86: Initialize monorepo
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@knocklabs/react-core",
3
3
  "description": "A set of React components to build notification experiences powered by Knock",
4
4
  "author": "@knocklabs",
5
- "version": "0.6.14-canary.2",
5
+ "version": "0.6.14",
6
6
  "license": "MIT",
7
7
  "main": "dist/cjs/index.js",
8
8
  "module": "dist/esm/index.mjs",
@@ -47,7 +47,7 @@
47
47
  "react": "^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
48
48
  },
49
49
  "dependencies": {
50
- "@knocklabs/client": "workspace:^",
50
+ "@knocklabs/client": "^0.14.10",
51
51
  "@tanstack/react-store": "^0.7.1",
52
52
  "date-fns": "^4.0.0",
53
53
  "fast-deep-equal": "^3.1.3",
@@ -75,4 +75,4 @@
75
75
  "vite-plugin-no-bundle": "^4.0.0",
76
76
  "vitest": "^3.1.1"
77
77
  }
78
- }
78
+ }