Skip to content

Latest commit

 

History

History
238 lines (107 loc) · 9.28 KB

CHANGELOG.md

File metadata and controls

238 lines (107 loc) · 9.28 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.13.3 (2022-02-10)

Bug Fixes

  • expose the SyncState implementation together as a class (fdaed9f)

1.13.2 (2022-01-28)

Bug Fixes

  • url: encodeURLParams() encode parameter keys (a3b8243)
  • url: skip encode undefined param into string (f792b34)

1.13.1 (2021-12-01)

Bug Fixes

  • turn on esModuleInterop in ts config (8c453d5)

1.13.0 (2021-11-30)

Features

  • add useSyncStateEffect, useDeepEqualMemo (a272d2e)

1.12.3 (2021-11-19)

Bug Fixes

  • make ReactiveSyncState update before fire event to default event listener (2d71ead)
  • put listener into callback proxy for useSyncStateListener (4d96f93)

1.12.2 (2021-11-16)

Bug Fixes

  • revert back to useEffect in useSyncStateValue() (4fb89e6)

1.12.1 (2021-11-16)

Bug Fixes

  • useLayoutEffect for useSyncStateValue() to ensure it update to date (24b1001)

1.12.0 (2021-11-15)

Features

  • add useSyncStateWrapper() (e534ddf)

1.11.0 (2021-11-05)

Features

  • add useSyncState hooks for synchronous state management (824c074)

1.10.2 (2021-10-22)

Bug Fixes

  • ts: ListenerHolder type defaults to (...args: unknown[]) (34c6a99)

1.10.1 (2021-10-21)

Bug Fixes

  • types: use (...args: never[]) => unknown for generic function base type (875624d)

1.10.0 (2021-10-09)

Features

Bug Fixes

  • add null check for encodeURLParams, mergeURLParams, decodeURLParams (16f79ad)

1.9.0 (2021-10-08)

Features

  • add removeURLParams() and removeURLHashParams() (88c60c0)

1.8.1 (2021-08-06)

Bug Fixes

  • Promisify should get Promise (bcea482)

1.8.0 (2021-07-30)

Features

  • add withClassComponentWrapper (27e644d)

1.7.2 (2021-07-22)

Bug Fixes

  • change the default roundMethod to "round" for formatNumber() (6d582ac)

1.7.1 (2021-07-22)

Bug Fixes

  • deal with floating point precision issue for formatNumber() (3d65c65)

1.7.0 (2021-07-10)

Features

1.6.2 (2021-05-31)

Bug Fixes

  • use useLayoutEffect() for useRefWrapper, to get the ref value synced in sync way (47eb44b)
  • deps: update jest, ts-jest to v27 (f7c7b86)

1.6.1 (2021-05-23)

Bug Fixes

  • useRefWrapper() sets value in effect (866e8ae)

1.6.0 (2021-05-11)

Features

  • add useUpdateEffect() hook (5307a6b)

Bug Fixes

  • add typify() method as shorthand (be554c8)

1.5.0 (2021-03-23)

Features

  • add getURLParam(), getAllURLParams(), getURLHashParam(), getAllURLHashParams() (ecd8fdf)
  • parseURL() support optional base param (8d2ce05)

1.4.1 (2021-03-17)

Bug Fixes

  • decodeURLParams() allows empty param to be decoded to empty string (d28d116)

1.4.0 (2021-03-10)

Features

  • types: add ParametersTypes<> and Promisify<> (9834ff5)

1.3.0 (2021-03-05)

Features

  • add isEqualTo() to VersionComparer (7d1ebcc)
  • add Typify<> to types (70c67be)

Bug Fixes

  • add eslint config and fix issues (e9a49ae)

1.2.2 (2021-01-29)

Bug Fixes

  • ComposeProviders should return ReactElement (446534f)

1.2.1 (2021-01-29)

Bug Fixes

  • expose ComposeProviders in react/index (7a08a45)

1.2.0 (2021-01-28)

Features

  • add react component for compose multiple context providers in a cleaner way (76192ea)
  • add type utilities PropertyType<> and ArrayItemType<> (12abe1f)

1.1.0 (2021-01-21)

Features

1.0.1 (2021-01-19)

1.0.0 (2021-01-19)

Features