Skip to content

Commit 0e321bf

Browse files
committed
Merge branch 'release/1.2.0'
2 parents 072f829 + 74e7c2a commit 0e321bf

33 files changed

+5177
-3673
lines changed

.config/webpack/development.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ module.exports.create = function create() {
2929
commonjs: 'chevrotain',
3030
amd: 'chevrotain',
3131
},
32+
// the gpu.js dependency was deprecated in HyperFormula 1.2.0
3233
'gpu.js': {
3334
root: 'GPU',
3435
commonjs2: 'gpu.js',

CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [1.2.0] - 2021-09-23
10+
11+
### Changed
12+
13+
- Removed `gpu.js` from optional dependencies and marked config options `gpujs` and `gpuMode` as deprecated.
14+
915
## [1.1.0] - 2021-08-12
1016

1117
### Changed

docs/.vuepress/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ module.exports = {
174174
]
175175
},
176176
{
177-
title: 'Data Operations',
177+
title: 'Data operations',
178178
collapsable: false,
179179
children: [
180180
['/guide/basic-operations', 'Basic operations'],
@@ -185,7 +185,7 @@ module.exports = {
185185
]
186186
},
187187
{
188-
title: 'Formula Reference',
188+
title: 'Formulas',
189189
collapsable: false,
190190
children: [
191191
['/guide/specifications-and-limits', 'Specifications and limits'],
@@ -197,6 +197,7 @@ module.exports = {
197197
['/guide/built-in-functions', 'Built-in functions'],
198198
['/guide/volatile-functions', 'Volatile functions'],
199199
['/guide/named-ranges', 'Named ranges'],
200+
['/guide/arrays', 'Array formulas'],
200201
]
201202
},
202203
{
@@ -215,7 +216,6 @@ module.exports = {
215216
['/guide/building', 'Building'],
216217
['/guide/testing', 'Testing'],
217218
['/guide/custom-functions', 'Custom functions'],
218-
['/guide/arrays', 'Arrays'],
219219
['/guide/performance', 'Performance'],
220220
]
221221
},

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/1.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/1.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"

docs/guide/arrays.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Arrays
1+
# Array formulas
22

3-
Use arrays to perform an operation (or call a function) on multiple cells at a time.
3+
Use array formulas to perform an operation (or call a function) on multiple cells at a time.
44

55
## About arrays
66

@@ -14,9 +14,9 @@ An array is inherently a two-dimensional object.
1414

1515
`1`x`1` arrays are treated as single, zero-dimensional values (**scalars**).
1616

17-
## Enabling the array arithmetic mode
17+
## Array arithmetic mode
1818

19-
To use arrays in HyperFormula, you need to enable the **array arithmetic mode**.
19+
To use array formulas in HyperFormula, you need to enable the **array arithmetic mode**.
2020

2121
You can enable the array arithmetic mode:
2222
* [Locally](#enabling-the-array-arithmetic-mode-locally) (for an individual function or operation)
@@ -135,16 +135,9 @@ When the [array arithmetic mode](#enabling-the-array-arithmetic-mode) is enabled
135135

136136
When the [array arithmetic mode](#enabling-the-array-arithmetic-mode) is disabled, and you pass an array to a [scalar](#about-arrays) function, the array is reduced to 1 element (usually the array's top-left value).
137137

138-
When the [array arithmetic mode](#enabling-the-array-arithmetic-mode) is disabled, and you operate on a range of width `1`, the behavior depends on your formula's location:
138+
When the [array arithmetic mode](#enabling-the-array-arithmetic-mode) is disabled, and you operate on a range of width/height equal to `1`, the behavior depends on your array formula's location:
139139

140-
| Your formula's location | Behavior |
140+
| Your array formula's location | Behavior |
141141
| :--- | :--- |
142142
| In the same row as as one of the range's elements | Only that particular element is taken. |
143-
| Any other cell | `#VALUE!` error |
144-
145-
When the [array arithmetic mode](#enabling-the-array-arithmetic-mode) is disabled, and you operate on a range of height `1`, the behavior depends on your formula's location:
146-
147-
| Your formula's location | Behavior |
148-
| :--- | :--- |
149-
| In the same column as as one of the range's elements | Only that particular element is taken. |
150143
| Any other cell | `#VALUE!` error |

docs/guide/basic-operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ This demo presents several basic operations integrated with a
391391
sample UI.
392392

393393
<iframe
394-
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/1.1.x/basic-operations?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
394+
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/1.2.x/basic-operations?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
395395
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
396396
title="handsontable/hyperformula-demos: basic-operations"
397397
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

docs/guide/basic-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ works. It's time to move on to a more
6666
## Demo
6767

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

docs/guide/batch-operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ can be sent as a single one.
118118
## Demo
119119

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

docs/guide/built-in-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ lets you design your own [custom functions](custom-functions).
5151
## Demo
5252

5353
<iframe
54-
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/1.1.x/built-in-functions?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
54+
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/1.2.x/built-in-functions?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
5555
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
5656
title="handsontable/hyperformula-demos: built-in-functions"
5757
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

docs/guide/clipboard-operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ inside the clipboard: `isClipboardEmpty` .
107107
## Demo
108108

109109
<iframe
110-
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/1.1.x/clipboard-operations?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
110+
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/1.2.x/clipboard-operations?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
111111
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
112112
title="handsontable/hyperformula-demos: clipboard-operations"
113113
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

0 commit comments

Comments
 (0)