Skip to content

Commit 3eaaaba

Browse files
committed
Auto-generated commit
1 parent 61cae04 commit 3eaaaba

File tree

7 files changed

+409
-128
lines changed

7 files changed

+409
-128
lines changed

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44

55
<section class="release" id="unreleased">
66

7-
## Unreleased (2026-04-08)
7+
## Unreleased (2026-04-09)
88

99
<section class="features">
1010

1111
### Features
1212

13+
- [`142964b`](https://github.com/stdlib-js/stdlib/commit/142964bca2c6774129f0807bcb9786ebc373646d) - refactor declarations to satisfy TS's structural typing
1314
- [`aac0a2b`](https://github.com/stdlib-js/stdlib/commit/aac0a2be45cc8c0d70542b91d4ac3a958ea4881d) - add `ndarray2string` to namespace
1415
- [`47e4985`](https://github.com/stdlib-js/stdlib/commit/47e4985d18efb25b0fc00c6818fccdf547c9113e) - add `ndarray/to-string` [(#10899)](https://github.com/stdlib-js/stdlib/pull/10899)
1516
- [`8dbfe60`](https://github.com/stdlib-js/stdlib/commit/8dbfe608b990c4e12c729daa01489de8f6b56ac3) - add support for dtype instances
@@ -588,6 +589,7 @@
588589

589590
### Bug Fixes
590591

592+
- [`d4710cd`](https://github.com/stdlib-js/stdlib/commit/d4710cd4279abf2e1e8383ce0e1bfbfadf4b609a) - improve type specificity with overloads
591593
- [`762f410`](https://github.com/stdlib-js/stdlib/commit/762f410098b29afa3823ab1191553101db0dcead) - correct grammar in ndarray type test comments [(#11154)](https://github.com/stdlib-js/stdlib/pull/11154)
592594
- [`ec6b646`](https://github.com/stdlib-js/stdlib/commit/ec6b64660490ae835e6991f53d1fb3db9985d499) - ensure support for \"generic\" ndarrays
593595
- [`0b89951`](https://github.com/stdlib-js/stdlib/commit/0b89951e22829e302f05d948ac8391d6300a39ea) - serialize the data type to a string and add comment
@@ -727,6 +729,15 @@
727729

728730
### BREAKING CHANGES
729731

732+
- [`142964b`](https://github.com/stdlib-js/stdlib/commit/142964bca2c6774129f0807bcb9786ebc373646d): add additional type parameters
733+
734+
- To migrate, users should update their signatures according to the
735+
types of the additional array arguments provided to the strided
736+
function. For fixed arity strided function wrappers, the previous
737+
declarations would choke, as they expected such wrappers to be
738+
variadic in the number of accepted arrays. This commit rectifies
739+
that by enumerating various fixed array arity signatures.
740+
730741
- [`98b02ad`](https://github.com/stdlib-js/stdlib/commit/98b02adb85c1a0644510dddd2fab2c1b6b61c2eb): update `ndarray/base` TypeScript declarations
731742
- [`b77641d`](https://github.com/stdlib-js/stdlib/commit/b77641d288f89a5333abf07b421cf54e575c5d03): add writable parameter to and always return a new ndarray in `removeSingletonDimensions`
732743

@@ -820,6 +831,9 @@ A total of 45 issues were closed in this release:
820831

821832
<details>
822833

834+
- [`d1a105c`](https://github.com/stdlib-js/stdlib/commit/d1a105c74fb2d139c4e6aba1b4aee6188c2aea64) - **test:** update tests to align with increased specificity _(by Athan Reines)_
835+
- [`d4710cd`](https://github.com/stdlib-js/stdlib/commit/d4710cd4279abf2e1e8383ce0e1bfbfadf4b609a) - **fix:** improve type specificity with overloads _(by Athan Reines)_
836+
- [`142964b`](https://github.com/stdlib-js/stdlib/commit/142964bca2c6774129f0807bcb9786ebc373646d) - **feat:** refactor declarations to satisfy TS's structural typing _(by Athan Reines)_
823837
- [`f52054e`](https://github.com/stdlib-js/stdlib/commit/f52054eb695447bf801c822da2e86bfb36a28699) - **docs:** fix comments _(by Athan Reines)_
824838
- [`ef8dc22`](https://github.com/stdlib-js/stdlib/commit/ef8dc22cb842e83aa870936e525bfcc3cd47473c) - **refactor:** use already defined variable _(by Athan Reines)_
825839
- [`acd37d9`](https://github.com/stdlib-js/stdlib/commit/acd37d96627bf8febcdc2668e5f5ba2a1fd17c55) - **refactor:** use already defined variable _(by Athan Reines)_

base/nullary-strided1d-dispatch-factory/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ Applies a strided function and assigns results to a provided output ndarray.
8181
var base = require( '@stdlib/blas/ext/base/ndarray/gsorthp' );
8282
var dtypes = require( '@stdlib/ndarray/dtypes' );
8383
var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' );
84-
var ndarray2array = require( '@stdlib/ndarray/to-array' );
8584
var ndarray = require( '@stdlib/ndarray/base/ctor' );
8685

8786
var idt = dtypes( 'real_and_generic' );
@@ -100,10 +99,7 @@ var order = scalar2ndarray( 1.0, {
10099
});
101100

102101
var out = nullary( x, order );
103-
// returns <ndarray>
104-
105-
var arr = ndarray2array( out );
106-
// returns [ -3.0, -1.0, 2.0 ]
102+
// returns <ndarray>[ -3.0, -1.0, 2.0 ]
107103

108104
var bool = ( out === x );
109105
// returns true

base/nullary-strided1d-dispatch-factory/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
- arrays: array containing an output ndarray, followed by any additional
2929
ndarray arguments.
3030

31-
idtypes: Array<Array<string>>
31+
idtypes: Array<Array<string|DataType>>
3232
List containing lists of supported input data types for each input
3333
ndarray argument.
3434

35-
odtypes: Array<string>
35+
odtypes: Array<string|DataType>
3636
List of supported output data types.
3737

3838
options: Object (optional)

0 commit comments

Comments
 (0)