8000 Release v0.2.2 · stdlib-js/ndarray-slice@eb180cd · GitHub
[go: up one dir, main page]

Skip to content

Commit eb180cd

Browse files
committed
Release v0.2.2
1 parent f67007d commit eb180cd

File tree

13 files changed

+202
-52
lines changed

13 files changed

+202
-52
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: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ jobs:
9494
node -e "var pkg = require( './package.json' ); pkg.dependencies[ '@stdlib/error-tools-fmtprodmsg' ] = '^$PKG_VERSION'; require( 'fs' ).writeFileSync( 'package.json', JSON.stringify( pkg, null, 2 ) );"
9595
fi
9696
97-
# Configure git:
98-
- name: 'Configure git'
97+
# Configure Git:
98+
- name: 'Configure Git'
9999
run: |
100100
git config --local user.email "noreply@stdlib.io"
101101
git config --local user.name "stdlib-bot"
@@ -191,8 +191,8 @@ jobs:
191191
# Pin action to full length commit SHA
192192
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
193193

194-
# Configure git:
195-
- name: 'Configure git'
194+
# Configure Git:
195+
- name: 'Configure Git'
196196
run: |
197197
git config --local user.email "noreply@stdlib.io"
198198
git config --local user.name "stdlib-bot"
@@ -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

@@ -367,8 +366,8 @@ jobs:
367366
# Pin action to full length commit SHA
368367
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
369368

370-
# Configure git:
371-
- name: 'Configure git'
369+
# Configure Git:
370+
- name: 'Configure Git'
372371
run: |
373372
git config --local user.email "noreply@stdlib.io"
374373
git config --local user.name "stdlib-bot"
@@ -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

@@ -541,8 +539,8 @@ jobs:
541539
# Pin action to full length commit SHA
542540
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
543541

544-
# Configure git:
545-
- name: 'Configure git'
542+
# Configure Git:
543+
- name: 'Configure Git'
546544
run: |
547545
git config --local user.email "noreply@stdlib.io"
548546
git config --local user.name "stdlib-bot"
@@ -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

@@ -738,8 +735,8 @@ jobs:
738735
echo "bump=true" >> $GITHUB_OUTPUT
739736
fi
740737
741-
# Configure git:
742-
- name: 'Configure git'
738+
# Configure Git:
739+
- name: 'Configure Git'
743740
if: steps.check-if-bump.outputs.bump
744741
run: |
745742
git config --local user.email "noreply@stdlib.io"

.github/workflows/publish.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ jobs:
7272
node-version: 20
7373
timeout-minutes: 5
7474

75-
# Configure git:
76-
- name: 'Configure git'
75+
# Configure Git:
76+
- name: 'Configure Git'
7777
run: |
7878
git config --local user.email "noreply@stdlib.io"
7979
git config --local user.name "stdlib-bot"
@@ -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}"
@@ -202,7 +206,7 @@ jobs:
202206
# Publish package to npm:
203207
- name: 'Publish package to npm'
204208
# Pin action to full length commit SHA
205-
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1
209+
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
206210
with:
207211
token: ${{ secrets.NPM_TOKEN }}
208212
access: public
@@ -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()

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ docs/**/node_modules/
101101
pids
102102
*.pid
103103
*.seed
104+
yarn.lock
105+
package-lock.json
104106

105107
# Typescript #
106108
##############

.npmrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ shrinkwrap = false
2727
# Disable automatically "saving" dependencies on install:
2828
save = false
2929

30-
# Generate provenance metadata:
31-
provenance = true
30+
# Do not generate provenance metadata:
31+
provenance = false

CHANGELOG.md

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

33
> Package changelog.
44
5-
See [GitHub Releases](https://github.com/stdlib-js/ndarray-slice/releases) for the changelog.
5+
<section class="release" id="v0.2.2">
6+
7+
## 0.2.2 (2024-07-29)
8+
9+
No changes reported for this release.
10+
11+
</section>
12+
13+
<!-- /.release -->
14+
15+
<section class="release" id="v0.2.1">
16+
17+
## 0.2.1 (2024-02-25)
18+
19+
No changes reported for this release.
20+
21+
</section>
22+
23+
<!-- /.release -->
24+
25+
<section class="release" id="v0.2.0">
26+
27+
## 0.2.0 (2024-02-14)
28+
29+
<section class="commits">
30+
31+
### Commits
32+
33+
<details>
34+
35+
- [`7137673`](https://github.com/stdlib-js/stdlib/commit/7137673f0798ef13d7c9fd7becf78e557b1d583b) - **docs:** update related packages sections (#1315) _(by stdlib-bot)_
36+
- [`dea49e0`](https://github.com/stdlib-js/stdlib/commit/dea49e03ab5571233e3da26835a6a6d3256d5737) - **docs:** use single quotes in require calls instead of backticks _(by Philipp Burckhardt)_
37+
- [`bcb4079`](https://github.com/stdlib-js/stdlib/commit/bcb4079adf3e31d33d28db5dff21558c9e6bd5be) - **build:** remove and replace tslint directives _(by Philipp Burckhardt)_
38+
- [`6a9cc0e`](https://github.com/stdlib-js/stdlib/commit/6a9cc0e47fa5783053f8fd2895ea76f5deea0829) - **build:** replace tslint directive with eslint equivalent _(by Philipp Burckhardt)_
39+
- [`6b34523`](https://github.com/stdlib-js/stdlib/commit/6b3452322174342479d6c8b3277c3efee65d4cc0) - **docs:** update links _(by Athan Reines)_
40+
- [`2c57a3d`](https://github.com/stdlib-js/stdlib/commit/2c57a3d5e100df23e0d638ca44937c4026b0af08) - **docs:** remove unused requires _(by Athan Reines)_
41+
- [`89ff3eb`](https://github.com/stdlib-js/stdlib/commit/89ff3eb40b71405e4df16f2f876621ac0e114259) - **refactor:** use utility to create a MultiSlice from a list of arguments _(by Athan Reines)_
42+
43+
</details>
44+
45+
</section>
46+
47+
<!-- /.commits -->
48+
49+
<section class="contributors">
50+
51+
### Contributors
52+
53+
A total of 2 people contributed to this release. Thank you to the following contributors:
54+
55+
- Athan Reines
56+
- Philipp Burckhardt
57+
58+
</section>
59+
60+
<!-- /.contributors -->
61+
62+
</section>
63+
64+
<!-- /.release -->
65+
66+
<section class="release" id="v0.1.0">
67+
68+
## 0.1.0 (2023-10-14)
69+
70+
<section class="features">
71+
72+
### Features
73+
74+
- [`afda5bd`](https://github.com/stdlib-js/stdlib/commit/afda5bdedf10cc899794385201b356cf45e90334) - add `ndarray/slice`
75+
76+
</section>
77+
78+
<!-- /.features -->
79+
80+
<section class="bug-fixes">
81+
82+
### Bug Fixes
83+
84+
- [`8d7dfdc`](https://github.com/stdlib-js/stdlib/commit/8d7dfdc706aea0628b8d8fce181fae12bcb049c2) - add missing argument
85+
- [`2910f80`](https://github.com/stdlib-js/stdlib/commit/2910f803215131c7ba9c9e1eb71875a6305cd402) - address broken benchmarks for out-of-bounds slices
86+
- [`eae0905`](https://github.com/stdlib-js/stdlib/commit/eae09050d3e8bcf751636d469b997d54db1fac9c) - ensure support for slicing zero-dimensional arrays
87+
88+
</section>
89+
90+
<!-- /.bug-fixes -->
91+
92+
<section class="commits">
93+
94+
### Commits
95+
96+
<details>
97+
98+
- [`61db175`](https://github.com/stdlib-js/stdlib/commit/61db175f0cfabf39d2fd3053436a64de3627f5ad) - **refactor:** use accessor utility _(by Athan Reines)_
99+
- [`8d7dfdc`](https://github.com/stdlib-js/stdlib/commit/8d7dfdc706aea0628b8d8fce181fae12bcb049c2) - **fix:** add missing argument _(by Athan Reines)_
100+
- [`d81786b`](https://github.com/stdlib-js/stdlib/commit/d81786be3cf34d964bfe45ba25704228af41c56a) - **docs:** add link _(by Athan Reines)_
101+
- [`3574c0a`](https://github.com/stdlib-js/stdlib/commit/3574c0afcb1eb663462ecf5d220a4ede191b96bc) - **docs:** add links _(by Athan Reines)_
102+
- [`e11b048`](https://github.com/stdlib-js/stdlib/commit/e11b04813691e71b939decf1e053f0669ead8058) - **docs:** rename argument to avoid conflict with function name _(by Athan Reines)_
103+
- [`2910f80`](https://github.com/stdlib-js/stdlib/commit/2910f803215131c7ba9c9e1eb71875a6305cd402) - **fix:** address broken benchmarks for out-of-bounds slices _(by Athan Reines)_
104+
- [`1603774`](https://github.com/stdlib-js/stdlib/commit/16037740c1f22f0b69b011e44f8ff7f9744de5d2) - **test:** add test for when providing insufficient slice arguments _(by Athan Reines)_
105+
- [`b754d5a`](https://github.com/stdlib-js/stdlib/commit/b754d5a428b28386d3ab32506b963e945acd2941) - **style:** disable lint rule _(by Athan Reines)_
106+
- [`228e4d0`](https://github.com/stdlib-js/stdlib/commit/228e4d076c6205156ae8ba21f873747d52b4b869) - **test:** add tests for different invocation conventions _(by Athan Reines)_
107+
- [`52ac3f5`](https://github.com/stdlib-js/stdlib/commit/52ac3f5b730023b632fee0589b83cef2cd038d5b) - **docs:** add note concerning matching dimensionality _(by Athan Reines)_
108+
- [`eae0905`](https://github.com/stdlib-js/stdlib/commit/eae09050d3e8bcf751636d469b997d54db1fac9c) - **fix:** ensure support for slicing zero-dimensional arrays _(by Athan Reines)_
109+
- [`afda5bd`](https://github.com/stdlib-js/stdlib/commit/afda5bdedf10cc899794385201b356cf45e90334) - **feat:** add `ndarray/slice` _(by Athan Reines)_
110+
111+
</details>
112+
113+
</section>
114+
115+
<!-- /.commits -->
116+
117+
<section class="contributors">
118+
119+
### Contributors
120+
121+
A total of 1 person contributed to this release. Thank you to this contributor:
122+
123+
- Athan Reines
124+
125+
</section>
126+
127+
<!-- /.contributors -->
128+
129+
</section>
130+
131+
<!-- /.release -->
132+

0 commit comments

Comments
 (0)
0