Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

Latest commit

 

History

History
218 lines (122 loc) · 4.18 KB

CHANGELOG.md

File metadata and controls

218 lines (122 loc) · 4.18 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[2.3.6] - 2022-05-24

Changed

  • Updated tslib compat to be ^2.4.0

Fixed

  • Support for React 18
  • Updated react-with-forwarded-ref to solve legacy peer deps issue

[2.3.5] - 2022-03-02

Fixed

  • Fix SSR useLayoutEffect warning in nextjs (#84)

[2.3.4] - 2022-01-03

Changed

  • "Use useLayoutEffect instead of useEffect" (#72)

Fixed

  • "Textarea does not automatically recalculate size if it's parent container changes size" (#71). This adds a tiny dependency on fast-shallow-equal and pairs it with a custom hook to be able to detect shallow changes to a style object if it gets passed. We also are now resizing using a ResizeObserver, if it's supported, as well as if a provided className changes.

[2.3.3] - 2021-10-28

Fixed

  • Fix legacy peer deps issue

[2.3.2] - 2021-08-12

Fixed

  • Fix: use ChangeEvent over FormEvent (issue #61)

[2.3.1] - 2021-01-05

Fixed

  • "Force a resize if the provided value is changed" (PR #58 from @mat-sz)

[2.3.0] - 2020-12-08

Added

  • can now pass a callback-style ref instead of only the createRef or useRef variant object that has a current property; allows for tools like react-hook-form to work with this project (#52)

Changed

  • patch upgrade to react-with-forwarded-ref

[2.2.4] - 2020-12-03

Changed

  • simplified ref logic on textarea element
  • patch upgrade to ts-lib

[2.2.2] - 2020-08-28

Fixed

  • textareas with maxHeight not having a scrollbar (#43)

[2.2.2] - 2020-08-28

Changed

  • README update

[2.2.1] - 2020-08-28

Changed

  • now building output using tsc instead of rollup

Fixed

  • now exporting the textarea interface (should resolve #47)

[2.2.0] - 2020-03-14

Added

  • typescript support

Changed

  • license from ISC to BSD-3

Fixed

  • issue where line-height is normal and calculation breaks by falling back to fontSize * 1.2
  • upgrades to fix vulnerabilities

[2.1.2] - 2020-02-04

Added

  • Commonjs react-expanding-textarea.min.js build
  • UMD react-expanding-textarea.min.js build

Fixed

  • auto-adjusting issue in firefox (#33)

Changed

  • changed browser field value in package.json to point to dist/umd/react-expanding-textarea.min.js suffix

[2.1.1] - 2020-01-19

Fixed

  • README

[2.1.0] - 2020-01-19

Added

  • support for forwarding a ref (#36)
  • added babel-plugin-transform-react-remove-prop-types

[2.0.4] - 2020-01-05

Changed

  • bumped devDependencies
  • added UMD build
  • changed build location for commonjs and esmodules to dist/esm/ and dist/cjs.

[2.0.3] - 2019-10-14

Fixed

  • Fixed textarea growing before it needed to (#31)

[2.0.2] - 2019-09-11

Fixed

  • prop-types was being used but not included as a dependency

[2.0.1] - 2019-09-10

Changed

  • fixed security issues for sshpk, cached-path-relative and mixin-deep

[2.0.0] - 2019-09-07

Added

  • dependency on prop-types

Changed

  • build folder is now dist/
  • now building with rollup
  • now providing CJS & ESM dist files (main and module in package.json)

[1.0.0] - 2019-02-24

Added

  • responds to both onChange and onInput callbacks now

Changed

  • complete rewrite using React hooks. Minimum react peer dependency is now >= 16.8.

Fixed

  • includes a fix for #18

[0.2.0] - 2018-08-08

Added / Fixed

  • addressed #14 where the rows attribute was being disregarded. Now, it provides a means to provide a minimum/default number of rows. This is a minorversion bump because it will cause the component to behave differently for existing folks and is really more of an addition than a fix.

[0.1.10] - 2018-04-29

Fixed

  • fixed #10 where a change in the value prop was not recalculating the size

[0.1.9] - 2017-10-05

Fixed

  • support for react v16