Releases: rdytech/react-filterbar
Releases · rdytech/react-filterbar
2.0.0
Saved Search API
GET
- Change the format for loading filters for Saved Search API. 2.0.0. implements new format for saving using
POST
request.GET
is changed to support the new format of saved search. It is also backward compatible with the format in 1.. for loading saved search.
The new format for loading filter configurations for Saved Search API is:
[
{
name: NAME,
configuration: [
{
uid: "dt.filterName",
type: "select",
field: "dt.field",
value: "User selected value",
},
...,
],
url: "/saved_searches/my_id",
},
...,
]
and the old format of version (1..) that is still supported by backward compatibility is:
[
{
name: NAME,
configuration: {
"dt.filterName":"value",
...
},
url: '/saved_searches/my_id'
}, ...
]
POST
- Change the format for saving filters for Saved Search API. The new format for saved search is:
{
"saved_search": {
"search_title": "user entered value",
"filters": '[{"uid":"dt.filterName","type":"select","field":"dt.field","value":"User selected value"},{"uid":"dt.filterName","type":"text","field":"dt.field","value":"User entered value"}]',
}
}
"filters" key now stores Stringified JSON value. The JSON format of parsed "filters" is:
[
{
uid: "dt.filterName",
type: "select",
field: "dt.field",
value: "User selected value",
},
{
uid: "dt.filterName",
type: "text",
field: "dt.field",
value: "User entered value",
},
];
New Option "Relative from today" - RelativeDateInput
1.26.0 [NEP-12470] relative date filter new option
Fix "Older than" relative date inputs
Merge pull request #102 from jobready/NEP-10976
Add 1 day to each 'Older than' relative option
Do not validate unknown filters
Merge pull request #100 from jobready/NEP-10395
Do not validate unknown filters
Add 'none' options to MultiSelectInput
Merge pull request #99 from jobready/feature/NEP-9405-add-missing-any-option-to-multi-select
NEP-9405 Update "ANY/ALL selected" filters with a new option "MISSING ANY selected"
bump react to 0.14
1.22.0 1.22.0
Fix XSS Vunerability
Merge pull request #91 from jobready/NEP-9779 NEP-9779 React filter-bar: XSS proofing
Relative Date Filters
1.20 Merge pull request #85 from jobready/feature/NEP-8884-relative-date-f…
Address security vulnerabilities
Merge pull request #73 from jobready/NEP-8149 NEP-8149 Update dependencies
Persist Multi-Select operator selection between visits
Merge pull request #70 from jobready/feature/NEP-7981 NEP-7981: Persist Multi-Select operator selection between visits