Skip to content
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

Strapi v4 is released #34

Closed
capsloq opened this issue Dec 6, 2021 · 4 comments
Closed

Strapi v4 is released #34

capsloq opened this issue Dec 6, 2021 · 4 comments

Comments

@capsloq
Copy link

capsloq commented Dec 6, 2021

Strapi v4 was released a couple of days ago.
Are there any plans to update this procject to make use of the new response format, filters etc. of strapi v4?

https://docs.strapi.io/developer-docs/latest/developer-resources/database-apis-reference/rest-api.html#delete-an-entry

@tuxyvarman
Copy link

Hi,

Perhaps it's better to create a new data provider project for the Strapi v4 ? I tried to modify the current data provider but the Strapi v4 doesn't send the same payload. I'm afraid that will make the spaghetti effect if we try to modify the current code for strapi 3 and 4.
What do you think ?

Best regards.

@Reggionick
Copy link

Hi,

In this fork I've updated the project in order to be compliant with the new v4 Strapi version. I haven't tested all the functionalities, if you find something broken I could fixit.

@tuxyvarman in my opinion it could be possible to create a breaking changes version, maintaining a version compatible with both v3 and v4 could be painful and unnecessary

@nazirov91 if you agree I could make a PR to your repo.

@capsloq
Copy link
Author

capsloq commented Jan 27, 2022

React Admin is also upgrading to a major version 4.0 in "early 2022"
marmelab/react-admin#5933

Maybe this should be waited for before investing too much time?

Thank you @Reggionick ! Will do some testing on it

@nazirov91
Copy link
Owner

Hi!

Please see the readme file. I have updated the package to make it work with Strapi V4. Please open a new issue if the problem persists.

Thanks!

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

No branches or pull requests

4 participants