# threejs/release
Three.js r185
importance: highbreakingdeprecationmigrationfeature
This release focuses on performance optimizations, bug fixes, and deprecations. Key changes include improvements to rendering, matrix operations, and TSL (Three.js Shader Language) enhancements.
affected
Developers using deprecated Matrix3 methods, custom shaders, or TSL functionality will be most affected by these changes.
action
Review the migration guide and update code to replace deprecated APIs and accommodate breaking changes.
release_signals
-Matrix3 methods `.scale()`, `.rotate()`, and `.translate()` are now deprecated
-Renamed `Matrix4.determinant3x3()` to `determinantAffine()`
-Removed deprecated code across the codebase (unspecified which APIs)
-TSL: Removed `string` and `arrayBuffer` definitions
-Renamed `directionToFaceDirection` to `negateOnBackSide` in TSL
!Matrix3 methods `.scale()`, `.rotate()`, and `.translate()` are deprecated
!Some shader-related functionality marked with deprecation notes (unspecified)
!Removed various deprecated code throughout the codebase
+Added `Material.registerMaterial()` and `Material.fromJSON()` for better material management
migration_steps5 steps
- 01Refer to migration guide for changes from r184 to r185: https://github.com/mrdoob/three.js/wiki/Migration-Guide#184--185
- 02Replace usage of Matrix3's deprecated methods with alternative approaches
- 03Update code using `determinant3x3()` to use `determinantAffine()` instead
- 04Update TSL code to use new API signatures and removed definitions
- 05Check for any usage of removed deprecated APIs throughout the codebase
code_snippet
// Example of new Material registration
Material.registerMaterial( 'MyMaterial', MyMaterial );
const material = Material.fromJSON( { type: 'MyMaterial', ... } );# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.