Skip to content

v13.2.0

Latest

Choose a tag to compare

@MoamenEltouny MoamenEltouny released this 26 Nov 15:17

A minor release of the 13.x line.

Added

  • code(?string $code) sets a stable identifier on an error, such as auth.expired, for the client to act on. It is refused on a success. A profile can rename the field.

Behavior Changes from 13.1.x

  • Every error sends code after message, null until code() sets it, so an error is {success, message, code, errors, meta}. The exception renderer sets no code, so its errors send code: null. A success is unchanged.

Full Changelog: 13.1.0...13.2.0