All Versions
10
Latest Version
Avg Release Cycle
132 days
Latest Release
830 days ago

Changelog History

  • v3.0.0 Changes

    December 11, 2020

    πŸš€ This release adds support for React 17 and removes usage of UNSAFE React lifecycle methods, thanks to Nathan Bierema.

    ⚑️ It should be a fairly painless major upgrade since the API hasn't been changed at all. It's being published as 3.0.0 because the peer dependency range has been updated and the internal implementation has changed.

  • v2.2.2 Changes

    January 10, 2019
    • βž• added UNSAFE prefix to out of date react lifecycle hooks. thanks RanneyD
  • v2.2.1 Changes

    January 10, 2018
  • v2.2.0 Changes

    January 09, 2018
    • βž• added; extraWidth prop allows you to customise how much width is added to the detected width
    • πŸ›  fixed; SSR support is more robust, thanks Ivo Bathke
  • v2.1.2 Changes

    November 27, 2017
    • πŸ›  fixed; window reference is now guarded for SSR support, thanks Wout Mertens
  • v2.1.1 Changes

    November 26, 2017
    • πŸ›  fixed; props.id was overriding the internal inputId on the input element, but not being used in the stylesheet
    • πŸ›  fixed; IE stylesheet is now only injected when IE is detected in navigator.userAgent
  • v2.1.0 Changes

    November 23, 2017
    • πŸ›  fixed; inputId wasn't being applied correctly, thanks Jacco Flenter
    • βž• added; new injectStyles prop controls whether the IE stylesheet it injected
    • πŸ‘Œ improved; allow override of boxSizing and width styles via inputStyles, thanks Mike Fanger
    • πŸ‘Œ improved; propTypes are now stripped from the production build, thanks jochenberger
  • v2.0.1 Changes

    September 13, 2017
    • πŸ›  fixed; peer dependencies for prop-types
  • v2.0.0 Changes

    September 12, 2017
    • πŸ›  fixed; converted to es6 Class and removed create-react-class
    • πŸ”„ changed; default export is now an es6 module

    Note:

    πŸ“¦ As of 2.0.0 this package exports an es6 module in the main entry (/lib/AutoSizeInput.js). If you are in an older environment, you'll need to 0️⃣ refer to the .default export:

    var AutoSizeInput = require('react-input-autosize').default;
    

    Aside from this, the new version doesn't change any public API.

  • v1.2.0 Changes

    September 12, 2017
    • βž• added; inputRef prop (function, passed the reference to the input node)
    • πŸ›  fixed; resize issues in IE11, thanks Constantine
    • πŸ›  fixed; copyInputStyles() never running, thanks Michael ElsdΓΆrfer