Skip to content

Releases: kitze/react-hanger

v2.4.5

02 Oct 00:02
Compare
Choose a tag to compare

What's Changed

  • fix non-working loop when lowerLimit equals 0 by @yutro in #78

New Contributors

  • @yutro made their first contribution in #78

Full Changelog: v2.4.3...v2.4.5

v2.4.0

22 Apr 15:00
Compare
Choose a tag to compare

It released, whatever. Check commits.

Sorry don't have time for proper changelogs.

v2.3.2

27 Jan 16:37
Compare
Choose a tag to compare

Fixed: useNumber increase with loop works unexpectedly. #54

v2.2.1

19 Apr 17:34
Compare
Choose a tag to compare

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

19 Apr 16:10
Compare
Choose a tag to compare

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

09 Sep 13:02
Compare
Choose a tag to compare

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

16 Jul 17:38
Compare
Choose a tag to compare
  • feat: add delete to useMap
  • feat: add pop, shift, unshift, push to useArray
  • refactoring: reuse of Actions types in object version
  • docs: added new APIs to the docs
  • refactoring: use array versions in object versions to reduce bundle size.

v2.0.0: v2

30 Apr 08:55
Compare
Choose a tag to compare

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 for useInput 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 with ts-jest

v1.2.0

08 Apr 23:04
Compare
Choose a tag to compare
  • Documentation for move function added 5144415
  • d.ts is replaced in favor of native TypeScript implementation
  • Additional useMemo optimizations
  • Few tests here and there to be sure that nothing got broken a3b1534
  • fix packages 2ccff41

v1.1.4...v1.2.0