The most used, flexible, fast and streaming parser for multipart form data. Supports uploading to serverless environments, AWS S3, Azure, GCP or the filesystem. Used in production.
MIT License
7.01k
stars
680
forks
source link
Upgrading from v1 to v2 changes File properties, even though documentation says v2 is API backwards compatible with v1 #773
I read the version notes here and it says that the V2 API is backwards compatible with V1, but that is apparently not the case. It would be helpful if the documentation could be updated to reflect the changes, so that people can more easily migrate their code.
Support plan
Context
What are you trying to achieve or the steps to reproduce?
In V1, the API for the 'File' object looks like this (roughly):
What was the result you got?
In V2, the API for the 'File' object looks like this (roughly):
What result did you expect?
I read the version notes here and it says that the V2 API is backwards compatible with V1, but that is apparently not the case. It would be helpful if the documentation could be updated to reflect the changes, so that people can more easily migrate their code.