Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Releases: handsontable/react-handsontable

4.0.0

05 Aug 11:15
4.0.0
7a58160
Compare
Choose a tag to compare

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

15 Apr 13:20
fe84b51
Compare
Choose a tag to compare

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

13 Dec 10:50
386a950
Compare
Choose a tag to compare

Changes

  • Fixed a bug, where the TypeScript typings were not available for the <HotTable> and <HotColumn> components. (#146)
  • Fixed the dependency issues thrown by npm audit. (#147, #150)

3.1.1

14 Nov 12:56
3331959
Compare
Choose a tag to compare

Changes

  • Fixed a bug, where the compatibility-checking function threw an error when the Handsontable's columns option was defined as a function. (#141)

3.1.0

28 Oct 12:34
78848f8
Compare
Choose a tag to compare

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

06 Mar 11:26
1501b70
Compare
Choose a tag to compare

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

06 Dec 12:01
9fe8752
Compare
Choose a tag to compare

Changes

  • Changed the handsontable peer dependency from ^version to >=version. (#113)
  • Updated jest to fix the security warning for the merge package. (#115)
  • Fixed the documentation links in README.md. (#112)
  • Removed the diagnostics: false flag from the jest configuration. (#117)

2.0.0

10 Oct 09:44
Compare
Choose a tag to compare

Breaking changes

  • The on- prefixes (as in onAfterChange) 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)

Changes

  • Added a version property to the component (as in HotTable.version), so it's easier to check which version we're using.

1.1.0

17 Aug 08:27
Compare
Choose a tag to compare

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

21 Jun 09:49
Compare
Choose a tag to compare

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, use

    import {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.