Skip to content

v1.0.0-alpha.16

Pre-release
Pre-release
Compare
Choose a tag to compare
@mkurapov mkurapov released this 27 Aug 06:35
· 31 commits to main since this release
3bc368a

What's Changed

Breaking Changes

  • feat(quote)!: remove internal fields from schema by @golobitch in #2858
    • We no longer return ILP-specific fields in the Quote model for the backend Admin API. References to resolve highEstimatedExchangeRate lowEstimatedExchangeRate maxPacketAmount minExchangeRate should be deleted.
  • fix(wallet-address)!: additional properties by @golobitch in #2880
    • We now correctly return additional properties for the Open Payments wallet address GET as { key: value }, instead of outputting the whole DB model. See issue for more details.

New Features

  • feat(interaction): return grantId by @golobitch in #2843
    • We now return grantId when doing the grant look up using the interactionId
  • feat(outgoing-payment): add grantId to admin api by @golobitch in #2841
    • grantId is now available as a field to resolve under the Outgoing Payment model in the GraphQL backend Admin API. This is the grantId of the grant that the user did the interaction for
  • feat(auth): soft delete access tokens and grant accesses by @njlie in #2837
    • We no longer hard delete grant accesses (& tokens). This enables querying grants by wallet address, even if the grants are revoked.
  • feat(incoming-payment): make it actionable by @golobitch in #2827
    • The receiving ASE can now "action" incoming payments. This means, that when a incoming payment is created via Open Payments, Rafiki backend will poll for the result of one of two mutations: approveIncomingPayment or cancelIncomingPayment. Approving an incoming payment will allow the creation of it to proceed (and the Open Payments client gets a success response), while cancelIncomingPayment will mark the payment as cancelled, and return a 403 error). This behaviour can be enabled via POLL_INCOMING_PAYMENT_CREATED_WEBHOOK and configured via INCOMING_PAYMENT_CREATED_POLL_TIMEOUT_MS & INCOMING_PAYMENT_CREATED_POLL_FREQUENCY_MS
  • feat(backend): outgoing payments page resolver by @njlie in #2872
    • Now, you can paginate over outgoing payments via outgoingPayments query. It allows filtering by states, walletAddressIds and receivers (incoming payment url).
  • feat: make rafiki admin auth optional by @JoblersTune in #2883
    • You can now run the frontend project without needing kratos via AUTH_ENABLED flag. This is enabled by default.
  • feat(backend): improve PSQL balance calculation by @mkurapov in #2881
    • Should greatly improve the performance of PSQL balance calculation, and as a result, the speed of payments

General Changes

Dependency Updates

  • chore(deps): update dependency @types/node to ^20.14.13 by @renovate in #2823
  • chore(deps): update dependency yaml to ^2.5.0 by @renovate in #2824
  • chore(deps): update dependency @apollo/client to ^3.11.2 by @renovate in #2822
  • chore(deps): update dependency @types/node to ^20.14.15 by @renovate in #2838
  • chore(deps): update dependency @apollo/client to ^3.11.4 by @renovate in #2845

New Contributors

Full Changelog: v1.0.0-alpha.15...v1.0.0-alpha.16