5.2.2 (2021-03-19)
5.2.1 (2021-03-19)
- generla: optional chaining support (9ac114e)
5.2.0 (2021-03-19)
- isJSX: Add support for optional chainning (7aa0826)
5.1.1 (2021-01-06)
5.1.0 (2020-12-14)
- hooks-support: BREAKING CHANGE: Drop support to pre-hooks React versions (9421b2f)
5.0.4 (2020-12-14)
- build: all (8e82121)
5.0.3 (2020-12-14)
- build: config (3a6e65e)
5.0.2 (2020-12-14)
- all: improve react version detection (a2db33f)
5.0.1 (2020-05-31)
- function-to-class: Fix for wrap with useEffect refactoring relevancy detection. Closes #113 (c273fdc)
5.0.0 (2020-05-15)
- v5: New refactorings: wrap with useMemo, useCallback useEffect, rename state veriable (#112) (eba2954)
-
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)
- build: updated travis setup (efe0d8b)
4.21.0 (2020-04-05)
- general: auto import missing dependencies (3d506cc)
4.20.1 (2020-03-14)
- conditional: fixed wrapping with JSX expression when selection nested within JSX element. Fixes #105 (65393db)
4.20.0 (2020-01-05)
- config: support default exports (6e95589)
4.19.1 (2020-01-05)
- class-to-functional: fixed prop coversion (e133f0e)
4.19.0 (2019-10-31)
- class-to-functional: added support for converting class properties into useRef. Closes #77 (f399b84)
4.18.5 (2019-10-31)
- class-to-functional: useState calls not generated if no default is set (d2de1cd)
4.18.4 (2019-10-30)
4.18.3 (2019-10-30)
4.18.2 (2019-10-30)
4.18.1 (2019-10-30)
- class-to-functional: fixed return value of a generated state producer (f0be91d)
4.18.0 (2019-10-30)
- class-to-functional: fixed returned value from functional state producers (74f4a15)
4.17.0 (2019-10-29)
- class-to-functional: support for default state initialization through class property (5019116)
4.16.0 (2019-09-21)
- class-to-functional: added ability to disable conversion warning (a6a0789)
4.15.2 (2019-08-12)
- stateful-to-stateless: fixed windows filepath (a64aae1)
4.15.1 (2019-08-05)
4.15.0 (2019-07-16)
- class-to-functional: useCallback support for non-lifecycle methods (be3301b)
4.14.0 (2019-07-16)
- class-to-functional: useCallback support for non-lifecycle methods (9910ed8)
4.13.0 (2019-07-16)
- class-to-functional: useCallback support for non-lifecycle methods (cc82df7)
4.12.0 (2019-07-10)
- class-to-functional: add useCallback support when transforming non-lifecycle methods (7f75267)
4.11.0 (2019-05-10)
4.10.3 (2019-04-23)
4.10.2 (2019-04-09)
4.10.1 (2019-03-28)
- class-to-function: changed the labels of refactorings (d2848ee)
4.10.0 (2019-03-26)
- 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)
- extract-component: added extraction to the same file (63911e7)
4.9.0 (2019-03-11)
4.8.0 (2019-03-11)
- function-to-class: defaultProps support (c38683a)
4.7.0 (2019-03-10)
- functional-to-class: default props support (3cf1c65)
4.6.0 (2019-02-15)
- extract-component: Allow extracting component to same file (f012bda)
4.5.0 (2019-02-06)
- class-to-functional: use FC instead of SFC type in hooks are enabled (a97b963)
4.4.1 (2019-02-06)
- stateful-to-stateless: fix crash in case constructor doesnt have state init (493ecd9)
4.4.0 (2019-02-06)
- general: Glean V5 with Hooks support BREAKING CHANGES (f94f81f)
4.3.0 (2019-02-05)
4.2.5 (2019-01-13)
- docs: fixed the description in the market (f6d8cf7)
4.2.5 (2019-01-13)
- docs: fixed the description in the market (f6d8cf7)
4.2.5 (2019-01-10)
- docs: fixed the description in the market (f6d8cf7)
4.2.4 (2019-01-06)
4.2.3 (2018-11-08)
- stateless-to-stateful: fixed crash when converting component with JSX behind logical opetator (9427e5e)
4.2.2 (2018-11-06)
- export-component: Windows 10 support (96f875c)
4.2.1 (2018-11-05)
- 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)
- 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)
- stateful-to-stateless: The type annotation of generated component will now use official React typings (SFC) (f7c27f8)
4.0.7 (2018-10-31)
- extract-component: the snippet will be wrapped with fragment only if it contains multiple lines (24ff2b0)
4.0.6 (2018-10-30)
- statless-to-stateful: typescript annotation of props will be maintained when refactoring (a6ac8a9)
4.0.5 (2018-10-30)
- stateless-to-stateful: fixed crash when retun statement wasnt the first statement in function body (e3bafd9)
4.0.4 (2018-10-28)
- stateless-to-stateful: faced component name becoming lowercase after applying the refactoring (ac551b6)
4.0.3 (2018-10-25)
- stateless-to-stateful: added support for rest operator in props (b268951)
4.0.2 (2018-10-25)
- docs: documentation fixes (4cfe362)
4.0.1 (2018-10-24)
- configuration: jsFilesExtensions type fix (de7e878)
- configuration: jsFilesExtensions type fix (602efce)
4.0.0 (2018-10-24)
- configuration: fixed typo in configuration that caused a crash (6aa25bc)
- configuration: changed configuration name for JS file extensions
3.3.4 (2018-10-23)
- docs: fixed docs (5ff1737)
3.3.3 (2018-10-23)
- Stateless-to-Stateful: Fix refactoring components declared through variable declaration. (c936135)
3.3.2 (2018-10-08)
- deps: updated vulnerable deps (0393e45)
3.3.1 (2018-08-14)
- documentation (879d314)
3.3.0 (2018-08-05)
3.2.9 (2018-08-04)
- extract-component: fixed component generation that includes instance references (d6b240b)
3.2.8 (2018-07-26)
- Avoid throwing exceptions to extension container on empty selection (cc94be7)
3.2.7 (2018-07-25)
- dummy commit to check if publishing was fixed (ac18d6e)
3.2.6 (2018-07-25)
- Avoid throwing exceptions to extension container when selection is not parseable (e4706b9)
3.2.5 (2018-07-24)
- "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)
- "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)
- "Extract" operations in no-workspace scenario (8f4c933)
3.2.4 (2018-07-05)
3.2.3 (2018-07-02)
- docs (884d49f)
3.2.2 (2018-07-02)
- docs: added logo (61ef292)
3.2.2 (2018-07-02)
- docs: added logo (61ef292)
3.2.1 (2018-07-02)
- docs: added icon (78a1470)
3.2.0 (2018-07-01)
- trigger release (afc516e)
3.1.0 (2018-07-01)
- implementation for refactoring stateful to stateless component (90a33a6)
3.1.0 (2018-07-01)
- implementation for refactoring stateful to stateless component (90a33a6)
3.0.5 (2018-06-28)
3.0.4 (2018-06-28)
- fixed code actions menu (854494d)
3.0.3 (2018-06-27)
- docs: generated CHANGELOG (26daff1)