@react-three/fiber 8.14.6 → 8.15.0

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