From 845587e6a37f7908aabf3111dd82c1c1059f8dbc Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Wed, 19 Jun 2024 16:15:54 +0000 Subject: [PATCH] Release v0.0.1 --- .github/workflows/publish.yml | 4 ++ CHANGELOG.md | 72 ++++++++++++++++++++++++++++++++++- CONTRIBUTORS | 3 +- README.md | 4 +- dist/index.js | 26 +++++++++---- package.json | 2 +- 6 files changed, 98 insertions(+), 13 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ad3a3e0..b1d4bb8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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}" diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f0508d..44bd7c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,4 +2,74 @@ > Package changelog. -See [GitHub Releases](https://github.com/stdlib-js/complex-float64-ctor/releases) for the changelog. \ No newline at end of file +
+ +## 0.0.1 (2024-06-19) + +
+ +### Features + +- [`2efc790`](https://github.com/stdlib-js/stdlib/commit/2efc79009f71a65f5ac51bd7bb81539ae6d23796) - add `complex/float64/ctor` + +
+ + + +
+ +### Bug Fixes + +- [`3c94d90`](https://github.com/stdlib-js/stdlib/commit/3c94d900f801affd96eef9898a742e51e362f6bd) - update dependency path + +
+ + + +
+ +### BREAKING CHANGES + +- [`7381394`](https://github.com/stdlib-js/stdlib/commit/738139479cf29cbe123d7c5028024983ba11b3bd): remove `complex/reviver-float64` + + - To migrate, users should update their require/import paths to use + `@stdlib/complex-float64/reviver` which provides the same API and + implementation. + +
+ + + +
+ +### Commits + +
+ +- [`7381394`](https://github.com/stdlib-js/stdlib/commit/738139479cf29cbe123d7c5028024983ba11b3bd) - **remove:** remove `complex/reviver-float64` _(by Athan Reines)_ +- [`75d4f83`](https://github.com/stdlib-js/stdlib/commit/75d4f83cb85610d23a04dc21a03f8075f6d3665f) - **refactor:** update require and include paths _(by Athan Reines)_ +- [`3c94d90`](https://github.com/stdlib-js/stdlib/commit/3c94d900f801affd96eef9898a742e51e362f6bd) - **fix:** update dependency path _(by Athan Reines)_ +- [`2efc790`](https://github.com/stdlib-js/stdlib/commit/2efc79009f71a65f5ac51bd7bb81539ae6d23796) - **feat:** add `complex/float64/ctor` _(by Athan Reines)_ + +
+ +
+ + + +
+ +### Contributors + +A total of 1 person contributed to this release. Thank you to this contributor: + +- Athan Reines + +
+ + + +
+ + + diff --git a/CONTRIBUTORS b/CONTRIBUTORS index a44d7ac..7ec15a7 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -63,6 +63,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> @@ -75,7 +76,7 @@ Shraddheya Shendre Shubh Mehta <93862397+Shubh942@users.noreply.github.com> Shubham Mishra Sivam Das <100067002+Sivam2313@users.noreply.github.com> -Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com> +Snehil Shah Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com> Spandan Barve Stephannie JimĂ©nez Gacha diff --git a/README.md b/README.md index 8fb6f1b..20fb24c 100644 --- a/README.md +++ b/README.md @@ -655,8 +655,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [npm-image]: http://img.shields.io/npm/v/@stdlib/complex-float64-ctor.svg [npm-url]: https://npmjs.org/package/@stdlib/complex-float64-ctor -[test-image]: https://github.com/stdlib-js/complex-float64-ctor/actions/workflows/test.yml/badge.svg?branch=main -[test-url]: https://github.com/stdlib-js/complex-float64-ctor/actions/workflows/test.yml?query=branch:main +[test-image]: https://github.com/stdlib-js/complex-float64-ctor/actions/workflows/test.yml/badge.svg?branch=v0.0.1 +[test-url]: https://github.com/stdlib-js/complex-float64-ctor/actions/workflows/test.yml?query=branch:v0.0.1 [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/complex-float64-ctor/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/complex-float64-ctor?branch=main diff --git a/dist/index.js b/dist/index.js index af99f9e..c2ec8e9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,9 +1,19 @@ -"use strict";var o=function(e,r){return function(){return r||e((r={exports:{}}).exports,r),r.exports}};var s=o(function(S,n){ -function v(){var e=""+this.re;return this.im<0?e+=" - "+-this.im:e+=" + "+this.im,e+="i",e}n.exports=v -});var a=o(function(d,u){ -function c(){var e={};return e.type="Complex128",e.re=this.re,e.im=this.im,e}u.exports=c -});var h=o(function(q,f){ -var l=require('@stdlib/assert-is-number/dist').isPrimitive,m=require('@stdlib/utils-define-property/dist'),i=require('@stdlib/utils-define-nonenumerable-read-only-property/dist'),p=require('@stdlib/error-tools-fmtprodmsg/dist'),b=s(),y=a();function t(e,r){if(!(this instanceof t))throw new TypeError(p('null0G'));if(!l(e))throw new TypeError(p('null3e',e));if(!l(r))throw new TypeError(p('null3f',r));return m(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:e}),m(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:r}),this}i(t,"BYTES_PER_ELEMENT",8);i(t.prototype,"BYTES_PER_ELEMENT",8);i(t.prototype,"byteLength",16);i(t.prototype,"toString",b);i(t.prototype,"toJSON",y);f.exports=t -});var E=h();module.exports=E; -/** @license Apache-2.0 */ +"use strict";var o=function(e,r){return function(){return r||e((r={exports:{}}).exports,r),r.exports}};var s=o(function(S,n){"use strict";function v(){var e=""+this.re;return this.im<0?e+=" - "+-this.im:e+=" + "+this.im,e+="i",e}n.exports=v});var a=o(function(d,u){"use strict";function c(){var e={};return e.type="Complex128",e.re=this.re,e.im=this.im,e}u.exports=c});var h=o(function(q,f){"use strict";var l=require("@stdlib/assert-is-number").isPrimitive,m=require("@stdlib/utils-define-property"),i=require("@stdlib/utils-define-nonenumerable-read-only-property"),p=require("@stdlib/string-format"),b=s(),y=a();function t(e,r){if(!(this instanceof t))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!l(e))throw new TypeError(p("invalid argument. Real component must be a number. Value: `%s`.",e));if(!l(r))throw new TypeError(p("invalid argument. Imaginary component must be a number. Value: `%s`.",r));return m(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:e}),m(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:r}),this}i(t,"BYTES_PER_ELEMENT",8);i(t.prototype,"BYTES_PER_ELEMENT",8);i(t.prototype,"byteLength",16);i(t.prototype,"toString",b);i(t.prototype,"toJSON",y);f.exports=t});var E=h();module.exports=E; +/** +* @license Apache-2.0 +* +* Copyright (c) 2018 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ //# sourceMappingURL=index.js.map diff --git a/package.json b/package.json index ae01502..f332bc4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stdlib/complex-float64-ctor", - "version": "0.0.0", + "version": "0.0.1", "description": "128-bit complex number.", "license": "Apache-2.0", "author": {