Porter v5.1.0 Release Notes

Release Date: 2020-04-09 // over 4 years ago
    • โž• Added Throttle support for async imports only.

Previous changes from v5.0.0

  • 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.