All posts

HyperFormula 4.0: 56 new functions, closer Excel compatibility, and a new license

A glowing network linking the PRICE, YIELD, DURATION, COUPNUM and ACCRINT bond functions on a blue and green gradient

We are happy to announce HyperFormula 4.0, one of the biggest releases of our headless spreadsheet calculation engine for JavaScript to date. By the numbers it is the biggest: 53 changelog entries (the previous record was 46) and 88 commits (the previous record was 75). Altogether, 56 new functions come in with this release.

The guiding theme of this release is Excel compatibility, and we’re happy that the size of the release and its theme go together.

HyperFormula now has 478 functions, up from 422

Our goal is to support all Excel functions in Q1 2027, and this release brings us closer to it. We jump from 422 to 478 functions. That’s 56 new function names: 52 new functions and four aliases (FORECAST, RANK, PERCENTRANK and MODE).

422 with an arrow pointing to 478: functions in HyperFormula 4.0, 52 new functions plus 4 aliases

The new functions, by category:

  • Bonds and securities (23): PRICE, YIELD, DURATION, MDURATION, ODDFPRICE, ODDLPRICE, ODDFYIELD, ODDLYIELD, COUPDAYBS, COUPDAYS, COUPDAYSNC, COUPNCD, COUPNUM, COUPPCD, ACCRINT, ACCRINTM, DISC, INTRATE, PRICEDISC, RECEIVED, YIELDDISC, PRICEMAT, YIELDMAT
  • Regression and forecasting (6): LINEST, LOGEST, TREND, GROWTH, INTERCEPT, FORECAST.LINEAR (alias FORECAST)
  • Statistics (10): RANK.EQ (alias RANK), PERCENTRANK.INC (alias PERCENTRANK), PERCENTRANK.EXC, MODE.SNGL (alias MODE), MODE.MULT, KURT, TRIMMEAN, FREQUENCY, PROB, AVERAGEIFS
  • Dynamic arrays (8): TAKE, DROP, CHOOSECOLS, CHOOSEROWS, WRAPROWS, WRAPCOLS, EXPAND, TRIMRANGE
  • Text and information (5): CONCAT, VALUETOTEXT, TYPE, ERROR.TYPE, GESTEP
Bar chart of the 56 new functions by category: bonds and securities 23, statistics 10, dynamic arrays 8, regression and forecasting 6, text and information 5

Every change in this release is listed in the full changelog.

We prioritize this work in conversations with our customers, who have highlighted functions like TEXT and INDEX, and we built toward both. Besides new functions, 4.0 changes how some existing functions behave, so they return what Excel returns.

The GPL license is gone in 4.0

The biggest change for us in this release is removing the GPL license. We are committed to improving HyperFormula for our customers, and we want full control over the product. That control lets us give our customers the support and help they need to get the full value of the product. From 4.0, HyperFormula is sold under a commercial license, the same model as Handsontable DataGrid. The source code stays public on GitHub. You can read more in the official announcement.

We’re not removing the ability to try out HyperFormula. We’re introducing a 30-day trial that includes full support, so you can build with HyperFormula and have access to our experts, who help you get the value of the product and reach your goals.

If you stay on 3.5

Version 3.5 is the last release under GPLv3, and it keeps working with the GPL key.

Version 3.5 is no longer maintained. It won’t get any more updates, including bug fixes and security patches. If a vulnerability turns up in 3.5, it won’t be fixed. To keep getting fixes and security updates, move to 4.0.

If you update to 4.0

Version 4.0 needs a commercial license key. If you update with the GPL key (licenseKey: 'gpl-v3'), your formulas return #LIC!, license-gated API methods throw an error, and license messages appear in the console. Until you add a commercial key or go back to 3.5, the app is unusable. If you’re an existing commercial customer, you keep your terms and nothing changes.

If you’ve been using HyperFormula under the GPL license, get a commercial key or start a 30-day trial to move to 4.0.

What to do next

The migration guide covers what may change in 4.0

4.0 is a major release, so we wrote a migration guide that explains what may change. We don’t go through every detail here. The guide has one section per breaking change, with what changed, what it returned before and after, and what to do.

The license is the biggest change. The rest move in one direction: they bring HyperFormula closer to Excel. If your app relied on HyperFormula behaviors that differed from Excel, something may break after the update, so go through the migration guide before you upgrade.

npm install hyperformula@4.0.0

A new docs portal with Ask AI

We rebuilt the HyperFormula docs and added an AI assistant to them. Ask AI is the same docs assistant that already runs in the Handsontable DataGrid docs, now answering HyperFormula questions. Open it from the Ask AI button in the header, or from “Ask AI about this page”, and you get an answer without searching through the guides. If a question needs a person, a reply from our Support team shows up in the same chat.

Every page also has actions to copy it or view it as Markdown, or open it in ChatGPT or Claude. The docs moved to Astro Starlight with the same look as the DataGrid docs, and every page URL stays the same, so your links keep working. Try it in the HyperFormula docs.

Zbyszek

Zbigniew Trzeciak

Head of Marketing

Related posts

See all posts
See all posts

Make every data point count. Turn millions of them into actionable wisdom.

Let’s make it easier.
Smoother. Faster. All Handsontable.