@react-three/fiber 8.17.3 → 8.17.5

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 (29) hide show
  1. package/CHANGELOG.md +1034 -1022
  2. package/dist/declarations/src/core/events.d.ts +93 -0
  3. package/dist/declarations/src/core/hooks.d.ts +57 -0
  4. package/dist/declarations/src/core/index.d.ts +94 -0
  5. package/dist/declarations/src/core/loop.d.ts +38 -0
  6. package/dist/declarations/src/core/renderer.d.ts +58 -0
  7. package/dist/declarations/src/core/store.d.ts +138 -0
  8. package/dist/declarations/src/core/utils.d.ts +134 -0
  9. package/dist/declarations/src/index.d.ts +12 -0
  10. package/dist/declarations/src/native/Canvas.d.ts +14 -0
  11. package/dist/declarations/src/native/events.d.ts +5 -0
  12. package/dist/declarations/src/native/polyfills.d.ts +1 -0
  13. package/dist/declarations/src/native.d.ts +13 -0
  14. package/dist/declarations/src/three-types.d.ts +393 -0
  15. package/dist/declarations/src/web/Canvas.d.ts +24 -0
  16. package/dist/declarations/src/web/events.d.ts +5 -0
  17. package/dist/declarations/src/web/use-measure.d.ts +34 -0
  18. package/dist/{events-c54ce65e.cjs.dev.js → events-66f43fbc.cjs.dev.js} +76 -76
  19. package/dist/{events-3515660a.esm.js → events-a5fc3e51.esm.js} +76 -76
  20. package/dist/{events-2e7e6eab.cjs.prod.js → events-be1682bd.cjs.prod.js} +76 -76
  21. package/dist/react-three-fiber.cjs.dev.js +4 -4
  22. package/dist/react-three-fiber.cjs.prod.js +4 -4
  23. package/dist/react-three-fiber.esm.js +5 -5
  24. package/native/dist/react-three-fiber-native.cjs.dev.js +7 -7
  25. package/native/dist/react-three-fiber-native.cjs.prod.js +7 -7
  26. package/native/dist/react-three-fiber-native.esm.js +8 -8
  27. package/native/package.json +5 -5
  28. package/package.json +1 -1
  29. package/readme.md +253 -253
