Skip to content

Commit

Permalink
Release v0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Jul 27, 2024
1 parent def2f2f commit 460503d
Show file tree
Hide file tree
Showing 8 changed files with 175 additions and 44 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/productionize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]"
git config --local user.name "stdlib-bot"
Expand Down Expand Up @@ -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 "[email protected]"
git config --local user.name "stdlib-bot"
Expand Down Expand Up @@ -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 "[email protected]"
git config --local user.name "stdlib-bot"
Expand Down Expand Up @@ -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 "[email protected]"
git config --local user.name "stdlib-bot"
Expand Down Expand Up @@ -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 "[email protected]"
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]"
git config --local user.name "stdlib-bot"
Expand All @@ -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}"
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
131 changes: 130 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,133 @@

> Package changelog.
See [GitHub Releases](https://github.com/stdlib-js/slice-base-seq2slice/releases) for the changelog.
<section class="release" id="v0.2.2">

## 0.2.2 (2024-07-27)

<section class="commits">

### Commits

<details>

- [`f626b3d`](https://github.com/stdlib-js/stdlib/commit/f626b3d45c5fc4b55ff08dc53da094173a719732) - **docs:** update related packages sections [(#2255)](https://github.com/stdlib-js/stdlib/pull/2255) _(by stdlib-bot)_

</details>

</section>

<!-- /.commits -->

</section>

<!-- /.release -->

<section class="release" id="v0.2.1">

## 0.2.1 (2024-02-24)

No changes reported for this release.

</section>

<!-- /.release -->

<section class="release" id="v0.2.0">

## 0.2.0 (2024-02-14)

No changes reported for this release.

</section>

<!-- /.release -->

<section class="release" id="v0.1.0">

## 0.1.0 (2023-09-23)

No changes reported for this release.

</section>

<!-- /.release -->

<section class="release" id="v0.0.1">

## 0.0.1 (2023-09-21)

<section class="features">

### Features

- [`82dea00`](https://github.com/stdlib-js/stdlib/commit/82dea00133a02b5fa3ca4638b390f920003e8a5d) - rename error codes
- [`2b7b89a`](https://github.com/stdlib-js/stdlib/commit/2b7b89a5a32eff54ded8003e85882b41ab7cea4d) - add support for performing bounds checking
- [`ac9f95d`](https://github.com/stdlib-js/stdlib/commit/ac9f95d502319645244d9ab049b59dac87a70069) - add `slice/base/seq2slice`

</section>

<!-- /.features -->

<section class="bug-fixes">

### Bug Fixes

- [`f0bc593`](https://github.com/stdlib-js/stdlib/commit/f0bc593d67014942fd0ffbbc21c6fc159008e3b8) - account for negative increment when clamping a starting index

</section>

<!-- /.bug-fixes -->

<section class="breaking-changes">

### BREAKING CHANGES

- [`82dea00`](https://github.com/stdlib-js/stdlib/commit/82dea00133a02b5fa3ca4638b390f920003e8a5d): rename error codes
- [`82dea00`](https://github.com/stdlib-js/stdlib/commit/82dea00133a02b5fa3ca4638b390f920003e8a5d): rename error codes

- To migrate, if users were checking for particular error codes, they
should add the `SLICE_` prefix to their checks.

</section>

<!-- /.breaking-changes -->

<section class="commits">

### Commits

<details>

- [`fa2d0aa`](https://github.com/stdlib-js/stdlib/commit/fa2d0aa12d69db6906b4b247bef1f5efcd1a9ac1) - **docs:** fix grammar _(by Athan Reines)_
- [`0ac72b2`](https://github.com/stdlib-js/stdlib/commit/0ac72b2a79bd2aa20cd80f11b6cbb11e4355741e) - **docs:** fix grammar _(by Athan Reines)_
- [`82dea00`](https://github.com/stdlib-js/stdlib/commit/82dea00133a02b5fa3ca4638b390f920003e8a5d) - **feat:** rename error codes _(by Athan Reines)_
- [`f0bc593`](https://github.com/stdlib-js/stdlib/commit/f0bc593d67014942fd0ffbbc21c6fc159008e3b8) - **fix:** account for negative increment when clamping a starting index _(by Athan Reines)_
- [`bdbeddd`](https://github.com/stdlib-js/stdlib/commit/bdbeddde60e0d7178b4074898e6ab3fa34070e05) - **docs:** update comment _(by Athan Reines)_
- [`2b7b89a`](https://github.com/stdlib-js/stdlib/commit/2b7b89a5a32eff54ded8003e85882b41ab7cea4d) - **feat:** add support for performing bounds checking _(by Athan Reines)_
- [`61295ba`](https://github.com/stdlib-js/stdlib/commit/61295bae56ce392cc188ba7d3e8a98719fc4cc3e) - **refactor:** support returning an out-of-bounds error code when resolving end index _(by Athan Reines)_
- [`19ce482`](https://github.com/stdlib-js/stdlib/commit/19ce4821bf860276356c3c12c38df582261bc487) - **docs:** add TODO comments regarding exception handling for out-of-bounds slices _(by Athan Reines)_
- [`ac9f95d`](https://github.com/stdlib-js/stdlib/commit/ac9f95d502319645244d9ab049b59dac87a70069) - **feat:** add `slice/base/seq2slice` _(by Athan Reines)_

</details>

</section>

<!-- /.commits -->

<section class="contributors">

### Contributors

A total of 1 person contributed to this release. Thank you to this contributor:

- Athan Reines

</section>

<!-- /.contributors -->

</section>

<!-- /.release -->

4 changes: 3 additions & 1 deletion CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Muhammad Haris <[email protected]>
Naresh Jagadeesan <[email protected]>
NightKnight <[email protected]>
Nithin Katta <[email protected]>
Nourhan Hasan <[email protected]>
Ognjen Jevremović <[email protected]>
Oneday12323 <[email protected]>
Philipp Burckhardt <[email protected]>
Expand All @@ -63,6 +64,7 @@ Pushpendra Chandravanshi <[email protected]>
Raunak Kumar Gupta <[email protected]>
Rejoan Sardar <[email protected]>
Ricky Reusser <[email protected]>
Ridam Garg <[email protected]>
Robert Gislason <[email protected]>
Roman Stetsyk <[email protected]>
Rutam <[email protected]>
Expand All @@ -75,7 +77,7 @@ Shraddheya Shendre <[email protected]>
Shubh Mehta <[email protected]>
Shubham Mishra <[email protected]>
Sivam Das <[email protected]>
Snehil Shah <[email protected].com>
Snehil Shah <snehilshah.989@gmail.com>
Soumajit Chatterjee <[email protected]>
Spandan Barve <[email protected]>
Stephannie Jiménez Gacha <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
[npm-image]: http://img.shields.io/npm/v/@stdlib/slice-base-seq2slice.svg
[npm-url]: https://npmjs.org/package/@stdlib/slice-base-seq2slice

[test-image]: https://github.com/stdlib-js/slice-base-seq2slice/actions/workflows/test.yml/badge.svg?branch=main
[test-url]: https://github.com/stdlib-js/slice-base-seq2slice/actions/workflows/test.yml?query=branch:main
[test-image]: https://github.com/stdlib-js/slice-base-seq2slice/actions/workflows/test.yml/badge.svg?branch=v0.2.2
[test-url]: https://github.com/stdlib-js/slice-base-seq2slice/actions/workflows/test.yml?query=branch:v0.2.2

[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/slice-base-seq2slice/main.svg
[coverage-url]: https://codecov.io/github/stdlib-js/slice-base-seq2slice?branch=main
Expand Down
40 changes: 18 additions & 22 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stdlib/slice-base-seq2slice",
"version": "0.2.1",
"version": "0.2.2",
"description": "Convert a subsequence string to a Slice object.",
"license": "Apache-2.0",
"author": {
Expand Down Expand Up @@ -37,9 +37,9 @@
"url": "https://github.com/stdlib-js/stdlib/issues"
},
"dependencies": {
"@stdlib/math-base-special-floor": "^0.2.2",
"@stdlib/math-base-special-floor": "^0.2.3",
"@stdlib/slice-ctor": "^0.2.1",
"@stdlib/string-base-trim": "^0.2.1",
"@stdlib/string-base-trim": "^0.2.2",
"@stdlib/types": "^0.3.2"
},
"devDependencies": {
Expand Down

0 comments on commit 460503d

Please sign in to comment.