Skip to content

Releases: mondeja/strip-gh-theme-links

v5.0.0

30 Apr 16:10
b93eb2c
Compare
Choose a tag to compare

GitHub Action

  • Use Node.js v20

npm package

  • Deprecated support for Node.js v16

v5

30 Apr 16:10
b93eb2c
Compare
Choose a tag to compare
  • Use Node.js v20 in GitHub Actions (#29)

v4.0.1

24 Nov 13:11
Compare
Choose a tag to compare

Bug fixes:

  • Fixed CLI not being executed.

v4.0.0

24 Nov 12:41
Compare
Choose a tag to compare

⚠️ Breaking changes:

  • The exported function stripGhThemeLinks is now asynchronous.
  • The library is ESM only, no Typescript nor CommonJS support by default.
  • This version works with <picture> and <source> tags. Github has deprecated the #gh-dark-mode-only and #gh-light-mode-only links.

v4

24 Nov 12:48
Compare
Choose a tag to compare

v3.0.0

07 May 20:34
98cc086
Compare
Choose a tag to compare

⚠️ Breaking changes:

  • Use require("strip-gh-theme-links") instead of require("strip-gh-theme-links").default requiring from CommonJS scripts.

Enhancements:

  • Better support for Typescript type declarations.

v3

07 May 20:39
98cc086
Compare
Choose a tag to compare
v3

This new major version does not introduce any changes to the Github Action, is just to follow the same version of the npm package.

See v3.0.0 for the changes of this new version.

v2.2.2

13 Jan 01:38
84dad47
Compare
Choose a tag to compare

Bug fixes

  • Stripped empty lines possibly remaining in content after execution.

v2

13 Jan 01:41
84dad47
Compare
Choose a tag to compare
v2

Breaking changes

  • stripGhThemeLinks package function is now a default export.

Enhancements

  • Library typed.
  • Provide separated distribution files for CJS and ESM.
  • Added --diff option to CLI.
  • Show diffs in action for easier debugging.

Bug fixes

  • Fixed CLI failing because not properly importing a function.
  • Fixed error in regex for HTML image stripping.
  • Stripped empty lines possibly remaining in content after execution.

v2.2.1

12 Jan 23:51
b85ace4
Compare
Choose a tag to compare

Bug fixes

  • Fixed error in regex for HTML image stripping.