Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Latest commit

 

History

History
185 lines (86 loc) · 7.75 KB

CHANGELOG.md

File metadata and controls

185 lines (86 loc) · 7.75 KB

Changelog

6.0.0 (2023-12-27)

Breaking

  • deprecation - React Router v6 support (#203) (5f24be5), closes #203

5.7.4 (2023-03-05)

Fix

  • incorrect method name in README (#200) (255e92b), closes #200

5.7.3 (2023-01-09)

Fix

5.7.2 (2022-11-21)

Fix

5.7.1 (2022-11-10)

Fix

5.7.0 (2022-10-22)

New

5.6.1 (2022-10-19)

Fix

  • upgrade dependabot alerts in example (#189) (a06b7fd), closes #189

5.6.0 (2022-08-30)

Update

  • resolutions for dependabot warnings (#188) (92428b5), closes #188

5.5.0 (2022-08-17)

Update

  • security upgrade react-scripts (#186) (a9a5034), closes #186

5.4.0 (2022-08-04)

Update

5.3.0 (2022-07-10)

Update

  • dependabot packages updates (#182) (3e4d5dd), closes #182

5.2.1 (2022-02-28)

Fix

  • Can't use with npm 8 and react 17 (#169 #155) (6e88d30), closes #169 #155

5.2.0 (2022-02-28)

Update

  • dependabot packages updates (#167) (9f78872), closes #167

5.1.1 (2021-11-21)

Fix

  • Manual dependabot alerts (#149) (55adfdd), closes #149

5.1.0 (2021-11-20)

Update

5.0.0 (2021-09-30)

Breaking

  • support for array in query params (#130) (8a71cf7), closes #130

4.2.4 (2021-09-26)

Fix

4.2.3 (2021-09-09)

Fix

4.2.2 (2021-07-26)

Fix

  • auto-generated CHANGELOG (#106) (9e3e4b5), closes #106

[4.1.0] - 2021-05-28

Add useUrlState to change both Route Params and Query String.

Added

  • useUrlState: with type (defaultValues?: UrlState): [UrlState, DispatchState<UrlState>].

[4.0.0] - 2021-05-26

Update useQueryStringKey to allow dispatch.

Added

  • Hooks test coverage. Now we can reproduce bug easily.

Changed

  • useQueryStringKey: now with the type (key: string, defaultValue?: string) => [string | undefined, Dispatch<SetStateAction<string>>] (Now you can update with the previous value)
  • breaking changes: The behaviour of useQueryStringKey in case of updating with empty string or undefined was not clear. You may expect for breaking changes in this case.

[3.0.2] - 2021-05-20

Dependencies Upgrades.

[3.0.1] - 2021-04-11

Major release fixes.

Fixed

  • QueryStringKey resets the query string.

[3.0.0] - 2021-04-11

Change the API to the useState interface.

Added

  • useRouteParams: with the type (defaultValues?: Record<string, string>) => [Record<string, string>, DispatchState]
  • useQueryString: with the type (defaultValues?: Record<string, string>) => [Record<string, string>, DispatchState]
  • useQueryStringKey: with the type (key: string, defaultValue?: string) => [string | undefined, (updatedValue: string) => void]

Changed

  • DEPRECATED: useParamsAsState, useQueryAsState, useQueryKeyAsState