ADDITIONS
- cmd/server: setup mysql storage
IMPROVEMENTS
- cmd/server: early return on empty call of getAccountBalance
- api: use shared Error model
- api,client: rename models whose name is shared across projects
BUILD
- build: run sonatype-nexus-community/nancy in CI
- build: upgrade openapi-generator to 4.2.0
- chore(deps): update module mattn/go-sqlite3 to v1.13.0
- build: update copyright headers to 2020
REMOVALS
- cmd/server: remove QLedger support
BUILD
- Upgrade to Go 1.13 and Debian 10
- build: update openapi-generator to v4.1.3
ADDITIONS
- cmd/server: add endpoint for reversing a transaction
- cmd/server: bind HTTP server with TLS if HTTPS_* variables are defined
- cmd/server: accept 'number' when creating an Account
IMPROVEMENTS
- cmd/server: transactions: reject lines with negative amounts
- cmd/server: ensure account numbers we generate are unique
BUG FIXES
- cmd/server: add another format for Transaction timestamps
- cmd/server: always rollback sqlite database transactions
- cmd/server: accounts: return no Accounts during search on sql.ErrNoRows
- cmd/server: accounts: set AccountNumber from createAccountRequest
BUILD
- vendor: update github.com/gorilla/mux to v1.7.2
- build: download tools used in CI rather than compile
- build: update github.com/moov-io/base to v0.10.0
BREAKING CHANGES
- This project is called
accounts
now and was renamed fromgl
.
ADDITIONS
- cmd/server: add initial transaction storage with QLedger
- cmd/server: use our qledgerDeployment dockertest setup for qledgerAccountRepository tests
- api,client: add route to for getting account transactions, generate client
- cmd/server: accounts: setup sqlite persistence for gl.Accounts
- cmd/server: transactions: setup initial sqlite persistence for transactions
- cmd/server: add 'balance' to account creation to track initial balance
- cmd/server: compute overdraft correctly by rejecting accounts in the negative
- all: add customerId as query parameter to account search
BUG FIXES
- api: Fix broken OpenAPI Go client generation
- cmd/server: add missing database/sql Rows.Close()
- cmd/server: return database/sql Rows.Err
- cmd/server: accounts: case-insensitive compare for account type
BUG FIXES
- build: Switch to Docker image with CGO (for SQLite)
BREAKING CHANGES
- client: rename getCustomer to getGLCustomer (for larger api and go-client)
ADDITIONS
- cmd/server: Add customer creation route (
POST /customers
) - cmd/server: Add sqlite and QLedger persistence for accounts and customers
IMPROVEMENTS
- cmd/server: panic if ABA default routing number is empty
- cmd/server: Log errors when making QLedger calls
- Initial release