PackageTrack
Sign in Get early access

ecodev/graphql-upload

A middleware to support file uploads in GraphQL

8.0.1 2.3M downloads/mo #4771 most downloaded on Packagist Ecodev/graphql-upload

What this package is like to depend on

Last release 7 months ago

30 Dec 2025

Ships unpredictably

gaps range from 1 weeks to 2.6 years

Some releases are documented

notes for 8 of 31 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

31 releases · first in 2018

1 release in the last 12 months

see the full history below

Release timeline

30 releases · Jan 2018 to Dec 2025
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 31
  1. 8.0.1 30 Dec 2025
    Release notes

    Changes

    • Drop support for PHP 8.2 and 8.3
    Open source →
  2. 8.0.0 28 Aug 2025
    Release notes

    BREAKING CHANGE

    • Returns HTTP code 413 when post_max_size is exceeded #11708

      This case is not directly reported by PHP itself, neither via
      UploadedFileInterface, so we try our best to detect the situation and
      immediately returns the HTTP code 413. We do it immediately because when
      the case happens, PHP will leave $_POST entirely empty so we have no way
      to do anything further. So we let the client know via HTTP status and it
      is up to him to handle in the best way possible.

      When a 413 happens, the response body contains a detailed message
      similar to:

      {"message": "The server `post_max_size` is configured to accept 10.00 MiB, but received 28.00 MiB"}
    • UploadMiddleware::processRequest() is dropped entirely without replacement.
      If you need to use this library but you don't already use PSR-15 middleware,
      then you will have to implement a workaround yourself.

    Added

    • Failed upload will throw the new UploadError #11708

      Previously it was up to the application to validate that the received
      UploadedFileInterface was $file->getError() === UPLOAD_ERR_OK. This
      is now included in UploadType and all UploadedFileInterface received
      by the application are guaranteed to be successful uploads.

    Changed

    • Drop support for PHP 8.1
    Open source →
  3. 7.0.0 12 Jan 2023
    Release notes

    BREAKING CHANGE

    • Updated to webonyx/graphql-php 15 which has some breaking changes
    • Most classes are final

    Added

    • PHP 8.2 support
    Open source →
  4. 6.1.5 17 Nov 2022
    Release notes

    Changes

    • Update GitHub Actions
    Open source →
  5. 6.1.4 10 Nov 2022
    Release notes

    Changes

    Open source →
  6. 6.1.3 21 Feb 2022
    Release notes

    Changes

    • Minimal version is PHP 8.1
    Open source →
  7. 6.1.2 15 Feb 2022

    Nothing published for this version

  8. 6.1.1 15 Feb 2022
    Release notes

    Changes

    • Minimal version is PHP 7.4
    Open source →
  9. 6.1.0 02 Dec 2020
    Release notes

    Added

    • PHP 8 support
    Open source →
  10. 6.0.0 28 Oct 2020

    Nothing published for this version

  11. 5.0.0 07 May 2020

    Nothing published for this version

  12. 4.1.0 02 Jan 2020

    Nothing published for this version

  13. 4.0.0 04 Dec 2018

    Nothing published for this version

  14. 3.4.0 11 Nov 2020

    Nothing published for this version

  15. 3.3.0 09 Nov 2020

    Nothing published for this version

  16. 3.2.0 30 Oct 2020

    Nothing published for this version

  17. 3.1.1 29 Oct 2020

    Nothing published for this version

  18. 3.1.0 29 Oct 2020

    Nothing published for this version

  19. 3.0.0 13 Jun 2018

    Nothing published for this version

  20. 2.3.2 13 Oct 2020

    Nothing published for this version

  21. 2.3.1 13 Oct 2020

    Nothing published for this version

  22. 2.3.0 20 Jul 2020

    Nothing published for this version

  23. 2.2.2 20 Jul 2020

    Nothing published for this version

  24. 2.2.1 16 Jul 2020

    Nothing published for this version

  25. 2.2.0 no date

    Nothing published for this version

  26. 2.1.1 09 Jul 2020

    Nothing published for this version

  27. 2.1.0 09 Jul 2020

    Nothing published for this version

  28. 2.0.1 08 Feb 2018

    Nothing published for this version

  29. 2.0.0 23 Jan 2018

    Nothing published for this version

  30. 1.0.1 19 Jun 2020

    Nothing published for this version

  31. 1.0.0 19 Jan 2018

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive