Skip to content

Releases: Ecodev/graphql-upload

8.0.1

Choose a tag to compare

@github-actions github-actions released this 30 Dec 12:56
Immutable release. Only release title and notes can be modified.
8.0.1
c8f64d9

Changes

  • Drop support for PHP 8.2 and 8.3

8.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Aug 14:17
8.0.0
793b2f7

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

7.0.0

Choose a tag to compare

@github-actions github-actions released this 12 Jan 03:22
7.0.0
2ef78cf

BREAKING CHANGE

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

Added

  • PHP 8.2 support

6.1.5

Choose a tag to compare

@github-actions github-actions released this 17 Nov 11:06
6.1.5
00c3e6d

Changes

  • Update GitHub Actions

6.1.4

Choose a tag to compare

@github-actions github-actions released this 10 Nov 18:09
6.1.4
a2f0b1a

Changes

6.1.3

Choose a tag to compare

@github-actions github-actions released this 21 Feb 13:53
6.1.3
b414ceb

Changes

  • Minimal version is PHP 8.1

6.1.2

Choose a tag to compare

@github-actions github-actions released this 15 Feb 14:28
6.1.2
6904d41
6.1.2

6.1.1

Choose a tag to compare

@github-actions github-actions released this 15 Feb 13:58
6.1.1
357eff5

Changes

  • Minimal version is PHP 7.4

6.1.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 23:48
d602aa2

Added

  • PHP 8 support

6.0.0

Choose a tag to compare

@PowerKiKi PowerKiKi released this 09 Nov 09:32
b5c5d9b

BREAKING CHANGE

Updated to webonyx/graphql-php 14 which has some breaking changes