Skip to content

Commit f933913

Browse files
committed
Merge branch 'release/2.2.0'
2 parents 25941f6 + 788347c commit f933913

File tree

130 files changed

+4029
-14997
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+4029
-14997
lines changed

.config/webpack/languages.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ const WebpackOnBuildPlugin = require('on-build-webpack');
1111
const fs = require('fs');
1212
const fsExtra = require('fs-extra');
1313

14-
const PACKAGE_FILENAME = process.env.HOT_FILENAME;
15-
1614
function getEntryJsFiles() {
1715
const entryObject = {};
1816
const filesInLanguagesDirectory = fs.readdirSync(SOURCE_LANGUAGES_DIRECTORY);

.eslintrc.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module.exports = {
44
plugins: [
55
'@typescript-eslint',
66
'license-header',
7+
'jsdoc',
78
],
89
parserOptions: {
910
tsconfigRootDir: __dirname,
@@ -67,6 +68,42 @@ module.exports = {
6768
'@typescript-eslint/no-unused-vars': ['warn', { 'argsIgnorePattern': '^_' }],
6869
'@typescript-eslint/no-explicit-any': 'warn',
6970
'@typescript-eslint/interface-name-prefix': 'warn',
71+
72+
"jsdoc/check-access": 'warn',
73+
"jsdoc/check-alignment": 'warn',
74+
"jsdoc/check-param-names": 'warn',
75+
"jsdoc/check-property-names": 'warn',
76+
"jsdoc/check-tag-names": 'warn',
77+
"jsdoc/check-types": 'warn',
78+
"jsdoc/empty-tags": 'warn',
79+
"jsdoc/implements-on-classes": 'warn',
80+
"jsdoc/multiline-blocks": 'warn',
81+
"jsdoc/newline-after-description": 'warn',
82+
"jsdoc/no-multi-asterisks": 'warn',
83+
"jsdoc/no-undefined-types": 'warn',
84+
"jsdoc/require-param-description": 'warn',
85+
"jsdoc/require-param-name": 'warn',
86+
"jsdoc/require-param-type": 'warn',
87+
"jsdoc/require-property-description": 'warn',
88+
"jsdoc/require-property-name": 'warn',
89+
"jsdoc/require-property-type": 'warn',
90+
"jsdoc/require-returns-check": 'warn',
91+
"jsdoc/require-returns-description": 'warn',
92+
"jsdoc/require-returns-type": 'warn',
93+
"jsdoc/require-yields": 'warn',
94+
"jsdoc/require-yields-check": 'warn',
95+
"jsdoc/tag-lines": 'warn',
96+
"jsdoc/valid-types": 'warn',
97+
"jsdoc/require-jsdoc": ['warn', {
98+
require: {
99+
ArrowFunctionExpression: true,
100+
ClassDeclaration: true,
101+
ClassExpression: true,
102+
FunctionDeclaration: true,
103+
FunctionExpression: true,
104+
MethodDefinition: true,
105+
}
106+
}],
70107
},
71108
overrides: [
72109
{

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ jobs:
3535
publish_dir: docs/.vuepress/dist
3636
github_token: ${{ secrets.GITHUB_TOKEN }}
3737
publish_branch: gh-pages
38+
cname: hyperformula.handsontable.com # as in https://github.com/peaceiris/actions-gh-pages/blob/ba0b7df03e25ff29c924be8149041119e9421ea6/README.md#%EF%B8%8F-cname

.gitignore

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
.idea/
2-
commonjs/
3-
coverage/
4-
dist/
5-
doc/
6-
docs/api/
7-
docs/functions/
8-
docs/.vuepress/dist/
9-
docs/.vuepress/api-sidebar-relative.json
10-
docs/.vuepress/api-sidebar.json
11-
typedoc/
12-
es/
13-
languages/
14-
lib/
15-
test-jasmine/
16-
test-jest/
2+
.vscode
3+
/commonjs/
4+
/coverage/
5+
/dist/
6+
/doc/
7+
/docs/api/
8+
/docs/functions/
9+
/docs/.vuepress/dist/
10+
/docs/.vuepress/api-sidebar-relative.json
11+
/docs/.vuepress/api-sidebar.json
12+
/typedoc/
13+
/es/
14+
/languages/
15+
/lib/
16+
/test-jasmine/
17+
/test-jest/
1718
node_modules/
18-
typings/
19+
/typings/
1920

2021
*.iml
2122
dev*.html
22-
yarn-error.log
2323
.DS_Store

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [2.2.0] - 2022-11-17
10+
11+
### Added
12+
- Added an American English (`enUS`) language pack. It's a convenience alias: it contains the same translations as the existing British English (`enGB`) language pack. [#1025](https://github.com/handsontable/hyperformula/issues/1025)
13+
14+
### Fixed
15+
- Fixed functions VLOOKUP and HLOOKUP to handle duplicates in the way specified by the [OpenDocument](https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part4-formula/OpenDocument-v1.3-os-part4-formula.html#HLOOKUP) standard. [#1072](https://github.com/handsontable/hyperformula/issues/1072)
16+
- Fixed the MATCH function to handle descending ranges in the way specified by the [OpenDocument](https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part4-formula/OpenDocument-v1.3-os-part4-formula.html#MATCH) standard. [#1063](https://github.com/handsontable/hyperformula/issues/1063)
17+
918
## [2.1.0] - 2022-09-08
1019

1120
### Added

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525

2626
HyperFormula is a headless spreadsheet built on top of TypeScript. It is a parser and evaluator of Excel formulas for web applications. You can use it in a browser or as a service, with Node.js as your back-end technology.
2727
- High-speed Excel formula parsing and evaluating
28-
- A library of [380+ built-in functions](https://hyperformula.handsontable.com/guide/built-in-functions.html) available in 16 languages
28+
- A library of nearly [400 built-in functions](https://hyperformula.handsontable.com/guide/built-in-functions.html)
29+
- Support for [internationalization](https://hyperformula.handsontable.com/guide/i18n-features.html) with 17 built-in languages
2930
- Support for [custom functions](https://hyperformula.handsontable.com/guide/custom-functions.html)
3031
- Function syntax compatible with [Microsoft Excel](https://hyperformula.handsontable.com/guide/compatibility-with-microsoft-excel.html) and [Google Sheets](https://hyperformula.handsontable.com/guide/compatibility-with-google-sheets.html)
3132
- [Support for Node.js](https://hyperformula.handsontable.com/guide/server-side-installation.html#install-with-npm-or-yarn)

circle.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

docs/.vuepress/config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ module.exports = {
203203
title: 'Internationalization',
204204
collapsable: false,
205205
children: [
206+
['/guide/i18n-features', 'Internationalization features'],
206207
['/guide/localizing-functions', 'Localizing functions'],
207208
['/guide/date-and-time-handling', 'Date and time handling'],
208209
]
@@ -226,6 +227,7 @@ module.exports = {
226227
['/guide/custom-functions', 'Custom functions'],
227228
['/guide/performance', 'Performance'],
228229
['/guide/known-limitations', 'Known limitations'],
230+
['/guide/file-import', 'File import'],
229231
]
230232
},
231233
{

docs/api-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This section contains information about the class for creating HyperFormula inst
1414
The snippet shows an example how to use `buildFromArray` which is one of [three static methods](/api/classes/hyperformula.html#factories) for creating an instance of HyperFormula:
1515
```javascript
1616
const sheetData = [
17-
['0', '=SUM(1,2,3)', '52'],
17+
['0', '=SUM(1, 2, 3)', '52'],
1818
['=SUM(A1:C1)', '', '=A1'],
1919
['2', '=SUM(A1:C1)', '91'],
2020
];

docs/guide/advanced-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ console.log(winningTeam)
122122
## Demo
123123

124124
<iframe
125-
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/2.1.x/advanced-usage?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
125+
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/2.2.x/advanced-usage?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
126126
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
127127
title="handsontable/hyperformula-demos: advanced-usage"
128128
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

0 commit comments

Comments
 (0)