5.0.0 – Async
Porter v5 introduces asynchronous imports and complete strict type safety (excluding union types and generics).
Breaking changes
- Removed support for PHP 5.5, 5.6 and 7.0.
- Every interface has been updated to include return types which means all consuming projects must also add the same return type.
- Replaced
Connector::fetchstring source parameter with newDataSourceinterface. - Removed
ConnectionContextfromConnectorinterface. - Added
SingleRecordResourceinterface that resources must implement to be used withPorter::importOne(). - Prevented single record resources being imported with multi-record import methods.
- Replaced
RecoverableConnectorExceptionwithRecoverableExceptioninterface. - Removed failed abstractions:
ConnectorOptionsandEncapsulatedOptions. - Removed abstraction:
CacheKeyGenerator. - Moved
ForeignResourceExceptionto Porter's namespace.