Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

backOpen Source→string-convert-indexes→Changelog

Changelog

All notable changes to this project will be documented in this file.
See Conventional Commits opens in a new tab for commit guidelines.

6.2.0

19 Aug 2026

🔧 Fixed

  • make validation diagnostics safe (7b01074)
  • resolve review findings REV-004 through REV-007 (b60e9ee)
  • retire direct publish aliases (f98e31e)
  • standardise index conversion errs (182dee5)

✨ Features

  • add codsen-glob and migrate glob consumers (5595a2b)
  • refresh the tooling and generate with the latest dependencies (781f802)

⏪ Reverts

  • Revert “Merge pull request #128 from codsen/release/npm-32198404552–1″ (5baeeaa), closes #128
  • Revert “Merge pull request #127 from codsen/release/npm-32194020886–1″ (5f1e94d), closes #127

6.0.0

1 Dec 2022

💥 BREAKING CHANGES

  • Minimum supported Node version is v14.18; we’re dropping v12 support

5.1.0

12 Aug 2022

✨ Features

  • export types (11b5fb9)

5.0.0

9 Sept 2021

✨ Features

  • migrate to ES Modules (8c9d95d)

💥 BREAKING CHANGES

  • programs now are in ES Modules and won’t work with Common JS require()

4.1.0

24 May 2021

✨ Features

  • config file based major bump blacklisting (e15f9bb)

4.0.15

11 Apr 2021

⏪ Reverts

  • Revert “chore: setup refresh” (23cf206)

4.0.1

28 Jan 2021

🔧 Fixed

  • add testStats to npmignore (f3c84e9)

4.0.0

23 Jan 2021

✨ Features

  • rewrite in TS (19c75f4)

💥 BREAKING CHANGES

  • there are no API changes, but we’re bumping major just in case

3.0.0

28 Nov 2020

Accidental version bump during migration to SourceHut. Sorry about that.

2.0.0

24 Sept 2020

✨ Features

  • drop options, complete rewrite (22acff5)

💥 BREAKING CHANGES

  • no more options input argument — it always throws now if inputs are wrong

2.0.0

20 Sept 2020

Complete rewrite. Dropping options, now program always throws if requested indexes are beyond the source length. Beside that, API-wise, nothing new.

1.10.0

1 Feb 2020

✨ Features

  • remove a dependency, rebase a little (56ec65d)

1.9.44

2 Oct 2019

Performance Improvements

  • remove opts validation and orginal number packages, around 500x speed improv (e2211c1)

1.9.0

20 Jan 2019
  • Various documentation and setup tweaks after we migrated to monorepo
  • Setup refresh: updated dependencies and all config files using automated tools

1.6.0

25 Oct 2018
  • Update all dependencies
  • Restore coveralls.io reporting
  • Restore unit test linting

1.5.0

19 Aug 2018
  • Rebase code to remove any if (DEBUG) statements — now console.log comments can be left in place — they will be removed during non-dev Rollup builds
  • Refresh the setup — temporarily remove nyc and update all dependencies

1.4.0

29 Jun 2018
  • Set up Rollup to remove comments from the code

1.3.0

16 Jun 2018

GitHub sold us out. In the meantime, we:

  • Migrate to BitBucket (to host repo + perform CI) and Codacy (for code quality audit)
  • Drop BitHound (RIP) and Travis

1.2.0

10 May 2018
  • Set up Prettier
  • Remove package.lock and .editorconfig
  • Wire up Rollup to remove comments from non-dev builds. This means we can now leave the console.logs in the source code — Rollup will remove from production code.
  • Point the unit tests at the ES modules build, which means that code coverage is correct now, without Babel functions being missed

1.1.0

27 Dec 2017
  • Now, this library can convert the next index, right outside of the last character.

Imagine, you have a string, astral character \uD834\uDF06. Now describe its contents in terms of String.slice() range. That would be [0, 2]. Now, this index #2 is outside of the string character indexes range! We have only \uD834 at #0 and \uDF06 at #1. There’s no #2!

Previously, this #2 would have caused an error. Now it does not. We can actually calculate and convert the next character, right outside of the string too. After all, the calculation needs just the lengths of all the characters BEFORE it, and we have that!

Practically, this is very important feature, it means we now can convert the ranges that include string’s last character.

1.0.0

25 Dec 2017
  • First public release
back 

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab