Skip to content

Commit 879428e

Browse files
committed
Auto-generated commit
1 parent 642d635 commit 879428e

File tree

2 files changed

+134
-14
lines changed

2 files changed

+134
-14
lines changed

.github/.keepalive

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-08-01T00:35:49.313Z
1+
2024-08-03T15:11:56.718Z

CHANGELOG.md

Lines changed: 133 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,52 @@
22

33
> Package changelog.
44
5-
<section class="release" id="unreleased">
5+
<section class="release" id="v0.3.0">
6+
7+
## 0.3.0 (2024-07-26)
8+
9+
<section class="features">
10+
11+
### Features
12+
13+
- [`693efb2`](https://github.com/stdlib-js/stdlib/commit/693efb2eb159d1cd25c6cffe2440e36e6a14b9b2) - resolve negative indices relative to the last character index
14+
- [`29d7b0d`](https://github.com/stdlib-js/stdlib/commit/29d7b0dc141e1112af120eab76fa6731b8fdbe78) - add support for `fromIndex`
15+
16+
</section>
17+
18+
<!-- /.features -->
19+
20+
<section class="breaking-changes">
21+
22+
### BREAKING CHANGES
23+
24+
- [`693efb2`](https://github.com/stdlib-js/stdlib/commit/693efb2eb159d1cd25c6cffe2440e36e6a14b9b2): resolve negative indices relative to the last character index
25+
- [`693efb2`](https://github.com/stdlib-js/stdlib/commit/693efb2eb159d1cd25c6cffe2440e36e6a14b9b2): resolve negative indices relative to the last index
626

7-
## Unreleased (2024-08-01)
27+
- Previously, negative index arguments would resolve to zero and
28+
search would start from the beginning of the string. To preserve
29+
previous behavior, users should clamp `fromIndex` values to string
30+
index bounds before calling into `replaceBefore`.
31+
32+
- [`29d7b0d`](https://github.com/stdlib-js/stdlib/commit/29d7b0dc141e1112af120eab76fa6731b8fdbe78): add support for `fromIndex`
33+
- [`29d7b0d`](https://github.com/stdlib-js/stdlib/commit/29d7b0dc141e1112af120eab76fa6731b8fdbe78): require `fromIndex` argument
34+
35+
- To migrate, users should provide an explicit `fromIndex` of `0` in
36+
order to retain previous behavior.
37+
38+
</section>
39+
40+
<!-- /.breaking-changes -->
841

942
<section class="commits">
1043

1144
### Commits
1245

1346
<details>
1447

15-
- [`22c4d29`](https://github.com/stdlib-js/stdlib/commit/22c4d29898e2b5bb4cb071a6b7f62536027eaf28) - **docs:** remove blank line _(by Athan Reines)_
48+
- [`693efb2`](https://github.com/stdlib-js/stdlib/commit/693efb2eb159d1cd25c6cffe2440e36e6a14b9b2) - **feat:** resolve negative indices relative to the last character index _(by Athan Reines)_
49+
- [`29d7b0d`](https://github.com/stdlib-js/stdlib/commit/29d7b0dc141e1112af120eab76fa6731b8fdbe78) - **feat:** add support for `fromIndex` _(by Athan Reines)_
50+
- [`6bff34f`](https://github.com/stdlib-js/stdlib/commit/6bff34fcc4cbc7c17b7ff99beed20cdd0ea1b3c0) - **style:** add missing space _(by Athan Reines)_
1651

1752
</details>
1853

@@ -36,31 +71,45 @@ A total of 1 person contributed to this release. Thank you to this contributor:
3671

3772
<!-- /.release -->
3873

39-
<section class="release" id="v0.3.0">
74+
<section class="release" id="v0.2.1">
4075

41-
## 0.3.0 (2024-07-26)
76+
## 0.2.1 (2024-02-21)
4277

4378
No changes reported for this release.
4479

4580
</section>
4681

4782
<!-- /.release -->
4883

49-
<section class="release" id="v0.2.1">
84+
<section class="release" id="v0.2.0">
5085

51-
## 0.2.1 (2024-02-21)
86+
## 0.2.0 (2024-02-14)
5287

53-
No changes reported for this release.
88+
<section class="commits">
89+
90+
### Commits
91+
92+
<details>
93+
94+
- [`f9c75ce`](https://github.com/stdlib-js/stdlib/commit/f9c75ce726ed4e5fade8622315bb98094dad8561) - **build:** remove tslint directives _(by Philipp Burckhardt)_
95+
96+
</details>
5497

5598
</section>
5699

57-
<!-- /.release -->
100+
<!-- /.commits -->
58101

59-
<section class="release" id="v0.2.0">
102+
<section class="contributors">
60103

61-
## 0.2.0 (2024-02-14)
104+
### Contributors
62105

63-
No changes reported for this release.
106+
A total of 1 person contributed to this release. Thank you to this contributor:
107+
108+
- Philipp Burckhardt
109+
110+
</section>
111+
112+
<!-- /.contributors -->
64113

65114
</section>
66115

@@ -80,7 +129,78 @@ No changes reported for this release.
80129

81130
## 0.1.0 (2023-09-22)
82131

83-
No changes reported for this release.
132+
<section class="features">
133+
134+
### Features
135+
136+
- [`3573d92`](https://github.com/stdlib-js/stdlib/commit/3573d92955f1150eae58fb534808b7a30532a1c1) - update minimum TypeScript version
137+
- [`a7e60d8`](https://github.com/stdlib-js/stdlib/commit/a7e60d8aae80fa67f961db4221263782edc89f99) - remove CLI
138+
- [`ae68d17`](https://github.com/stdlib-js/stdlib/commit/ae68d1783e4d97a36bc6a74d8cbe8004dae79ad2) - add support for replacing the substring before the first occurrence of a search string [(#843)](https://github.com/stdlib-js/stdlib/pull/843)
139+
140+
</section>
141+
142+
<!-- /.features -->
143+
144+
<section class="breaking-changes">
145+
146+
### BREAKING CHANGES
147+
148+
- [`3573d92`](https://github.com/stdlib-js/stdlib/commit/3573d92955f1150eae58fb534808b7a30532a1c1): update minimum TypeScript version
149+
- [`a7e60d8`](https://github.com/stdlib-js/stdlib/commit/a7e60d8aae80fa67f961db4221263782edc89f99): remove CLI
150+
- [`a7e60d8`](https://github.com/stdlib-js/stdlib/commit/a7e60d8aae80fa67f961db4221263782edc89f99): remove CLI
151+
152+
- This is a \"base\" package, and thus should not normally have a CLI.
153+
The CLI has moved to `@stdlib/string-replace-before`. Users relying
154+
on the CLI should migrate to using that package.
155+
156+
</section>
157+
158+
<!-- /.breaking-changes -->
159+
160+
<section class="issues">
161+
162+
### Closed Issues
163+
164+
This release closes the following issue:
165+
166+
[#811](https://github.com/stdlib-js/stdlib/issues/811)
167+
168+
</section>
169+
170+
<!-- /.issues -->
171+
172+
<section class="commits">
173+
174+
### Commits
175+
176+
<details>
177+
178+
- [`3573d92`](https://github.com/stdlib-js/stdlib/commit/3573d92955f1150eae58fb534808b7a30532a1c1) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
179+
- [`440034d`](https://github.com/stdlib-js/stdlib/commit/440034de6d7d057f3afb7399b6a3951dc0749c70) - **chore:** fix indentation in package meta data [(#928)](https://github.com/stdlib-js/stdlib/pull/928) _(by stdlib-bot, Athan Reines)_
180+
- [`a7e60d8`](https://github.com/stdlib-js/stdlib/commit/a7e60d8aae80fa67f961db4221263782edc89f99) - **feat:** remove CLI _(by Athan Reines)_
181+
- [`35622d7`](https://github.com/stdlib-js/stdlib/commit/35622d74bcfebc1cd92859618f5f3bf0dcd29003) - **refactor:** clean-up implementation, tests, and docs _(by Athan Reines)_
182+
- [`ae68d17`](https://github.com/stdlib-js/stdlib/commit/ae68d1783e4d97a36bc6a74d8cbe8004dae79ad2) - **feat:** add support for replacing the substring before the first occurrence of a search string [(#843)](https://github.com/stdlib-js/stdlib/pull/843) _(by Harshita Kalani, Athan Reines, Pranav)_
183+
184+
</details>
185+
186+
</section>
187+
188+
<!-- /.commits -->
189+
190+
<section class="contributors">
191+
192+
### Contributors
193+
194+
A total of 4 people contributed to this release. Thank you to the following contributors:
195+
196+
- Athan Reines
197+
- Harshita Kalani
198+
- Philipp Burckhardt
199+
- Pranav
200+
201+
</section>
202+
203+
<!-- /.contributors -->
84204

85205
</section>
86206

0 commit comments

Comments
 (0)