odata_query 2.8.0
odata_query: ^2.8.0 copied to clipboard
OData Query Builder is a simple Dart package for building OData query parameter for your REST API.
2.8.0 #
- Enhanced automatic parentheses handling: Improved algorithm for
Filter.andandFilter.orto intelligently add parentheses only where needed for compound expressions. - Improved NOT filter:
Filter.notnow correctly wraps compound expressions in parentheses (e.g.,not (A and B)instead ofnot A and B).
2.7.0 #
- Automatic parentheses for nested filter expressions.
Filter.andandFilter.ornow automatically add grouping parentheses around sub-expressions that contain logical operators (AND/OR) to ensure proper OData operator precedence and avoid logic errors. - This ensures compliance with OData specification requirements for logical operator precedence.
- Complex nested filters now generate correct query strings that return expected results from OData services.
2.6.0 #
- Filters
Filter.andandFilter.ornow accepts lists for more flexible queries. If the list is empty, the filter is omitted.
2.5.0 #
- Added OrderBy chaining:
thenAscandthenDesc.
2.4.0 #
- Added
containsfilter. - Added
startsWithandendsWithfilters. - Added negation
not. - Updated readme and example.
2.3.0 #
- Added
anyandallfilters. - Updated readme and example.
2.2.0 #
- Added
inListandinCollectionfilters. - Updated readme and example.
2.1.0 #
- Added
toEncodedString()and normaltoString()does not encode the query. - Fixed typo in
scr->srcfolder. - Example for nested odata queries.
2.0.0 #
toString()andtoMap()functions instead ofbuild().
1.0.0 #
- Initial release of odata_query package.