Skip to content

Commit 88d6482

Browse files
committed
Auto-generated commit
1 parent 34d9bee commit 88d6482

File tree

3 files changed

+50
-4
lines changed

3 files changed

+50
-4
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-02-25)
7+
## Unreleased (2025-02-27)
88

99
<section class="packages">
1010

@@ -20,6 +20,7 @@
2020

2121
##### Features
2222

23+
- [`2f0aa48`](https://github.com/stdlib-js/stdlib/commit/2f0aa48ef6d561779d4bd4c4a54fe00a5a26c0e1) - update namespace TypeScript declarations [(#5436)](https://github.com/stdlib-js/stdlib/pull/5436)
2324
- [`25d8240`](https://github.com/stdlib-js/stdlib/commit/25d8240f51b27bd0ee85ca3ef70c89fd3778b902) - update namespace TypeScript declarations [(#4363)](https://github.com/stdlib-js/stdlib/pull/4363)
2425
- [`44547ea`](https://github.com/stdlib-js/stdlib/commit/44547ead986e505d5fdffac47d44cd1d18480f8c) - add `ndarray2fancy` to namespace
2526
- [`3f35e51`](https://github.com/stdlib-js/stdlib/commit/3f35e518a65e0cce1a8bcaf0ef6e4d45c08afc59) - add `forEach` to namespace
@@ -40,6 +41,10 @@
4041

4142
##### BREAKING CHANGES
4243

44+
- [`2f0aa48`](https://github.com/stdlib-js/stdlib/commit/2f0aa48ef6d561779d4bd4c4a54fe00a5a26c0e1): remove `mulf` symbol
45+
46+
- To migrate, users should access the same symbol via the `number/float32/base` namespace.
47+
4348
- [`8b1548f`](https://github.com/stdlib-js/stdlib/commit/8b1548fb45c1ff131f5edac20cb984344a2d28ec): update namespace declarations
4449

4550
- To migrate, users should consult the corresponding packages containing the respective implementations to determine what is breaking. The primary breakages come from the `blas/*` namespace, where we recently refactored how top-level BLAS APIs operate on input arguments.
@@ -130,6 +135,7 @@
130135

131136
##### Features
132137

138+
- [`2f0aa48`](https://github.com/stdlib-js/stdlib/commit/2f0aa48ef6d561779d4bd4c4a54fe00a5a26c0e1) - update namespace TypeScript declarations [(#5436)](https://github.com/stdlib-js/stdlib/pull/5436)
133139
- [`c1b6794`](https://github.com/stdlib-js/stdlib/commit/c1b6794e36255d7df6795f5f5f4d3e493165f397) - add `isOutputDataTypePolicy` to namespace
134140
- [`e661213`](https://github.com/stdlib-js/stdlib/commit/e66121352ef767cdb87d19e938b1eccf7970fa3a) - update namespace TypeScript declarations [(#4706)](https://github.com/stdlib-js/stdlib/pull/4706)
135141
- [`a94dcea`](https://github.com/stdlib-js/stdlib/commit/a94dceaa9469c774ee4622567e4c15a15e215bcf) - add `isColumnMajorString` to namespace
@@ -144,6 +150,10 @@
144150

145151
##### BREAKING CHANGES
146152

153+
- [`2f0aa48`](https://github.com/stdlib-js/stdlib/commit/2f0aa48ef6d561779d4bd4c4a54fe00a5a26c0e1): remove `mulf` symbol
154+
155+
- To migrate, users should access the same symbol via the `number/float32/base` namespace.
156+
147157
- [`8b1548f`](https://github.com/stdlib-js/stdlib/commit/8b1548fb45c1ff131f5edac20cb984344a2d28ec): update namespace declarations
148158

149159
- To migrate, users should consult the corresponding packages containing the respective implementations to determine what is breaking. The primary breakages come from the `blas/*` namespace, where we recently refactored how top-level BLAS APIs operate on input arguments.
@@ -869,6 +879,10 @@
869879

870880
### BREAKING CHANGES
871881

882+
- [`2f0aa48`](https://github.com/stdlib-js/stdlib/commit/2f0aa48ef6d561779d4bd4c4a54fe00a5a26c0e1): remove `mulf` symbol
883+
884+
- To migrate, users should access the same symbol via the `number/float32/base` namespace.
885+
872886
- [`8b1548f`](https://github.com/stdlib-js/stdlib/commit/8b1548fb45c1ff131f5edac20cb984344a2d28ec): update namespace declarations
873887

874888
- To migrate, users should consult the corresponding packages containing the respective implementations to determine what is breaking. The primary breakages come from the `blas/*` namespace, where we recently refactored how top-level BLAS APIs operate on input arguments.
@@ -898,6 +912,7 @@ A total of 4 people contributed to this release. Thank you to the following cont
898912

899913
<details>
900914

915+
- [`2f0aa48`](https://github.com/stdlib-js/stdlib/commit/2f0aa48ef6d561779d4bd4c4a54fe00a5a26c0e1) - **feat:** update namespace TypeScript declarations [(#5436)](https://github.com/stdlib-js/stdlib/pull/5436) _(by stdlib-bot)_
901916
- [`9d532b5`](https://github.com/stdlib-js/stdlib/commit/9d532b5510055d80c5df8ba4c8e897c1670dcd1a) - **docs:** update namespace table of contents [(#5438)](https://github.com/stdlib-js/stdlib/pull/5438) _(by stdlib-bot, Philipp Burckhardt)_
902917
- [`c1b6794`](https://github.com/stdlib-js/stdlib/commit/c1b6794e36255d7df6795f5f5f4d3e493165f397) - **feat:** add `isOutputDataTypePolicy` to namespace _(by Athan Reines)_
903918
- [`9cabe87`](https://github.com/stdlib-js/stdlib/commit/9cabe87a0ce5401967f41d91dc4479a722ba3288) - **feat:** add `ndarray/base/assert/is-output-data-type-policy` _(by Athan Reines)_

base/assert/docs/types/index.d.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import isIntegerDataType = require( './../../../../base/assert/is-integer-data-t
3838
import isMostlySafeDataTypeCast = require( './../../../../base/assert/is-mostly-safe-data-type-cast' );
3939
import isNumericDataType = require( './../../../../base/assert/is-numeric-data-type' );
4040
import isOrder = require( './../../../../base/assert/is-order' );
41+
import isOutputDataTypePolicy = require( './../../../../base/assert/is-output-data-type-policy' );
4142
import isReadOnly = require( './../../../../base/assert/is-read-only' );
4243
import isRealDataType = require( './../../../../base/assert/is-real-data-type' );
4344
import isRealFloatingPointDataType = require( './../../../../base/assert/is-real-floating-point-data-type' );
@@ -602,6 +603,27 @@ interface Namespace {
602603
*/
603604
isOrder: typeof isOrder;
604605

606+
/**
607+
* Tests whether an input value is a supported ndarray output data type policy.
608+
*
609+
* @param v - value to test
610+
* @returns boolean indicating whether an input value is a supported ndarray output data type policy
611+
*
612+
* @example
613+
* var bool = ns.isOutputDataTypePolicy( 'boolean' );
614+
* // returns true
615+
*
616+
* bool = ns.isOutputDataTypePolicy( 'real' );
617+
* // returns true
618+
*
619+
* bool = ns.isOutputDataTypePolicy( 'numeric' );
620+
* // returns true
621+
*
622+
* bool = ns.isOutputDataTypePolicy( 'foo' );
623+
* // returns false
624+
*/
625+
isOutputDataTypePolicy: typeof isOutputDataTypePolicy;
626+
605627
/**
606628
* Tests whether an ndarray is read-only.
607629
*

docs/types/index.d.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,15 +1174,24 @@ interface Namespace {
11741174
*
11751175
* - `same`: return the same data type.
11761176
* - `promoted`: return a promoted data type.
1177-
* - `bool`: return a boolean data type.
1178-
* - `numeric`: return a numeric data type.
1179-
* - `real`: return a real-valued data type.
1177+
* - `boolean`: return a boolean data type.
1178+
* - `boolean_and_generic`: return a boolean or "generic" data type.
11801179
* - `signed_integer`: return a signed integer data type.
1180+
* - `signed_integer_and_generic`: return a signed integer or "generic" data type.
11811181
* - `unsigned_integer`: return an unsigned integer data type.
1182+
* - `unsigned_integer_and_generic`: return an unsigned integer or "generic" data type.
11821183
* - `integer`: return an integer data type (i.e., either signed or unsigned).
1184+
* - `integer_and_generic`: return an integer (i.e., either signed or unsigned) or "generic" data type.
11831185
* - `floating_point`: return a floating-point data type (i.e., either real-valued or complex-valued).
1186+
* - `floating_point_and_generic`: return a floating-point (i.e., either real-valued or complex-valued) or "generic" data type.
11841187
* - `real_floating_point`: return a real-valued floating-point data type.
1188+
* - `real_floating_point_and_generic`: return a real-valued or "generic" floating-point data type.
11851189
* - `complex_floating_point`: return a complex-valued floating-point data type.
1190+
* - `complex_floating_point_and_generic`: return a complex-valued or "generic" floating-point data type.
1191+
* - `real`: return a real-valued data type.
1192+
* - `real_and_generic`: return a real-valued or "generic" data type.
1193+
* - `numeric`: return a numeric data type.
1194+
* - `numeric_and_generic`: return a numeric or "generic" data type.
11861195
* - `default`: return the default data type.
11871196
*
11881197
* @returns list of data type policies

0 commit comments

Comments
 (0)