Skip to content

5.0.0 – Async

Compare
Choose a tag to compare
@Bilge Bilge released this 08 Dec 14:51
· 48 commits to master since this release
5.0.0
5270f51

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 new DataSource interface.
  • Removed ConnectionContext from Connector interface.
  • Added SingleRecordResource interface that resources must implement to be used with Porter::importOne().
  • Prevented single record resources being imported with multi-record import methods.
  • Replaced RecoverableConnectorException with RecoverableException interface.
  • Removed failed abstractions: ConnectorOptions and EncapsulatedOptions.
  • Removed abstraction: CacheKeyGenerator.
  • Moved ForeignResourceException to Porter's namespace.