Releases: handsontable/react-handsontable
4.0.0
Breaking changes
- Updated Handsontable to
8.0.0
, which contains multiple changes, some of them not backward-compatible. For more information on updates in this version of Handsontable, see the 8.0.0 release notes. (#191)
Changes
- Updated some of the dependencies to resolve
npm audit
vulnerability warnings. (#191)
3.1.3
Changes
- Fixed an issue where minification caused the wrapper to only register the first declared editor component. (#152)
- Moved the
warn
helper to the react wrapper repository (#151) - Added Codesandbox CI configuration file to automatically run tests on PRs (#174)
- Fixed an issue: "TypeScript error: 'HotTable' refers to a value, but is being used as a type here" when using hotRef: React.RefObject (#178)
3.1.2
3.1.1
3.1.0
Changes
- We're introducing the component and a possibility to use React components as Handsontable renderers and editors.
The component allows declaring column-related Handsontable settings by passing it as its props, or, in case of component-based editors and renderers, as its children.
For more information on the subject, see the @handsontable/react documentation.(#130)
3.0.0
Changes:
- Merged the
@handsontable/react
and@handsontable-pro/react
packages into one, working with handsontable@7.0.0
+. - Updated Babel to
7
.
2.1.0
2.0.0
Breaking changes
- The
on-
prefixes (as inonAfterChange
) were removed from hook declaration names, to simplify the Handsontable configuration, when migrating from the vanilla version.
After this change, the hooks should be declared exactly like in the plain JS Handsontable config:- Was:
onAfterChange: function() { }
- Is:
afterChange: function() { }
(#101)
- Was:
Changes
- Added a
version
property to the component (as inHotTable.version
), so it's easier to check which version we're using.
1.1.0
Changes
- Rewritten the wrapper to TypeScript. (#14)
- Added the Issue template (#87)
- Added the Pull Request template (#87)
- Fixed small Readme issues. (#77, #78)
- Utilized the React's
ref
. (#19) - Modified the default
id
string structure. (#76) - Added the sourcemaps for the
dist
package. (#94) - Fixed a problem with a wrong browser component global. (#89)
1.0.0
Breaking changes
We've refactored the library, as the previous configuration caused multiple problems with installation. The main changes are:
-
The wrapper will no longer be available as
react-handsontable
. We've split the library into a Handsontable CE and Handsontable Pro-based builds.They are available under two scopes:
@handsontable/react
and@handsontable-pro/react
.For more information on how to install this wrapper, see the Handsontable for React documentation.
-
As Handsontable is listed as a peer dependency, it's not a part of the wrapper, and neither is the
.css
for it. In order for this wrapper to run properly, you'll need to add it manually, however you'd like. -
The
HotTable
component is no longer a default export. To import it into your app, useimport {HotTable} from '@handsontable/react';
instead of
import HotTable (...)
Please, switch your configuration to use: @handsontable/react, if you're using Handsontable, or @handsontable-pro/react, if you're using Handsontable Pro.