ach v1.2.0 Release Notes

Release Date: 2019-10-07 // over 4 years ago
  • ➕ ADDITIONS

    • ➕ Add FlattenBatches() (*File, error) to ach.File
      • FlattenBatches [minimizes File Batches by consolidating them](./docs/flatten-batches.md) with the same BatchHeader data into one batch.
    • ➕ Add POST /files/:id/flatten which calls FlattenBatches() on a specific ACH file
    • ➕ Add POST /files/:id/balance to [add Offset records](./docs/balanced-offset.md) onto each Batch in an ACH File.
    • ➕ Addenda98: Add ChangeCodeField() for detailed information about a NOC/COR change file (ChangeCode)
    • ➕ Addenda99: Add ReturnCodeField() for detailed information about file returns (ReturnCode)

    🐛 BUG FIXES

    • reader: set EntryDetail.Category to Return when Addenda99 is present
    • batch: inspect Entrydetail records for Category
    • batch: check ADV entries for Category
    • reader: set EntryDetail.Category to NOC when Addenda98 is present
    • file: Validate files after reading them from their JSON representation
    • server: actaully render new Credit and Debit files from segmentation

    👌 IMPROVEMENTS

    • created example files for HTTP routes
    • 📜 file: parse ISO8601 and RFC3339 timestamps in JSON blobs

    🏗 BUILD

    • ⬆️ upgrade to Go 1.13
    • 🏗 build: download CI tools rather than install
    • ⚡️ build: update staticcheck with Go 1.13