Skip to content

Latest commit

Β 

History

History
248 lines (118 loc) Β· 8.61 KB

CHANGELOG.md

File metadata and controls

248 lines (118 loc) Β· 8.61 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.9.1 (2019-11-02)

Bug Fixes

  • security: update deps due to a security vuln in set-value (14f4a0d)

3.9.0 (2019-11-01)

Features

Bug Fixes

  • example/.snyk & example/package.json to reduce vulnerabilities (d9c8fc0)

3.8.1 (2019-10-05)

Bug Fixes

  • add password to the prop list (deeceb3)

3.8.0 (2019-10-02)

Features

  • add new prop showButtonsOnHover (0d17c53)
  • new prop onEditingStart to check if editing started (886df21)

3.7.0 (2019-09-14)

Bug Fixes

  • example/.snyk & example/package.json to reduce vulnerabilities (72ac01c)
  • migrate from componentWillReceiveProps to componentDidUpdate (c355915)

Features

  • get rid of our only dep: classnames. No more deps! (d042ddc)

3.6.1 (2019-08-13)

Bug Fixes

  • bug when updating value prop to blank (200f6ff)

3.6.0 (2019-08-10)

Features

  • Make editing state externally controllable (481c469)
  • text input now gets saved when enter is used, and gets canceled when escape is used (8f9fb2b)

3.5.0 (2019-08-08)

Features

  • make value prop controllable (361ac3b)

3.4.1 (2019-08-07)

3.4.0 (2019-08-06)

Features

  • add editOnViewClick prop to activate the edit mode by clicking the view instead of edit button (119b28b)

3.3.1 (2019-08-05)

3.3.0 (2019-07-05)

Features

  • add buttonsAlign prop to let users change the buttons location (d24360e)

3.2.1 (2019-06-05)

Bug Fixes

  • upgrade dev deps due to a vulnerability in handlebars (9fbbd30)

3.2.0 (2019-06-05)

Bug Fixes

  • example/package.json to reduce vulnerabilities (fe71d62)

Features

  • add new props to allow to override container styles. see #11 (18b914d)

3.1.2 (2019-04-26)

Bug Fixes

3.1.1 (2019-03-24)

Bug Fixes

  • package: add index.d.ts file to npm package (b40af98)

3.1.0 (2019-03-05)

Features

  • add typescript definition file [d.ts] (245a406)

3.0.1 (2019-03-04)

3.0.0 (2019-02-27)

Bug Fixes

  • styling: minor fixes in default styles (d76d8c2)

Features

  • allow any valid element for action buttons (c1bea76)
  • allow users to disable default icons (784dd48)

BREAKING CHANGES

  • prop names for buttons are now changed. see README.md

2.1.2 (2018-10-07)

Bug Fixes

  • styling: minor fixes in default styles (b33b5c4)

2.1.1 (2018-10-07)

Bug Fixes

  • styling: some styles override global css rules (14656d5)

2.1.0 (2018-10-05)

Bug Fixes

  • revert React.Fragment usage (3eaf836)

Features

  • allow any valid element for hint prop (1d802b6)

2.0.1 - October 2, 2018

  • fix - move inputProps top to prevent overrides to component logic.

2.0.0 - September 30, 2018 πŸš€ πŸ”₯ πŸ“Œ

This version brings some important and breaking changes. Please consider to upgrade v2.

And very special thanks to Oririner from Reddit for such a great and detailed review. This feedback helped me a lot especially to release this version.

  • inputProps and viewProps for both input and content div. πŸŽ‰

    You can customize input element and the div that shows edited value. See Examples pages for detailes usage.

  • onValidationFail prop. πŸŽ‰ πŸ”’

    You don't have to stick to the default validation message and styling. You can track the validity and act based on its value. See the examples page.

  • Add hint prop.

    Useful if you want to show a simple hint message at the bottom of input element.

  • Support for more input types. βœ…

    New Types -> date, datetime-local, time, month, url, week, tel

  • Add more examples -> https://alioguzhan.github.io/react-editext/
  • Remove inputClassName and containerClassName props ⚠️ ❌

    Since we added inputProps and viewProps these are no longer needed.

  • Remove save on press Enter feature. ⚠️ ❌

    This blocks new line feature in textarea.

1.2.1 - September 29, 2018

  • Added type=button to all buttons.
  • Improve tests

1.2.0 - September 23, 2018

  • Added className prop for custom styling to text content
  • Added tests

1.1.0 - September 22, 2018

  • Trigger save action on press Enter
  • Improve default styling for Firefox and Safari
  • Added this changelog

1.0.1 - September 22, 2018

  • Add validation feature. Now we can pass a function to validate the content before save it. See examples page for more details.

1.0.0 - September 21, 2018

  • Initial Release