Releases: three-types/three-ts-types
Releases · three-types/three-ts-types
r149
What's Changed
- fix: Fix
asyncLoader
type signature by @shun-shobon in #311 - fix: move toHalfFloat/fromHalfFloat into DataUtils namespace by @rotu in #313
- feat: add generic arg for uniform class by @JoshStern in #315
- [feat] allow GLBufferAttribute as an attribute type by @mikkom in #314
- fix: fixed incorrect type by @gegoggigog in #320
- Sync DefinitelyTyped changes by @Methuselah96 in #321
- Update the interface of
WebGLClipping
by @0b5vr in #330 - refactor: Euler, Object3D: Update static class properties to ALL_CAPS by @0b5vr in #323
- fix: Catch up with the latest camera helper by @0b5vr in #332
- fix (WebXRManager): change argument name of
setFoveation
by @0b5vr in #331 - chore(mesh): maintain consistent nomenclature by @0b5vr in #329
- chore: replace
TwoPassDoubleSide
withmaterial.forceSinglePass
by @0b5vr in #328 - chore: remove deprecated codes by @0b5vr in #327
- fix: allow null for WebXRManager.setSession by @saitonakamura in #318
- fix: add ViewHelper by @0b5vr in #324
- feat: Add constants for RGTC compressed textures by @0b5vr in #322
New Contributors
- @shun-shobon made their first contribution in #311
- @rotu made their first contribution in #313
- @JoshStern made their first contribution in #315
- @mikkom made their first contribution in #314
- @gegoggigog made their first contribution in #320
- @saitonakamura made their first contribution in #318
Full Changelog: r148...r149
r148
What's Changed
- fix:
Capsule.getCenter
: the target is a Vector3 by @Hoodgail in #297 ObjectLoader.parseImages
: onLoad is optional, returns a record of `… by @Hoodgail in #298ObjectLoader.parseMaterials
: accepts a record of textures not an ar… by @Hoodgail in #300- Add createInterpolant to KeyframeTrack by @marwie in #293
- Change KeyframeTrack params type
times
from any[] to number[] by @Suprhimp in #306 - sync
master
->dev
by @0b5vr in #308 - feat: r148 by @0b5vr in #310
New Contributors
Full Changelog: r147...r148
r147
What's Changed
- add alexpineda as a contributor for code by @allcontributors in #280
- chore(docs): Add JSDoc to OrbitControls class by @Draichi in #283
- fix: correct type for XRHandJoints by @mz8i in #285
- feat: add missing properties of
ShadowMesh
by @noname0310 in #286 - fix: Add map props in SpotLight.d.ts by @Suprhimp in #288
- fix: Import SphereGeometry instead of SphereBufferGeometry by @marwie in #289
- fix: Add missing fields to CCDIKSolver IKS by @Trinovantes in #287
- Make dispose() available in SelectionHelper by @autonomobil in #292
- [feat] Adding RenderPixelatedPass types. by @LuchoTurtle in #302
- feat: r147 by @0b5vr in #303
- fix: Adding proper type in
fsQuad
instances insidejsm/postprocessing
. by @LuchoTurtle in #305 - feat: add background intensity by @marwie in #291
- feat: added 2D transform methods by @noname0310 in #290
New Contributors
- @Draichi made their first contribution in #283
- @mz8i made their first contribution in #285
- @Trinovantes made their first contribution in #287
- @autonomobil made their first contribution in #292
- @LuchoTurtle made their first contribution in #302
Full Changelog: r146...r147
r146
Full Changelog: r145...r146
r145
What's Changed
- feat: fn/func in nodes by @miko3k in #245
- fix(ColorManagement): export as namespace, add static properties by @CodyJasonBennett in #257
- refactor: Object3D.matrixWorldAutoUpdate, deprecate Scene.autoUpdate by @CodyJasonBennett in #256
- chore(docs): Fix typos in CONTRIBUTING.md by @grschafer in #259
- fix: Remove url argument from PCDLoader.parse signature by @grschafer in #258
- fix: wrong typed
Euler.toArray()
, addEulerOrder
for type safety by @noname0310 in #156 - fix: the Return Type of the
Quaternion.slerpFlat
Method by @noname0310 in #260 - fix: MeshLambertMaterial.dispalcementScale typo to .displacementScale by @frading in #262
- fix: Texture & CanvasTexture constructor parameter by @SuperSodaSea in #263
- fix: add missing method
fromBufferAttribute
to Quaternion by @noname0310 in #264 - fix: Change
getObjectByProperty
value toany
by @mattrossman in #269 - Set DataTextureLoader onLoad to optional by @servinlp in #274
- Add missing property by @servinlp in #273
- Remove format from return type by @servinlp in #272
- fix: add frameid to timenode and shadernodeelements by @alexpineda in #279
New Contributors
- @grschafer made their first contribution in #259
- @noname0310 made their first contribution in #156
- @frading made their first contribution in #262
- @SuperSodaSea made their first contribution in #263
Full Changelog: r144...r145
r144
What's Changed
- feat: node material by @miko3k in #240
- refactor: remove Quaternion.inverse() by @lgarron in #244
- fix: back-port TypeScript fix by @Methuselah96 in #249
- Change examples/jsm/libs/stats
end
function return tonumber
by @MysteryBlokHed in #246 - fix: add fog to LineBasicMaterial by @Methuselah96 in #248
- fix: class name is now ReflectorForSSRPass by @Methuselah96 in #251
- fix: use IUniform instead of Uniform where appropriate by @Methuselah96 in #252
- [r144] dev -> master by @joshuaellis in #254
New Contributors
- @lgarron made their first contribution in #244
- @MysteryBlokHed made their first contribution in #246
Full Changelog: r143...r144
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