Porter v5.0.0 Release Notes
Release Date: 2019-12-08 // over 4 years ago-
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::fetch
string source parameter with newDataSource
interface. - โ Removed
ConnectionContext
fromConnector
interface. - โ Added
SingleRecordResource
interface that resources must implement to be used withPorter::importOne()
. - Prevented single record resources being imported with multi-record import methods.
- Replaced
RecoverableConnectorException
withRecoverableException
interface. - โ Removed failed abstractions:
ConnectorOptions
andEncapsulatedOptions
. - โ Removed abstraction:
CacheKeyGenerator
. - ๐ Moved
ForeignResourceException
to Porter's namespace.