Releases: three-types/three-ts-types
Releases · three-types/three-ts-types
r152
What's Changed
- Restructure tests by @Methuselah96 in #370
- Make BufferGeometry only contain normal buffer attributes by default by @Methuselah96 in #432
- Update color space type definitions for three.js r152 by @donmccurdy in #397
- Add types for tween.js by @Methuselah96 in #435
- Add minified builds by @Methuselah96 in #434
- BufferGeometry: Renamed uv2, uv3, uv4 to uv1, uv2, uv3 by @Methuselah96 in #436
- Docs: Honor latest color management changes. by @Methuselah96 in #437
- Update docs for BufferGeometry.computeVertexNormals() by @Methuselah96 in #438
- Docs: Improve BufferGeometry page. by @Methuselah96 in #439
- Docs: Clean up color space references. by @Methuselah96 in #440
- NodeBuilder remove scene property by @Methuselah96 in #441
- SkeletonUtils: Simplify module. by @Methuselah96 in #442
- NodeBuilder remove outdated methods by @Methuselah96 in #443
- Move getDistanceAttenuation to LightUtils by @Methuselah96 in #444
- Add node properties to NodeMaterial by @Methuselah96 in #447
Full Changelog: r151...r152
r151
What's Changed
- RaycasterParameters should also support Line2 by @promontis in #379
- Update EXRLoader types by @Oletus in #378
- Revert MOUSE and TOUCH back to enums by @Methuselah96 in #387
- fix: support DisplayP3ColorSpace in other ColorManagement methods by @Methuselah96 in #384
- Sync eslintrc from DefinitelyTyped by @Methuselah96 in #388
- Update documentation for ThreeJS scenes and textures Classes, with some Typing improvements by @rafaelsc in #380
- Update documentation for ThreeJS geometries Classes, with some Typing improvements by @rafaelsc in #381
- Update documentation for ThreeJS objects Classes, with some Typing improvements by @rafaelsc in #382
- Update documentation for ThreeJS cameras Classes, with some Typing improvements by @rafaelsc in #383
- Update documentation for ThreeJS audio Classes, with some Typing improvements by @rafaelsc in #385
- chore(deps): update dependency prettier to v2.8.7 by @renovate in #391
- chore(deps): lock file maintenance by @renovate in #403
- fix(deps): update all non-major dependencies by @renovate in #392
- fix: allow any string in ColorRepresentation by @Shakhriddin in #399
- Downgrade type packages by @Methuselah96 in #404
- fix: correct GLTFParser.loadSkin return type by @mattrossman in #390
- fix: update map controls location by @oetherington in #395
- Fix types in ViewHelper by @k2d222 in #405
- Add buffergeometryutils deprecations by @Mik-pe in #396
- fix(HemisphereLight): correct position modifier by @demike in #420
- Add Skeleton.toJSON, Skeleton.fromJSON by @Hoodgail in #401
- Fix OrbitControls zoom0 property by @Methuselah96 in #408
- SkinnedMesh: Rename
boneTransform()
toapplyBoneTransform()
. by @Methuselah96 in #409 - InstancedMesh: Add bounding volumes. by @Methuselah96 in #410
- Skinned mesh bounding volumes by @Methuselah96 in #411
- Raycaster: Add Interpolated Normals by @Methuselah96 in #412
- Quaternion: Add toJSON(). by @Methuselah96 in #413
- Math: Add convenience methods by @Methuselah96 in #414
- Vector2: Add angleTo(). by @Methuselah96 in #415
- WebGLRenderer: Add debug.onShaderError(). by @Methuselah96 in #416
- MeshDistanceMaterial: Remove light related properties. by @Methuselah96 in #417
- LineBasicMaterial: Add support for map. by @Methuselah96 in #418
- WebGLRenderer: Add support for multiple uv sets and transforms. by @Methuselah96 in #419
- InputNode: Added .setPrecision() by @Methuselah96 in #421
- NodeUtils: getNodesKeys -> getNodeChildren by @Methuselah96 in #422
- TrackballControls: Add minZoom/maxZoom properties. by @Methuselah96 in #423
- Examples: Rename GroundProjectedEnv to GroundProjectedSkybox. by @Methuselah96 in #424
- TSL: if, elseif, else syntax by @Methuselah96 in #425
- PointerLockControls: Refactor class structure. by @Methuselah96 in #427
- CSS2DRenderer: Introduce CSS2DObject.center by @Methuselah96 in #428
- TSL changes by @Methuselah96 in #429
- Nodes: Rename invert() -> oneMinus() by @Methuselah96 in #430
- NodeEditor: New Version (Rev. 3) by @Methuselah96 in #431
- Update documentation for ThreeJS helpers Classes, with some Typing improvements by @rafaelsc in #394
- Update documentation for ThreeJS extra Classes, with some Typing improvements by @rafaelsc in #393
- Update documentation for ThreeJS lights Classes, with some Typing improvements by @rafaelsc in #398
New Contributors
- @promontis made their first contribution in #379
- @Oletus made their first contribution in #378
- @Shakhriddin made their first contribution in #399
- @oetherington made their first contribution in #395
- @k2d222 made their first contribution in #405
- @Mik-pe made their first contribution in #396
Full Changelog: r150...r151
r150
What's Changed
- BREAKING CHANGE Add exports field to package.json by @Methuselah96 in #340. If you were importing examples from
"three/examples/jsm/*
you may need to update those imports to import from"three/addons/*.js"
as shown in the installation docs on Addons. - Update MarchingCubes.d.ts to include missing signature for update() by @jackbonaguro in #333
- add 0b5vr as a contributor for maintenance, review, and bug by @allcontributors in #334
- Upgrade to Yarn Modern by @Methuselah96 in #339
- chore: Set Git line endings to LF for Windows users by @Methuselah96 in #338
- Configure Renovate by @renovate in #341
- chore(deps): update actions/setup-node action to v3 by @renovate in #346
- chore(deps): update actions/checkout action to v3 by @renovate in #345
- chore(deps): update dependency prettier to v2.8.3 by @renovate in #344
- chore(deps): update dependency husky to v8 by @renovate in #347
- Fix Earcut.triangulate return value by @Methuselah96 in #348
- Replace constant enums with constant type unions by @Methuselah96 in #349
- check color names by @rotu in #350
- Remove Earcut export by @Methuselah96 in #351
- Add "type": "module" to package.json by @Methuselah96 in #352
- Fix usage with "module": "nodenext" by @Methuselah96 in #356
- Cleanup deprecated code and Update documentation for BufferGeometry and BufferAttribute by @rafaelsc in #335
- Update documentation for ThreeJS Core Classes by @rafaelsc in #354
- chore(deps): update all non-major dependencies by @renovate in #360
- chore(deps): update dependency prettier to v2.8.4 by @renovate in #361
- chore(deps): lock file maintenance by @renovate in #362
- Add types for lil-gui by @Methuselah96 in #358
- Re-export @types/stats.js by @Methuselah96 in #363
- Re-export types from fflate by @Methuselah96 in #364
- Fix OctreeHelper constructor by @Methuselah96 in #366
- Allow Color to be set from an InterleavedBufferAttribute by @Methuselah96 in #359
- feature: Add
stopListenToKeyEvents
toOrbitControls
by @0b5vr in #376 - update MeshPhysicalMaterial.d.ts by @HEOJUNFO in #371
- fix: r150 renames; ColorManagement.enabled, WebGLRenderer.useLegacyLights by @CodyJasonBennett in #374
- feature: add a new constant
DisplayP3ColorSpace
by @0b5vr in #377 - Fix stats.js export by @Methuselah96 in #367
- add HEOJUNFO as a contributor for code by @allcontributors in #375
New Contributors
- @jackbonaguro made their first contribution in #333
- @renovate made their first contribution in #341
- @rafaelsc made their first contribution in #335
- @HEOJUNFO made their first contribution in #371
Full Changelog: r149...r150
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