Skip to content

Latest commit

 

History

History
637 lines (279 loc) · 22.1 KB

CHANGELOG.md

File metadata and controls

637 lines (279 loc) · 22.1 KB

5.2.2 (2021-03-19)

Bug Fixes

  • class-to-function: Fixed conversion of class properties with function value. Fixes #95 (e5177a1)

5.2.1 (2021-03-19)

Bug Fixes

  • generla: optional chaining support (9ac114e)

5.2.0 (2021-03-19)

Features

  • isJSX: Add support for optional chainning (7aa0826)

5.1.1 (2021-01-06)

Bug Fixes

  • class-to-functional: fixd support for props distructuring. Fixes #95 (060958c)

5.1.0 (2020-12-14)

Features

  • hooks-support: BREAKING CHANGE: Drop support to pre-hooks React versions (9421b2f)

5.0.4 (2020-12-14)

Bug Fixes

5.0.3 (2020-12-14)

Bug Fixes

5.0.2 (2020-12-14)

Bug Fixes

  • all: improve react version detection (a2db33f)

5.0.1 (2020-05-31)

Bug Fixes

  • function-to-class: Fix for wrap with useEffect refactoring relevancy detection. Closes #113 (c273fdc)

5.0.0 (2020-05-15)

Features

  • v5: New refactorings: wrap with useMemo, useCallback useEffect, rename state veriable (#112) (eba2954)

BREAKING CHANGES

  • v5: Hooks support will now be activated automatically based on React version (16.8 and up) instead of a flag

  • feat(rename-state-variable): New Refactoring! Rename State Variable

  • feat(hooks-support): activate hooks support based on react version

  • removed excess deps

  • refactoring + wrap with effect refactoring

  • feat(wrap-with-useCallback): New refactoring - wrap function with useCallback

  • ts fix

  • feat(wrap-with-usememo): New! Wrap expressions with useMemo

  • docs: updated teh docs

  • fix(wrap-with-memo): improved case detection

  • docs: added new refactorings

  • docs

  • docs

4.21.1 (2020-04-05)

Bug Fixes

  • build: updated travis setup (efe0d8b)

4.21.0 (2020-04-05)

Features

  • general: auto import missing dependencies (3d506cc)

4.20.1 (2020-03-14)

Bug Fixes

  • conditional: fixed wrapping with JSX expression when selection nested within JSX element. Fixes #105 (65393db)

4.20.0 (2020-01-05)

Features

  • config: support default exports (6e95589)

4.19.1 (2020-01-05)

Bug Fixes

  • class-to-functional: fixed prop coversion (e133f0e)

4.19.0 (2019-10-31)

Features

  • class-to-functional: added support for converting class properties into useRef. Closes #77 (f399b84)

4.18.5 (2019-10-31)

Bug Fixes

  • class-to-functional: useState calls not generated if no default is set (d2de1cd)

4.18.4 (2019-10-30)

Bug Fixes

4.18.3 (2019-10-30)

Bug Fixes

4.18.2 (2019-10-30)

Bug Fixes

4.18.1 (2019-10-30)

Bug Fixes

  • class-to-functional: fixed return value of a generated state producer (f0be91d)

4.18.0 (2019-10-30)

Bug Fixes

  • class-to-functional: fixed returned value from functional state producers (74f4a15)

Features

  • class-to-functional: support for functional state updates (#86) (6c6fa06)

4.17.0 (2019-10-29)

Features

  • class-to-functional: support for default state initialization through class property (5019116)

4.16.0 (2019-09-21)

Bug Fixes

  • experiments: update experiments settings schema in package.json (#82) (92066b5)

Features

  • class-to-functional: added ability to disable conversion warning (a6a0789)

4.15.2 (2019-08-12)

Bug Fixes

  • stateful-to-stateless: fixed windows filepath (a64aae1)

4.15.1 (2019-08-05)

Bug Fixes

4.15.0 (2019-07-16)

Features

  • class-to-functional: useCallback support for non-lifecycle methods (be3301b)

4.14.0 (2019-07-16)

Features

  • class-to-functional: useCallback support for non-lifecycle methods (9910ed8)

4.13.0 (2019-07-16)

Features

  • class-to-functional: useCallback support for non-lifecycle methods (cc82df7)

4.12.0 (2019-07-10)

Features

  • class-to-functional: add useCallback support when transforming non-lifecycle methods (7f75267)

4.11.0 (2019-05-10)

Features

  • general: Disabled the extension for plain text files (#70) (db119ef)

4.10.3 (2019-04-23)

Bug Fixes

4.10.2 (2019-04-09)

Bug Fixes

4.10.1 (2019-03-28)

Bug Fixes

  • class-to-function: changed the labels of refactorings (d2848ee)

4.10.0 (2019-03-26)

Bug Fixes

  • class-to-functional: useState hook not added for state variables not inited or set (32c71f6)
  • extract-component: incorrect handling of nested member expressions. Fixes #62 (1840c64)

Features

  • extract-component: added extraction to the same file (63911e7)

4.9.0 (2019-03-11)

Features

  • function-to-class: defaultProps support (c650f96)
  • function-to-class: defaultProps support (2bc5858)

4.8.0 (2019-03-11)

Features

  • function-to-class: defaultProps support (c38683a)

4.7.0 (2019-03-10)

Features

  • functional-to-class: default props support (3cf1c65)

4.6.0 (2019-02-15)

Features

  • extract-component: Allow extracting component to same file (f012bda)

4.5.0 (2019-02-06)

Features

  • class-to-functional: use FC instead of SFC type in hooks are enabled (a97b963)

4.4.1 (2019-02-06)

Bug Fixes

  • stateful-to-stateless: fix crash in case constructor doesnt have state init (493ecd9)

4.4.0 (2019-02-06)

Features

  • general: Glean V5 with Hooks support BREAKING CHANGES (f94f81f)

4.3.0 (2019-02-05)

Features

4.2.5 (2019-01-13)

Bug Fixes

  • docs: fixed the description in the market (f6d8cf7)

4.2.5 (2019-01-13)

Bug Fixes

  • docs: fixed the description in the market (f6d8cf7)

4.2.5 (2019-01-10)

Bug Fixes

  • docs: fixed the description in the market (f6d8cf7)

4.2.4 (2019-01-06)

Bug Fixes

4.2.3 (2018-11-08)

Bug Fixes

  • stateless-to-stateful: fixed crash when converting component with JSX behind logical opetator (9427e5e)

4.2.2 (2018-11-06)

Bug Fixes

  • export-component: Windows 10 support (96f875c)

4.2.1 (2018-11-05)

Bug Fixes

  • extract-component: Fixed feature on Windows 10. Changed URI resolution API used to resolve path while using the refactoring (29b808a)

4.2.0 (2018-11-02)

Features

  • stateless-to-stateful: Type annotation can now be extracted from variable declaration annontation (SFC) in addition to prop argument annotation (8f572c3)

4.1.0 (2018-11-01)

Features

  • stateful-to-stateless: The type annotation of generated component will now use official React typings (SFC) (f7c27f8)

4.0.7 (2018-10-31)

Bug Fixes

  • extract-component: the snippet will be wrapped with fragment only if it contains multiple lines (24ff2b0)

4.0.6 (2018-10-30)

Bug Fixes

  • statless-to-stateful: typescript annotation of props will be maintained when refactoring (a6ac8a9)

4.0.5 (2018-10-30)

Bug Fixes

  • stateless-to-stateful: fixed crash when retun statement wasnt the first statement in function body (e3bafd9)

4.0.4 (2018-10-28)

Bug Fixes

  • stateless-to-stateful: faced component name becoming lowercase after applying the refactoring (ac551b6)

4.0.3 (2018-10-25)

Bug Fixes

  • stateless-to-stateful: added support for rest operator in props (b268951)

4.0.2 (2018-10-25)

Bug Fixes

  • docs: documentation fixes (4cfe362)

4.0.1 (2018-10-24)

Bug Fixes

  • configuration: jsFilesExtensions type fix (de7e878)
  • configuration: jsFilesExtensions type fix (602efce)

4.0.0 (2018-10-24)

Bug Fixes

  • configuration: fixed typo in configuration that caused a crash (6aa25bc)

BREAKING CHANGES

  • configuration: changed configuration name for JS file extensions

3.3.4 (2018-10-23)

Bug Fixes

3.3.3 (2018-10-23)

Bug Fixes

  • Stateless-to-Stateful: Fix refactoring components declared through variable declaration. (c936135)

3.3.2 (2018-10-08)

Bug Fixes

  • deps: updated vulnerable deps (0393e45)

3.3.1 (2018-08-14)

Bug Fixes

3.3.0 (2018-08-05)

Features

  • "Render Conditionally" command for JSX (#16) (ab8a7cf)

3.2.9 (2018-08-04)

Bug Fixes

  • extract-component: fixed component generation that includes instance references (d6b240b)

3.2.8 (2018-07-26)

Bug Fixes

  • Avoid throwing exceptions to extension container on empty selection (cc94be7)

3.2.7 (2018-07-25)

Bug Fixes

  • dummy commit to check if publishing was fixed (ac18d6e)

3.2.6 (2018-07-25)

Bug Fixes

  • Avoid throwing exceptions to extension container when selection is not parseable (e4706b9)

3.2.5 (2018-07-24)

Bug Fixes

  • "Extract" operations in no-workspace scenario (8f4c933)
  • Simpler and more resilient generation of component name from file name (ee6c4d6)

3.2.5 (2018-07-24)

Bug Fixes

  • "Extract" operations in no-workspace scenario (8f4c933)
  • Simpler and more resilient generation of component name from file name (ee6c4d6)

3.2.5 (2018-07-24)

Bug Fixes

  • "Extract" operations in no-workspace scenario (8f4c933)

3.2.4 (2018-07-05)

Bug Fixes

3.2.3 (2018-07-02)

Bug Fixes

3.2.2 (2018-07-02)

Bug Fixes

3.2.2 (2018-07-02)

Bug Fixes

3.2.1 (2018-07-02)

Bug Fixes

3.2.0 (2018-07-01)

Features

3.1.0 (2018-07-01)

Features

  • implementation for refactoring stateful to stateless component (90a33a6)

3.1.0 (2018-07-01)

Features

  • implementation for refactoring stateful to stateless component (90a33a6)

3.0.5 (2018-06-28)

Bug Fixes

3.0.4 (2018-06-28)

Bug Fixes

  • fixed code actions menu (854494d)

3.0.3 (2018-06-27)

Bug Fixes

  • docs: generated CHANGELOG (26daff1)