package/CHANGELOG.md CHANGED
@@ -1,1022 +1,1034 @@
1
- # @react-three/fiber
2
-
3
- ## 8.17.3
4
-
5
- ### Patch Changes
6
-
7
- - 8363eb7a: fix: rebuild with types
8
-
9
- ## 8.17.2
10
-
11
- ### Patch Changes
12
-
13
- - 6aa4eb28: fix: rebuild with types
14
-
15
- ## 8.17.1
16
-
17
- ### Patch Changes
18
-
19
- - e5f3f4f9: fix: rebuild with types
20
-
21
- ## 8.17.0
22
-
23
- ### Minor Changes
24
-
25
- - 3c22194d: feat: flushSync, native EventTarget
26
-
27
- ## 8.16.8
28
-
29
- ### Patch Changes
30
-
31
- - 4748b365: fix: update is.equ to compare booleans
32
-
33
- ## 8.16.7
34
-
35
- ### Patch Changes
36
-
37
- - 4d6408c7: fix(types): revert usage of future module JSX
38
-
39
- ## 8.16.6
40
-
41
- ### Patch Changes
42
-
43
- - 03ab82fe: fix(applyProps): null check indeterminate instances
44
-
45
- ## 8.16.5
46
-
47
- ### Patch Changes
48
-
49
- - cb913e01: fix: use fast JSX, future JSX types
50
-
51
- ## 8.16.4
52
-
53
- ### Patch Changes
54
-
55
- - 1270d24c: fix: missing dependency on inject function
56
-
57
- ## 8.16.3
58
-
59
- ### Patch Changes
60
-
61
- - 9c83502c: fix(Canvas): don't override camera frustum props
62
-
63
- ## 8.16.2
64
-
65
- ### Patch Changes
66
-
67
- - e0900489: fix(useLoader): don't dispose of memoized loader
68
-
69
- ## 8.16.1
70
-
71
- ### Patch Changes
72
-
73
- - 503efc2e: fix: prevent invalidate from piling up frames
74
-
75
- ## 8.16.0
76
-
77
- ### Minor Changes
78
-
79
- - 6b0ea6eb: feat: add childadded event dispatch
80
-
81
- ## 8.15.19
82
-
83
- ### Patch Changes
84
-
85
- - 74926b94: fix(types): avoid emitting THREE.XRFrame
86
-
87
- ## 8.15.18
88
-
89
- ### Patch Changes
90
-
91
- - 8c01939a: fix: correctly pass frames in invalidate
92
-
93
- ## 8.15.17
94
-
95
- ### Patch Changes
96
-
97
- - 16c2ee97: fix(types): support @types/three@0.162.0
98
-
99
- ## 8.15.16
100
-
101
- ### Patch Changes
102
-
103
- - 71cd8f96: fix: tonemapping config overwrites userland
104
- - 0bb12fd1: fix(types): remove usage of THREE.Vector
105
-
106
- ## 8.15.14
107
-
108
- ### Patch Changes
109
-
110
- - 0afc9c12: fix: portal events, update examples
111
-
112
- ## 8.15.13
113
-
114
- ### Patch Changes
115
-
116
- - 0a399f6d: fix(native): use MSAA for antialias on iOS
117
-
118
- ## 8.15.12
119
-
120
- ### Patch Changes
121
-
122
- - 496d6f0d: fix: useLoader and XRFrame type fixes
123
-
124
- ## 8.15.11
125
-
126
- ### Patch Changes
127
-
128
- - 3d9af04d: fix: update import from three examples
129
-
130
- ## 8.15.10
131
-
132
- ### Patch Changes
133
-
134
- - 49158164: fix: don't recursively dispose primitives
135
-
136
- ## 8.15.9
137
-
138
- ### Patch Changes
139
-
140
- - 4cbc5530: fix(native): deopt iOS blob URI path
141
-
142
- ## 8.15.8
143
-
144
- ### Patch Changes
145
-
146
- - 70680832: fix: revert stable sort
147
-
148
- ## 8.15.7
149
-
150
- ### Patch Changes
151
-
152
- - 07e39e2e: fix(types): remove use of Object3D generic
153
-
154
- ## 8.15.6
155
-
156
- ### Patch Changes
157
-
158
- - 7bb2950b: experiment: stable object sort
159
-
160
- ## 8.15.5
161
-
162
- ### Patch Changes
163
-
164
- - 0e44fd8b: fix(types): preserve deprecated JSX annotations
165
-
166
- ## 8.15.4
167
-
168
- ### Patch Changes
169
-
170
- - 634e5db5: fix(native): harden Blob URI check for Android
171
-
172
- ## 8.15.3
173
-
174
- ### Patch Changes
175
-
176
- - beab4344: fix(native): workaround Android content policy for Blob URI
177
-
178
- ## 8.15.2
179
-
180
- ### Patch Changes
181
-
182
- - 086d3932: fix: size check and raycaster camera
183
-
184
- ## 8.15.1
185
-
186
- ### Patch Changes
187
-
188
- - 2d39676d: fix: ignore deprecated types, use correct XRFrame definition
189
-
190
- ## 8.15.0
191
-
192
- ### Minor Changes
193
-
194
- - cca8b6bb: feat: export buildGraph
195
-
196
- ## 8.14.7
197
-
198
- ### Patch Changes
199
-
200
- - 0f63a287: fix(native): restore polyfill conversions, drop networking
201
-
202
- ## 8.14.6
203
-
204
- ### Patch Changes
205
-
206
- - 465fa0fb: fix(native): revert usage of networking stack
207
-
208
- ## 8.14.5
209
-
210
- ### Patch Changes
211
-
212
- - f372a5b5: fix(applyProps): loosen copy identity in dev
213
-
214
- ## 8.14.4
215
-
216
- ### Patch Changes
217
-
218
- - dc7e5739: fix(native): amend BlobManager over globals
219
-
220
- ## 8.14.3
221
-
222
- ### Patch Changes
223
-
224
- - d77b0990: fix(native): drop fsstat for react-native-web
225
-
226
- ## 8.14.2
227
-
228
- ### Patch Changes
229
-
230
- - 33e8baef: fix: native perf, loader types
231
-
232
- ## 8.14.1
233
-
234
- ### Patch Changes
235
-
236
- - c99907bf: fix(native): prefer local uri for fs
237
-
238
- ## 8.14.0
239
-
240
- ### Minor Changes
241
-
242
- - 89e96bf4: feat: react-native-web, native globals fixes
243
-
244
- ## 8.13.9
245
-
246
- ### Patch Changes
247
-
248
- - 44d57b3c: fix(native): TextureLoader should remain consistent with FileLoader
249
-
250
- ## 8.13.8
251
-
252
- ### Patch Changes
253
-
254
- - 5da26d52: fix(useLoader): dispose loaders
255
-
256
- ## 8.13.7
257
-
258
- ### Patch Changes
259
-
260
- - 37b9502a: fix(Canvas): pass scene prop
261
-
262
- ## 8.13.6
263
-
264
- ### Patch Changes
265
-
266
- - 0597495c: fix: harden XR init against Renderer shim
267
-
268
- ## 8.13.5
269
-
270
- ### Patch Changes
271
-
272
- - 7a3b543b: fix: three type regressions
273
-
274
- ## 8.13.4
275
-
276
- ### Patch Changes
277
-
278
- - 824ee0f7: fix: safely diff instances
279
-
280
- ## 8.13.3
281
-
282
- ### Patch Changes
283
-
284
- - ffdb5fc4: revert nested portals, up suspend-react
285
-
286
- ## 8.13.2
287
-
288
- ### Patch Changes
289
-
290
- - bbabdf07: update suspend-react
291
-
292
- ## 8.13.1
293
-
294
- ### Patch Changes
295
-
296
- - c9fe03ba: fix: primitive swap and reactive portals
297
-
298
- ## 8.13.0
299
-
300
- ### Minor Changes
301
-
302
- - ecfc48b7: feat: CanvasProps alias, respect r152 color management
303
-
304
- ## 8.12.2
305
-
306
- ### Patch Changes
307
-
308
- - c5193468: fix: safeguard window.devicePixelRatio
309
-
310
- ## 8.12.1
311
-
312
- ### Patch Changes
313
-
314
- - 571f07ac: fix: safeguard window.devicePixelRatio
315
-
316
- ## 8.12.0
317
-
318
- ### Minor Changes
319
-
320
- - 1928d095: feat: `scene` render prop for custom THREE.Scene
321
-
322
- ## 8.11.11
323
-
324
- ### Patch Changes
325
-
326
- - f03c6ef8: feat: `scene` render prop for custom THREE.Scene
327
-
328
- ## 8.11.10
329
-
330
- ### Patch Changes
331
-
332
- - 12907836: fix onpointerlostcapture which fired before pointerup
333
-
334
- ## 8.11.9
335
-
336
- ### Patch Changes
337
-
338
- - 6b5f572c: fix: treeshake THREE.ColorManagement
339
-
340
- ## 8.11.8
341
-
342
- ### Patch Changes
343
-
344
- - 350cd3f3: fix(Canvas): inline render-effect
345
-
346
- ## 8.11.7
347
-
348
- ### Patch Changes
349
-
350
- - 96af62d5: fix: don't overwrite public cameras
351
-
352
- ## 8.11.6
353
-
354
- ### Patch Changes
355
-
356
- - 7d319c18: Fix is.equ obj:shallow, allow it to test arrays 1 level deep, fix canvas.camera prop being stale
357
-
358
- ## 8.11.5
359
-
360
- ### Patch Changes
361
-
362
- - c658f763: fix: update canvas prop types
363
-
364
- ## 8.11.4
365
-
366
- ### Patch Changes
367
-
368
- - 970aa58b: fix: play nice with offscreencanvas
369
-
370
- ## 8.11.3
371
-
372
- ### Patch Changes
373
-
374
- - 2bce569c: fix: progressively set colormanagement
375
-
376
- ## 8.11.2
377
-
378
- ### Patch Changes
379
-
380
- - 41d655cd: fix: hmr, srgb encode
381
-
382
- ## 8.11.1
383
-
384
- ### Patch Changes
385
-
386
- - 58cadeff: fix: skip circular onUpdate calls
387
-
388
- ## 8.11.0
389
-
390
- ### Minor Changes
391
-
392
- - 2917a47b: events.update, allow raycast w/o user interaction
393
- - 521bfb07: events.update, allow raycast w/o user interaction
394
-
395
- ## 8.10.4
396
-
397
- ### Patch Changes
398
-
399
- - d9e6316d: fix: transpile class properties
400
-
401
- ## 8.10.3
402
-
403
- ### Patch Changes
404
-
405
- - d06d2879: fix: align useLoader type, public fields from builds
406
-
407
- ## 8.10.2
408
-
409
- ### Patch Changes
410
-
411
- - 564edbbb: fix port inject layers, it should allow root props to overwrite indefined portal props"
412
-
413
- ## 8.10.1
414
-
415
- ### Patch Changes
416
-
417
- - bfa0298f: fix memoized identity
418
-
419
- ## 8.10.0
420
-
421
- ### Minor Changes
422
-
423
- - 24c4dba4: shortcut for shadow type
424
-
425
- ## 8.9.2
426
-
427
- ### Patch Changes
428
-
429
- - 2aeb6500: fix: primitives are incorrectly swapped on key change in maps
430
-
431
- ## 8.9.1
432
-
433
- ### Patch Changes
434
-
435
- - 0cf11797: fix(events): type spread event props
436
-
437
- ## 8.9.0
438
-
439
- ### Minor Changes
440
-
441
- - a458b4dd: fix(loop): export flush methods and types
442
-
443
- ## 8.8.11
444
-
445
- ### Patch Changes
446
-
447
- - 2068f0cc: fix: events pointerlock, useLoader extension types
448
-
449
- ## 8.8.10
450
-
451
- ### Patch Changes
452
-
453
- - 00c24718: fix: invalidate pierced props
454
-
455
- ## 8.8.9
456
-
457
- ### Patch Changes
458
-
459
- - 4254400e: fix(createPortal): use correct JSX type
460
-
461
- ## 8.8.8
462
-
463
- ### Patch Changes
464
-
465
- - fcb183e3: fix: call onUpdate for attached children prop update
466
-
467
- ## 8.8.7
468
-
469
- ### Patch Changes
470
-
471
- - bedb16e7: fix: prefer named functions, for loops in hot paths
472
-
473
- ## 8.8.6
474
-
475
- ### Patch Changes
476
-
477
- - 02a558bb: fix: upgrade deps
478
-
479
- ## 8.8.5
480
-
481
- ### Patch Changes
482
-
483
- - 530a06d6: fix: upgrade deps to work-around CRA
484
-
485
- ## 8.8.4
486
-
487
- ### Patch Changes
488
-
489
- - 2f2dc9f9: chore: upgrade bridge to harden suspense behavior
490
-
491
- ## 8.8.3
492
-
493
- ### Patch Changes
494
-
495
- - 9f571239: fix #2506, events should fall back to rootstate"
496
-
497
- ## 8.8.2
498
-
499
- ### Patch Changes
500
-
501
- - dc389ed6: fix(Canvas): prevent remount on context update
502
-
503
- ## 8.8.1
504
-
505
- ### Patch Changes
506
-
507
- - 370d3ae5: refactor: pull context bridge from its-fine
508
-
509
- ## 8.8.0
510
-
511
- ### Minor Changes
512
-
513
- - 46d8b440: bridge cross-container context
514
-
515
- ## 8.7.4
516
-
517
- ### Patch Changes
518
-
519
- - 259c8895: fix: use self to get global context before window
520
-
521
- ## 8.7.3
522
-
523
- ### Patch Changes
524
-
525
- - eb5a3be4: fix: if there is an eventsource pointerevent will be set to none
526
-
527
- ## 8.7.2
528
-
529
- ### Patch Changes
530
-
531
- - 7f801e60: fix: events in portals carry the wrong raycaster, camera, etc
532
-
533
- ## 8.7.1
534
-
535
- ### Patch Changes
536
-
537
- - 962cc270: fix: allow canvas eventsource to be a ref
538
-
539
- ## 8.7.0
540
-
541
- ### Minor Changes
542
-
543
- - f5db1b78: feat: useInstanceHandle, flushGlobalEffects
544
-
545
- ## 8.6.2
546
-
547
- ### Patch Changes
548
-
549
- - 57c12e9c: fix(types): @react-three/drei declaration files
550
-
551
- ## 8.6.1
552
-
553
- ### Patch Changes
554
-
555
- - 7a0b5670: fix(core): don't append to unmounted containers
556
-
557
- ## 8.6.0
558
-
559
- ### Minor Changes
560
-
561
- - 85c80e70: eventsource and eventprefix on the canvas component
562
-
563
- ## 8.5.1
564
-
565
- ### Patch Changes
566
-
567
- - 87821d9: fix: null-check instance.children on reconstruct
568
-
569
- ## 8.5.0
570
-
571
- ### Minor Changes
572
-
573
- - edc8252: feat: handle primitive children, auto-attach via instanceof
574
-
575
- ## 8.3.1
576
-
577
- ### Patch Changes
578
-
579
- - aaeb2b8: fix(types): accept readonly arrays for vector props
580
-
581
- ## 8.3.0
582
-
583
- ### Minor Changes
584
-
585
- - 9c450ec: feat: improve errors
586
-
587
- ## 8.2.3
588
-
589
- ### Patch Changes
590
-
591
- - b8d2eab: fix: improve useLoader signature, initial size on createRoot
592
-
593
- ## 8.2.2
594
-
595
- ### Patch Changes
596
-
597
- - acd6f04: fix: warn on stray text
598
-
599
- ## 8.2.1
600
-
601
- ### Patch Changes
602
-
603
- - 25e35a1: fix: prefer useLayoutEffect in react-native
604
-
605
- ## 8.2.0
606
-
607
- ### Minor Changes
608
-
609
- - 9770d7d: feat: expose ThreeElements interface for JSX elements
610
-
611
- ## 8.1.0
612
-
613
- ### Minor Changes
614
-
615
- - 8d0f708c: Expose position information in state.size
616
-
617
- ## 8.0.27
618
-
619
- ### Patch Changes
620
-
621
- - 7940995: fix: resume on xrsession end, export internal events
622
-
623
- ## 8.0.26
624
-
625
- ### Patch Changes
626
-
627
- - 7b6df9df: fix: infinite loop updating cam viewport
628
-
629
- ## 8.0.25
630
-
631
- ### Patch Changes
632
-
633
- - b7cd0f42: update viewport on camera changes
634
-
635
- ## 8.0.24
636
-
637
- ### Patch Changes
638
-
639
- - ee8e785: fix: attach timings
640
-
641
- ## 8.0.23
642
-
643
- ### Patch Changes
644
-
645
- - 29d03c64: revert multi attach
646
-
647
- ## 8.0.22
648
-
649
- ### Patch Changes
650
-
651
- - 419e854: fix: always prepare primitives
652
-
653
- ## 8.0.21
654
-
655
- ### Patch Changes
656
-
657
- - 3098b9b: fix: resizing in worker contexts, copy over attachments on reconstruct
658
-
659
- ## 8.0.20
660
-
661
- ### Patch Changes
662
-
663
- - 4c87bce: fix: attach, devtools, and perf fixes
664
-
665
- ## 8.0.19
666
-
667
- ### Patch Changes
668
-
669
- - 360b45a: fix: handle attach on reconstruct
670
-
671
- ## 8.0.18
672
-
673
- ### Patch Changes
674
-
675
- - be567c1: fix: suspense attach and three compat in webpack
676
-
677
- ## 8.0.17
678
-
679
- ### Patch Changes
680
-
681
- - 9e3369e: fix dom resize, improve native tree shaking
682
-
683
- ## 8.0.16
684
-
685
- ### Patch Changes
686
-
687
- - 669c45c: correctly type useLoader results
688
-
689
- ## 8.0.15
690
-
691
- ### Patch Changes
692
-
693
- - c4715d5f: allow invalidate to preempt more than 1 frame
694
-
695
- ## 8.0.14
696
-
697
- ### Patch Changes
698
-
699
- - 5559a119: Add support for recoverable errors
700
-
701
- ## 8.0.13
702
-
703
- ### Patch Changes
704
-
705
- - 9d77d8e2: fix: detach attribute removal
706
-
707
- ## 8.0.12
708
-
709
- ### Patch Changes
710
-
711
- - 3d10413f: fix portal layers
712
-
713
- ## 8.0.11
714
-
715
- ### Patch Changes
716
-
717
- - 5167b1e4: memoized.args can be undefined
718
-
719
- ## 8.0.10
720
-
721
- ### Patch Changes
722
-
723
- - eb321afd: fix: remount bug, allow portals to inject custom size
724
-
725
- ## 8.0.9
726
-
727
- ### Patch Changes
728
-
729
- - 624df949: fix: canvas unmount race condition"
730
-
731
- ## 8.0.8
732
-
733
- ### Patch Changes
734
-
735
- - 952a566: fix: react SSR
736
-
737
- ## 8.0.7
738
-
739
- ### Patch Changes
740
-
741
- - f63806b: fix: react SSR
742
-
743
- ## 8.0.6
744
-
745
- ### Patch Changes
746
-
747
- - d4bafb9: fix re-parenting, useframe not working properly in portals, attach crash
748
-
749
- ## 8.0.5
750
-
751
- ### Patch Changes
752
-
753
- - 227c328: fix pointer for root and portals
754
-
755
- ## 8.0.4
756
-
757
- ### Patch Changes
758
-
759
- - e981a72: fix: mock three color management, loosen peer dep
760
-
761
- ## 8.0.3
762
-
763
- ### Patch Changes
764
-
765
- - 3252aed: setevents needs to spread and be mirrored in portals
766
-
767
- ## 8.0.2
768
-
769
- ### Patch Changes
770
-
771
- - 8035d1f: fix: legacy mode
772
-
773
- ## 8.0.1
774
-
775
- ### Patch Changes
776
-
777
- - 26db195: add legacy flag to turn of three.colormanagement
778
-
779
- ## 8.0.0
780
-
781
- ### Major Changes
782
-
783
- - 385ba9c: v8 major, react-18 compat
784
- - 04c07b8: v8 major, react-18 compat
785
-
786
- ### Patch Changes
787
-
788
- - 347ea79: new beta for library testing
789
-
790
- ## 8.0.0-beta.0
791
-
792
- ### Major Changes
793
-
794
- - 385ba9c: v8 major, react-18 compat
795
-
796
- ## 8.0.0-beta.0
797
-
798
- ### Patch Changes
799
-
800
- - cf6316c: new beta for library testing
801
-
802
- ## 7.0.25
803
-
804
- ### Patch Changes
805
-
806
- - 8698734: Release latest patches
807
-
808
- ## 7.0.24
809
-
810
- ### Patch Changes
811
-
812
- - 7f46ddf: cleanup captured pointers when released (#1914)
813
-
814
- ## 7.0.23
815
-
816
- ### Patch Changes
817
-
818
- - 30d38b1: remove logs
819
-
820
- ## 7.0.22
821
-
822
- ### Patch Changes
823
-
824
- - 259e1fa: add camera:manual
825
-
826
- ## 7.0.21
827
-
828
- ### Patch Changes
829
-
830
- - 65e4147: up usemeasure, add last event to internals"
831
-
832
- ## 7.0.20
833
-
834
- ### Patch Changes
835
-
836
- - 54cb0fd: update react-use-measure, allow it to use the offsetSize
837
-
838
- ## 7.0.19
839
-
840
- ### Patch Changes
841
-
842
- - 7aa2eab: fix: remove zustand subcribe selector
843
-
844
- ## 7.0.18
845
-
846
- ### Patch Changes
847
-
848
- - 6780f58: fix unmount pointer capture
849
-
850
- ## 7.0.17
851
-
852
- ### Patch Changes
853
-
854
- - 894c550: fix: event count
855
-
856
- ## 7.0.16
857
-
858
- ### Patch Changes
859
-
860
- - c7a4220: patch: applyprops returns the same instance
861
-
862
- ## 7.0.15
863
-
864
- ### Patch Changes
865
-
866
- - c5645e8: fix primitve leftovers on switch
867
-
868
- ## 7.0.14
869
-
870
- ### Patch Changes
871
-
872
- - 05af996: fix: revert the is function
873
-
874
- ## 7.0.13
875
-
876
- ### Patch Changes
877
-
878
- - f256558: fix(core): don't overwrite camera rotation
879
- - 51e6fc9: fix(core): safely handle external instances
880
-
881
- ## 7.0.12
882
-
883
- ### Patch Changes
884
-
885
- - 0df6073: fix: missed events
886
-
887
- ## 7.0.11
888
-
889
- ### Patch Changes
890
-
891
- - 62b0a3a: fix: event order of missed pointers
892
-
893
- ## 7.0.10
894
-
895
- ### Patch Changes
896
-
897
- - e019dd4: fixes
898
-
899
- ## 7.0.9
900
-
901
- ### Patch Changes
902
-
903
- - cd266e4: Fix diffProps dashed keys
904
-
905
- ## 7.0.8
906
-
907
- ### Patch Changes
908
-
909
- - 6f68406: Allow getCurrentViewport to receive an array
910
-
911
- ## 7.0.7
912
-
913
- ### Patch Changes
914
-
915
- - 0375896: Simplify useframe, support instanced event cancelation, silence disposal
916
-
917
- ## 7.0.6
918
-
919
- ### Patch Changes
920
-
921
- - fb052ad: Fix babel-env browserslist transpiling into old code"
922
-
923
- ## 7.0.5
924
-
925
- ### Patch Changes
926
-
927
- - c97794a: Add useLoader.clear(Loader, input)
928
-
929
- ## 7.0.4
930
-
931
- ### Patch Changes
932
-
933
- - 974ecfb: Allow elements to define attachFns for specific mount/unmount
934
-
935
- ## 7.0.2
936
-
937
- ### Patch Changes
938
-
939
- - a97aca3: Add controls state field
940
- - 4c703d6: fix rttr didn't work with r130
941
-
942
- ## 7.0.0
943
-
944
- ### Major Changes
945
-
946
- - 96ae1ad: fix javascript interpreting negative renderpriority as positive
947
-
948
- This is a major breaking change that will fix an edge-case. It will only affect you if you used negative useFrame indicies, for instance
949
-
950
- ```jsx
951
- useFrame(..., -1)
952
- ```
953
-
954
- Surprisingly this disabled auto-rendering although the documentation says positive numbers only. As of v7 this will not take over the render loop.
955
-
956
- ```jsx
957
- function Render() {
958
- // Takes over the render-loop, the user has the responsibility to render
959
- useFrame(({ gl, scene, camera }) => {
960
- gl.render(scene, camera)
961
- }, 1)
962
-
963
- function RenderOnTop() {
964
- // This will render on top of the previous call
965
- useFrame(({ gl, ... }) => {
966
- gl.render(...)
967
- }, 2)
968
-
969
- function A() {
970
- // Will *not* take over the render-loop, negative indices can still be useful for sorting
971
- useFrame(() => ..., -1)
972
-
973
- function B() {
974
- // B's useFrame will execute *after* A's
975
- useFrame(() => ..., -2)
976
- ```
977
-
978
- ## 6.2.3
979
-
980
- ### Patch Changes
981
-
982
- - 26bc7eb: typescript changes
983
-
984
- ## 6.2.2
985
-
986
- ### Patch Changes
987
-
988
- - 4f44a2c: use more helpful name with event handling in rttr
989
-
990
- ## 6.2.1
991
-
992
- ### Patch Changes
993
-
994
- - Fix stopPropagation logic
995
-
996
- ## 6.2.0
997
-
998
- ### Minor Changes
999
-
1000
- - Allow object3d instances to be attached
1001
-
1002
- ## 6.1.5
1003
-
1004
- ### Patch Changes
1005
-
1006
- - fix(rttr): if children is undefined return an array to map with
1007
-
1008
- ## 6.1.4
1009
-
1010
- ### Patch Changes
1011
-
1012
- - 6faa090: Add shape to types, exclude event functions from event data
1013
-
1014
- ## 6.1.3
1015
-
1016
- ### Patch Changes
1017
-
1018
- - 71e72c0: Fix constructor args with attached children (#1348)
1019
- - 015fc03: Only set up pointer/wheel events as passive
1020
- - a160e08: Fix event setPointerCapture and stopPropagation.
1021
-
1022
- ## 6.1.2
1
+ # @react-three/fiber
2
+
3
+ ## 8.17.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 162dbbdd: fix: npmignore ignored types"
8
+
9
+ ## 8.17.4
10
+
11
+ ### Patch Changes
12
+
13
+ - 43866f4e: fix: rebuild with types
14
+
15
+ ## 8.17.3
16
+
17
+ ### Patch Changes
18
+
19
+ - 8363eb7a: fix: rebuild with types
20
+
21
+ ## 8.17.2
22
+
23
+ ### Patch Changes
24
+
25
+ - 6aa4eb28: fix: rebuild with types
26
+
27
+ ## 8.17.1
28
+
29
+ ### Patch Changes
30
+
31
+ - e5f3f4f9: fix: rebuild with types
32
+
33
+ ## 8.17.0
34
+
35
+ ### Minor Changes
36
+
37
+ - 3c22194d: feat: flushSync, native EventTarget
38
+
39
+ ## 8.16.8
40
+
41
+ ### Patch Changes
42
+
43
+ - 4748b365: fix: update is.equ to compare booleans
44
+
45
+ ## 8.16.7
46
+
47
+ ### Patch Changes
48
+
49
+ - 4d6408c7: fix(types): revert usage of future module JSX
50
+
51
+ ## 8.16.6
52
+
53
+ ### Patch Changes
54
+
55
+ - 03ab82fe: fix(applyProps): null check indeterminate instances
56
+
57
+ ## 8.16.5
58
+
59
+ ### Patch Changes
60
+
61
+ - cb913e01: fix: use fast JSX, future JSX types
62
+
63
+ ## 8.16.4
64
+
65
+ ### Patch Changes
66
+
67
+ - 1270d24c: fix: missing dependency on inject function
68
+
69
+ ## 8.16.3
70
+
71
+ ### Patch Changes
72
+
73
+ - 9c83502c: fix(Canvas): don't override camera frustum props
74
+
75
+ ## 8.16.2
76
+
77
+ ### Patch Changes
78
+
79
+ - e0900489: fix(useLoader): don't dispose of memoized loader
80
+
81
+ ## 8.16.1
82
+
83
+ ### Patch Changes
84
+
85
+ - 503efc2e: fix: prevent invalidate from piling up frames
86
+
87
+ ## 8.16.0
88
+
89
+ ### Minor Changes
90
+
91
+ - 6b0ea6eb: feat: add childadded event dispatch
92
+
93
+ ## 8.15.19
94
+
95
+ ### Patch Changes
96
+
97
+ - 74926b94: fix(types): avoid emitting THREE.XRFrame
98
+
99
+ ## 8.15.18
100
+
101
+ ### Patch Changes
102
+
103
+ - 8c01939a: fix: correctly pass frames in invalidate
104
+
105
+ ## 8.15.17
106
+
107
+ ### Patch Changes
108
+
109
+ - 16c2ee97: fix(types): support @types/three@0.162.0
110
+
111
+ ## 8.15.16
112
+
113
+ ### Patch Changes
114
+
115
+ - 71cd8f96: fix: tonemapping config overwrites userland
116
+ - 0bb12fd1: fix(types): remove usage of THREE.Vector
117
+
118
+ ## 8.15.14
119
+
120
+ ### Patch Changes
121
+
122
+ - 0afc9c12: fix: portal events, update examples
123
+
124
+ ## 8.15.13
125
+
126
+ ### Patch Changes
127
+
128
+ - 0a399f6d: fix(native): use MSAA for antialias on iOS
129
+
130
+ ## 8.15.12
131
+
132
+ ### Patch Changes
133
+
134
+ - 496d6f0d: fix: useLoader and XRFrame type fixes
135
+
136
+ ## 8.15.11
137
+
138
+ ### Patch Changes
139
+
140
+ - 3d9af04d: fix: update import from three examples
141
+
142
+ ## 8.15.10
143
+
144
+ ### Patch Changes
145
+
146
+ - 49158164: fix: don't recursively dispose primitives
147
+
148
+ ## 8.15.9
149
+
150
+ ### Patch Changes
151
+
152
+ - 4cbc5530: fix(native): deopt iOS blob URI path
153
+
154
+ ## 8.15.8
155
+
156
+ ### Patch Changes
157
+
158
+ - 70680832: fix: revert stable sort
159
+
160
+ ## 8.15.7
161
+
162
+ ### Patch Changes
163
+
164
+ - 07e39e2e: fix(types): remove use of Object3D generic
165
+
166
+ ## 8.15.6
167
+
168
+ ### Patch Changes
169
+
170
+ - 7bb2950b: experiment: stable object sort
171
+
172
+ ## 8.15.5
173
+
174
+ ### Patch Changes
175
+
176
+ - 0e44fd8b: fix(types): preserve deprecated JSX annotations
177
+
178
+ ## 8.15.4
179
+
180
+ ### Patch Changes
181
+
182
+ - 634e5db5: fix(native): harden Blob URI check for Android
183
+
184
+ ## 8.15.3
185
+
186
+ ### Patch Changes
187
+
188
+ - beab4344: fix(native): workaround Android content policy for Blob URI
189
+
190
+ ## 8.15.2
191
+
192
+ ### Patch Changes
193
+
194
+ - 086d3932: fix: size check and raycaster camera
195
+
196
+ ## 8.15.1
197
+
198
+ ### Patch Changes
199
+
200
+ - 2d39676d: fix: ignore deprecated types, use correct XRFrame definition
201
+
202
+ ## 8.15.0
203
+
204
+ ### Minor Changes
205
+
206
+ - cca8b6bb: feat: export buildGraph
207
+
208
+ ## 8.14.7
209
+
210
+ ### Patch Changes
211
+
212
+ - 0f63a287: fix(native): restore polyfill conversions, drop networking
213
+
214
+ ## 8.14.6
215
+
216
+ ### Patch Changes
217
+
218
+ - 465fa0fb: fix(native): revert usage of networking stack
219
+
220
+ ## 8.14.5
221
+
222
+ ### Patch Changes
223
+
224
+ - f372a5b5: fix(applyProps): loosen copy identity in dev
225
+
226
+ ## 8.14.4
227
+
228
+ ### Patch Changes
229
+
230
+ - dc7e5739: fix(native): amend BlobManager over globals
231
+
232
+ ## 8.14.3
233
+
234
+ ### Patch Changes
235
+
236
+ - d77b0990: fix(native): drop fsstat for react-native-web
237
+
238
+ ## 8.14.2
239
+
240
+ ### Patch Changes
241
+
242
+ - 33e8baef: fix: native perf, loader types
243
+
244
+ ## 8.14.1
245
+
246
+ ### Patch Changes
247
+
248
+ - c99907bf: fix(native): prefer local uri for fs
249
+
250
+ ## 8.14.0
251
+
252
+ ### Minor Changes
253
+
254
+ - 89e96bf4: feat: react-native-web, native globals fixes
255
+
256
+ ## 8.13.9
257
+
258
+ ### Patch Changes
259
+
260
+ - 44d57b3c: fix(native): TextureLoader should remain consistent with FileLoader
261
+
262
+ ## 8.13.8
263
+
264
+ ### Patch Changes
265
+
266
+ - 5da26d52: fix(useLoader): dispose loaders
267
+
268
+ ## 8.13.7
269
+
270
+ ### Patch Changes
271
+
272
+ - 37b9502a: fix(Canvas): pass scene prop
273
+
274
+ ## 8.13.6
275
+
276
+ ### Patch Changes
277
+
278
+ - 0597495c: fix: harden XR init against Renderer shim
279
+
280
+ ## 8.13.5
281
+
282
+ ### Patch Changes
283
+
284
+ - 7a3b543b: fix: three type regressions
285
+
286
+ ## 8.13.4
287
+
288
+ ### Patch Changes
289
+
290
+ - 824ee0f7: fix: safely diff instances
291
+
292
+ ## 8.13.3
293
+
294
+ ### Patch Changes
295
+
296
+ - ffdb5fc4: revert nested portals, up suspend-react
297
+
298
+ ## 8.13.2
299
+
300
+ ### Patch Changes
301
+
302
+ - bbabdf07: update suspend-react
303
+
304
+ ## 8.13.1
305
+
306
+ ### Patch Changes
307
+
308
+ - c9fe03ba: fix: primitive swap and reactive portals
309
+
310
+ ## 8.13.0
311
+
312
+ ### Minor Changes
313
+
314
+ - ecfc48b7: feat: CanvasProps alias, respect r152 color management
315
+
316
+ ## 8.12.2
317
+
318
+ ### Patch Changes
319
+
320
+ - c5193468: fix: safeguard window.devicePixelRatio
321
+
322
+ ## 8.12.1
323
+
324
+ ### Patch Changes
325
+
326
+ - 571f07ac: fix: safeguard window.devicePixelRatio
327
+
328
+ ## 8.12.0
329
+
330
+ ### Minor Changes
331
+
332
+ - 1928d095: feat: `scene` render prop for custom THREE.Scene
333
+
334
+ ## 8.11.11
335
+
336
+ ### Patch Changes
337
+
338
+ - f03c6ef8: feat: `scene` render prop for custom THREE.Scene
339
+
340
+ ## 8.11.10
341
+
342
+ ### Patch Changes
343
+
344
+ - 12907836: fix onpointerlostcapture which fired before pointerup
345
+
346
+ ## 8.11.9
347
+
348
+ ### Patch Changes
349
+
350
+ - 6b5f572c: fix: treeshake THREE.ColorManagement
351
+
352
+ ## 8.11.8
353
+
354
+ ### Patch Changes
355
+
356
+ - 350cd3f3: fix(Canvas): inline render-effect
357
+
358
+ ## 8.11.7
359
+
360
+ ### Patch Changes
361
+
362
+ - 96af62d5: fix: don't overwrite public cameras
363
+
364
+ ## 8.11.6
365
+
366
+ ### Patch Changes
367
+
368
+ - 7d319c18: Fix is.equ obj:shallow, allow it to test arrays 1 level deep, fix canvas.camera prop being stale
369
+
370
+ ## 8.11.5
371
+
372
+ ### Patch Changes
373
+
374
+ - c658f763: fix: update canvas prop types
375
+
376
+ ## 8.11.4
377
+
378
+ ### Patch Changes
379
+
380
+ - 970aa58b: fix: play nice with offscreencanvas
381
+
382
+ ## 8.11.3
383
+
384
+ ### Patch Changes
385
+
386
+ - 2bce569c: fix: progressively set colormanagement
387
+
388
+ ## 8.11.2
389
+
390
+ ### Patch Changes
391
+
392
+ - 41d655cd: fix: hmr, srgb encode
393
+
394
+ ## 8.11.1
395
+
396
+ ### Patch Changes
397
+
398
+ - 58cadeff: fix: skip circular onUpdate calls
399
+
400
+ ## 8.11.0
401
+
402
+ ### Minor Changes
403
+
404
+ - 2917a47b: events.update, allow raycast w/o user interaction
405
+ - 521bfb07: events.update, allow raycast w/o user interaction
406
+
407
+ ## 8.10.4
408
+
409
+ ### Patch Changes
410
+
411
+ - d9e6316d: fix: transpile class properties
412
+
413
+ ## 8.10.3
414
+
415
+ ### Patch Changes
416
+
417
+ - d06d2879: fix: align useLoader type, public fields from builds
418
+
419
+ ## 8.10.2
420
+
421
+ ### Patch Changes
422
+
423
+ - 564edbbb: fix port inject layers, it should allow root props to overwrite indefined portal props"
424
+
425
+ ## 8.10.1
426
+
427
+ ### Patch Changes
428
+
429
+ - bfa0298f: fix memoized identity
430
+
431
+ ## 8.10.0
432
+
433
+ ### Minor Changes
434
+
435
+ - 24c4dba4: shortcut for shadow type
436
+
437
+ ## 8.9.2
438
+
439
+ ### Patch Changes
440
+
441
+ - 2aeb6500: fix: primitives are incorrectly swapped on key change in maps
442
+
443
+ ## 8.9.1
444
+
445
+ ### Patch Changes
446
+
447
+ - 0cf11797: fix(events): type spread event props
448
+
449
+ ## 8.9.0
450
+
451
+ ### Minor Changes
452
+
453
+ - a458b4dd: fix(loop): export flush methods and types
454
+
455
+ ## 8.8.11
456
+
457
+ ### Patch Changes
458
+
459
+ - 2068f0cc: fix: events pointerlock, useLoader extension types
460
+
461
+ ## 8.8.10
462
+
463
+ ### Patch Changes
464
+
465
+ - 00c24718: fix: invalidate pierced props
466
+
467
+ ## 8.8.9
468
+
469
+ ### Patch Changes
470
+
471
+ - 4254400e: fix(createPortal): use correct JSX type
472
+
473
+ ## 8.8.8
474
+
475
+ ### Patch Changes
476
+
477
+ - fcb183e3: fix: call onUpdate for attached children prop update
478
+
479
+ ## 8.8.7
480
+
481
+ ### Patch Changes
482
+
483
+ - bedb16e7: fix: prefer named functions, for loops in hot paths
484
+
485
+ ## 8.8.6
486
+
487
+ ### Patch Changes
488
+
489
+ - 02a558bb: fix: upgrade deps
490
+
491
+ ## 8.8.5
492
+
493
+ ### Patch Changes
494
+
495
+ - 530a06d6: fix: upgrade deps to work-around CRA
496
+
497
+ ## 8.8.4
498
+
499
+ ### Patch Changes
500
+
501
+ - 2f2dc9f9: chore: upgrade bridge to harden suspense behavior
502
+
503
+ ## 8.8.3
504
+
505
+ ### Patch Changes
506
+
507
+ - 9f571239: fix #2506, events should fall back to rootstate"
508
+
509
+ ## 8.8.2
510
+
511
+ ### Patch Changes
512
+
513
+ - dc389ed6: fix(Canvas): prevent remount on context update
514
+
515
+ ## 8.8.1
516
+
517
+ ### Patch Changes
518
+
519
+ - 370d3ae5: refactor: pull context bridge from its-fine
520
+
521
+ ## 8.8.0
522
+
523
+ ### Minor Changes
524
+
525
+ - 46d8b440: bridge cross-container context
526
+
527
+ ## 8.7.4
528
+
529
+ ### Patch Changes
530
+
531
+ - 259c8895: fix: use self to get global context before window
532
+
533
+ ## 8.7.3
534
+
535
+ ### Patch Changes
536
+
537
+ - eb5a3be4: fix: if there is an eventsource pointerevent will be set to none
538
+
539
+ ## 8.7.2
540
+
541
+ ### Patch Changes
542
+
543
+ - 7f801e60: fix: events in portals carry the wrong raycaster, camera, etc
544
+
545
+ ## 8.7.1
546
+
547
+ ### Patch Changes
548
+
549
+ - 962cc270: fix: allow canvas eventsource to be a ref
550
+
551
+ ## 8.7.0
552
+
553
+ ### Minor Changes
554
+
555
+ - f5db1b78: feat: useInstanceHandle, flushGlobalEffects
556
+
557
+ ## 8.6.2
558
+
559
+ ### Patch Changes
560
+
561
+ - 57c12e9c: fix(types): @react-three/drei declaration files
562
+
563
+ ## 8.6.1
564
+
565
+ ### Patch Changes
566
+
567
+ - 7a0b5670: fix(core): don't append to unmounted containers
568
+
569
+ ## 8.6.0
570
+
571
+ ### Minor Changes
572
+
573
+ - 85c80e70: eventsource and eventprefix on the canvas component
574
+
575
+ ## 8.5.1
576
+
577
+ ### Patch Changes
578
+
579
+ - 87821d9: fix: null-check instance.children on reconstruct
580
+
581
+ ## 8.5.0
582
+
583
+ ### Minor Changes
584
+
585
+ - edc8252: feat: handle primitive children, auto-attach via instanceof
586
+
587
+ ## 8.3.1
588
+
589
+ ### Patch Changes
590
+
591
+ - aaeb2b8: fix(types): accept readonly arrays for vector props
592
+
593
+ ## 8.3.0
594
+
595
+ ### Minor Changes
596
+
597
+ - 9c450ec: feat: improve errors
598
+
599
+ ## 8.2.3
600
+
601
+ ### Patch Changes
602
+
603
+ - b8d2eab: fix: improve useLoader signature, initial size on createRoot
604
+
605
+ ## 8.2.2
606
+
607
+ ### Patch Changes
608
+
609
+ - acd6f04: fix: warn on stray text
610
+
611
+ ## 8.2.1
612
+
613
+ ### Patch Changes
614
+
615
+ - 25e35a1: fix: prefer useLayoutEffect in react-native
616
+
617
+ ## 8.2.0
618
+
619
+ ### Minor Changes
620
+
621
+ - 9770d7d: feat: expose ThreeElements interface for JSX elements
622
+
623
+ ## 8.1.0
624
+
625
+ ### Minor Changes
626
+
627
+ - 8d0f708c: Expose position information in state.size
628
+
629
+ ## 8.0.27
630
+
631
+ ### Patch Changes
632
+
633
+ - 7940995: fix: resume on xrsession end, export internal events
634
+
635
+ ## 8.0.26
636
+
637
+ ### Patch Changes
638
+
639
+ - 7b6df9df: fix: infinite loop updating cam viewport
640
+
641
+ ## 8.0.25
642
+
643
+ ### Patch Changes
644
+
645
+ - b7cd0f42: update viewport on camera changes
646
+
647
+ ## 8.0.24
648
+
649
+ ### Patch Changes
650
+
651
+ - ee8e785: fix: attach timings
652
+
653
+ ## 8.0.23
654
+
655
+ ### Patch Changes
656
+
657
+ - 29d03c64: revert multi attach
658
+
659
+ ## 8.0.22
660
+
661
+ ### Patch Changes
662
+
663
+ - 419e854: fix: always prepare primitives
664
+
665
+ ## 8.0.21
666
+
667
+ ### Patch Changes
668
+
669
+ - 3098b9b: fix: resizing in worker contexts, copy over attachments on reconstruct
670
+
671
+ ## 8.0.20
672
+
673
+ ### Patch Changes
674
+
675
+ - 4c87bce: fix: attach, devtools, and perf fixes
676
+
677
+ ## 8.0.19
678
+
679
+ ### Patch Changes
680
+
681
+ - 360b45a: fix: handle attach on reconstruct
682
+
683
+ ## 8.0.18
684
+
685
+ ### Patch Changes
686
+
687
+ - be567c1: fix: suspense attach and three compat in webpack
688
+
689
+ ## 8.0.17
690
+
691
+ ### Patch Changes
692
+
693
+ - 9e3369e: fix dom resize, improve native tree shaking
694
+
695
+ ## 8.0.16
696
+
697
+ ### Patch Changes
698
+
699
+ - 669c45c: correctly type useLoader results
700
+
701
+ ## 8.0.15
702
+
703
+ ### Patch Changes
704
+
705
+ - c4715d5f: allow invalidate to preempt more than 1 frame
706
+
707
+ ## 8.0.14
708
+
709
+ ### Patch Changes
710
+
711
+ - 5559a119: Add support for recoverable errors
712
+
713
+ ## 8.0.13
714
+
715
+ ### Patch Changes
716
+
717
+ - 9d77d8e2: fix: detach attribute removal
718
+
719
+ ## 8.0.12
720
+
721
+ ### Patch Changes
722
+
723
+ - 3d10413f: fix portal layers
724
+
725
+ ## 8.0.11
726
+
727
+ ### Patch Changes
728
+
729
+ - 5167b1e4: memoized.args can be undefined
730
+
731
+ ## 8.0.10
732
+
733
+ ### Patch Changes
734
+
735
+ - eb321afd: fix: remount bug, allow portals to inject custom size
736
+
737
+ ## 8.0.9
738
+
739
+ ### Patch Changes
740
+
741
+ - 624df949: fix: canvas unmount race condition"
742
+
743
+ ## 8.0.8
744
+
745
+ ### Patch Changes
746
+
747
+ - 952a566: fix: react SSR
748
+
749
+ ## 8.0.7
750
+
751
+ ### Patch Changes
752
+
753
+ - f63806b: fix: react SSR
754
+
755
+ ## 8.0.6
756
+
757
+ ### Patch Changes
758
+
759
+ - d4bafb9: fix re-parenting, useframe not working properly in portals, attach crash
760
+
761
+ ## 8.0.5
762
+
763
+ ### Patch Changes
764
+
765
+ - 227c328: fix pointer for root and portals
766
+
767
+ ## 8.0.4
768
+
769
+ ### Patch Changes
770
+
771
+ - e981a72: fix: mock three color management, loosen peer dep
772
+
773
+ ## 8.0.3
774
+
775
+ ### Patch Changes
776
+
777
+ - 3252aed: setevents needs to spread and be mirrored in portals
778
+
779
+ ## 8.0.2
780
+
781
+ ### Patch Changes
782
+
783
+ - 8035d1f: fix: legacy mode
784
+
785
+ ## 8.0.1
786
+
787
+ ### Patch Changes
788
+
789
+ - 26db195: add legacy flag to turn of three.colormanagement
790
+
791
+ ## 8.0.0
792
+
793
+ ### Major Changes
794
+
795
+ - 385ba9c: v8 major, react-18 compat
796
+ - 04c07b8: v8 major, react-18 compat
797
+
798
+ ### Patch Changes
799
+
800
+ - 347ea79: new beta for library testing
801
+
802
+ ## 8.0.0-beta.0
803
+
804
+ ### Major Changes
805
+
806
+ - 385ba9c: v8 major, react-18 compat
807
+
808
+ ## 8.0.0-beta.0
809
+
810
+ ### Patch Changes
811
+
812
+ - cf6316c: new beta for library testing
813
+
814
+ ## 7.0.25
815
+
816
+ ### Patch Changes
817
+
818
+ - 8698734: Release latest patches
819
+
820
+ ## 7.0.24
821
+
822
+ ### Patch Changes
823
+
824
+ - 7f46ddf: cleanup captured pointers when released (#1914)
825
+
826
+ ## 7.0.23
827
+
828
+ ### Patch Changes
829
+
830
+ - 30d38b1: remove logs
831
+
832
+ ## 7.0.22
833
+
834
+ ### Patch Changes
835
+
836
+ - 259e1fa: add camera:manual
837
+
838
+ ## 7.0.21
839
+
840
+ ### Patch Changes
841
+
842
+ - 65e4147: up usemeasure, add last event to internals"
843
+
844
+ ## 7.0.20
845
+
846
+ ### Patch Changes
847
+
848
+ - 54cb0fd: update react-use-measure, allow it to use the offsetSize
849
+
850
+ ## 7.0.19
851
+
852
+ ### Patch Changes
853
+
854
+ - 7aa2eab: fix: remove zustand subcribe selector
855
+
856
+ ## 7.0.18
857
+
858
+ ### Patch Changes
859
+
860
+ - 6780f58: fix unmount pointer capture
861
+
862
+ ## 7.0.17
863
+
864
+ ### Patch Changes
865
+
866
+ - 894c550: fix: event count
867
+
868
+ ## 7.0.16
869
+
870
+ ### Patch Changes
871
+
872
+ - c7a4220: patch: applyprops returns the same instance
873
+
874
+ ## 7.0.15
875
+
876
+ ### Patch Changes
877
+
878
+ - c5645e8: fix primitve leftovers on switch
879
+
880
+ ## 7.0.14
881
+
882
+ ### Patch Changes
883
+
884
+ - 05af996: fix: revert the is function
885
+
886
+ ## 7.0.13
887
+
888
+ ### Patch Changes
889
+
890
+ - f256558: fix(core): don't overwrite camera rotation
891
+ - 51e6fc9: fix(core): safely handle external instances
892
+
893
+ ## 7.0.12
894
+
895
+ ### Patch Changes
896
+
897
+ - 0df6073: fix: missed events
898
+
899
+ ## 7.0.11
900
+
901
+ ### Patch Changes
902
+
903
+ - 62b0a3a: fix: event order of missed pointers
904
+
905
+ ## 7.0.10
906
+
907
+ ### Patch Changes
908
+
909
+ - e019dd4: fixes
910
+
911
+ ## 7.0.9
912
+
913
+ ### Patch Changes
914
+
915
+ - cd266e4: Fix diffProps dashed keys
916
+
917
+ ## 7.0.8
918
+
919
+ ### Patch Changes
920
+
921
+ - 6f68406: Allow getCurrentViewport to receive an array
922
+
923
+ ## 7.0.7
924
+
925
+ ### Patch Changes
926
+
927
+ - 0375896: Simplify useframe, support instanced event cancelation, silence disposal
928
+
929
+ ## 7.0.6
930
+
931
+ ### Patch Changes
932
+
933
+ - fb052ad: Fix babel-env browserslist transpiling into old code"
934
+
935
+ ## 7.0.5
936
+
937
+ ### Patch Changes
938
+
939
+ - c97794a: Add useLoader.clear(Loader, input)
940
+
941
+ ## 7.0.4
942
+
943
+ ### Patch Changes
944
+
945
+ - 974ecfb: Allow elements to define attachFns for specific mount/unmount
946
+
947
+ ## 7.0.2
948
+
949
+ ### Patch Changes
950
+
951
+ - a97aca3: Add controls state field
952
+ - 4c703d6: fix rttr didn't work with r130
953
+
954
+ ## 7.0.0
955
+
956
+ ### Major Changes
957
+
958
+ - 96ae1ad: fix javascript interpreting negative renderpriority as positive
959
+
960
+ This is a major breaking change that will fix an edge-case. It will only affect you if you used negative useFrame indicies, for instance
961
+
962
+ ```jsx
963
+ useFrame(..., -1)
964
+ ```
965
+
966
+ Surprisingly this disabled auto-rendering although the documentation says positive numbers only. As of v7 this will not take over the render loop.
967
+
968
+ ```jsx
969
+ function Render() {
970
+ // Takes over the render-loop, the user has the responsibility to render
971
+ useFrame(({ gl, scene, camera }) => {
972
+ gl.render(scene, camera)
973
+ }, 1)
974
+
975
+ function RenderOnTop() {
976
+ // This will render on top of the previous call
977
+ useFrame(({ gl, ... }) => {
978
+ gl.render(...)
979
+ }, 2)
980
+
981
+ function A() {
982
+ // Will *not* take over the render-loop, negative indices can still be useful for sorting
983
+ useFrame(() => ..., -1)
984
+
985
+ function B() {
986
+ // B's useFrame will execute *after* A's
987
+ useFrame(() => ..., -2)
988
+ ```
989
+
990
+ ## 6.2.3
991
+
992
+ ### Patch Changes
993
+
994
+ - 26bc7eb: typescript changes
995
+
996
+ ## 6.2.2
997
+
998
+ ### Patch Changes
999
+
1000
+ - 4f44a2c: use more helpful name with event handling in rttr
1001
+
1002
+ ## 6.2.1
1003
+
1004
+ ### Patch Changes
1005
+
1006
+ - Fix stopPropagation logic
1007
+
1008
+ ## 6.2.0
1009
+
1010
+ ### Minor Changes
1011
+
1012
+ - Allow object3d instances to be attached
1013
+
1014
+ ## 6.1.5
1015
+
1016
+ ### Patch Changes
1017
+
1018
+ - fix(rttr): if children is undefined return an array to map with
1019
+
1020
+ ## 6.1.4
1021
+
1022
+ ### Patch Changes
1023
+
1024
+ - 6faa090: Add shape to types, exclude event functions from event data
1025
+
1026
+ ## 6.1.3
1027
+
1028
+ ### Patch Changes
1029
+
1030
+ - 71e72c0: Fix constructor args with attached children (#1348)
1031
+ - 015fc03: Only set up pointer/wheel events as passive
1032
+ - a160e08: Fix event setPointerCapture and stopPropagation.
1033
+
1034
+ ## 6.1.2