Releases: cbrianball/ts-odata-client
2.0.2 Release
The following updates are included in this release:
- New type:
ODataExpression
. Allows building of an OData query, but returns query segments instead of fetching data (#28)- Useful when integrating with 3rd party libraries that handle data fetching
- Handle server-side paging by providing a
next
function to be invoked to retrieve the next page. The function is only defined if the server has indicated that there are additional pages of data (#29) ODataQuery
is now an async iterable protocol, meaning it can be the target of afor await ... of
statement (#29)
2.0.1 Release
The following updates are included in this release:
- Allow usage of
expand
on non-collection based navigation properties (#10) - Allow developer to define default shape of result, when no
select
orexpand
operators have been used (#11)- Prior to this change, it was assumed that all collection-based properties were not included in the OData return type
- This is still the default behavior when no default shape is specified
- Prior to this change, it was assumed that all collection-based properties were not included in the OData return type
Version 2 Release
This latest version has breaking changes from the previous major version (1.x). Please see Readme.md file for details on the breaking changes and how to update existing code.
2.0.0 Preview 3
No material change from Preview 2. Mostly worked on automating publishing the npm package.
2.0.0 Preview 2
Updated orderBy, orderByDescending, and select query options to use functions and proxies.
2.0.0 Preview Release
This is a rewrite of the filtering engine of this library. Please see readme.md file for more details.
Allow Promise-based RequestInit function
Allows for async Promise-based method for initializing the RequestInit
of each fetch call. This will allow, among other things, for the ability to get auth tokens to attach to the request.
v1.0.0
Initial release.