@react-three/fiber 8.17.5 → 8.17.7

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