Skip to content

feat!: update ndarray/base TypeScript declarations#10558

Merged
kgryte merged 1 commit intodevelopfrom
update-ndarray-base-declarations
Feb 28, 2026
Merged

feat!: update ndarray/base TypeScript declarations#10558
kgryte merged 1 commit intodevelopfrom
update-ndarray-base-declarations

Conversation

@stdlib-bot
Copy link
Copy Markdown
Contributor

@stdlib-bot stdlib-bot commented Feb 28, 2026

This PR updates TypeScript declarations for the @stdlib/ndarray/base namespace.

Reviewer Checklist

  • Check the scope of the changes (following Conventional Commits):
    • Are these new APIs? Then this is a feat.
    • Are these changes to existing APIs that could break compatibility? Then this is a feat! (i.e., a breaking change).
    • Are these only documentation changes to existing APIs? Then this is docs.
  • Update the PR title to align with the change type (feat, feat!, or docs).
  • Approve the PR once you are confident about the classification and changes made.

Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
@stdlib-bot stdlib-bot added Documentation Improvements, additions, or changes to documentation. automated-pr Automated pull request (e.g., from a bot). labels Feb 28, 2026
@stdlib-bot stdlib-bot requested a review from a team February 28, 2026 02:57
@stdlib-bot stdlib-bot added the automated-pr Automated pull request (e.g., from a bot). label Feb 28, 2026
@stdlib-bot
Copy link
Copy Markdown
Contributor Author

Coverage Report

Package Statements Branches Functions Lines
ndarray/base $\color{red}167204/330569$
$\color{green}+50.58%$
$\color{red}1765/1785$
$\color{green}+98.88%$
$\color{red}11/1611$
$\color{green}+0.68%$
$\color{red}167204/330569$
$\color{green}+50.58%$

The above coverage report was generated for the changes in this PR.

@kgryte kgryte changed the title feat: update ndarray/base TypeScript declarations feat!: update ndarray/base TypeScript declarations Feb 28, 2026
@kgryte kgryte merged commit b77641d into develop Feb 28, 2026
101 checks passed
@kgryte kgryte deleted the update-ndarray-base-declarations branch February 28, 2026 04:20
Witty-31-06 pushed a commit to Witty-31-06/stdlib that referenced this pull request Mar 7, 2026
BREAKING CHANGE: add writable parameter to and always return a new ndarray in `removeSingletonDimensions`

To migrate, in order to preserve prior writable behavior, users should set the final parameter equal to a boolean indicating whether the input ndarray is writable. If not, pass `false`; if yes, pass `true`.

To preserve prior behavior in which the input ndarray is returned if it does not have singleton dimensions, use `maybeRemoveSingletonDimensions`.

PR-URL: stdlib-js#10558
Reviewed-by: Athan Reines <kgryte@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated-pr Automated pull request (e.g., from a bot). Documentation Improvements, additions, or changes to documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants