From a1f56e7b96b976ee9fa98bff92bd9cd03636b22e Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Sun, 28 Jul 2024 02:29:52 +0000 Subject: [PATCH] Release v0.2.2 --- .github/workflows/productionize.yml | 20 +-- .github/workflows/publish.yml | 10 +- .npmrc | 4 +- CHANGELOG.md | 245 +++++++++++++++++++++++++++- CONTRIBUTORS | 7 +- README.md | 4 +- package.json | 34 ++-- src/addon.c | 1 - 8 files changed, 288 insertions(+), 37 deletions(-) diff --git a/.github/workflows/productionize.yml b/.github/workflows/productionize.yml index f92a6c5..f4575e9 100644 --- a/.github/workflows/productionize.yml +++ b/.github/workflows/productionize.yml @@ -94,8 +94,8 @@ jobs: 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 ) );" fi - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' run: | git config --local user.email "noreply@stdlib.io" git config --local user.name "stdlib-bot" @@ -191,8 +191,8 @@ jobs: # Pin action to full length commit SHA uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' run: | git config --local user.email "noreply@stdlib.io" git config --local user.name "stdlib-bot" @@ -366,8 +366,8 @@ jobs: # Pin action to full length commit SHA uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' run: | git config --local user.email "noreply@stdlib.io" git config --local user.name "stdlib-bot" @@ -539,8 +539,8 @@ jobs: # Pin action to full length commit SHA uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' run: | git config --local user.email "noreply@stdlib.io" git config --local user.name "stdlib-bot" @@ -735,8 +735,8 @@ jobs: echo "bump=true" >> $GITHUB_OUTPUT fi - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' if: steps.check-if-bump.outputs.bump run: | git config --local user.email "noreply@stdlib.io" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ad3a3e0..2888b88 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -72,8 +72,8 @@ jobs: node-version: 20 timeout-minutes: 5 - # Configure git: - - name: 'Configure git' + # Configure Git: + - name: 'Configure Git' run: | git config --local user.email "noreply@stdlib.io" git config --local user.name "stdlib-bot" @@ -94,6 +94,10 @@ jobs: # Replace branch in README.md link definitions for badges with the new version: find . -type f -name '*.md' -print0 | xargs -0 sed -Ei "s/branch([=:])[^ ]+/branch\1v${NEW_VERSION}/g" + # Rewrite CHANGELOG.md to replace "Unreleased" with the new version: + sed -Ei "s/Unreleased/${NEW_VERSION}/g" CHANGELOG.md + sed -Ei "s/unreleased/v${NEW_VERSION}/g" CHANGELOG.md + # Create a new commit and tag: git add package.json README.md git commit -m "Release v${NEW_VERSION}" @@ -202,7 +206,7 @@ jobs: # Publish package to npm: - name: 'Publish package to npm' # Pin action to full length commit SHA - uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1 + uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1 with: token: ${{ secrets.NPM_TOKEN }} access: public diff --git a/.npmrc b/.npmrc index 5af9067..58dbd10 100644 --- a/.npmrc +++ b/.npmrc @@ -27,5 +27,5 @@ shrinkwrap = false # Disable automatically "saving" dependencies on install: save = false -# Generate provenance metadata: -provenance = true +# Do not generate provenance metadata: +provenance = false diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fe0d0e..7442b30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,4 +2,247 @@ > Package changelog. -See [GitHub Releases](https://github.com/stdlib-js/blas-base-sasum/releases) for the changelog. \ No newline at end of file +
+ +## 0.2.2 (2024-07-28) + +
+ +### Bug Fixes + +- [`06b1e94`](https://github.com/stdlib-js/stdlib/commit/06b1e94ab81410ef61ca7ada0b7f54aca029e77d) - add missing include + +
+ + + +
+ +### Commits + +
+ +- [`d04dcbd`](https://github.com/stdlib-js/stdlib/commit/d04dcbd6dc3b0bf4a89bd3947d317fa5ff15bb38) - **docs:** remove private annotations in C comments _(by Philipp Burckhardt)_ +- [`38464b7`](https://github.com/stdlib-js/stdlib/commit/38464b74545be9702eda7bae820c40b56e7e7256) - **docs:** remove comments _(by Athan Reines)_ +- [`f1576ec`](https://github.com/stdlib-js/stdlib/commit/f1576ec5ade09cd8cd034dc0db8c9f5c7d70e3eb) - **docs:** remove comments _(by Athan Reines)_ +- [`06b1e94`](https://github.com/stdlib-js/stdlib/commit/06b1e94ab81410ef61ca7ada0b7f54aca029e77d) - **fix:** add missing include _(by Athan Reines)_ +- [`69681c5`](https://github.com/stdlib-js/stdlib/commit/69681c5293d067a6d0585f4635fbdebb88f0bf5d) - **refactor:** use macro to create Node-API double _(by Athan Reines)_ +- [`eb88d43`](https://github.com/stdlib-js/stdlib/commit/eb88d4383502daa0beccc848e381a4aa0c1acf12) - **build:** add separate configurations for benchmarks and examples _(by Athan Reines)_ +- [`0244027`](https://github.com/stdlib-js/stdlib/commit/0244027e1e2c0ceb1cd8ae1808196c24fa77b142) - **chore:** add missing trailing newlines _(by Philipp Burckhardt)_ + +
+ +
+ + + +
+ +### Contributors + +A total of 2 people contributed to this release. Thank you to the following contributors: + +- Athan Reines +- Philipp Burckhardt + +
+ + + +
+ + + +
+ +## 0.2.1 (2024-02-24) + +No changes reported for this release. + +
+ + + +
+ +## 0.2.0 (2024-02-14) + +
+ +### Commits + +
+ +- [`dea49e0`](https://github.com/stdlib-js/stdlib/commit/dea49e03ab5571233e3da26835a6a6d3256d5737) - **docs:** use single quotes in require calls instead of backticks _(by Philipp Burckhardt)_ +- [`993c218`](https://github.com/stdlib-js/stdlib/commit/993c218b1fc59480347c2c4c18125e71b1bfd137) - **build:** add missing configuration _(by Athan Reines)_ +- [`f7e46de`](https://github.com/stdlib-js/stdlib/commit/f7e46de80dc93a212e5146e937afac0079d91b2a) - **docs:** add suffix _(by Athan Reines)_ +- [`3272b77`](https://github.com/stdlib-js/stdlib/commit/3272b77239aa1929fa2bbda7a9ea72b8f4bbab8b) - **refactor:** update implementation according to current project conventions _(by Athan Reines)_ +- [`4ec2cd0`](https://github.com/stdlib-js/stdlib/commit/4ec2cd0d22446eac8818845f4a816d2d4a1bfde2) - **docs:** update copy _(by Athan Reines)_ +- [`5a36be3`](https://github.com/stdlib-js/stdlib/commit/5a36be3f681bf65914abdc58bbc3142533cb2328) - **style:** resolve lint errors _(by Athan Reines)_ +- [`df3c9b3`](https://github.com/stdlib-js/stdlib/commit/df3c9b368d8a3dd7dd38f8768deb53c2a780c055) - **build:** remove tslint directives _(by Philipp Burckhardt)_ + +
+ +
+ + + +
+ +### Contributors + +A total of 2 people contributed to this release. Thank you to the following contributors: + +- Athan Reines +- Philipp Burckhardt + +
+ + + +
+ + + +
+ +## 0.1.0 (2023-09-24) + +
+ +### Features + +- [`cca37d0`](https://github.com/stdlib-js/stdlib/commit/cca37d051d8c0209970fc681353fdb4e4d257a8a) - update minimum TypeScript version + +
+ + + +
+ +### BREAKING CHANGES + +- [`cca37d0`](https://github.com/stdlib-js/stdlib/commit/cca37d051d8c0209970fc681353fdb4e4d257a8a): update minimum TypeScript version +- [`cca37d0`](https://github.com/stdlib-js/stdlib/commit/cca37d051d8c0209970fc681353fdb4e4d257a8a): update minimum TypeScript version to 4.1 + + - To migrate, users should upgrade their TypeScript version to at least version 4.1. + +
+ + + +
+ +### Commits + +
+ +- [`cca37d0`](https://github.com/stdlib-js/stdlib/commit/cca37d051d8c0209970fc681353fdb4e4d257a8a) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_ +- [`42c921a`](https://github.com/stdlib-js/stdlib/commit/42c921ab62b8cdf789a9e76b06b18074e850af5e) - **docs:** resolve C lint errors _(by Athan Reines)_ +- [`28e1c84`](https://github.com/stdlib-js/stdlib/commit/28e1c84390d88044883c9ef940a12f38d66ea3ef) - **docs:** resolve C lint errors _(by Athan Reines)_ +- [`a9f7c78`](https://github.com/stdlib-js/stdlib/commit/a9f7c78cf0414fd5b48418008de73910e71ec02e) - **docs:** render equations via math code blocks _(by Philipp Burckhardt)_ +- [`9d552f8`](https://github.com/stdlib-js/stdlib/commit/9d552f8ee1087df295267fd3ddc2e5a04526ed6a) - **docs:** standardize parameter description and update docs _(by Athan Reines)_ + +
+ +
+ + + +
+ +### Contributors + +A total of 2 people contributed to this release. Thank you to the following contributors: + +- Athan Reines +- Philipp Burckhardt + +
+ + + +
+ + + +
+ +## 0.0.8 (2022-11-03) + +No changes reported for this release. + +
+ + + +
+ +## 0.0.7 (2022-08-30) + +No changes reported for this release. + +
+ + + +
+ +## 0.0.6 (2022-02-16) + +No changes reported for this release. + +
+ + + +
+ +## 0.0.5 (2021-08-22) + +No changes reported for this release. + +
+ + + +
+ +## 0.0.4 (2021-07-07) + +No changes reported for this release. + +
+ + + +
+ +## 0.0.3 (2021-06-27) + +No changes reported for this release. + +
+ + + +
+ +## 0.0.2 (2021-06-16) + +No changes reported for this release. + +
+ + + +
+ +## 0.0.1 (2021-06-15) + +No changes reported for this release. + +
+ + + diff --git a/CONTRIBUTORS b/CONTRIBUTORS index fcfcfa2..26a1c46 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -27,6 +27,7 @@ Frank Kovacs Golden Kumar <103646877+AuenKr@users.noreply.github.com> Gunj Joshi Harshita Kalani +Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com> Jaimin Godhani <112328542+Jai0401@users.noreply.github.com> James Gelok Jaysukh Makvana @@ -50,6 +51,7 @@ Muhammad Haris Naresh Jagadeesan NightKnight Nithin Katta <88046362+nithinkatta@users.noreply.github.com> +Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com> Ognjen Jevremović Oneday12323 <107678750+Oneday12323@users.noreply.github.com> Philipp Burckhardt @@ -62,6 +64,7 @@ Pushpendra Chandravanshi Raunak Kumar Gupta Rejoan Sardar <119718513+Rejoan-Sardar@users.noreply.github.com> Ricky Reusser +Ridam Garg <67867319+RidamGarg@users.noreply.github.com> Robert Gislason Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com> Rutam <138517416+performant23@users.noreply.github.com> @@ -73,7 +76,8 @@ Shivam <11shivam00@gmail.com> Shraddheya Shendre Shubh Mehta <93862397+Shubh942@users.noreply.github.com> Shubham Mishra -Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com> +Sivam Das <100067002+Sivam2313@users.noreply.github.com> +Snehil Shah Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com> Spandan Barve Stephannie Jiménez Gacha @@ -83,6 +87,7 @@ Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com> Utkarsh Utkarsh Raj Varad Gupta +Xiaochuan Ye Yernar Yergaziyev naveen nishant-s7 <97207366+nishant-s7@users.noreply.github.com> diff --git a/README.md b/README.md index 58d9b7d..ef5e3d5 100644 --- a/README.md +++ b/README.md @@ -257,8 +257,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [npm-image]: http://img.shields.io/npm/v/@stdlib/blas-base-sasum.svg [npm-url]: https://npmjs.org/package/@stdlib/blas-base-sasum -[test-image]: https://github.com/stdlib-js/blas-base-sasum/actions/workflows/test.yml/badge.svg?branch=main -[test-url]: https://github.com/stdlib-js/blas-base-sasum/actions/workflows/test.yml?query=branch:main +[test-image]: https://github.com/stdlib-js/blas-base-sasum/actions/workflows/test.yml/badge.svg?branch=v0.2.2 +[test-url]: https://github.com/stdlib-js/blas-base-sasum/actions/workflows/test.yml?query=branch:v0.2.2 [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/blas-base-sasum/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/blas-base-sasum?branch=main diff --git a/package.json b/package.json index 6df76c1..6d7a3ba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stdlib/blas-base-sasum", - "version": "0.2.1", + "version": "0.2.2", "description": "Compute the sum of absolute values (L1 norm).", "license": "Apache-2.0", "author": { @@ -41,33 +41,33 @@ "url": "https://github.com/stdlib-js/stdlib/issues" }, "dependencies": { - "@stdlib/assert-is-error": "^0.2.1", + "@stdlib/assert-is-error": "^0.2.2", "@stdlib/math-base-special-absf": "^0.2.1", - "@stdlib/napi-argv": "^0.2.1", - "@stdlib/napi-argv-int64": "^0.2.1", - "@stdlib/napi-argv-strided-float32array": "^0.2.1", - "@stdlib/napi-create-double": "github:stdlib-js/napi-create-double#main", - "@stdlib/napi-export": "^0.2.1", - "@stdlib/number-float64-base-to-float32": "^0.2.1", - "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.1", - "@stdlib/utils-library-manifest": "^0.2.1", - "@stdlib/utils-try-require": "^0.2.1" + "@stdlib/napi-argv": "^0.2.2", + "@stdlib/napi-argv-int64": "^0.2.2", + "@stdlib/napi-argv-strided-float32array": "^0.2.2", + "@stdlib/napi-create-double": "^0.0.2", + "@stdlib/napi-export": "^0.2.2", + "@stdlib/number-float64-base-to-float32": "^0.2.2", + "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.2", + "@stdlib/utils-library-manifest": "^0.2.2", + "@stdlib/utils-try-require": "^0.2.2" }, "devDependencies": { - "@stdlib/array-float32": "^0.2.1", - "@stdlib/assert-is-browser": "^0.2.1", - "@stdlib/math-base-assert-is-nan": "^0.2.1", + "@stdlib/array-float32": "^0.2.2", + "@stdlib/assert-is-browser": "^0.2.2", + "@stdlib/math-base-assert-is-nan": "^0.2.2", "@stdlib/math-base-special-pow": "^0.2.1", "@stdlib/random-array-discrete-uniform": "^0.2.1", "@stdlib/random-array-uniform": "^0.2.1", "@stdlib/random-base-randu": "^0.2.1", - "@stdlib/strided-base-min-view-buffer-index": "^0.2.1", - "@stdlib/strided-base-offset-view": "^0.2.1", + "@stdlib/strided-base-min-view-buffer-index": "^0.2.2", + "@stdlib/strided-base-offset-view": "^0.2.2", "proxyquire": "^2.0.0", "tape": "git+https://github.com/kgryte/tape.git#fix/globby", "istanbul": "^0.4.1", "tap-min": "git+https://github.com/Planeshifter/tap-min.git", - "@stdlib/bench-harness": "^0.2.1" + "@stdlib/bench-harness": "^0.2.2" }, "engines": { "node": ">=0.10.0", diff --git a/src/addon.c b/src/addon.c index ff0574f..027c7ff 100644 --- a/src/addon.c +++ b/src/addon.c @@ -27,7 +27,6 @@ /** * Receives JavaScript callback invocation data. * -* @private * @param env environment under which the function is invoked * @param info callback data * @return Node-API value