- Add support for all react-admin filter operators thanks to @yarkovaleksei
- Support for expand, select, and sort transformations, thanks to @yarkovaleksei
- Fix promise handling in deleteMany, thanks again to @gebsl!
- Update npm dependencies
- Add list filter support, thanks again to @gebsl!
- Update @odata/client to v2.21.6
- Update npm dependencies
- BREAKING CHANGE If you were returning the
headers
property in the options callback, this property name has changed tocommonHeaders
for compatibility with the underlying @odata/client library - Add support for returning a
fetchProxy
to allow users complete control over the fetch operation. Fixes #11 and #13. Thanks to @gebsl for the contribution! - Add support for
Edm.Int16
andEdm.Int64
identifiers. Fixes #12, thanks again to @gebsl!
- fix bug where update() wasn't returning the new record
- Move ra-core from devDependencies to Dependencies
- Major version as there are breaking changes
- Add support for react-admin 4.x, drop 3.x
- Switch from odata-client to @odata/client package
- Add OData action support
- Add an example react-admin 4.x site
- Use a proxy for example sites to avoid CORS issues
- Fix some ID remapping issues
- Put odata-client back to 0.6.16 since the new got dependency breaks the browser
- Update npm dependencies to fix Dependabot alerts
- Update odata-client dependency to 0.7.0
- Update npm dependencies to fix #6 - json-schema vulnerability
- Document authentication hook
- Handle all HTTP success status on POSTs (thanks @petecollins73)
- Change ra_data_odata_server() factory to take a callback that returns
Promise<RequestInit>
instead ofRequestInit
. This allows for supplying a different structure on every call so you can handle things like authentication token expiration. This is a breaking change if you were previously passing aRequestInit
structure. - Cleanup some
any
typescript warnings - Add changelog.md