41 lines
1.4 KiB
Markdown
41 lines
1.4 KiB
Markdown
# Change log
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
|
# 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](https://github.com/pbeshai/react-url-query/blob/master/examples/basic/src/MainPage.js).
|
|
- You can also make use of new helper functions `multiReplaceInUrlQuery()` and `multiPushInUrlQuery()`.
|