Skip to content

v1.2.0: improve http status handling and ease exception-to-jsonapi rendering

Choose a tag to compare

@lode lode released this 19 Jul 15:56

This is the second part of v1.1.0, adding:

  • throwing jsonapi\exception which can be used to output jsonapi errors responses directly (#11)
  • easily set http status on non-error responses (created, no content, redirects, etc) (#19)
  • set redirect locations (#19)

Minor ones:

  • manually sent http status headers, instead of jsonapi doing it automatically for you (#19)
  • fixes/syncs declaration errors->send_response() with its parent (#19)