Skip to content

Commit d6e885f

Browse files
committed
Auto-generated commit
1 parent e7e752b commit d6e885f

File tree

17 files changed

+168
-33
lines changed

17 files changed

+168
-33
lines changed

.gitattributes

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,27 @@
4040
*.mov binary
4141

4242
# Override what is considered "vendored" by GitHub's linguist:
43-
/deps/** linguist-vendored=false
44-
/lib/node_modules/** linguist-vendored=false linguist-generated=false
45-
test/fixtures/** linguist-vendored=false
46-
tools/** linguist-vendored=false
43+
/lib/node_modules/** -linguist-vendored -linguist-generated
4744

48-
# Override what is considered "documentation" by GitHub's linguist:
49-
examples/** linguist-documentation=false
45+
# Configure directories which should *not* be included in GitHub language statistics:
46+
/deps/** linguist-vendored
47+
/dist/** linguist-generated
48+
/workshops/** linguist-vendored
49+
50+
benchmark/** linguist-vendored
51+
docs/* linguist-documentation
52+
etc/** linguist-vendored
53+
examples/** linguist-documentation
54+
scripts/** linguist-vendored
55+
test/** linguist-vendored
56+
tools/** linguist-vendored
57+
58+
# Configure files which should *not* be included in GitHub language statistics:
59+
Makefile linguist-vendored
60+
*.mk linguist-vendored
61+
*.jl linguist-vendored
62+
*.py linguist-vendored
63+
*.R linguist-vendored
64+
65+
# Configure files which should be included in GitHub language statistics:
66+
docs/types/*.d.ts -linguist-documentation

.github/workflows/productionize.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,6 @@ jobs:
344344
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
345345
with:
346346
status: ${{ job.status }}
347-
steps: ${{ toJson(steps) }}
348347
channel: '#npm-ci'
349348
if: failure()
350349

@@ -518,7 +517,6 @@ jobs:
518517
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
519518
with:
520519
status: ${{ job.status }}
521-
steps: ${{ toJson(steps) }}
522520
channel: '#npm-ci'
523521
if: failure()
524522

@@ -698,7 +696,6 @@ jobs:
698696
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
699697
with:
700698
status: ${{ job.status }}
701-
steps: ${{ toJson(steps) }}
702699
channel: '#npm-ci'
703700
if: failure()
704701

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ jobs:
9494
# Replace branch in README.md link definitions for badges with the new version:
9595
find . -type f -name '*.md' -print0 | xargs -0 sed -Ei "s/branch([=:])[^ ]+/branch\1v${NEW_VERSION}/g"
9696
97+
# Rewrite CHANGELOG.md to replace "Unreleased" with the new version:
98+
sed -Ei "s/Unreleased/${NEW_VERSION}/g" CHANGELOG.md
99+
sed -Ei "s/unreleased/v${NEW_VERSION}/g" CHANGELOG.md
100+
97101
# Create a new commit and tag:
98102
git add package.json README.md
99103
git commit -m "Release v${NEW_VERSION}"
@@ -218,7 +222,6 @@ jobs:
218222
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
219223
with:
220224
status: ${{ job.status }}
221-
steps: ${{ toJson(steps) }}
222225
channel: '#npm-ci'
223226
if: failure()
224227

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,5 @@ jobs:
9595
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
9696
with:
9797
status: ${{ job.status }}
98-
steps: ${{ toJson(steps) }}
9998
channel: '#npm-ci'
10099
if: failure()

.github/workflows/test_bundles.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ jobs:
9494
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
9595
with:
9696
status: ${{ job.status }}
97-
steps: ${{ toJson(steps) }}
9897
channel: '#npm-ci'
9998
if: failure()
10099

@@ -139,7 +138,6 @@ jobs:
139138
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
140139
with:
141140
status: ${{ job.status }}
142-
steps: ${{ toJson(steps) }}
143141
channel: '#npm-ci'
144142
if: failure()
145143

@@ -184,6 +182,5 @@ jobs:
184182
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
185183
with:
186184
status: ${{ job.status }}
187-
steps: ${{ toJson(steps) }}
188185
channel: '#npm-ci'
189186
if: failure()

.github/workflows/test_coverage.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ jobs:
119119
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
120120
with:
121121
status: ${{ job.status }}
122-
steps: ${{ toJson(steps) }}
123122
channel: '#npm-ci'
124123
if: failure()
125124

.github/workflows/test_install.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,5 @@ jobs:
8181
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
8282
with:
8383
status: ${{ job.status }}
84-
steps: ${{ toJson(steps) }}
8584
channel: '#npm-ci'
8685
if: failure()

CHANGELOG.md

Lines changed: 116 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,119 @@
22

33
> Package changelog.
44
5-
See [GitHub Releases](https://github.com/stdlib-js/ndarray-base-zeros/releases) for the changelog.
5+
<section class="release" id="unreleased">
6+
7+
## Unreleased (2024-07-13)
8+
9+
<section class="features">
10+
11+
### Features
12+
13+
- [`71cf5a0`](https://github.com/stdlib-js/stdlib/commit/71cf5a05a13d12aed627d332147642adc4694ab9) - add boolean dtype support to `ndarray/empty*` and `ndarray/base/empty*` packages [(#2588)](https://github.com/stdlib-js/stdlib/pull/2588)
14+
15+
</section>
16+
17+
<!-- /.features -->
18+
19+
<section class="commits">
20+
21+
### Commits
22+
23+
<details>
24+
25+
- [`71cf5a0`](https://github.com/stdlib-js/stdlib/commit/71cf5a05a13d12aed627d332147642adc4694ab9) - **feat:** add boolean dtype support to `ndarray/empty*` and `ndarray/base/empty*` packages [(#2588)](https://github.com/stdlib-js/stdlib/pull/2588) _(by Jaysukh Makvana, Athan Reines)_
26+
27+
</details>
28+
29+
</section>
30+
31+
<!-- /.commits -->
32+
33+
<section class="contributors">
34+
35+
### Contributors
36+
37+
A total of 2 people contributed to this release. Thank you to the following contributors:
38+
39+
- Athan Reines
40+
- Jaysukh Makvana
41+
42+
</section>
43+
44+
<!-- /.contributors -->
45+
46+
</section>
47+
48+
<!-- /.release -->
49+
50+
<section class="release" id="v0.2.1">
51+
52+
## 0.2.1 (2024-02-25)
53+
54+
<section class="features">
55+
56+
### Features
57+
58+
- [`7ae5741`](https://github.com/stdlib-js/stdlib/commit/7ae574143c9716c82cea6cbf839a20b70a9cdfe0) - update minimum TypeScript version
59+
60+
</section>
61+
62+
<!-- /.features -->
63+
64+
<section class="bug-fixes">
65+
66+
### Bug Fixes
67+
68+
- [`def989d`](https://github.com/stdlib-js/stdlib/commit/def989d20c35d4cb0834e91324177abc8f522626) - resolve type declaration typo by removing stray lint directive
69+
70+
</section>
71+
72+
<!-- /.bug-fixes -->
73+
74+
<section class="breaking-changes">
75+
76+
### BREAKING CHANGES
77+
78+
- [`7ae5741`](https://github.com/stdlib-js/stdlib/commit/7ae574143c9716c82cea6cbf839a20b70a9cdfe0): update minimum TypeScript version
79+
- [`7ae5741`](https://github.com/stdlib-js/stdlib/commit/7ae574143c9716c82cea6cbf839a20b70a9cdfe0): update minimum TypeScript version to 4.1
80+
81+
- To migrate, users should upgrade their TypeScript version to at least version 4.1.
82+
83+
</section>
84+
85+
<!-- /.breaking-changes -->
86+
87+
<section class="commits">
88+
89+
### Commits
90+
91+
<details>
92+
93+
- [`def989d`](https://github.com/stdlib-js/stdlib/commit/def989d20c35d4cb0834e91324177abc8f522626) - **fix:** resolve type declaration typo by removing stray lint directive _(by Philipp Burckhardt)_
94+
- [`8c8e3d1`](https://github.com/stdlib-js/stdlib/commit/8c8e3d15f6698c81c75fc94fa10a7e2b9fb8b5d9) - **docs:** update links _(by Athan Reines)_
95+
- [`bf2cf8b`](https://github.com/stdlib-js/stdlib/commit/bf2cf8b0424e608a4e3abb6d18a8b44d790aa99c) - **build:** remove tslint directives _(by Philipp Burckhardt)_
96+
- [`7ae5741`](https://github.com/stdlib-js/stdlib/commit/7ae574143c9716c82cea6cbf839a20b70a9cdfe0) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
97+
98+
</details>
99+
100+
</section>
101+
102+
<!-- /.commits -->
103+
104+
<section class="contributors">
105+
106+
### Contributors
107+
108+
A total of 2 people contributed to this release. Thank you to the following contributors:
109+
110+
- Athan Reines
111+
- Philipp Burckhardt
112+
113+
</section>
114+
115+
<!-- /.contributors -->
116+
117+
</section>
118+
119+
<!-- /.release -->
120+

CONTRIBUTORS

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Adarsh Palaskar <adarshpalaskar99@gmail.com>
66
Aditya Sapra <adityaework@gmail.com>
77
AgPriyanshu18 <113460573+AgPriyanshu18@users.noreply.github.com>
8+
Aleksandr <112382387+alextes90@users.noreply.github.com>
89
Ali Salesi <ali_sal1381@yahoo.com>
910
Aman Bhansali <bhansali.1@iitj.ac.in>
1011
Amit Jimiwal <amitjimiwal45@gmail.com>
@@ -18,13 +19,15 @@ Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
1819
Christopher Dambamuromo <chridam@gmail.com>
1920
Dan Rose <danoftheroses@gmail.com>
2021
Daniel Killenberger <daniel.killenberger@gmail.com>
22+
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
2123
Dominik Moritz <domoritz@gmail.com>
2224
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
2325
EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com>
2426
Frank Kovacs <fran70kk@gmail.com>
2527
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
2628
Gunj Joshi <gunjjoshi8372@gmail.com>
2729
Harshita Kalani <harshitakalani02@gmail.com>
30+
Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com>
2831
Jaimin Godhani <112328542+Jai0401@users.noreply.github.com>
2932
James Gelok <jdgelok@gmail.com>
3033
Jaysukh Makvana <jaysukhmakvana2004@gmail.com>
@@ -60,6 +63,7 @@ Pushpendra Chandravanshi <pushpendrachandravanshi4@gmail.com>
6063
Raunak Kumar Gupta <raunakmodanwal321@gmail.com>
6164
Rejoan Sardar <119718513+Rejoan-Sardar@users.noreply.github.com>
6265
Ricky Reusser <rsreusser@gmail.com>
66+
Ridam Garg <67867319+RidamGarg@users.noreply.github.com>
6367
Robert Gislason <gztown2216@yahoo.com>
6468
Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com>
6569
Rutam <138517416+performant23@users.noreply.github.com>
@@ -69,8 +73,11 @@ Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
6973
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
7074
Shivam <11shivam00@gmail.com>
7175
Shraddheya Shendre <shendreshraddheya@gmail.com>
76+
Shubh Mehta <93862397+Shubh942@users.noreply.github.com>
7277
Shubham Mishra <shubh622005@gmail.com>
73-
Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
78+
Sivam Das <100067002+Sivam2313@users.noreply.github.com>
79+
Snehil Shah <snehilshah.989@gmail.com>
80+
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
7481
Spandan Barve <contact@marsian.dev>
7582
Stephannie Jiménez Gacha <steff456@hotmail.com>
7683
Suraj kumar <125961509+kumarsuraj212003@users.noreply.github.com>
@@ -79,8 +86,10 @@ Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
7986
Utkarsh <http://utkarsh11105@gmail.com>
8087
Utkarsh Raj <rajutkarsh2505@gmail.com>
8188
Varad Gupta <varadgupta21@gmail.com>
89+
Xiaochuan Ye <tap91624@gmail.com>
8290
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
8391
naveen <stupiddint@gmail.com>
8492
nishant-s7 <97207366+nishant-s7@users.noreply.github.com>
8593
orimiles5 <97595296+orimiles5@users.noreply.github.com>
94+
rainn <88160429+AmCodesLame@users.noreply.github.com>
8695
rei2hu <reimu@reimu.ws>

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ var zeros = require( '@stdlib/ndarray-base-zeros' );
7575

7676
#### zeros( dtype, shape, order )
7777

78-
Creates a zero-filled [ndarray][@stdlib/ndarray/base/ctor] having a specified shape and [data type][@stdlib/ndarray/dtypes].
78+
Creates a zero-filled [ndarray][@stdlib/ndarray/base/ctor] having a specified shape and numeric [data type][@stdlib/ndarray/dtypes].
7979

8080
```javascript
8181
var arr = zeros( 'float64', [ 2, 2 ], 'row-major' );
@@ -90,7 +90,7 @@ var dt = arr.dtype;
9090

9191
The function accepts the following arguments:
9292

93-
- **dtype**: underlying [data type][@stdlib/ndarray/dtypes].
93+
- **dtype**: underlying [data type][@stdlib/ndarray/dtypes]. Must be a numeric [data type][@stdlib/ndarray/dtypes] or "generic".
9494
- **shape**: array shape.
9595
- **order**: specifies whether an [ndarray][@stdlib/ndarray/base/ctor] is `'row-major'` (C-style) or `'column-major'` (Fortran-style).
9696

@@ -119,7 +119,7 @@ var dtypes = require( '@stdlib/ndarray-dtypes' );
119119
var zeros = require( '@stdlib/ndarray-base-zeros' );
120120

121121
// Get a list of data types:
122-
var dt = dtypes();
122+
var dt = dtypes( 'numeric' );
123123

124124
// Generate zero-filled arrays...
125125
var arr;

0 commit comments

Comments
 (0)