Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: remove *BufferGeometry type aliases #2443

Merged
merged 2 commits into from
Aug 20, 2022

Conversation

CodyJasonBennett
Copy link
Member

r144 deprecates usage of BoxBufferGeometry aliases in favor of BufferGeometry. As per three deprecation policy, these will be completely removed in r154, so preferring to remove any references to them now. In JS-land, this would emit a warning.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 17, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 3f8b6cb:

Sandbox Source
example Configuration

Copy link
Member

@joshuaellis joshuaellis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea. I think they'll be logging errors and not even returning anything anyway?

@CodyJasonBennett
Copy link
Member Author

CodyJasonBennett commented Aug 18, 2022

They'll still work, emitting a warning when constructed. However, they will be removed entirely in 10 releases, so they're effectively depreciated as far as library authors are concerned. I've already updated Drei and three-stdlib, this would be more troublesome in user space.

@CodyJasonBennett CodyJasonBennett merged commit 9661c96 into v9 Aug 20, 2022
@CodyJasonBennett CodyJasonBennett deleted the fix/types-deprecate-buffergeometry branch August 20, 2022 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants