Skip to content

Release v0.8.0

Choose a tag to compare

@github-actions github-actions released this 07 Jul 21:12

Version v0.8.0 of PayGate adds some Prometheus metrics, basic transfer limits, and an OpenAPI specification for admin endpoints. Along with internal refactoring to cleanup code we have removed the Depository account number migration from previous releases.

Transfer objects have an additional status called reviewable which prevents them from being uploaded to an ODFI and requires their manual approval with admin endpoints. Transfers with reclaimed status have been migrated to failed.

Breaking Change: PayGate is now configured with a YAML file rather than environmental variables. Also, the Depository, Receiver, and Originator objects have been replaced.

Docker Hub

ADDITIONS

  • admin: Include generated Go client code and OpenAPI specification
  • build: push quay.io/moov/paygate Docker imgaes
  • filetransfer: add ach_file_upload_errors for tracking ACH upload errors
  • transfers: introduce basic calculations for N-day transfer limits
  • transfers: store the client's real ip address on creation
  • transfers: set status to 'reviewable' if over the limit
  • transfers: add admin route for selective transfer status updates
  • filetransfer: remove micro-deposits from mergable file when the Depository is deleted
  • filetransfer: add admin endpoint for merging outgoing files
  • cmd/server: read env variable to disable Fed calls
  • transfers: read startDate, endDate, and status filter params in http request

IMPROVEMENTS

  • filetransfer: disable Depository field updates from NOC's, allow via config (UPDATE_DEPOSITORIES_FROM_CHANGE_CODE=yes)
  • filetransfer: reject related objects from COR/NOC when not auto-updating fields
  • filetransfer: rename admin HTTP routes to /configs/filetransfers/*
  • api: use shared Error model
  • api,client: clarify Address and BirthDate for KYC is not persisted
  • verification/microdeposit: move routes, repository, etc into subpackage
  • filetransfer: remove batches when deleting non-uploaded transfer
  • transfers: refactor Receiver status check back into transfers package
  • filetransfer: set additional fields on EntryDetails prior to return
  • transfers: read user Gateway for FileHeader
  • database: move transfer status from 'reclaimed' to 'failed'
  • api,client: use shorter API summaries
  • admin/depositories,transfers: drop redundant /users/{userId} from admin path

BUG FIXES

  • admin: fix micro-deposit return unmarshal
  • filetransfer: fix partial updating of FileTransferConfig in admin HTTP routes
  • filetransfer: handle nil FTPTransferAgent in Close
  • depository: in admin update status route read userID from path
  • originators,receivers: return null BirthDate,Address if empty
  • filetransfer,transfers: update status once Transfers are merged, not in MarkTransferAsMerged
  • transfers: better nil checks in getTransferObjects
  • transfers: check medium size amounts can be stored properly
  • all: split 'err and object nil' checks into two blocks

BUILD

  • build: run sonatype-nexus-community/nancy in CI
  • build: upgrade Watchman to v0.13.2
  • client: generate with 'client' as pacakge name
  • docker: Update golang Docker tag to v1.14