Skip to content

Releases: woohoolabs/yin-middleware

4.2.1

23 Jun 08:42
4.2.1
dcd99cf
Compare
Choose a tag to compare

ADDED:

  • Support for PHP 8
  • Support for PHPUnit 9

4.2.0

29 Nov 09:25
4.2.0
783be75
Compare
Choose a tag to compare

ADDED:

  • #5: YinCompatibilityMiddleware in order to facilitate the usage of Yin in other frameworks

4.1.1

04 Oct 14:02
4.1.1
4c260b6
Compare
Choose a tag to compare

CHANGED:

  • Improved conformance to PSR-12
  • Added more property type declarations

4.1.0

21 Aug 11:24
4.1.0
feb3e65
Compare
Choose a tag to compare

CHANGED:

  • Increased minimum PHP version requirement to 7.4 as property type declarations were added
  • Updated dev dependencies
  • Improved static analysis

4.0.0

19 Apr 10:32
4.0.0
6484f9e
Compare
Choose a tag to compare

CHANGED:

  • Updated Yin to 4.0.0
  • JsonApiRequestValidatorMiddleware will throw a RequestException if the request isn't instance of Yin's RequestInterface
  • Apply the Woohoo Labs. Coding Standard

4.0.0-beta1

21 Dec 09:48
4.0.0-beta1
5e1cfea
Compare
Choose a tag to compare
4.0.0-beta1 Pre-release
Pre-release

CHANGED:

  • Updated Yin to 4.0.0
  • JsonApiRequestValidatorMiddleware will throw a RequestException if the request isn't instance of Yin's RequestInterface
  • Apply the Woohoo Labs. Coding Standard

3.0.1

18 Oct 07:54
3.0.1
73491d0
Compare
Choose a tag to compare

REMOVED:

  • JsonApiExceptionHandlerMiddleware accidentally catching Throwables (breaking change)

FIXED:

  • JsonApiExceptionHandlerMiddleware caught Throwables by default, but it prevented child middleware to catch other exceptions

3.0.0

02 Feb 09:21
3.0.0
40381dc
Compare
Choose a tag to compare

ADDED:

  • Support for PSR-15 (breaking change)

CHANGED:

  • JsonApiErrorHandlerMiddleware was renamed to JsonApiExceptionHandlerMiddleware (breaking change)
  • JsonApiExceptionHandlerMiddleware expects a ResponseInterface instance as the first constructor parameter to use it as an error response prototype (breaking change)
  • JsonApiExceptionHandlerMiddleware catches and handles Throwables by default (breaking change)
  • JsonApiDispatcherMiddleware throws an exception instead of responding with an error 404 response if it can not find any dispatchable action (breaking change)
  • PHPUnit 7 is minimally required to run tests

2.2.0

21 Nov 11:06
2.2.0
39c68fd
Compare
Choose a tag to compare

CHANGED:

  • Yin 3.0.0 is minimally required

2.1.0

12 Sep 07:13
2.1.0
30ecd79
Compare
Choose a tag to compare

ADDED:

  • Tests

CHANGED:

  • Increased minimum PHP version requirement to 7.1