Skip to content

Latest commit

 

History

History
252 lines (167 loc) · 9.33 KB

CHANGELOG.md

File metadata and controls

252 lines (167 loc) · 9.33 KB

v1.4.0 (Unreleased)

ADDITIONS

  • batches: Add LiftEffectiveEntryDate() to offer parsed time.Time values of EffectiveEntryDate

v1.3.1 (Released 2020-01-22)

BUG FIXES

  • api,client: There was a mistaken character in the OpenAPI docs Ç which should have been C.

IMPROVEMENTS

  • build: upgrade golang.org/x/crypto

BUILD

  • build: run sonatype-nexus-community/nancy in CI

v1.3.0 (Released 2020-01-20)

BREAKING CHANGES

  • ImmediateOrigin values are written with a leading space instead of a zero (0) due to post-2013 NACHA guidelines.

BUG FIXES

  • addenda98 fix parsing with no spaces between routing and account number

ADDITIONS

  • Add random names, amounts, and memo lines in test file generation script cmd/writeACH/main.go

v1.2.1 (Released 2019-10-11)

BUG FIXES

  • fileHeader: Remove requirement of ImmediateOrigin to be a routing number

v1.2.0 (Released 2019-10-07)

ADDITIONS

  • Add FlattenBatches() (*File, error) to ach.File
  • Add POST /files/:id/flatten which calls FlattenBatches() on a specific ACH file
  • Add POST /files/:id/balance to add Offset records 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

v1.1.0 (Released 2019-08-19)

BREAKING CHANGES

In our OpenAPI we've renamed fields generated as Id to ID, which is more in-line with Go's style conventions.

BUG FIXES

  • fileHeader: allow immediate origin to be a 10 digit value (See: #513 by @eduardev)
  • Fix JSON omitempty typo in ADVEntryDetail
  • fileHeader: trim padded 0's from ImmediateOriginField() and fixup docs
  • batch: only check DNE specifics if the SEC code is DNE
  • files: FileHeader validate CheckRoutingNumber
  • files: on empty FileCreation dates or times render today's value
  • reader: return ErrFileAddendaOutsideBatch from parseAddenda when currentBatch is nil

ADDITIONS

  • batch: add Equal method
  • Addenda99: Add ReturnCodeField() for detailed information about a returned file
  • files: support arbitrary merging of ACH files (See #529)
  • entryDetail: validate that Amount is non-negative
  • batch: create Debit and Credit EntryDetail offset records if needed (via WithOffset)
  • addenda types: Add RuneCountInString check to Parse(record string) function
  • file: create debit ach file and credit ach file from a mixed debit and credit ach file (via SegmentFile) (see #528)
  • cmd/server: add environment variables to override command line flags (-http.addr and -log.format)
  • file: support ADV and IAT files in (*File).SegmentFile(...)
  • cmd/server: bind HTTP server with TLS if HTTPS_* variables are defined
  • cmd/server: add endpoints for segmenting files into debits and credits

BUILD

  • vendor: update dependencies
  • Fix moov/achfuzz docker image build
  • api: inline parameters to fix codegen crash
  • build: push moov/ach:latest and update docs accordingly
  • chore(deps): update module prometheus/client_golang to v1.1.0

v1.0.0 (Released 2019-03-26)

  • No changes from v0.6.0

v0.6.0 (Released 2019-03-26)

BREAKING CHANGES

  • file.NotificationOfChange accepts Batcher instead of *BatchCOR to comply with linter errors

ADDITIONS

  • Add const values for BatchHeader.StandardEntryClassCode (See #392)
  • Add const values for BatchHeader.ServiceClassCode and BatchControl.ServiceClassCode. (See #391)
  • Add const values for EntryDetail.TransactionCode (See #363)
  • server: Record ach_files_deleted metric. (See: #408)
  • server: log x-request-id header if present. (See: #407)
  • server: Delete old ach.File objects from in-memory repository according to ACH_FILE_TTL env variable.
  • server: Support -log.format=json for JSON formatted logs

BUG FIXES

  • Accept File's without an ID specified. Generate a random ID. (See: #405)
  • server: Fix nil panics. (See: #406)
  • server: Fix type-casting panics. (See: #423)
  • server: validate file endpoint returns 400 instead of 500 (See: #488)
  • server: set CORS headers on GET /ping route

BUILD

  • megacheck is deprecated. staticcheck should be used instead. (See #430)
  • Automate releases with Docker and binary uploads to release page.
  • Update dependencies to their latest versions
  • Update to Go 1.12

v0.5.0 (Released 2018-11-29)

BREAKING CHANGES

  • TraceNumber has been changed from int to a string. (See #366)
    • Previously zero-prefixed ABA routing numbers would have their leading zero truncated.
  • OriginalTrace has been changed from int to a string. (See #366)

ADDITIONS

  • Support StandardEntryClassCode (Batch types):
  • TransactionCode match ServiceClassCode (See #56)
  • Addenda02.TerminalState validation for BatchPOS and BatchSHR (See #375)

REMOVALS

  • Remove deprecated functions from EntryDetail (See #385)

v0.4.0 (Released 2018-11-06)

BREAKING CHANGES

  • EntryDetail.Addendum has been broken out into Addenda02, Addenda05, Addenda98, and Addenda99 fields on EntryDetail.
  • IAT EntryDetail.Addendum has been broken out into Addenda 10-18, 98 and 99.

ADDITIONS

  • Support StandardEntryClassCode (Batch types):
  • Support NOC for IAT Entries (See #328)
  • Add FileFromJson for reading File objects as JSON.
  • Add X-Total-Count response headers on GET /files/:id/batches (See #280)

IMPROVEMENTS

  • Multiple parsing errors are returned in Reader.Read() error's error message.
  • IAT: Validate ISODestinationCountryCode according to ISO 3166
  • IAT: Validate ISOOriginatingCurrencyCode and ISODestinationCurrencyCode according to ISO 4217
  • build: Run CI tests against Windows
  • Verify record lengths in [IAT] BatchHeader, [IAT] BatchControl, FileControl, FileHeader, and [IAT] EntryDetail.

BUG FIXES

  • cmd/server: don't expect trailing slash on endpoints
  • cmd/server: Grab write lock on delete requests
  • Several panics are fixed from fuzzing
  • Reject invalid ABA routing numbers

v0.3.3 (Released 2018-10-08)

ADDITIONS

  • Expose TypeCode on Addenda records

IMPROVEMENTS

  • Run as unprivileged user in Docker image
  • cmd/readACH: add -json to print File as JSON
  • cmd/writeACH: validate file before writing
  • cmd/writeACH: add -json to output File as JSON

BUG FIXES

  • Fix reading batches out from JSON endpoint
  • Fix plaintext ACH file rendering endpoint

v0.3.2 (Released 2018-10-05)

ADDITIONS

  • Handle pre-flight requests and proxy back CORS headers

v0.3.1 (Released 2018-10-05)

ADDITIONS

  • Add X-Total-Count on GET responses
  • Proxy back CORS headers if sent on the request

BUG FIXES

  • Drop requirement for /-suffix on GET /files
  • Don't trample content-type in encodeResponse

v0.3.0 (Released 2018-09-26)

FEATURES

  • Added HTTP Server
  • SEC Code CIE (Customer-Initiated Entry) (#209)
  • Support IAT (#211)
  • IAT Returns (#233)
  • Support CTX (#212)

IMPROVEMENTS

  • Added admin HTTP service.
  • Added GET /ping route (unauthed)

BUG FIXES

  • Fixes to parsing and validation.