Releases: three-types/three-ts-types
Releases · three-types/three-ts-types
r143
Full Changelog: r142...r143
r142
What's Changed
- fix: correctly import webxr types by @Methuselah96 in #223
- fix: return type for GLTFLoader's parseAsync method by @capnmidnight in #224
- fix: remove context field from WebGLRenderer by @capnmidnight in #226
- feat: Mouse and Touch allow undefined buttons #144 by @alexpineda in #236
- fix: SAOPass.OUTPUT type by @serenayl in #235
- refactor: example convert utils files to esmodules by @cosformula in #230
- chore: HTMLDocument is deprecated, changed to Document by @Heaust-ops in #229
- fix: add missing ACESFilmicToneMappingShader by @0b5vr in #225
- three: update AudioContext.d.ts by @Vikontte in #234
New Contributors
- @alexpineda made their first contribution in #236
- @serenayl made their first contribution in #235
- @cosformula made their first contribution in #230
- @Heaust-ops made their first contribution in #229
- @Vikontte made their first contribution in #234
Full Changelog: r141...r142
r141
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 #218, #223, and #232 for more details. - Fixed SavePass constructor by @maccesch in #213
- fix: WebXR examples by @capnmidnight in #218
- Fix GLTFExporter setPlugins return type by @robertlong in #214
- fix: Add missing extend to Loader in NRRDLoader by @atulrnt in #217
- fix: add missing
samples
parameter of WebGLRenderTarget by @0b5vr in #222 - chore(WebXRManager): add missing methods, update getCamera signature by @CodyJasonBennett in #169
New Contributors
- @maccesch made their first contribution in #213
- @capnmidnight made their first contribution in #218
- @atulrnt made their first contribution in #217
Full Changelog: r140...r141
r140
What's Changed
- docs: add pragma note for contributors by @peterblazejewicz in #207
- remove no-longer-existing
LogLuvEncoding
constant by @trusktr in #209 - Added type definitions for Earcut.js in three/src/extras by @subhankar-trisetra in #203
- Update GLTFExporter / GLTFLoader signatures by @0b5vr in #196
New Contributors
- @peterblazejewicz made their first contribution in #207
- @trusktr made their first contribution in #209
- @subhankar-trisetra made their first contribution in #203
Full Changelog: r139...r140
r139
What's Changed
- change (Material): remove
alphaWrite
by @0b5vr in #167 - feat: adds CapsuleGeometry definitions by @gsimone in #194
- docs: add gsimone as a contributor for code by @allcontributors in #195
- WebGLUtils isn't exported and WebGLUtils.convert() has wrong argument type by @DavidPeicho in #198
- Fix #174 by @ycw in #176
- [postprocessing] Some SSAARenderPass arguments are optional by @willstott101 in #197
New Contributors
- @gsimone made their first contribution in #194
- @DavidPeicho made their first contribution in #198
- @willstott101 made their first contribution in #197
Full Changelog: r138...r139
r138
What's Changed
- Remove RGBFormat by @0b5vr in #159
- change (Material): Add a new property .alphaWrite by @0b5vr in #161
- chore: Update PULL_REQUEST_TEMPLATE by @0b5vr in #166
- Remove
enableKeys
from OrbitControls by @r00ster91 in #171 - Fix documentation for a
recursive
parameter by @r00ster91 in #173 - Remove RGBM7Encoding and RGBM16Encoding by @0b5vr in #178
- fix: adjust webgl example location and types by @Michsior14 in #168
- Remove VRMLoader by @0b5vr in #179
- feature (Texture): Add Source class by @0b5vr in #180
- change: Add new render target types for 3D and array textures by @0b5vr in #183
- change (HTMLMesh): add dispose by @0b5vr in #185
- change (GLTFLoader): add a new signature GLTFParser.loadImageSource by @0b5vr in #186
- change (WebGLMultipleRenderTargets): Add Options to Constructor by @0b5vr in #187
- change (Reflector, Refractor): add an option
multisample
by @0b5vr in #188 - change (WebGLMultisampleRenderTarget): make it deprecated by @0b5vr in #190
- feature: Add OctreeHelper by @0b5vr in #191
- change (
Texture
): AddneedsPMREMUpdate
by @0b5vr in #165
New Contributors
- @r00ster91 made their first contribution in #171
Full Changelog: r137...r138
r137
What's Changed
- fix: Adding CustomToneMapping constant to ToneMapping enum. by @WCWedin in #141
- Orbitcontrols add types by @LauferAlex in #157
- fix(WebXRManager): setAnimationLoop should accept null like WebGLRenderer by @CodyJasonBennett in #158
- Fix Missing Property in Raycaster by @Gallahron in #160
- r137 by @joshuaellis in #162
New Contributors
- @LauferAlex made their first contribution in #157
- @Gallahron made their first contribution in #160
Full Changelog: r136...r137
r136
Full Changelog: r135...r136
r135
r134
What's Changed
- r133 - include default Object3D in Intersection generic type by @dbuck in #138
- Add resolveURL to LoaderUtils by @robertlong in #148
- chore: added forceContextRestore method to WebGLRenderer by @schwyzl in #145
- Add
createShaderMaterial
toGPUComputationRenderer
by @mattrossman in #142 - Fix ColorNode imports by @xawill in #140
- Add gltf loader types by @robertlong in #143
New Contributors
- @dbuck made their first contribution in #138
- @robertlong made their first contribution in #148
- @mattrossman made their first contribution in #142
Full Changelog: r133...r134