Releases: kitze/react-hanger
Releases · kitze/react-hanger
v2.4.5
v2.4.0
v2.3.2
v2.2.1
No changes to the code, just clean up and fix the broken publish.
Commits:
- chore: small changes to package.json 023c137
- chore: small changes to package.json c39aaad
- chore: small changes to package.json 5c7cef6
- chore: revert prepublish 71a45b1
- chore: remove prepublish 839cf00
- chore: fix of file endings docs: added CONTRIBUTION.md docs chore: removed useless example, update CodeSandbox instead. 035d935
v2.2.0
This one is not going to work correctly at all. Use v2.2.1 instead. Broken publishing, sorry.
Commits:
- yarn update 5fdad28
- build: setup of np tool, for to ease publishing process ed0e652
- build: updated most of the tooling dependencies fix: small issues with typescript in tests build: added lint scripts 0d1a716 - chore: applied new prettier on codebase 0d1a716
- build: added sideEffects field on package.json to aid Webpack and other tools that support tree-shaking 0d1a716
- build: updated ESLint config to make stupid and simple 0d1a716
- Merge pull request #48 from OrLavy/feature/respectUseNumberLimits 37f2628
- Makes 'useNumber' respect lower and upper limits 189066e
- Feat/use array modify by id (#43) 7ecad74
Commit Range:
v2.1.3...v2.2.0
v2.1.3
In this release:
useSetState
Methods:
Added:
resetState()
- will reset the current state
to the value which you pass to the useSetState
hook
Commits:
feat: add resetState to useSetState
docs: added reset state to the ARRAY readme
build: added ESLint check to the build step
fix: fixed ESLint issues + added comments to ensure no stupid "fixes" are applied
Note:
Versions in range v2.1.0-2 were published in a wrong way, so, please, do not use them.
v2.1.0
v2.0.0: v2
Features:
- useMap hook added to manage Map in a nice and simple way
- Separate import for every function e.g.
react-hanger/useArray
- Two different import points for array API and object API
react-hanger
,react-hanger/array
- All typings are exported too for convenience of prop drilling etc.
Breaking: Migration guide
- Lifecycle hooks were removed
bind -> valueBind
,bindToInput -> eventBind
foruseInput
hook.
Documentation:
- Migration guide from v1 to v2 added
- Documentation updated to have all new APIs covered
Development:
- More tests covering optimizations etc.
- Build process changed in favor of more manual, but simple approach
- Rollup removed in favor of simple TS compilation
- Prettier rules change
- react-scripts removed in favor of just
jest
withts-jest