Package changelog.
37e0d70
- addstring/base/atob
09e7120
- addstring/base/base64-to-uint8array
A total of 2 people contributed to this release. Thank you to the following contributors:
- Athan Reines
- Philipp Burckhardt
6e9f42e
- docs: harmonize list formatting in repl.txt and ensure starting newline (by Philipp Burckhardt)2eded73
- feat: addbase64ToUint8Array
to namespace (by Athan Reines)09e7120
- feat: addstring/base/base64-to-uint8array
(by Athan Reines)f200857
- chore: fix copyright year (by Athan Reines)1c44dbd
- chore: add browser entry point (by Athan Reines)095449b
- feat: addatob
to namespace (by Athan Reines)37e0d70
- feat: addstring/base/atob
(by Athan Reines)
No changes reported for this release.
09618b7
- update namespace TypeScript declarations7f14562
- add new packages to namespaces02c9e03
- update namespace TypeScript declarations (#2136)53c33cb
- addreplaceAfterLast
to namespace5a14851
- addreplaceBeforeLast
to namespaceb57c6fc
- update namespace TypeScript declarations (#2128)7593460
- addforEachRight
to namespace3f1a75d
- addreplaceAfter
to namespace
3b6b680
- addstring/base/last
7bce237
- addstring/base/last-code-point
-
b665537
: resolve negative indices relative to the last string character- Previously, a negative index would resolve to
0
. This commit changes that behavior to resolve relative to the last index. To preserve previous behavior, users should clampfromIndex
values to string bounds before calling intoreplaceAfter
.
- Previously, a negative index would resolve to
This release closes the following issue:
-
ec1c506
: resolve negative index arguments relative to last index- Previously, a negative
fromIndex
argument would resolve to0
. The current behavior resolves relative to the last character index. To preserve the previous behavior, users should clamp index arguments to index bounds before callingreplaceAfterLast
.
- Previously, a negative
This release closes the following issue:
-
693efb2
: resolve negative indices relative to the last index- Previously, negative index arguments would resolve to zero and
search would start from the beginning of the string. To preserve
previous behavior, users should clamp
fromIndex
values to string index bounds before calling intoreplaceBefore
.
- Previously, negative index arguments would resolve to zero and
search would start from the beginning of the string. To preserve
previous behavior, users should clamp
-
29d7b0d
: requirefromIndex
argument- To migrate, users should provide an explicit
fromIndex
of0
in order to retain previous behavior.
- To migrate, users should provide an explicit
-
b6cb1d3
: resolve negative indices relative to last index- In order to preserve prior behavior, users should insert a manual check before calling this API.
This release closes the following issue:
84a6f4b
- addstring/base/stickycase
683f370
- providefromIndex
to base implementation
31405e7
- addstring/to-well-formed
-
67858b3
: The return types are now more specific. This may break existing code that relies on less strict typing, but should not affect most users. To preserve the prior behavior, you can cast the return value tostring
via a type assertion. -
ec1c506
: resolve negative index arguments relative to last index- Previously, a negative
fromIndex
argument would resolve to0
. The current behavior resolves relative to the last character index. To preserve the previous behavior, users should clamp index arguments to index bounds before callingreplaceAfterLast
.
- Previously, a negative
-
693efb2
: resolve negative indices relative to the last index- Previously, negative index arguments would resolve to zero and
search would start from the beginning of the string. To preserve
previous behavior, users should clamp
fromIndex
values to string index bounds before calling intoreplaceBefore
.
- Previously, negative index arguments would resolve to zero and
search would start from the beginning of the string. To preserve
previous behavior, users should clamp
-
b665537
: resolve negative indices relative to the last string character- Previously, a negative index would resolve to
0
. This commit changes that behavior to resolve relative to the last index. To preserve previous behavior, users should clampfromIndex
values to string bounds before calling intoreplaceAfter
.
- Previously, a negative index would resolve to
-
b6cb1d3
: resolve negative indices relative to last index- In order to preserve prior behavior, users should insert a manual check before calling this API.
-
29d7b0d
: requirefromIndex
argument- To migrate, users should provide an explicit
fromIndex
of0
in order to retain previous behavior.
- To migrate, users should provide an explicit
-
0adcae5
: rename exported aliases- To migrate, users should consult the relevant namespace documentation and associated commits in order to determine which aliases have been renamed.
-
4c552c8
: rename exported alias fromreverseString
toreverse
- To migrate, users should drop the
String
suffix.
- To migrate, users should drop the
A total of 5 issues were closed in this release:
A total of 9 people contributed to this release. Thank you to the following contributors:
- Aditya Sapra
- Anudeep Sanapala
- Athan Reines
- Golden Kumar
- Khaldon
- Philipp Burckhardt
- Pranav
- Pratik
- Snehil Shah
df3ed1e
- docs: update namespace ToCs (by Athan Reines)7785577
- docs: fix incorrect package description instring/left-trim-n
(by Snehil Shah)4345839
- fix: resolve bug instring/truncate
(#2635) (by Snehil Shah)67858b3
- feat: improve type safety (by Philipp Burckhardt)659f752
- style: add missing spaces (by Philipp Burckhardt)a78f7d1
- style: add missing spaces (by Philipp Burckhardt)c3ebfa8
- docs: update namespace table of contents and address spelling errors (by Philipp Burckhardt)547f610
- fix: perform explicit string casting when specifier is%s
(by Athan Reines)f8775e6
- refactor: avoid use of global (by Athan Reines)3806e20
- build: add cspell ESLint plugin for spellchecking (#2234) (by Philipp Burckhardt, Athan Reines)9ef09e2
- docs: update related packages sections (#2248) (by stdlib-bot)09618b7
- feat: update namespace TypeScript declarations (by stdlib-bot, Philipp Burckhardt)fad5efb
- docs: update namespace table of contents (#2244) (by stdlib-bot, Philipp Burckhardt)ec98887
- docs: update related packages sections (#2241) (by stdlib-bot)53fd65d
- docs: update related packages sections (#2240) (by stdlib-bot)7f14562
- feat: add new packages to namespaces (by Philipp Burckhardt)aaa391a
- chore: fix typos (by Philipp Burckhardt)113ec19
- docs: update related packages sections (#2207) (by stdlib-bot)189c569
- docs: update related packages sections (#2194) (by stdlib-bot)91f84da
- feat: addstring/base/for-each-code-point-right
(#2163) (by Khaldon, Athan Reines)57e8762
- chore: change to relative require paths and fix code style (by Philipp Burckhardt)a9bf096
- chore: use relative paths for internal requires (by Philipp Burckhardt)22aaef5
- feat: addstring/base/last
(#2145) (by Aditya Sapra)4b7bda7
- docs: update namespace table of contents (#2137) (by stdlib-bot, Athan Reines)02c9e03
- feat: update namespace TypeScript declarations (#2136) (by stdlib-bot, Athan Reines)53c33cb
- feat: addreplaceAfterLast
to namespace (by Athan Reines)ec1c506
- feat: resolve negative index arguments relative to last index (by Athan Reines)693efb2
- feat: resolve negative indices relative to the last character index (by Athan Reines)b5c7e64
- docs: update examples (by Athan Reines)2512e10
- docs: update examples (by Athan Reines)b665537
- feat: resolve negative indices relative to the last string character (by Athan Reines)522a048
- docs: fix typos (by Athan Reines)5a14851
- feat: addreplaceBeforeLast
to namespace (by Athan Reines)b6cb1d3
- feat: support negativefromIndex
arguments (by Athan Reines)728a1cf
- docs: update namespace table of contents (#2129) (by stdlib-bot, Athan Reines)b57c6fc
- feat: update namespace TypeScript declarations (#2128) (by stdlib-bot, Athan Reines)7593460
- feat: addforEachRight
to namespace (by Athan Reines)bd6ee6f
- refactor: improve type inference (by Athan Reines)ae446ec
- refactor: improve type inference (by Athan Reines)da01a05
- refactor: improve type inference (by Athan Reines)fb8b73b
- refactor: improve type inference and update descriptions (by Athan Reines)3f1a75d
- feat: addreplaceAfter
to namespace (by Athan Reines)683f370
- fix: providefromIndex
to base implementation (by Athan Reines)29d7b0d
- feat: add support forfromIndex
(by Athan Reines)bbc3cfc
- feat: addstring/base/last-grapheme-cluster
(#1810) (by Aditya Sapra, Athan Reines)2c3c709
- docs: update related packages sections (#1941) (by stdlib-bot)0616f00
- docs: update related packages sections (by stdlib-bot)7bce237
- feat: addstring/base/last-code-point
(by Aditya Sapra, Pranav, Philipp Burckhardt)dc20da0
- chore: update package meta data (#1856) (by stdlib-bot, Philipp Burckhardt)d40dbaf
- chore: update package meta data (#1812) (by stdlib-bot)31405e7
- feat: addstring/to-well-formed
(by Pratik, Pranav, Philipp Burckhardt)3b6b680
- feat: addstring/base/last
(by Aditya Sapra, Philipp Burckhardt)84a6f4b
- feat: addstring/base/stickycase
(by Anudeep Sanapala, stdlib-bot, Philipp Burckhardt)272f91b
- feat: addstring/base/replace-before-last
(#1364) (by Golden Kumar, stdlib-bot, Athan Reines, Philipp Burckhardt)58bdac8
- feat: addstring/base/replace-after-last
(#1365) (by Golden Kumar, Athan Reines, Philipp Burckhardt)0aa7b4a
- feat: addstring/base/for-each-right
(#1369) (by Khaldon, Philipp Burckhardt)04ee89f
- feat: addstring/base/replace-after
(#1363) (by Golden Kumar, Athan Reines)c85743c
- style: add missing space (by Athan Reines)6bff34f
- style: add missing space (by Athan Reines)39b8176
- docs: update namespace table of contents (#1341) (by stdlib-bot, Athan Reines)0adcae5
- feat: update namespace TypeScript declarations (#1340) (by stdlib-bot, Athan Reines)4c552c8
- feat: rename exported alias fromreverseString
toreverse
(by Athan Reines)0b15ebe
- docs: update related packages sections (#1310) (by stdlib-bot)
No changes reported for this release.
This release closes the following issue:
A total of 5 people contributed to this release. Thank you to the following contributors:
- Athan Reines
- Jaysukh Makvana
- Philipp Burckhardt
- Robert Gislason
- Stephannie Jiménez Gacha
4fbe560
- docs: fix typo (by Athan Reines)fcb82a9
- docs: fix typo (by Athan Reines)0c541d8
- docs: fix typo (by Athan Reines)5132a24
- docs: fix typo (by Athan Reines)97992ab
- docs: update related packages sections (#1301) (by stdlib-bot)afa953b
- docs: update related packages sections (#1281) (by stdlib-bot)ebc4ef4
- docs: update related packages sections (#1273) (by stdlib-bot)c5ec686
- docs: update related packages sections (#1272) (by stdlib-bot)68413e0
- feat: update namespace TypeScript declarations (#1221) (by stdlib-bot, Philipp Burckhardt)dea49e0
- docs: use single quotes in require calls instead of backticks (by Philipp Burckhardt)5c8d407
- docs: update related packages sections (#1255) (by stdlib-bot)9b87012
- docs: update related packages sections (#1243) (by stdlib-bot)8ef1f9e
- docs: update related packages sections (#1233) (by stdlib-bot)5184bd0
- docs: update namespace table of contents (#1213) (by stdlib-bot, Athan Reines)b1e4cca
- feat: update namespace exports (by Philipp Burckhardt)cf3668f
- docs: update related packages sections (#1210) (by stdlib-bot)5e1216b
- docs: update related packages sections (#1192) (by stdlib-bot)165ab63
- feat: addstring/base/distances/hamming
(#1166) (#1166) (by Robert Gislason, Athan Reines)1879534
- docs: update related packages sections (#1179) (by stdlib-bot)e4cf6a5
- feat: addstring/base/altcase
(#1173) (by Jaysukh Makvana, Athan Reines)4d6b104
- docs: update related packages sections (#1172) (by stdlib-bot, Athan Reines)74bf172
- docs: update related packages sections (#1165) (by stdlib-bot)6ff6caf
- docs: update namespace table of contents (#1162) (by stdlib-bot)26cf434
- docs: update related packages sections (#1156) (by stdlib-bot)2f0cb7e
- docs: update related packages sections (#1154) (by stdlib-bot)57d81e4
- docs: update related packages sections (#1151) (by stdlib-bot)73f98e4
- docs: update related packages sections (#1150) (by stdlib-bot)78a556e
- docs: update related packages sections (#1145) (by stdlib-bot)739e562
- build: replace tslint directive with eslint equivalent (by Philipp Burckhardt)9502ed2
- build: replace tslint directive with eslint equivalent (by Philipp Burckhardt)d859ee0
- feat: addstring/base/truncate-middle
(#1118) (by Stephannie Jiménez Gacha, Athan Reines)fc8fba0
- feat: addstring/next-code-point-index
(#1117) (by Stephannie Jiménez Gacha, Athan Reines)
No changes reported for this release.
7faffe3
- update namespace TypeScript declarations (#1122)3573d92
- update minimum TypeScript version89910da
- update namespace TypeScript declarations (#1068)f64cbb8
- addheadercase
to namespace810ebc1
- update namespace TypeScript declarations (#1047)055d0c6
- adddotspace
421e1ae
- update namespace TypeScript declarations (#1044)75c52a3
- addforEach
to namespace6d01566
- addfirst
to namespacee8775fc
- update namespace TypeScript declarations (#951)0036663
- addreplaceBefore
to namespace
3573d92
: update minimum TypeScript version
de73ae1
- update namespace TypeScript declarations (#1089)3573d92
- update minimum TypeScript versiond52e01c
- addremoveFirst*
packages to namespace89910da
- update namespace TypeScript declarations (#1068)1389946
- addforEach
to namespaceed5abeb
- addforEachCodePoint
to namespace1b8d401
- addforEachGraphemeCluster
to namespace8758d21
- adddistances
to namespacebc8f74c
- addfirst
,firstCodePoint
, andfirstGraphemeCluster
to namespace421e1ae
- update namespace TypeScript declarations (#1044)0e987b6
- update namespacea7d8f42
- addinvcase
to namespacee8775fc
- update namespace TypeScript declarations (#951)5eded94
- addreplaceBefore
to namespace
3573d92
: update minimum TypeScript version
This release closes the following issue:
A total of 6 issues were closed in this release:
A total of 9 people contributed to this release. Thank you to the following contributors:
- Athan Reines
- Harshita Kalani
- Naresh Jagadeesan
- Philipp Burckhardt
- Planeshifter
- Pranav
- Roman Stetsyk
- Stephannie Jiménez Gacha
- Yernar Yergaziyev
10c1b70
- refactor: avoid creating a dictionary array (by Athan Reines)d73bbf4
- build: replace lint directives (by Philipp Burckhardt)bf2cf8b
- build: remove tslint directives (by Philipp Burckhardt)f9c75ce
- build: remove tslint directives (by Philipp Burckhardt)453dd85
- build: remove tslint directives (by Philipp Burckhardt)a9a8752
- docs: update namespace table of contents (#1124) (by stdlib-bot, Athan Reines)7faffe3
- feat: update namespace TypeScript declarations (#1122) (by stdlib-bot, Athan Reines)de17736
- feat: refactorstring/reverse
and addmode
option (#1082) (by Stephannie Jiménez Gacha, Athan Reines)ff35f38
- fix: make CLI scripts executable (#1111) (by stdlib-bot, Philipp Burckhardt)4f2310d
- docs: update namespace table of contents (#1102) (by stdlib-bot)982de75
- feat: refactorstring/remove-last
(#1079) (by Stephannie Jiménez Gacha, Athan Reines)4d7c4c3
- test: resolve lint errors (by Philipp Burckhardt)208fac6
- fix: make CLI executable (by Athan Reines)ca62bd1
- fix: make CLI executable (by Athan Reines)de73ae1
- feat: update namespace TypeScript declarations (#1089) (by stdlib-bot, Athan Reines, Philipp Burckhardt)a92aae0
- docs: update namespace table of contents (#1091) (by stdlib-bot, Athan Reines)1b163e9
- style: resolve lint errors (by Philipp Burckhardt)3573d92
- feat: update minimum TypeScript version (by Philipp Burckhardt)d52e01c
- feat: addremoveFirst*
packages to namespace (by Athan Reines)bf4e05f
- docs: update namespace table of contents (#1078) (by stdlib-bot, Athan Reines)d1ded85
- feat: add "base" string packages and refactorstring/remove-first
(#1073) (by Stephannie Jiménez Gacha, Athan Reines)9212514
- fix: set correct package names and descriptions (by Philipp Burckhardt)ab5d324
- chore: resolve lint errors (by Philipp Burckhardt)6c7e770
- refactor: use strictEqual checks (by Philipp Burckhardt)6dcf3b0
- chore: resolve lint errors (by Philipp Burckhardt)89910da
- feat: update namespace TypeScript declarations (#1068) (by stdlib-bot, Athan Reines)3f6961f
- docs: update namespace table of contents (#1064) (by stdlib-bot, Athan Reines)f64cbb8
- feat: addheadercase
to namespace (by Athan Reines)c85038d
- feat: addstring/headercase
(by Athan Reines)dd850de
- docs: update descriptions (by Athan Reines)c840141
- test: update test descriptions (by Athan Reines)5a3f1dc
- docs: update namespace table of contents (#1058) (by stdlib-bot, Athan Reines)d45fe04
- docs: update option description (by Athan Reines)49420b4
- docs: update option description (by Athan Reines)f3231b0
- docs: update description (by Athan Reines)7b40aec
- docs: fix grammar in description (by Athan Reines)f0b5cd7
- docs: fix grammar (by Athan Reines)adc9087
- docs: fix grammar (by Athan Reines)fc6156d
- feat: add support for specifying the iteration mode (by Athan Reines)288c5b1
- test: add test case (by Athan Reines)2249ebe
- chore: update keywords (by Athan Reines)1389946
- feat: addforEach
to namespace (by Athan Reines)bc8bdba
- feat: addstring/base/for-each
(by Athan Reines)79a604d
- docs: fix descriptions (by Athan Reines)b0d3470
- style: add missing line (by Athan Reines)e8bce95
- style: add missing line (by Athan Reines)fa11844
- style: add missing line (by Athan Reines)40a968d
- docs: fix descriptions (by Athan Reines)50bb3f1
- docs: fix descriptions (by Athan Reines)b7b1102
- docs: fix descriptions (by Athan Reines)99dd3ee
- bench: update assertions (by Athan Reines)ed5abeb
- feat: addforEachCodePoint
to namespace (by Athan Reines)a145df2
- feat: addstring/base/for-each-code-point
(by Athan Reines)124209c
- docs: fix comment (by Athan Reines)89e9ca9
- test: inline expected value (by Athan Reines)1b8d401
- feat: addforEachGraphemeCluster
to namespace (by Athan Reines)b574ced
- feat: addstring/base/for-each-grapheme-cluster
(by Athan Reines)b948017
- docs: update examples and copy (by Athan Reines)712793f
- docs: update description (by Athan Reines)da95ea4
- test: refactor and add additional tests (by Athan Reines)0c7b412
- docs: update descriptions (by Athan Reines)3a533b3
- docs: update example and extended description (by Athan Reines)262a07b
- feat: add type definitions for provided callback (by Athan Reines)88aa0b5
- bench: fix benchmark logic (by Athan Reines)c5b10c6
- docs: update examples and fix test case (by Athan Reines)0b65262
- refactor: simplify implementation (by Athan Reines)94e0f38
- feat: add support for specifying the type of characters to return (by Athan Reines)5b937c7
- docs: update descriptions (by Athan Reines)5a63be9
- docs: update namespace table of contents (#1050) (by stdlib-bot, Athan Reines)810ebc1
- feat: update namespace TypeScript declarations (#1047) (by stdlib-bot, Athan Reines)8758d21
- feat: adddistances
to namespace (by Athan Reines)bc8f74c
- feat: addfirst
,firstCodePoint
, andfirstGraphemeCluster
to namespace (by Athan Reines)71e5de2
- feat: addstring/base/first-grapheme-cluster
(by Athan Reines)c80f976
- feat: addstring/base/first-code-point
(by Athan Reines)cfdd473
- feat: addstring/base/first
(by Athan Reines)26da930
- refactor: use base array utility (by Athan Reines)055d0c6
- feat: adddotspace
(by Athan Reines)787a967
- feat: addstring/dotcase
(by Athan Reines)9d12c26
- docs: add empty section (by Athan Reines)adf617e
- docs: remove redundant example (by Athan Reines)7b3a790
- docs: fix example (by Athan Reines)b78482b
- refactor: inline logic and use computed variable (by Athan Reines)93666bc
- style: remove linebreak (by Athan Reines)33d5a3b
- refactor: fix error messages (by Athan Reines)a6aa492
- docs: update examples to match file and update copy (by Athan Reines)b9d91dc
- test: update descriptions (by Athan Reines)c1b5fa9
- docs: update test descriptions (by Athan Reines)5aad242
- style: remove extra line (by Athan Reines)c81313e
- docs: update namespace table of contents (#1046) (by stdlib-bot, Athan Reines)efef313
- docs: update namespace table of contents (#1045) (by stdlib-bot, Athan Reines)421e1ae
- feat: update namespace TypeScript declarations (#1044) (by stdlib-bot, Athan Reines)75c52a3
- feat: addforEach
to namespace (by Athan Reines)ab8801a
- docs: update example and remove comments (by Athan Reines)cdc1523
- docs: update examples and remove comments (by Athan Reines)e61ced4
- docs: update examples and copy (by Athan Reines)6d01566
- feat: addfirst
to namespace (by Athan Reines)8ea4115
- refactor: remove unnecessary branches (by Athan Reines)ed9f6c1
- test: update test description (by Athan Reines)e4d6bf9
- docs: update copy (by Athan Reines)f9f53be
- test: update test descriptions and assertion messages (by Athan Reines)38eff0a
- docs: fix parameter description (by Athan Reines)1dda021
- docs: fix copyright year (by Athan Reines)78506c7
- docs: fix imports (by Athan Reines)0e987b6
- feat: update namespace (by Athan Reines)1da2118
- docs: update examples to avoidfor
loop (by Athan Reines)449007f
- refactor: use base package (by Athan Reines)e2f0029
- docs: fix variable name in example (by Athan Reines)52e7d18
- docs: refactor example to avoidfor
loop (by Athan Reines)2dca659
- feat: add@stdlib/string/base/headercase
(#1039) (by Roman Stetsyk)55e5756
- chore: fix package meta data indentation (#1033) (by stdlib-bot, Athan Reines)fb10080
- feat: addstring/for-each
(#1027) (by Naresh Jagadeesan)223eb98
- feat: update namespace TypeScript declarations (by stdlib-bot, Planeshifter)c40a139
- feat: addstring/base/distances/levenshtein
(#1030) (by Naresh Jagadeesan)cc26fd2
- feat: addstring/first
(#989) (by Yernar Yergaziyev, Athan Reines, Philipp Burckhardt)0db467b
- fix: correctly parse strings with hyphens in constantcase (#1022) (by Roman Stetsyk)857646f
- feat: add base package to right pad a string (by Philipp Burckhardt)dace169
- docs: update namespace table of contents (#986) (by stdlib-bot, Athan Reines)e34d9a0
- docs: update namespace TypeScript declarations (#984) (by stdlib-bot, Athan Reines)a7d8f42
- feat: addinvcase
to namespace (by Athan Reines)93025bc
- docs: update copyright year (by Athan Reines)93aca6c
- feat: addstring/base/invcase
(#974) (by Yernar Yergaziyev, Yernar Yergaziyev, Athan Reines)e8775fc
- feat: update namespace TypeScript declarations (#951) (by stdlib-bot, Athan Reines)d60f27b
- docs: update namespace table of contents (#930) (by stdlib-bot, Athan Reines)440034d
- chore: fix indentation in package meta data (#928) (by stdlib-bot, Athan Reines)1b01973
- docs: remove trailing space (by Athan Reines)0036663
- feat: addreplaceBefore
to namespace (by Athan Reines)5eded94
- feat: addreplaceBefore
to namespace (by Athan Reines)a7e60d8
- feat: remove CLI (by Athan Reines)5ca19d4
- feat: add utility to replace a substring before the first occurrence of a search string (by Athan Reines)35622d7
- refactor: clean-up implementation, tests, and docs (by Athan Reines)ae68d17
- feat: add support for replacing the substring before the first occurrence of a search string (#843) (by Harshita Kalani, Athan Reines, Pranav)
No changes reported for this release.
No changes reported for this release.
No changes reported for this release.
No changes reported for this release.
No changes reported for this release.
No changes reported for this release.
No changes reported for this release.
No changes reported for this release.
No changes reported for this release.
No changes reported for this release.
No changes reported for this release.
No changes reported for this release.
No changes reported for this release.
No changes reported for this release.