Skip to content

chore: inject the version at build time instead of hard-coding it #89

Closed

Description

@ajithakdev

Where

2026.0.319-MR1.0 or v2026.0.319 is hard-coded in popup.html:135, export-data.ts:23, export-pdf.ts:282, server/src/app.ts:5,89, app.test.ts:24, file headers and every package.json. The newest changelog entry and tag are 2026.0.320-MR1.1, the last feature commit is titled v2026.0.APR.1, and manifest.json says 2026.3.20.1.

What happens

Exports and the footer report the wrong build, so bug reports can't be matched to a release.

Fix

Pick one semver version, inject it with esbuild define from the root package.json, and derive the manifest version from it.

Activity

  1. added
    enhancement
    on Oct 21, 2026
  2. ajithakdev commented on Oct 26, 2026

    @ajithakdev
    OwnerAuthor

    Fixed in 2027.0.0. The version is sourced centrally from the root package.json and stamped into the extension manifest at build time. See packages/shared/src/index.ts:10. Checked against main on 2026-10-27.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions