Skip to content

refactor(macros)!: remove deprecated typed-array registry exports - #3692

Closed
PaulHax wants to merge 1 commit into
remove-average-ip-scalar-rangefrom
remove-typed-array-export
Closed

PaulHax wants to merge 1 commit into
remove-average-ip-scalar-rangefrom
remove-typed-array-export

Conversation

@PaulHax

@PaulHax PaulHax commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

Context

The public TYPED_ARRAYS registry is deprecated.

Results

Use native typed-array constructors, newTypedArray, or newTypedArrayFrom instead. The factory helpers retain their existing behavior.

Changes

Keep the registry private and remove its named and default exports. Use Float64Array directly in Planes and Triangle. Cover factory creation and serialization, and add the migration note.

PR Checklist

  • GitHub Actions CI passed: semantic-release commit messages, lint, and tests
  • Test coverage added
  • Documentation and TypeScript definitions are updated to match these changes

BREAKING CHANGE: TYPED_ARRAYS is no longer a named macros export or a
property of the default macros object. Use native typed-array constructors,
newTypedArray, or newTypedArrayFrom instead.
@PaulHax
PaulHax force-pushed the remove-typed-array-export branch from bc1521a to 2a5e8ca Compare October 19, 2026 20:43
@PaulHax
PaulHax changed the base branch from major-38 to remove-average-ip-scalar-range October 19, 2026 20:44

@daker daker left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@PaulHax
PaulHax added this pull request to stack #3695 October 19, 2026 20:46
@PaulHax
PaulHax removed this pull request from stack #3695 October 19, 2026 21:01
@PaulHax

PaulHax commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator Author

Closing this to keep the public constructor lookup and existing helpers. The lookup exposes the native constructor API directly; removing it adds a breaking change, while replacing the helpers would require broad mechanical changes for little immediate benefit.

@PaulHax PaulHax closed this Oct 19, 2026
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.

2 participants