Skip to content

release: v0.34.0 (Firefox 150) + release tooling fixes - #1166

Merged
vringar merged 1 commit into
masterfrom
release/v0.34.0
May 8, 2026
Merged

vringar merged 1 commit into
masterfrom
release/v0.34.0

Conversation

@vringar

@vringar vringar commented May 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Release for Firefox 150, plus the tooling fixes that were required to unblock the release.

v0.34.0 — Firefox 150

  • Bump VERSION 0.32.0 → 0.34.0 (the previous release tagged v0.33.0 without bumping VERSION; this catches up).
  • scripts/install-firefox.sh: pin to FIREFOX_150_0_2_RELEASE.
  • New CHANGELOG entry summarizing what's accumulated since v0.33.0 (DNS instrument capture-on-error + redirect-chain hops, NXDOMAIN exclusion from failure limit, failure_count race fix, linter sync).

Release tooling fixes (smashed into this PR per request)

  1. scripts/firefox_version.py — silent Firefox auto-detect failure. The endpoint moved from hg.mozilla.org to hg-edge.mozilla.org, which content-negotiates and returns the HTML web UI when no Accept header is sent. urllib.request.urlopen(url) was getting HTML and throwing JSONDecodeError, which update.py swallowed. Every release since the migration would have skipped the Firefox bump. Fix: send Accept: application/json.

  2. Extension/tsconfig*.json — fix moduleResolution: "node" deprecation properly. TS 6 deprecates the node alias; TS 7 will remove it. Switched both tsconfig.json and tsconfig.module.json to node16 (non-deprecated, compatible with module: commonjs/module: node16). Not silenced via ignoreDeprecations.

  3. scripts/update.py — pin TypeScript to 5.x. TS 6's stricter inference defaults (TS7006 implicit-any on parameters/members, TS2564 strictPropertyInitialization, TS18048 possibly-undefined, TS18046 unknown-in-catch) surface ~200 latent type issues across 19 files in Extension/src. Fixing those is its own migration PR; until then, npm-check-updates --reject typescript keeps the bumper inside 5.x.

Test plan

  • python scripts/update.py runs to completion and bumps install-firefox.sh to FF 150_0_2
  • ./scripts/install-firefox.sh succeeds
  • cd Extension && npm run build is clean (no errors, no deprecation warnings)
  • pre-commit run --all-files passes
  • pytest -m pyonly passes (9/9)
  • Full pytest run (deferred to CI)

Follow-ups (not in this PR)

  • Migrate Extension to TypeScript 6 (200+ fixes; mostly mechanical type annotations)
  • The tooling fixes (firefox_version.py, tsconfig, update.py) ideally would be a separate prep PR landed before this one — bundled here per your request to keep this as one "fix everything" PR.

Copilot AI review requested due to automatic review settings May 7, 2026 12:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Release bump to OpenWPM v0.34.0 targeting Firefox 150, plus fixes to the release/update tooling to ensure future automated bumps (Firefox + linters + npm deps) work reliably.

Changes:

  • Bump release version metadata and add a v0.34.0 changelog entry.
  • Pin the Firefox unbranded build to FIREFOX_150_0_2_RELEASE and harden Firefox tag auto-detection (Accept: application/json).
  • Update Node/Extension dependency tooling: TS config updates, TypeScript pinning behavior in scripts/update.py, and dependency refreshes (npm + conda + pre-commit).

Reviewed changes

Copilot reviewed 11 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
VERSION Updates project version to 0.34.0.
CHANGELOG.md Adds v0.34.0 release notes and tooling notes.
scripts/install-firefox.sh Pins Firefox download tag to FIREFOX_150_0_2_RELEASE.
scripts/firefox_version.py Adds Accept: application/json header for Firefox tag fetch.
scripts/update.py Keeps npm-check-updates from upgrading TypeScript (stay on 5.x).
package.json Bumps root dev tooling deps (commitlint).
package-lock.json Updates lockfile to reflect root dependency upgrades.
Extension/tsconfig.json Moves TS module settings to Node16-compatible values.
Extension/tsconfig.module.json Aligns module build config with Node16 module semantics.
Extension/package.json Updates Extension devDependencies including pinning TypeScript to ^5.9.3.
Extension/package-lock.json Updates Extension lockfile for refreshed toolchain versions.
environment.yaml Repins conda environment versions (including linters used by pre-commit sync).
.pre-commit-config.yaml Syncs mypy hook rev to match the pinned conda version.
Files not reviewed (1)
  • Extension/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Extension/package.json
@codecov

codecov Bot commented May 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.17%. Comparing base (ed8efc7) to head (2197831).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1166   +/-   ##
=======================================
  Coverage   62.17%   62.17%           
=======================================
  Files          40       40           
  Lines        3902     3902           
=======================================
  Hits         2426     2426           
  Misses       1476     1476           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

- Bump VERSION 0.32.0 → 0.34.0 and add CHANGELOG entry for v0.34.0
- scripts/install-firefox.sh: bump to FIREFOX_150_0_2_RELEASE
- scripts/firefox_version.py: send Accept: application/json header. The
  hg.mozilla.org → hg-edge.mozilla.org migration broke the JSON endpoint
  under default Accept (HTML page returned), silently disabling Firefox
  auto-detect.
- Extension/tsconfig*.json: switch moduleResolution from "node"
  (deprecated in TS 6, gone in TS 7) to "node16". module set to
  "node16" for compatibility.
- scripts/update.py: pin TypeScript to 5.x via --reject typescript. TS 6
  enables stricter inference defaults that surface ~200 latent type
  issues in Extension/src; the migration is its own PR.
- environment.yaml + lockfiles: refreshed by repin
@vringar
vringar force-pushed the release/v0.34.0 branch from 67cf528 to 2197831 Compare May 7, 2026 21:36
@vringar
vringar added this pull request to the merge queue May 7, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 7, 2026
@vringar
vringar added this pull request to the merge queue May 7, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 7, 2026
@vringar
vringar added this pull request to the merge queue May 8, 2026
Merged via the queue into master with commit d1150a7 May 8, 2026
14 checks passed
@vringar
vringar deleted the release/v0.34.0 branch May 8, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants