Releases: cxj/validate.address
Releases · cxj/validate.address
Better namespacing
Revised API, return error and information text
Backward compatibility break: this has a new API for the returned object, which now contains error status and text, as well as other extended text that the USPS returns from time to time.
Improved error handling
Errors returned by the USPS interface are now better differentiated by using the code
values in the PHP Exception
class.
Refactored, API change.
Backward compatibility breaking change made to class Address
construction. Default constructor has been removed, and replaced by 3 different factory methods: fromVars
, fromArray
and fromJson
.
Miscellaneous changes including documentation improvements and code cleanups.
First stable release
Revises 2 class APIs slightly:
Address
no longer requires the "Address1" parameter to be non-blank, due to odd USPS behavior.AbstractCommunicate
no longer injects URL dependency; it is hard-coded.
Initial tagged release.
The first functional release of this code.