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