Skip to content

Change the hyperformula-ui licence to MIT - #1840

Merged
sequba merged 2 commits into
developfrom
feat/hyperformula-ui-mit-license
Oct 22, 2026
Merged

sequba merged 2 commits into
developfrom
feat/hyperformula-ui-mit-license

Conversation

@sequba

@sequba sequba commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Context

The hyperformula-ui package changes its licence from GPL-3.0-only to MIT. The engine, hyperformula, keeps its GPL-3.0-only and commercial licensing unchanged.

Until now the package's prepack copied the root LICENSE.txt (the engine's GPL licence) into the package and postpack removed it. That copy no longer fits, because the two packages now have different licences. The package now keeps its own MIT LICENSE.txt under version control in hyperformula-ui/packages/core/. npm includes LICENSE* files in the tarball automatically, so the copy scripts are removed.

Changes:

  • hyperformula-ui/packages/core/package.json and package-lock.json: license is MIT. The copy-root-files, prepack and postpack scripts are removed.
  • hyperformula-ui/packages/core/LICENSE.txt: new, the MIT licence, with the same copyright holder as the root licence.
  • hyperformula-ui/.gitignore: the package's LICENSE.txt is no longer ignored.
  • hyperformula-ui/packages/core/README.md and the root README.md: the licence sections name the right licence for each package.
  • hyperformula-ui/dev-docs/RELEASE.md: the steps that copied and removed the licence are gone.
  • dev-docs/STRUCTURE.md: the decision about UI licensing records MIT and the package's own licence file.
  • script/check-licenses.mjs: a comment no longer says every workspace package is GPL.

How did you test your changes?

  • npm pack --dry-run --ignore-scripts --workspace=hyperformula-ui/packages/core: the tarball contains LICENSE.txt (the MIT text), README.md, DOCS.md and package.json, with no copy step.
  • npm install --package-lock-only --ignore-scripts: the lockfile stays consistent with the one-line license change.
  • node script/check-licenses.mjs: OK, 3 production dependencies, all permissively licensed.
  • npm run lint --workspace=hyperformula-ui/packages/core: no issues.
  • npm run build:ui, npm run typecheck, npm run test:ui: all green, 88 test files, 1083 tests.

Compatibility with Excel and Google Sheets

Not applicable.

Public API changes

None. The published package's licence changes from GPL-3.0-only to MIT from the next release. Versions up to and including 0.3.5 stay as they were published.

Out of scope and follow-ups

  • The engine's licence and its prepack copy of the root LICENSE.txt and CHANGELOG.md are unchanged.

Types of changes

  • Breaking change (existing functionality no longer works as before) – agreed with the maintainers
  • New feature or improvement (a non-breaking change that adds functionality)
  • Bug fix (a non-breaking change that fixes an issue)
  • Additional language file, or a change to an existing language file (translations)
  • Change to the documentation

Related issues

None.

Checklist

🤖 Generated with Claude Code


Note

Low Risk
No runtime or public API changes; only licence metadata, packaging scripts, and documentation, with the engine’s GPL licensing untouched.

Overview
Re-licenses the published hyperformula-ui npm package from GPL-3.0-only to MIT, while the hyperformula engine stays GPL-3.0-only (plus commercial terms).

The UI package now ships a version-controlled MIT LICENSE.txt under hyperformula-ui/packages/core/ instead of copying the root GPL file at pack time. copy-root-files, prepack, and postpack are removed from hyperformula-ui/packages/core/package.json because npm includes LICENSE* in the tarball automatically.

Docs and process are aligned: root and package READMEs split licences by package, dev-docs/STRUCTURE.md records MIT for the UI, hyperformula-ui/CHANGELOG.md notes the change, and hyperformula-ui/dev-docs/RELEASE.md drops manual licence copy/cleanup steps. hyperformula-ui/.gitignore no longer ignores the package licence file; package-lock.json and script/check-licenses.mjs reflect the metadata-only tweak (comment only in the checker).

Reviewed by Cursor Bugbot for commit d76f612. Bugbot is set up for automated code reviews on this repo. Configure here.

sequba and others added 2 commits October 22, 2026 16:25
The hyperformula-ui package now ships its own MIT LICENSE.txt, kept under
version control in the package directory, instead of a prepack copy of the
root GPL-3.0 licence. The engine's licence is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sequba
sequba merged commit cb5ecc3 into develop Oct 22, 2026
32 of 34 checks passed
@sequba
sequba deleted the feat/hyperformula-ui-mit-license branch October 22, 2026 14:28
@codecov

codecov Bot commented Oct 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.28%. Comparing base (79899ee) to head (d76f612).
⚠️ Report is 2 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1840   +/-   ##
========================================
  Coverage    97.28%   97.28%           
========================================
  Files          207      207           
  Lines        16218    16218           
  Branches      3556     3556           
========================================
  Hits         15777    15777           
  Misses         433      433           
  Partials         8        8           
🚀 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.

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Performance comparison of head (58d3d99) vs base (79899ee)

                                     testName |   base |    head | change
-------------------------------------------------------------------------
                                      Sheet A | 477.39 |  469.61 | -1.63%
                                      Sheet B | 156.68 |  149.55 | -4.55%
                                      Sheet T | 138.12 |  136.74 | -1.00%
                                Column ranges | 548.07 |  536.26 | -2.15%
                                Sorted lookup |  17577 | 17022.2 | -3.16%
Sheet A:  change value, add/remove row/column |  15.61 |   14.92 | -4.42%
 Sheet B: change value, add/remove row/column | 138.44 |   133.9 | -3.28%
                   Column ranges - add column | 163.74 |  160.48 | -1.99%
                Column ranges - without batch | 520.35 |  503.02 | -3.33%
                        Column ranges - batch | 132.08 |  130.64 | -1.09%

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.

1 participant