Change log
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
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 whenaddChangeHandlers
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()
andmultiPushInUrlQuery()
.