Releases: handsontable/handsontable-pro
6.2.3
Handsontable Pro is now Handsontable. Since version 6.2.3
the Handsontable Pro package is deprecated. For version 7.0.0
use handsontable instead of handsontable-pro to stay up to date with future releases.
6.2.2
Changes
- Fixed a bug, where it was impossible to use mouse selection on a device which supported both mouse and touch events. (handsontable/handsontable#5669)
- Fixed a bug, where the per-cell validation information was not shifted after removing rows. (handsontable/handsontable#5674)
6.2.1
Changes
- Updated
babel
to7.x
. (handsontable/handsontable#5398) - Fixed a bug, where calling
updateSettings
orloadData
with a new, larger dataset caused an error to be thrown. (handsontable/handsontable#5617) - Fixed a bug, where the mobile keyboard opened on every cell selection on Android devices. (handsontable/handsontable#5586)
- Fixed a bug, where the date validation did not work properly in some cases. (handsontable/handsontable#5563)
- Fixed a problem with poor
updateSettings
performance when removing rows. (handsontable/handsontable#5561) - Fixed a problem with improper
carriage return
symbol usage in the pasted data. (handsontable/handsontable#5477) - Added some missing methods, options and hooks to the typescript definition file. (handsontable/handsontable#5639, handsontable/handsontable#5590)
- Corrected the CSS property assignments to zero from
0
to'0'
; (handsontable/handsontable#5291) - Fixed a bug, where the
autofill
feature did not work properly with themergeCells
plugin, while working on an object-based dataset. (handsontable/handsontable#5022) - Fixed a problem with the
observeChanges
plugin causing a memory leak. (handsontable/handsontable#4400) - Fixed a problem with the scientific notation not being supported in the numeric editor. (handsontable/handsontable#2030)
6.2.0
Changes
- Added the Korean language support. (handsontable/handsontable#5356)
- Added the Latvian language support. (handsontable/handsontable#5186)
- Updated the TypeScript definition file for
ColumnSorting
andMultiColumnSorting
. (handsontable/handsontable#5545, handsontable/handsontable#5445) - Updated the TypeScript definition for
beforeRowMove
andbeforeColumnMove
. (handsontable/handsontable#5416) - Updated the TypeScript definition for some selection and context menu related methods and hooks. (handsontable/handsontable#5307)
- Fixed a bug with the Copy/Paste plugin working incorrectly, when copying
0
. (handsontable/handsontable#5544) - Fixed a problem with improper
autoRowSize
calculations. (handsontable/handsontable#5527) - Fixed a problem with the keyboard opening on every selection on mobile. (handsontable/handsontable#5479)
- Refactored the
columnSorting
plugin to be reusable with themultiColumnSorting
plugin. (handsontable/handsontable#5457) - Refactored the
multiColumnSorting
plugin to use thecolumnSorting
plugin. (#148) - Fixed a bug, where adding a new row cleared the data from the first row. (handsontable/handsontable#5446)
- Fixed a bug, where using the
allowInvalid: false
option on date-typed cells broke the table. (handsontable/handsontable#5419) - Fixed a bug with the column header width being calculated incorrectly. (handsontable/handsontable#5359)
- Fixed a problem with building Handsontable
3.0.0+
usinghot-builder
. (handsontable/handsontable#5287) - Fixed a bug, where opening the context menu on the column header sorted the column. (handsontable/handsontable#4676, #176)
- Updated Jest to resolve a security issue with the
merge
package. (handsontable/handsontable#5564, #179) - Fixed some unstable tests, which caused the CI to fail frequently. (handsontable/handsontable#5562)
- Fixed the
ERR_ADDRESS_INVALID
error when running e2e tests. (handsontable/handsontable#5558)
6.1.1
Changes
- Fixed a bug, where the Context Menu's
copy
andcut
options did not work. (handsontable/handsontable#5535) - Removed the unneeded
yarn
entry from the dependencies section inpackage.json
.
6.1.0
Changes
-
Moved the
fixedRowsBottom
functionality to Handsontable CE. (handsontable/handsontable#5404, #146) -
Introduced a new functionality to the Copy/Paste plugin. From version
6.1.0
, it supports thetext/html
data type alongsidetext/plain
. This change, apart from allowing the user to copy data from Handsontable as an HTML table, allowed us to fix multiple bugs related to the plugin:- Fixed a bug, where it was impossible to copy the first row/column if it was declared as
readOnly
. (handsontable/handsontable#5392) - Fixed a bug, where the cell editor contained an unwanted empty line, if the previous value of the cell was pasted from Excel. (handsontable/handsontable#5330)
- Fixed a problem with copying and pasting data from rows after clicking the row headers. (handsontable/handsontable#5300)
- Fixed a bug where pasting multiple rows from Excel (below version
16
) did not work properly. (handsontable/handsontable#5277) - Fixed a bug with copying entire rows into Excel not working properly. (handsontable/handsontable#5176)
- Fixed a bug, where pasting data from Excel to Handsontable did not work on Safari. (handsontable/handsontable#5121)
- Fixed a problem with improper cell selection after pasting data into the table. (handsontable/handsontable#4849)
- Fixed a bug with Handsontable crashing after using
updateSettings
inside theafterSelectionEnd
callback. (handsontable/handsontable#4837) - Fixed a problem with pasting double quotation marks (
""
) into the table. (handsontable/handsontable#4790, handsontable/handsontable#4003) - Fixed a bug, where copying and pasting empty cells did not work properly. (handsontable/handsontable#4725)
- Fixed a problem with copying data on IE and pasting it on Chrome/Firefox. (handsontable/handsontable#4717)
- Fixed a bug, where copying and pasting entire columns did not work as expected. (handsontable/handsontable#4456)
- Fixed a problem with pasting multiline content into a single cell. (handsontable/handsontable#4308)
- Fixed a bug, where it was impossible to copy the first row/column if it was declared as
-
Added an Italian translation to the languages set. (handsontable/handsontable#5407)
-
Added a Dutch translation to the languages set. (handsontable/handsontable#5156)
-
Fixed a bug, where trying to open the cell editor while a cell outside of the viewport was being edited threw an error. (handsontable/handsontable#5119)
-
Fixed a bug, where the cell editor rendered improperly when the
preventOverflow
option was enabled. (handsontable/handsontable#5073) -
Fixed a bug, where clicking on a cell caused the table container to scroll. (handsontable/handsontable#4656)
-
Fixed a bug, where using the
Undo
functionality did not work properly after sorting and removing rows. (handsontable/handsontable#3188) -
Fixed a bug, where the contents of the
Filters
dropdown menu was scrollable horizontally. (#151) -
Fix a bug, where multi-column sorting did not work with the
Filters
plugin. (#149) -
Switched to using a CDN in the default jsfiddle link in the issue template. (#154)
6.0.1
- Fixed a bug where inserting new columns threw an error. (#140, handsontable/handsontable#5422)
- Fixed a problem where the non-contiguous selection did not work properly in multiple scenarios. (handsontable/handsontable#5427)
- Fixed a bug where a newly edited cell had the background of the previously edited cell. (handsontable/handsontable#5402)
- Fixed a bug where an error was being thrown after clicking the top-left corner of the table. (#144, handsontable/handsontable#5434)
- Fixed a bug where adding a new row cleared the data in the first row. (#142, handsontable/handsontable#5431)
6.0.0
This release contains changes to the ColumnSorting
plugin exclusively. Detailed information about the changes can be found in the description of pull request #5411 and in our documentation.
Breaking Changes
- We refactored and rewrote parts of the
ColumnSorting
plugin in order for it to work seamlessly with the newMultiColumnSorting
plugin for Handsontable Pro. This allowed us to fix multiple problems that the previous version of the plugin had.
This introduced some backward-incompatible changes:- The configuration items (such as
sortIndicator
,sortEmptyCells
,sortFunction
) for the plugin were moved into the scope of the plugin config. - The initial plugin configuration is stored under the
initialConfig
property in the plugin configuration. - The
sortFunction
config item was renamed tocompareFunctionFactory
and converted to a factory returning a compare function (and moved into the plugin configuration scope, as mentioned above). - The
sortIndicator
config item was renamed toindicator
(and moved into the plugin configuration scope, as mentioned above). - Comparator function structure changed:
// Was: function numericSort(sortOrder, columnMeta) { return function ([, value], [, nextValue]) { // Is: function numericSort(sortOrder, columnMeta) { return function (value, nextValue) {
- The
sort
method arguments were reorganized, so it accepts the sorting configuration as an object:
hot.getPlugin('columnSorting').sort({ column: 0, sortOrder: 'asc' });
- Some public methods were rewritten, renamed and set as private, namely:
getNextOrderState
loadSortingState
saveSortingState
- The
beforeColumnSort
andafterColumnSort
hooks receive a different set of arguments. For more information, check our documentation. - Calling the
updateSettings
method withcolumnSorting
defined will set a fresh sort configuration.
- The configuration items (such as
Changes
Apart from the breaking changes above, this release introduces some additional changes to the sorting plugin:
- Added a new plugin -
MultiColumnSorting
. It allows multiple columns to be used when sorting the table.
While it works similarly to CE'sColumnSorting
, it introduces multiple new functionalities. Detailed information about this new feature can be found in the documentation and in the description of pull request #101. - Replaced the current sorting indicators with new ones, in the form of arrows.
- The sorting indicators will be displayed by default.
- Added a possibility to disable the action of sorting by clicking on the headers, using the
headerAction
option.
5.0.2
Changes
- Fixed a bug where editor focusing caused the window to scroll. (handsontable/handsontable#5220)
- Fixed a problem where double-clicking the fill handle filled the cells towards the left instead of down. (handsontable/handsontable#5023)
- Fixed a bug where editing a cell showed improper values after sorting and using the
setDataAtRowProp
method. (handsontable/handsontable#4289) - Fixed a problem with editing
autocomplete
-typed cells after using similar cells in a different Handsontable instance. (handsontable/handsontable#3374) - Corrected a typo in
AutoColumnSize
typescript definition file. (handsontable/handsontable#5364) - Fixed a bug with calculating how many rows/columns need to be rendered. (handsontable/handsontable#5365)
- Fixed a bug with column headers improperly rendering after expanding a previously-collapsed column. (#105)
- Finished the ESLint warning correction task (#107, #137), which included resolving problems with:
arrow-parens
(#108)eqeqeq
(#114)no-extra-semi
(#115)newline-per-chained-call
(#112)linebreak-style
(#110)no-constant-condition
(#113)no-unused-vars
(#116)prefer-template
(#119)consistent-return
(#109)object-curly-spacing
(#118)prefer-arrow-callback
(#117)max-depth
(#111)prefer-spread
(#122)prefer-const
(#125)no-unneeded-ternary
(#126)object-shorthand
(#121)space-before-function-paren
(#124)prefer-rest-params
(#127)no-plusplus
(#123)no-eq-null
(#120)one-var
(#128)no-var
(#129)no-undef
(#130)vars-on-top
(#131)no-use-before-define
(#132)no-restricted-properties
(#133)no-restricted-syntax
(#134)no-param-reassign
(#136)no-shadow
(#135)
5.0.1
Changes
- Fixed a bug, where the Cmd + F / Ctrl + F key combination enabled the multiple selection mode. (handsontable/handsontable#5302)
- Added the
getRegistered
method to the typescript definition file. (handsontable/handsontable#5262) - Fixed a bug, where hiding the custom border through the
setBorders
method did not work. (handsontable/handsontable#5240) - Fixed a problem with opening the
handsontable
-typed cell multiple times. (handsontable/handsontable#5195) - Fixed a problem with inconsistent row height in certain situations. (handsontable/handsontable#4888)
- Fixed a bug with autofill border overlapping the selection border. (handsontable/handsontable#4810)
- Fixed a bug, where pressing the down arrow would not scroll the table, when the row header was selected. (handsontable/handsontable#3560)
- Fixed a problem with calculating the column with after selecting a in-cell checkbox. (handsontable/handsontable#3437)
- Updated an
README.md
entry regarding typescript. (#29) - Changed an improper link in
filters.js
. (#103) - Added tests for the
fixedRowsBottom
synchronization issue. (#96) - Fixed a bug, where the fixed rows on the bottom of the table would get out of sync. (handsontable/handsontable#5163)