Skip to content

Releases: selective-php/validation

0.8.0

18 Apr 19:17
Compare
Choose a tag to compare

New Features

  • Added Transformer for custom json responses

Breaking Changes

  • Added TransformerInterface as to the ValidationExceptionMiddleware constructor as dependency
  • Added return types to all classes
  • Added final to all classes
  • Changed all protected properties to private
  • Removed ValidationResult JsonSerializable interface
  • Removed ValidationResult::toArray method
  • Rename ValidationExceptionMiddleware method getValidation to getValidationResult
  • Change minimum php version 7.2

Changes

  • Updated depenencies

0.7.1

19 Oct 10:53
Compare
Choose a tag to compare

Fix

  • Add response content-type

0.7.0

19 Oct 10:41
Compare
Choose a tag to compare

Added

  • Add PSR-15 ExceptionMiddleware
  • Add JsonEncoder and EncoderInterface

Changes

  • Add Exception namespace

0.6.0

23 May 16:33
c4f2492
Compare
Choose a tag to compare
Update ValidationResult.php

0.5.5

13 May 00:18
a74f7bd
Compare
Choose a tag to compare
Update README.md

0.5.4

03 May 20:21
96b3ae5
Compare
Choose a tag to compare
Update ValidationResult.php

0.5.2: Added setCode and getCode

01 May 12:44
Compare
Choose a tag to compare
Removed fluent interface

0.5.0

01 May 11:26
Compare
Choose a tag to compare
  • Removed ServiceResult

0.4.0

30 Apr 08:24
Compare
Choose a tag to compare
Changed schema. Renamed result to data

0.3.0

28 Apr 16:15
Compare
Choose a tag to compare
Added ValidationException