Skip to content
This repository has been archived by the owner on Jun 15, 2020. It is now read-only.

Latest commit

 

History

History
40 lines (23 loc) · 1.44 KB

CHANGELOG.md

File metadata and controls

40 lines (23 loc) · 1.44 KB

Change log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

1.4.0

  • Helpers to easily encode and decode queries based on urlPropsQueryConfig

1.3.0

  • Support global configuration of entrySeparator and keyValSeparator serialisation properties

1.2.0

  • Adds in numericArray and numericObject types
  • Fixes problem with React Router v4 where location could get out of sync (#22)
  • Updates addRouterParams feature to work with React Router v4's props.match.params

1.1.4

  • Fixes missed warnings about using prop-types npm package (#15)

1.1.3

  • Fixes bug where location prop wasn't recognized if search attribute was the empty string (#12)

1.1.2

  • Fixes warning about using prop-types npm package (#15)
  • Updates to use the latest React Router v4 API (#17)

1.1.1

  • Fixes bug where multiReplaceInUrlQuery and multiPushInUrlQuery were not exported. (#8)

1.1.0

  • Adds in support for changing multiple query parameters at once through the onChangeUrlQueryParams() callback. This function is passed as a prop when addChangeHandlers is true. It takes an object that maps prop names to unencoded values and updates all of them at once. See the Basic Example.
  • You can also make use of new helper functions multiReplaceInUrlQuery() and multiPushInUrlQuery().