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

backOpen Source→string-range-expander→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.

4.2.2

1 Sept 2026

🔧 Fixed

  • enforce range expander boundaries (44e8500)
  • enforce range expander option types (1d560f0)
  • mirror crop marker expansion (60f417b)
  • preserve international token boundaries (7cf225d)
  • preserve Unicode marker boundaries (4e51bc8)

Performance Improvements

  • benchmark representative range expansion (dbc0cfa)
  • refresh range expander baseline (a06eccf)

4.2.1

22 Aug 2026

Performance Improvements

  • optimise package hot paths and JSON editing (f3112bd)

4.2.0

19 Aug 2026

🔧 Fixed

  • make validation diagnostics safe (7b01074)
  • resolve various review findings (b60e9ee)
  • retire direct publish aliases (f98e31e)
  • standardise range expander errs (67d9156)

✨ 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

4.0.9

13 May 2023

🔧 Fixed

  • correct opts.ifRightSideIncludesThisCropItToo edge cases (49bd408)

4.0.0

1 Dec 2022

💥 BREAKING CHANGES

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

3.1.0

12 Aug 2022

✨ Features

  • export types (11b5fb9)

3.0.13

18 Apr 2022

🔧 Fixed

  • tweak types (e7b5188)

3.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()

2.1.0

24 May 2021

✨ Features

  • config file based major bump blacklisting (e15f9bb)

2.0.15

11 Apr 2021

⏪ Reverts

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

2.0.1

28 Jan 2021

🔧 Fixed

  • add testStats to npmignore (f3c84e9)

2.0.0

23 Jan 2021

✨ Features

  • rewrite in TS, start using named exports (ea4ccc3)

💥 BREAKING CHANGES

  • previously: import expander from ... — now: import { expander } from ...

1.12.0

28 Nov 2020

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

1.11.0

18 Apr 2020

✨ Features

  • refactor, remove all dependencies (there was only one) (6e49b8b)

1.10.45

2 Oct 2019

Performance Improvements

  • remove check-types-mini to improve speed by around 500x (5e219a8)

1.10.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

26 Dec 2018

✨ Features

  • improvements to opts.addSingleSpaceToPreventAccidentalConcatenation (8bb929a)
  • opts.addSingleSpaceToPreventAccidentalConcatenation (19b1390)
  • opts.addSingleSpaceToPreventAccidentalConcatenation improvements (47df5be)

1.5.0

26 Oct 2018
  • Updated all dependencies
  • Restored coveralls.io reporting
  • Restored unit test linting

1.4.0

20 Sept 2018
  • Improvements to opts.addSingleSpaceToPreventAccidentalConcatenation, now it detects is there at least one digit or number around and if there’s none, it doesn’t add a space.

1.3.0

20 Sept 2018
  • Improvements to cases when opts.ifLeftSideIncludesThisThenCropTightly/opts.ifRightSideIncludesThisThenCropTightly is an array
  • Now we tend an edge case when opts.addSingleSpaceToPreventAccidentalConcatenation is surrounded by characters, whitelisted by opts.ifLeftSideIncludesThisThenCropTightly and opts.ifRightSideIncludesThisThenCropTightly (or just one of them, but then the other is a falsy empty string). In that case, the compensation space is not added.

1.2.0

18 Sept 2018
  • New feature — opts.addSingleSpaceToPreventAccidentalConcatenation. It’s off by default but if it’s on, it can prevent accidental concatenation of string when chunk is deleted. It checks the outer edges of the string range what is about to be deleted and if non-whitespace surrounds both sides it adds a single space (as range’s third argument).

1.0.0

11 Sept 2018
  • 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