@react-three/fiber 8.17.4 → 8.17.6

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