r141
版本发布时间: 2022-06-01 02:13:35
three-types/three-ts-types最新发布版本:r158(2023-10-28 01:45:15)
What's Changed
-
BREAKING CHANGE: WebXR types are no longer exported from
@types/three
because we switched from defining our own WebXR types to adding a dependency on@types/webxr
and using those types. The types defined by@types/webxr
are ambient which means you don't have to import them from a package, you can just use them like you would DOM types. For libraries that have a peer dependency on@types/three
, this would require a major bump if you're trying to strictly follow SemVer with your types, however it seems unclear whether the TypeScript community considers a major bump necessary in this circumstance. See https://github.com/three-types/three-ts-types/pull/218, https://github.com/three-types/three-ts-types/pull/223, and https://github.com/three-types/three-ts-types/issues/232 for more details. - Fixed SavePass constructor by @maccesch in https://github.com/three-types/three-ts-types/pull/213
- fix: WebXR examples by @capnmidnight in https://github.com/three-types/three-ts-types/pull/218
- Fix GLTFExporter setPlugins return type by @robertlong in https://github.com/three-types/three-ts-types/pull/214
- fix: Add missing extend to Loader in NRRDLoader by @atulrnt in https://github.com/three-types/three-ts-types/pull/217
- fix: add missing
samples
parameter of WebGLRenderTarget by @0b5vr in https://github.com/three-types/three-ts-types/pull/222 - chore(WebXRManager): add missing methods, update getCamera signature by @CodyJasonBennett in https://github.com/three-types/three-ts-types/pull/169
New Contributors
- @maccesch made their first contribution in https://github.com/three-types/three-ts-types/pull/213
- @capnmidnight made their first contribution in https://github.com/three-types/three-ts-types/pull/218
- @atulrnt made their first contribution in https://github.com/three-types/three-ts-types/pull/217
Full Changelog: https://github.com/three-types/three-ts-types/compare/r140...r141