Skip to content

Commit

Permalink
Merge branch 'develop' into feature/issue-dev-1072
Browse files Browse the repository at this point in the history
  • Loading branch information
wszymanski committed Aug 22, 2023
2 parents 01a8f1b + 04592da commit c2deac9
Show file tree
Hide file tree
Showing 976 changed files with 542,774 additions and 153,423 deletions.
8 changes: 8 additions & 0 deletions .changelogs/10272.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"issuesOrigin": "public",
"title": "Error thrown after deselecting the table and triggering some keys won't occur anymore",
"type": "fixed",
"issueOrPR": 10272,
"breaking": false,
"framework": "none"
}
8 changes: 0 additions & 8 deletions .changelogs/10375.json

This file was deleted.

8 changes: 8 additions & 0 deletions .changelogs/10399.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"issuesOrigin": "private",
"title": "Fixed an issue with improper moving of rows when there are trimmed elements",
"type": "fixed",
"issueOrPR": 10399,
"breaking": false,
"framework": "none"
}
8 changes: 8 additions & 0 deletions .changelogs/10416.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"issuesOrigin": "private",
"title": "Fixed an issue with not removing the resize handler when user clicks RMB ",
"type": "fixed",
"issueOrPR": 10416,
"breaking": false,
"framework": "none"
}
8 changes: 8 additions & 0 deletions .changelogs/10429.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"issuesOrigin": "public",
"title": "Mark an internal prop of the React wrapper's base editor component as optional.",
"type": "fixed",
"issueOrPR": 10429,
"breaking": false,
"framework": "react"
}
8 changes: 8 additions & 0 deletions .changelogs/10432.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"issuesOrigin": "public",
"title": "Fixed issue with the CellChange type",
"type": "fixed",
"issueOrPR": 10432,
"breaking": false,
"framework": "none"
}
8 changes: 8 additions & 0 deletions .changelogs/10440.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"issuesOrigin": "private",
"title": "Optimized the transpilation process of the distribution files.",
"type": "changed",
"issueOrPR": 10440,
"breaking": false,
"framework": "none"
}
8 changes: 8 additions & 0 deletions .changelogs/10446.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"issuesOrigin": "private",
"title": "Fixed a typo in the CopyPaste copy argument method.",
"type": "fixed",
"issueOrPR": 10446,
"breaking": false,
"framework": "none"
}
8 changes: 8 additions & 0 deletions .changelogs/10447.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"issuesOrigin": "private",
"title": "Fixes the selection handlers (mobile) that disappear below the headers for multiple cells selection.",
"type": "fixed",
"issueOrPR": 10447,
"breaking": false,
"framework": "none"
}
8 changes: 8 additions & 0 deletions .changelogs/10456.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"issuesOrigin": "public",
"title": "MergeCells plugin will toggle cell's copyable state properly",
"type": "fixed",
"issueOrPR": 10456,
"breaking": false,
"framework": "none"
}
8 changes: 8 additions & 0 deletions .changelogs/10459.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"issuesOrigin": "public",
"title": "Add the missing type definition for `BaseEditor`'s `getEditedCellRect` method.",
"type": "fixed",
"issueOrPR": 10459,
"breaking": false,
"framework": "none"
}
8 changes: 8 additions & 0 deletions .changelogs/9317.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"issuesOrigin": "public",
"title": "Hovering \"handsontable\" cell type header handles won't throw an error",
"type": "fixed",
"issueOrPR": 9317,
"breaking": false,
"framework": "none"
}
8 changes: 8 additions & 0 deletions .changelogs/9566.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"issuesOrigin": "public",
"title": "fix ChangeSource Type Error with ContextMenufix ChangeSource Type Error with ContextMenu",
"type": "fixed",
"issueOrPR": 9566,
"breaking": false,
"framework": "none"
}
2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ body:
attributes:
label: Video/Screenshots
description: Please provide a screenshot or a short video presenting the issue.
validations:
required: true
- type: input
id: demo
attributes:
Expand Down
77 changes: 16 additions & 61 deletions .github/workflows/code-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,10 @@ on:

env:
NODE_VERSION: 16
NODE_MODULES_PATHS: |
./node_modules
./handsontable/node_modules/
./wrappers/angular/node_modules/
./wrappers/react/node_modules/
./wrappers/vue/node_modules/
./wrappers/vue3/node_modules/
./visual-tests/node_modules/

