Skip to content

Releases

v1.0.9

Choose a tag to compare

@cldmv-bot cldmv-bot released this 12 Oct 17:30
v1.0.9
79f95d2

polyfillme v1.0.9 Changelog

Release Date: October 2026
Release Type: Patch


Overview

Dev-dependency release with one security update to a transitive development package. No runtime code changed. The net change against v1.0.8 is package.json (the version and nine devDependencies ranges) and the lockfile. src/, including the generated src/data/mdn/mdn.json, is unchanged; the runtime dependencies (espree, fast-glob and polyfill-library) have identical ranges and identical locked versions. polyfillme declares no engines.node, and nothing in this release changes what the package needs at runtime.


🔒 Security

brace-expansion 5.0.9 → 5.0.12 (#64)

brace-expansion before 5.0.12 spends quadratic time on input shaped like {a},b}: each literal } triggers another full re-scan, so a pattern of about 128 KB can block the event loop for roughly half a minute (GHSA-q2hr-2g5m-vwhr, CVE-2026-102277, CWE-407, medium severity, CVSS 5.3). The fix bounds the number of rewrite passes.

In this repository the package is a development-only transitive dependency, reached through minimatch in the lint and test toolchain, and it is flagged dev in the lockfile. It is not part of the installed runtime dependency tree, so users of polyfillme were not exposed; the bump clears the alert for contributors and CI.

🔧 CI & tooling

