All notable changes to the "react-proptypes" extension will be documented in this file.
Check Keep a Changelog for recommendations on how to structure this file.
- Support VS Code and Command Line
- Support Auto Generate Code
- Support Config Code Style
- Support Config Auto Import
- Fixed a bug about Windows OS CRLF
- Support Pure Function Component
- Support ObjectPattern in the Pure Function Component
- Fixed a bug that have are multiple component in a file
- Support Pure ArrowFunction Component
- Auto Import is defaults to ES6
- Update the vscode dependencies
- Changed the Component'name select way. Use cursor highlighting to select Component's name. Now you can make select Component's name' easier !!!
- Add more Code Style to configurations.
- Add configurations to automatically trigger vscode's formatting.
- Refactor PropTypes Generate's code, more stable search PropTypes.
- Full Support
shape
andfunc
automatically PropTypes Generate🎉🎉🎉.
- Fix
shape
type Generated bug !!!
- Support
bool
andnumber
type automatically PropTypes Generate🎉🎉🎉. - Fix a bug that in rare cases,
shape
will causeMax call stack exceeded
- Support config disable
shape
type generated, instead ofobject
type. - Support config not merge old PropTypes.
- Support config automatically generated
array
type instead ofshape
type that similar to Array Type
- Fix
noMergeOld
settings that get inverse value - Support
Null Propagation
- Support TypeScript
- Support HOC Component
- Support Batch generation of PropTypes, Now, only supports Command Line
- Fix a bug when
arrayOf
type nest inshape
type
- Add Setting for PropTypes's isRequired, named
isRequired
- Support for destructured
shape
type
- Add
semicolon
settings for code style; - Command Line Support
rpg.config.json
forproject
command;
- Add
lint-stage
Full Support
- Support keep PropTypes's comments
- Add
include
andexclude
settings forrpg.config.json
- Fix a bug that can't merge old PropTypes
- Fix a bug that glob path match in the
command line
- Fix
include
andexclude
path match bug in thelint-stage
- Fix a bug that
FunctionExpression
Component is distinguish asClass
Component
- Fix a bug that
'arrayOf', 'objectOf', 'instanceOf'
when merge old PropTypes - Add
mergeOldIfExist
settings for only merge exist PropTypes
- Fix
Command Line
can't be used in the Mac's OS
- Add
Sort
settings if you don't need to sort the PropTypes