jobs:
prepare-matrix:
name: Prepare the version Matrix and cache dependencies.
name: Prepare the version Matrix.
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
outputs:
Expand All @@ -69,12 +61,6 @@ jobs:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- run: npm ci --no-audit
- uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # https://github.com/actions/cache/releases/tag/v3.0.11
with:
path: ${{ env.NODE_MODULES_PATHS }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- id: get-dispatch-value
run: echo "matrix=${{ format('[\"{0}\"]', github.event.inputs.hotVersion) }}" >> $GITHUB_OUTPUT
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -121,12 +107,8 @@ jobs:
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # https://github.com/actions/setup-node/releases/tag/v3.5.1
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # https://github.com/actions/cache/releases/tag/v3.0.11
with:
path: ${{ env.NODE_MODULES_PATHS }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: 'npm'
- run: npm ci --no-audit
- name: Build
run: |
cd handsontable
Expand All @@ -151,12 +133,8 @@ jobs:
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # https://github.com/actions/setup-node/releases/tag/v3.5.1
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # https://github.com/actions/cache/releases/tag/v3.0.11
with:
path: ${{ env.NODE_MODULES_PATHS }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: 'npm'
- run: npm ci --no-audit
- name: Build
run: |
cd handsontable
Expand All @@ -182,12 +160,8 @@ jobs:
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # https://github.com/actions/setup-node/releases/tag/v3.5.1
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # https://github.com/actions/cache/releases/tag/v3.0.11
with:
path: ${{ env.NODE_MODULES_PATHS }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: 'npm'
- run: npm ci --no-audit
- name: Download the Handsontable build artifact
uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 # https://github.com/actions/download-artifact/releases/tag/v3.0.1
with:
Expand Down Expand Up @@ -218,12 +192,8 @@ jobs:
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # https://github.com/actions/setup-node/releases/tag/v3.5.1
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # https://github.com/actions/cache/releases/tag/v3.0.11
with:
path: ${{ env.NODE_MODULES_PATHS }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: 'npm'
- run: npm ci --no-audit
- name: Download the Handsontable build artifact
uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 # https://github.com/actions/download-artifact/releases/tag/v3.0.1
with:
Expand Down Expand Up @@ -254,12 +224,8 @@ jobs:
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # https://github.com/actions/setup-node/releases/tag/v3.5.1
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # https://github.com/actions/cache/releases/tag/v3.0.11
with:
path: ${{ env.NODE_MODULES_PATHS }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: 'npm'
- run: npm ci --no-audit
- name: Download the Handsontable build artifact
uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 # https://github.com/actions/download-artifact/releases/tag/v3.0.1
with:
Expand Down Expand Up @@ -290,12 +256,8 @@ jobs:
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # https://github.com/actions/setup-node/releases/tag/v3.5.1
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # https://github.com/actions/cache/releases/tag/v3.0.11
with:
path: ${{ env.NODE_MODULES_PATHS }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: 'npm'
- run: npm ci --no-audit
- name: Download the Handsontable build artifact
uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 # https://github.com/actions/download-artifact/releases/tag/v3.0.1
with:
Expand Down Expand Up @@ -337,9 +299,7 @@ jobs:
fail-fast: false
matrix:
version: ${{fromJson(needs.prepare-matrix.outputs.versions)}}
# TODO: IMPORTANT! Add `angular` to the list below after fixing the issue described in
# https://github.com/handsontable/dev-handsontable/issues/1292
framework: [angular-9, angular-10, angular-11, angular-12, angular-13, js, react, vue, vue3, ts]
framework: [angular, angular-12, angular-13, angular-14, angular-15, angular-16, js, react, vue, vue3, ts]

env:
FRAMEWORK_EXAMPLES_PATH: examples/${{ matrix.version }}/docs/${{ matrix.framework }}
Expand All @@ -356,13 +316,8 @@ jobs:
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # https://github.com/actions/setup-node/releases/tag/v3.5.1
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # https://github.com/actions/cache/releases/tag/v3.0.11
if: steps.path-check.outputs.n-a != 'true'
with:
path: ${{ env.NODE_MODULES_PATHS }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: 'npm'
- run: npm ci --no-audit

# ---------------------------------------------------------
# --- Only applicable if processing the `next` version. ---
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/docs-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,20 @@ jobs:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # https://github.com/actions/checkout/releases/tag/v3.1.0

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # https://github.com/actions/setup-node/releases/tag/v3.5.1
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # https://github.com/actions/setup-node/releases/tag/v3.6.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'

- name: Install Handsontable dependencies
run: |
npm ci --no-audit
cache-dependency-path: docs/package-lock.json

- name: Install Documentation dependencies
run: |
cd docs/ && npm ci --no-audit
- name: Install Handsontable dependencies
run: |
npm ci --no-audit
- name: Lint
run: |
cd docs/ && npm run docs:lint
8 changes: 4 additions & 4 deletions .github/workflows/docs-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login -u ${GITHUB_ACTOR} --password-stdin https://docker.pkg.github.com
- name: Install the monorepo dependencies and build the packages
- name: Install the documentation dependencies
run: |
cd ..
npm ci
npm run all build -- --e examples visual-tests
- name: Install the documentation dependencies
- name: Install the monorepo dependencies and build the packages
run: |
cd ..
npm ci
npm run all build -- --e examples visual-tests
- name: Generate API references
run: |
Expand Down
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,37 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

<!-- UNVERSIONED -->

## [13.0.0] - 2023-06-22

### Added

- Angular: Added support for Angular 16. [#10396](https://github.com/handsontable/handsontable/pull/10396)

### Changed

- **Breaking change (React, Angular, Vue 2, Vue 3)**: Changed Handsontable's policy toward older versions of supported frameworks. From now on, Handsontable supports only those versions of any supported frameworks that are officially supported by their respective teams. Dropping Handsontable's support for any older framework versions won't be treated as a breaking change. [#10396](https://github.com/handsontable/handsontable/pull/10396)
- **Breaking change**: Changed the order in which three hooks are executed: now, the `beforeChange` hook is fired before the `afterSetDataAtCell` and `afterSetDataAtRowProp` hooks. [#10231](https://github.com/handsontable/handsontable/pull/10231)
- Changed the margins of the context menu in the RTL layout direction. [#10375](https://github.com/handsontable/handsontable/pull/10375)

### Removed

- **Breaking change (Angular)**: Dropped support for Angular 13 and lower. From now on, Handsontable supports only those versions of Angular that are officially supported by the Angular team: currently, it's 14-16. However, Handsontable 13.0.0 was thoroughly tested and, to the best of our knowledge, works correctly with versions down to Angular 12. [#10396](https://github.com/handsontable/handsontable/pull/10396)
- **Breaking change**: Removed the deprecated `beforeAutofillInsidePopulate` hook. [#10407](https://github.com/handsontable/handsontable/pull/10407)
- **Breaking change**: Removed the deprecated `getFirstNotHiddenIndex` method. Instead, use the `getNearestNotHiddenIndex()` method. [#10407](https://github.com/handsontable/handsontable/pull/10407)
- **Breaking change**: Removed the deprecated parameters of the `alter()` method: `insert_row` and `insert_col`. Instead, use the following parameters: `insert_row_above`, `insert_row_below`, `insert_col_start`, and `insert_col_end`. [#10407](https://github.com/handsontable/handsontable/pull/10407)
- **Breaking change**: Removed the deprecated parameters of the `populateFromArray()` method: `direction` and `deltas`. [#10407](https://github.com/handsontable/handsontable/pull/10407)

### Fixed

- Fixed an issue where the "Read only" icon of the context menu displayed incorrectly in the RTL layout direction. [#10375](https://github.com/handsontable/handsontable/pull/10375)

For more information on Handsontable 13.0.0, see:

- [Blog post (13.0.0)](https://handsontable.com/blog/handsontable-13-0-0-support-for-angular-16-and-new-frameworks-support-policy)
- [Documentation (13.0)](https://handsontable.com/docs/13.0)
- [Migration guide (12.4 → 13.0)](https://handsontable.com/docs/migration-from-12.4-to-13.0)
- [Release notes (13.0.0)](https://handsontable.com/docs/release-notes/#_13-0-0)

## [12.4.0] - 2023-05-23

### Added
Expand Down
4 changes: 2 additions & 2 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Copyright (c) HANDSONCODE sp. z o. o.

HANDSONTABLE is a software distributed by HANDSONCODE sp. z o. o., a Polish corporation based in
Gdynia, Poland, at Aleja Zwycięstwa 96-98, registered by the District Court in Gdansk under number
Gdynia, Poland, at Aleja Zwyciestwa 96-98, registered by the District Court in Gdansk under number
538651, EU tax ID number: PL5862294002, share capital: PLN 62,800.00.

This software is protected by applicable copyright laws, including international treaties, and dual-
licensed depending on whether your use for commercial purposes, meaning intended for or
licensed - depending on whether your use for commercial purposes, meaning intended for or
resulting in commercial advantage or monetary compensation, or not.

If your use is strictly personal or solely for evaluation purposes, meaning for the purposes of testing
Expand Down

0 comments on commit c2deac9

Please sign in to comment.