Skip to content

0.7.0

Compare
Choose a tag to compare
@mburumaxwell mburumaxwell released this 03 Sep 14:42
· 294 commits to main since this release

Breaking Changes

  • Change BasicListOptions and inheriting types from class to record types.
  • Change RangeFilteringOptions<T> from sealed class to readonly struct hence making it's properties immutable after creation.
  • Removed Format in WebhookEndpointPatchModel instead use WebhookEndpointCreateRequest.Format available only during creation.
  • Renames:
    • ContinuationToken in BasicListOptions becomes Token.
    • EvaluationModelCreate becomes EvaluationCreateRequest.
    • MessageStreamCreateModel becomes MessageStreamCreateRequest.
    • PaymentRefundRequest becomes PaymentRefundCreateRequest.
    • PaymentRequest becomes PaymentCreateRequest.
    • PaymentRequestMpesa becomes PaymentCreateRequestMpesa.
    • TransferReversalRequest becomes TransferReversalCreateRequest.
    • TransferRequest becomes TransferCreateRequest.
    • TransferRequestMpesa becomes TransferCreateRequestMpesa.
    • TransferRequestMpesaToCustomer becomes TransferCreateRequestMpesaToCustomer.
    • TransferRequestMpesaToBusiness becomes TransferCreateRequestMpesaToBusiness.

New

  • Support for FileUploads and FileUploadLinks (file_upload and file_upload_link objects in the API).
  • Added generic version of FaluClient hence allowing making changes to suit scenarios.
  • Added Reason to PaymentAuthorization.
  • Support for archiving and unarchiing of message streams.
  • Listing:
    • Support for listing recursively. Use the ListRecursivelyAsync(...) methods in supported services.
    • Listing events uses EventsListOptions which supports filterting by type.
    • Listing message streams uses MessageStreamsListOptions.
    • Listing message templates uses MessageTemplatesListOptions.
    • Listing webhook endpoints uses WebhookEndpointsListOptions.

Fixes

  • Registered instance of HttpClient renamed to FaluClient.
  • Marked the Live member in the RequestOptions as nullable.
  • RequestOptions should be created when null. Ensures check for idempotency.
  • Added Url and TraceId in the FaluError