@react-three/fiber 8.17.3 → 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,1022 +1,1028 @@
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.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