Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

v1.1.0

Compare
Choose a tag to compare
@dino-rodriguez dino-rodriguez released this 16 Jul 21:59
· 67 commits to master since this release

Features

  • Add Cache-Control: no-store to Public API responses
    • PayID responses should never be cached. You don't want to send money to a [address, tag] tuple when the tag has been subsequently rotated by the exchange.
  • Allow using a custom PostgreSQL port using a new DB_PORT environment variable.
  • Made pushing PayID server metrics to the Xpring Prometheus gateway opt-out
    • Only the domain name of the PayID server, count of PayIDs, count of addresses by [paymentNetwork, environment], and number of lookup requests by [paymentNetwork, environment] are recorded. No identifying information is recorded or pushed as metrics.
    • Can opt out by setting the PUSH_PAYID_METRICS environment variable to false.
  • Added a Prometheus Gauge to track the total number of PayIDs per PayID server for metrics.

Fixes

  • Update seeded database values to use Classic Address format for XRPL addresses
    • The community decided all XRPL addresses should be shipped in classic/tag format, rather than xAddress format.
  • Added a .gitattributes file to fix line endings on Windows
  • Fixed requests using payid+json incorrectly returning a 200 rather than a 404 for PayIDs that did not exist #598

Documentation

  • Fixed various broken links
  • Renamed the "Private API" to the "Admin API" to clarify its intended purpose and functionality.

Project Internals

  • Bumped various linting plugins
  • Added @throws JSDoc tags to all the functions that throw
  • Banned Yarn usage, since we have a package-lock.json file
  • Pulled our TypeScript HttpStatus enum out into an independent library
  • Added a CI library to automatically check for broken links
  • Run Dependabot waaay less often (weekly, not daily)
  • Made all types readonly because we're better at TypeScript