v1.0.0-alpha.16
Pre-release
Pre-release
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.
- We no longer return ILP-specific fields in the Quote model for the backend Admin API. References to resolve
- 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.
- We now correctly return additional properties for the Open Payments wallet address GET as
New Features
- feat(interaction): return grantId by @golobitch in #2843
- We now return
grantId
when doing the grant look up using the interactionId
- We now return
- 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
orcancelIncomingPayment
. Approving an incoming payment will allow the creation of it to proceed (and the Open Payments client gets a success response), whilecancelIncomingPayment
will mark the payment as cancelled, and return a 403 error). This behaviour can be enabled viaPOLL_INCOMING_PAYMENT_CREATED_WEBHOOK
and configured viaINCOMING_PAYMENT_CREATED_POLL_TIMEOUT_MS
&INCOMING_PAYMENT_CREATED_POLL_FREQUENCY_MS
- 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:
- 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).
- Now, you can paginate over outgoing payments via
- 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.
- You can now run the frontend project without needing kratos via
- 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
- feat(backend): add rate probe metric by @BlairCurrey in #2820
- feat(backend): ip lookup, atomic asset creation, document updates. by @koekiebox in #2776
- feat(auth): inspect access during token introspection by @njlie in #2788
- fix(frontend): It is ambiguous on what scale is the withdrawal and deposit input by @Emanuel-Palestino in #2817
- chore: sync docs and readmes by @JoblersTune in #2830
- feat(frontend): ux improvements to liquidity dialog component by @Emanuel-Palestino in #2839
- feat(docker): switch to alpine3.19 by @golobitch in #2842
- fix(auth): interact redirect by @sabineschaller in #2832
- feat(auth): set session expiry based on interaction expiry env by @njlie in #2851
- feat(localenv): span metrics generation by @BlairCurrey in #2849
- feat(2737): add fees as metric for outgoing payment. by @koekiebox in #2831
- refactor(dependencies): axios to 1.7.4 by @golobitch in #2861
- chore: bump dependencies to latest versions by @huijing in #2864
- feat(tests): initial performance test by @njlie in #2828
- docs: updated READMEs and added Rafiki Admin docs by @JoblersTune in #2867
- feat(backend): track if receiver is local by @BlairCurrey in #2862
- feat(backend): start of handling grant token rotation more gracefully by @mkurapov in #2887
- refactor(backend): handle grant lookup more gracefully in remote incoming payment service by @mkurapov in #2888
- feat: added packet count telemetry metrics by @JoblersTune in #2797
- refactor(backend): update rate caching by @mkurapov in #2891
- chore(localenv): fix startup migration by @mkurapov in #2897
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
- @Emanuel-Palestino made their first contribution in #2817
Full Changelog: v1.0.0-alpha.15...v1.0.0-alpha.16