TRON v1.0.0-beta.3 Release Notes

  • ๐Ÿ’ฅ Breaking changes

    • ๐Ÿ“œ ResponseParseable protocol reworked to only include single initializer instead of associated type ModelType. Therefore, all generic methods that previously accepted Model.ModelType type now accept Model type.
    • โœ‚ Removed performWithSuccess(_:failure:) method, please use perform(success:failure:) method instead.

    โž• Added

    • Ability to create APIRequest with Array generic constraint, for example - APIRequest<[Int],APIError>

    ๐Ÿ”„ Changed

    • ๐Ÿ“œ ResponseParseable initWithData: method is now throwable, allowing parsed models to throw during initialization. When initializer throws, APIRequest treats it as a parsing error.