Skip to content

v1.8.0 #149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Nov 10, 2020
Merged

v1.8.0 #149

merged 10 commits into from
Nov 10, 2020

Conversation

JoaoPedroAS51
Copy link
Collaborator

No description provided.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Test is required in order to generate coverage report.
Add dependencies `dotprop` and `dset` in order to remove `utils.js`.
Add nested filters support to `where` and `whereIn`.
Add a new method `config` to `Model.js`. It can be used to override the http instance (e.g. axios) configuration at query builder.
It can be used to change the method of update request to `PATCH`, to add additional data to the request, to add headers, and so on.
Add support to upload files by checking if data has instance of `File`. If so, it set the `Content-Type` to `multipart/form-data` and convert the data object to `FormData` using `object-to-formdata`.

Based on comment by @alvaro-canepa at #83
Accept array of strings for `include`, `append` and `orderBy`.
`with` is alias for `include`, `all` is alias for `get` and `$all` is alias for `$get`.
@JoaoPedroAS51 JoaoPedroAS51 merged commit f3d4cbf into master Nov 10, 2020
@github-actions
Copy link

🎉 This PR is included in version 1.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant