@react-three/fiber 8.17.2 → 8.17.4

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