Skip to content

Releases: mlanin/laravel-api-exceptions

Let API be API

10 Feb 13:11
df78288
Compare
Choose a tag to compare

Removed renderToHtml

Remove conversion to view

06 Aug 11:19
1c94f8f
Compare
Choose a tag to compare

Don't use views to show exceptions in API. It is a bad practice and you will break your clients sooner or later.

Add package discovery

02 Nov 14:23
317447d
Compare
Choose a tag to compare
0.3.6

Add laravel package discovery

Add ability to override default API response format

27 May 08:56
Compare
Choose a tag to compare

Fix tests & composer requirements

03 May 09:33
Compare
Choose a tag to compare

Add support of web validation errors

24 Dec 10:08
Compare
Choose a tag to compare
If this package is used in an application that uses api AND common web parts together, package should support native Laravel form validation flow like `response()->withErrors([])`. 

This change will handle this behaviour. You can just throw validation exception, and everything will work.

Import right HttpException

24 Nov 13:04
Compare
Choose a tag to compare
0.3.2

Import right HttpException

Hotfix

19 Oct 14:52
Compare
Choose a tag to compare
0.3.1

Update internal error tests

Update for L5.3

19 Oct 12:04
Compare
Choose a tag to compare

Update to support L5.3

Add exception views for non-JSON requests.

Cleanup exceptions from unnecessary info:
Leave trace only for internal errors.
Leave previous exception output only for internal errors

Remove middleware

11 Jul 09:04
Compare
Choose a tag to compare
0.1.1

Remove middleware