@cldmv/vitest-runner 1.5.3 raises its own Node.js floor (#70)

@cldmv/vitest-runner 1.5.1 → 1.5.3 now declares engines.node >=22.12.0 (it was >=20.19.0), and its chalk dependency moves from a nested 5.6.2 to a top-level 6.0.1, which requires Node.js 22 or newer. This only affects people who run this repository's test suite. The CI matrix already starts at Node 22.12.0 because vitest 5 requires ^22.12.0 || ^24.0.0 || >=26.0.0, so CI is unaffected, and contributors need Node.js 22.12 or newer to run the tests.

vitest 5.0.3 and eslint 10.12.0 (#65, #66)

vitest 5.0.2 → 5.0.3 (with @vitest/coverage-v8, @vitest/mocker and @vitest/spy locked at 5.0.3, vite 8.3.1 → 8.3.2 and rolldown 1.2.11 → 1.2.12) and eslint 10.11.0 → 10.12.0. Their Node.js ranges are unchanged.

🔧 Dependencies

All dev-only; the lockfile packages map was compared at v1.0.8 and at this release, and every changed entry other than the root package version is a development dependency.

Package Declared Locked before Locked now PR
@cldmv/eslint-plugin-jsonv ^1.0.13 → ^1.0.15 1.0.13 1.0.15 #70
@cldmv/jsonv ^1.0.2 → ^1.1.3 1.1.1 1.1.3 #70
@cldmv/prettier-plugin-jsonv ^1.1.0 → ^1.1.3 1.1.0 1.1.3 #70
@cldmv/vitest-runner ^1.5.1 → ^1.5.3 1.5.1 1.5.3 #70
@mdn/browser-compat-data ^8.1.3 → ^8.1.4 8.1.3 8.1.4 #70
eslint ^10.11.0 → ^10.12.0 10.11.0 10.12.0 #66
globals ^17.12.0 → ^17.13.0 17.12.0 17.13.0 #68
vitest ^5.0.2 → ^5.0.3 5.0.2 5.0.3 #65
brace-expansion (transitive) 5.0.9 5.0.12 #64
chalk (transitive) 5.6.2 (nested) 6.0.1 #70

@mdn/browser-compat-data 8.1.4 (October 1, 2026) removes the DocumentType HTML-setter entries (such as api.DocumentType.afterHTML), adds api.USB.requestDevice.options_exclusionFilters_parameter and a handful of CSS properties, and adds Edge 157 and Firefox 160 release data. It is a development dependency read only by the data-generation script src/data/scripts/mdn-js-features-info.js; the shipped src/data/mdn/mdn.json was not regenerated in this release, so detection results are the same as in v1.0.8. The upstream release notes for the three @cldmv jsonv packages describe test-expectation, header-config, dependency and CI-workflow updates.

📚 Documentation

  • Added this changelog and promoted v1.0.9 to the README "What's New" section.

Upgrade notes

  • No breaking changes and no runtime change. Drop-in for v1.0.8.
  • Contributors running the test suite locally need Node.js 22.12 or newer.

coverage

Metric Coverage
Statements 79.6%
Branches 73.3%
Functions 100.0%
Lines 80.1%

Avg: 83.2% · 89641c5 · Node lts/*

👥 Contributors

v1.0.8

Choose a tag to compare

@cldmv-bot cldmv-bot released this 05 Oct 03:59
v1.0.8
8018b77

polyfillme v1.0.8 Changelog

Release Date: October 2026
Release Type: Patch
Branch: release/1.0.8


Overview

polyfillme is relicensed from MIT to the Apache License 2.0. The repository now carries the full license text, and the README is reorganized around a What's New section backed by per-version changelogs for every release so far. The dev tooling for file headers moves to @cldmv/fix-headers 2.2.0 and @cldmv/configs 1.2.4. No runtime code changed.


⚖️ License

Relicensed under Apache-2.0 (#56)

package.json license changes from MIT to Apache-2.0, and a LICENSE file with the full Apache License 2.0 text is added at the repository root (previously there was no license file). Apache-2.0 keeps the permissive terms of MIT and adds an explicit patent grant and patent-retaliation clause, and asks redistributors to keep the license text and mark files they changed.

📚 Documentation

  • NEW: docs/changelog/v1/ — release notes for every version from v1.0.0 through this one.
  • NEW: docs/changelog/v1/v1.0.8.md — this changelog.
  • README reorganized: What's New, Key Features, Installation with requirements, Quick Start, an API reference that matches the code (the return value is { polyfills, content, shams, notFound }, and the source, writeToFile and filePath options are documented), and Links / License sections. The outdated core-js-compat references are gone.

🔧 Dependencies

Both are dev dependencies and affect only the npm run fix:headers script, which extends @cldmv/configs/fix-headers.json. Only package.json and the lockfile changed; no file headers were restamped and the published package is unaffected.

  • @cldmv/fix-headers ^2.1.1 → ^2.2.0, in two steps. 2.1.4 (#60) no longer writes a JavaScript comment into JSON or Markdown files, processes every repeated --input, and never walks dependency folders such as node_modules. 2.2.0 (#61) makes @Last modified by follow edits to a file's content only, so a run that merely rewrites a header keeps the recorded editor.
  • @cldmv/configs ^1.2.0 → ^1.2.4 (#61). The shared fix-headers config now sets forceAuthorUpdate and forceLastModifiedAuthorUpdate to false, so @Author keeps the file's creator and @Last modified by changes only with real content edits. The 1.2.1 and 1.2.2 releases of that package only changed its own CI.

Upgrade notes

  • No breaking changes — drop-in for v1.0.7. No runtime code changed.
  • v1.0.7 and earlier were released under MIT; this change applies from v1.0.8 on.

coverage

Metric Coverage
Statements 79.6%
Branches 73.3%
Functions 100.0%
Lines 80.1%

Avg: 83.2% · 04c2a93 · Node lts/*

👥 Contributors

v1.0.3

Choose a tag to compare

@cldmv-bot cldmv-bot released this 15 Nov 21:06
v1.0.3
522c92c

polyfillme v1.0.3 Changelog

Release Date: August 2026
Release Type: Patch


Overview

CI-only release. No runtime code changed. This version has no git tag; the release commit on master is 522c92c.


🔧 CI & tooling

  • CI runs on next, hotfixes and release PRs now use a unique concurrency group per run, so a newer push no longer cancels a release-relevant run and leaves the release PR with a cancelled check; feature branches still cancel superseded runs (#12).

Upgrade notes

  • No breaking changes — drop-in for v1.0.2. No runtime code changed.

v1.0.7

Choose a tag to compare

@cldmv-bot cldmv-bot released this 03 Oct 03:40
v1.0.7
05742b8

polyfillme v1.0.7 Changelog

Release Date: October 2026
Release Type: Patch


Overview

CI and dev-dependency release. No runtime code changed.


🔧 CI & tooling

  • The in-repo PR mirror job now runs, instead of being skipped, so ✅ Required PR Check reports a real result on pull requests (#54).

🔧 Dependencies

  • @cldmv/prettier-plugin-jsonv 1.0.1 → 1.1.0 and @cldmv/vitest-runner 1.2.0 → 1.5.1 (dev) (#53).

Upgrade notes

  • No breaking changes — drop-in for v1.0.6. No runtime code changed.

coverage

Metric Coverage
Statements 79.6%
Branches 73.3%
Functions 100.0%
Lines 80.1%

Avg: 83.2% · a96e0b3 · Node lts/*

👥 Contributors

v1.0.6

Choose a tag to compare

@cldmv-bot cldmv-bot released this 02 Oct 21:47
v1.0.6
c49e38c

polyfillme v1.0.6 Changelog

Release Date: October 2026
Release Type: Patch


Overview

Tooling and dependency release. Every source file gains the standard CLDMV file header, the workflows are synced with the current CLDMV templates, and the test toolchain moves to Vitest 5. The only change to runtime files is the added header comment.


🔧 CI & tooling

  • Workflows synced with the CLDMV/.github v4.29.2 templates (#44).
  • Added the bundle-size workflow, measuring the published top-level entry files, and restored the full release-merge workflow list (#45).
  • A skipped pull-request run of the in-repo PR mirror job no longer satisfies the required ✅ Required PR Check (#51).
  • Adopted the shared CLDMV @cldmv/fix-headers config (npm run fix:headers) and stamped uniform file headers across the source and tests (#50).

🔧 Dependencies

  • vitest 4.1.11 → 5.0.2 and @vitest/coverage-v8 4.1.11 → 5.0.2 (dev) (#37, #49).
  • @eslint/css 1.4.0 → 2.0.0, eslint 10.9.0 → 10.11.0, @eslint/json 2.0.1 → 2.1.0, globals 17.11.0 → 17.12.0, prettier 3.9.6 → 3.9.9, @mdn/browser-compat-data 8.0.12 → 8.1.3 (dev) (#41, #38, #43, #47, #52).
  • Added @cldmv/fix-headers and @cldmv/configs (dev) (#50).

Upgrade notes

  • No breaking changes — drop-in for v1.0.5. No runtime behavior changed.

coverage

Metric Coverage
Statements 79.6%
Branches 73.3%
Functions 100.0%
Lines 80.1%

Avg: 83.2% · d9117c1 · Node lts/*

👥 Contributors

v1.0.5

Choose a tag to compare

@cldmv-bot cldmv-bot released this 13 Sep 23:53
v1.0.5
71621aa

polyfillme v1.0.5 Changelog

Release Date: September 2026
Release Type: Patch


Overview

Dependency and CI maintenance, plus one small runtime change: the errors polyfillme throws for glob, read and parse failures now keep the original error as cause.


🐛 Bug Fixes

Thrown errors keep their cause

When resolving a glob, reading a file or parsing a file fails, polyfillme throws a new Error with a descriptive message. That error now carries the underlying error as err.cause, so callers can inspect the original stack and code. The messages are unchanged.

🔧 CI & tooling

  • CI matrix raised for Vitest 5: minimum Node.js 22.12.0, maximum major 26 (#34).
  • Dependabot groups the vitest / @vitest/*, eslint and prettier families into one bump each (#35, #36).
  • The hotfix redirector receives the CLDMV_BOT_* GPG secrets so redirected security PRs are signed (#32).
  • Re-triggered the feature-PR workflow against the fixed shared @v4 workflows (#30).

🔧 Dependencies

  • @mdn/browser-compat-data 8.0.10 → 8.0.12 (dev) (#25, #28).
  • eslint 10.8.1 → 10.9.0, @eslint/js 9 → 10.0.1, globals 16 → 17.11.0, @vitest/coverage-v8 4.1.10 → 4.1.11 (dev) (#29, #24, #26, #28).
  • @humanfs/node 0.16.6 → 0.16.8 (dev, transitive) (#33).

Upgrade notes

  • No breaking changes — drop-in for v1.0.4. The only runtime change is the added cause on thrown errors.
👥 Contributors

v1.0.4

Choose a tag to compare

@cldmv-bot cldmv-bot released this 10 Aug 06:31
v1.0.4
2d5a1b5

polyfillme v1.0.4 Changelog

Release Date: August 2026
Release Type: Patch


Overview

Security and dependency release. It patches two transitive advisories and upgrades the espree parser from 9 to 11. The parser upgrade raises the Node.js versions polyfillme can install on, which is a breaking change for older runtimes despite shipping as a patch. The repository also gains its lint and format setup.


💥 Breaking Changes

Node.js floor raised by espree 11 (#20)

espree, polyfillme's runtime parser, moved from 9.6.1 to 11.2.0. espree 11 declares engines.node as ^20.19.0 || ^22.13.0 || >=24 (9.6.1 accepted Node.js 12.22 and later), so this version, despite being a patch, no longer supports Node.js 18, 20 before 20.19, or 22 before 22.13. polyfillme itself still parses scanned files with ecmaVersion: 2020, so detection results do not change.

🔒 Security & supply chain

🔧 CI & tooling

  • Added lint, lint:fix, format and format:check scripts for the post-merge lint/format autofix (#20).
  • Adopted the canonical CLDMV ESLint and Prettier config under .configs/ with JSONv, Markdown, CSS and JSON support, and a .prettierignore that keeps workflow YAML and generated data out of Prettier (#21).
  • Restored workflow YAML that an autofix run had reformatted before the ignore file existed (#22).

🔧 Dependencies

  • espree 9.6.1 → 11.2.0 (runtime) (#20).
  • eslint 9 → 10.8.1, @eslint/json 0.13 → 2.0.1, @mdn/browser-compat-data 6 → 8.0.10 (dev) (#20).
  • prettier 3.6.2 → 3.9.6 (dev) (#14).

Upgrade notes

  • Run polyfillme on Node.js ^20.19.0, ^22.13.0 or >=24. On older versions, stay on v1.0.3.
  • The API is unchanged.

v1.0.2

Choose a tag to compare

@cldmv-bot cldmv-bot released this 03 Aug 06:56
v1.0.2
5b69ba1

polyfillme v1.0.2 Changelog

Release Date: August 2026
Release Type: Patch


Overview

Test-suite housekeeping only. No runtime code changed.


🔧 CI & tooling

  • The test suite moved from test/*.test.js to tests/*.test.vitest.mjs, the CLDMV fleet convention, with the Vitest config and runner patterns updated to match (#10).

Upgrade notes

  • No breaking changes — drop-in for v1.0.1. No runtime code changed.
👥 Contributors

v1.0.1

Choose a tag to compare

@cldmv-bot cldmv-bot released this 03 Aug 04:00
v1.0.1
cf0928f

polyfillme v1.0.1 Changelog

Release Date: August 2026
Release Type: Patch


Overview

Moves polyfillme onto the CLDMV v4 release flow and the @cldmv/vitest-runner test setup, and fixes the module failing to load on a clean install. The public API is unchanged.


🐛 Bug Fixes

Module loads on a clean install (#3)

src/lib/polyfillSources.js required node-fetch, which was never declared as a dependency, so require("polyfillme") threw MODULE_NOT_FOUND. It now uses the global fetch built into Node.js 18 and later. The Cloudflare source (source: "cloudflare") is the only path that fetches.

🔧 CI & tooling

  • Onboarded to the CLDMV v4 staging-branch workflows (next / hotfixes → master, release PRs, publish, CodeQL, Scorecard, dependency review) (#3).
  • Tests moved from Jest to Vitest through @cldmv/vitest-runner with coverage; npm test, npm run coverage and npm run ci:coverage replace the bare jest script (#3).
  • The workflow default branch was set to master after the repository's default branch was renamed from main (#5).
  • .github/ is no longer git-ignored, so the workflows are tracked.

🔧 Dependencies

  • Removed jest (dev); added vitest, @vitest/coverage-v8 and @cldmv/vitest-runner (dev).
  • flatted 3.3.3 → 3.4.4 (dev, transitive) (#7).

Upgrade notes

  • No breaking changes — drop-in for v1.0.0, which could not be loaded without manually installing node-fetch.
  • Requires a Node.js version with a global fetch (18 or later).