@react-three/fiber 9.0.0-rc.5 → 9.0.0-rc.7

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