zgo-backend/CHANGELOG.md

89 lines
2.3 KiB
Markdown
Raw Normal View History

2022-05-24 18:10:01 +00:00
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
2022-08-03 18:48:51 +00:00
### Added
2022-09-06 19:01:14 +00:00
- Tests for Xero account code
- Fields in `XeroToken` for Xero payment account code
- Support for the YWallet memo format
2022-08-20 13:18:40 +00:00
- API endpoint to request a Xero invoice
- API endpoint to generate ZGo order from external invoice
- Type `XeroInvResponse`
- Type `XeroInvoice`
2022-08-11 22:30:24 +00:00
- Type `XeroToken`
2022-08-10 15:19:18 +00:00
- Type `Xero`
- API endpoint to query Xero configuration
2022-08-03 18:48:51 +00:00
- Field `crmToken` for `Owner`
2022-08-03 19:13:33 +00:00
- Field `externalInvoice` and `shortCode` for `Order`
2022-08-03 18:48:51 +00:00
2022-09-06 19:01:14 +00:00
2022-07-27 13:18:12 +00:00
## [1.0.0] - 2022-07-27
2022-07-13 14:21:23 +00:00
### Added
2022-07-22 16:04:15 +00:00
- New functionality to read transactions for the given viewing keys
- New functionality to mark orders as paid once payment is found on-chain
2022-07-13 14:21:23 +00:00
- New `Config` type to house the configuration parameters
- New field in `Owner` type to store toggle for payment confirmation
- New field in `Owner` type to store viewing key
2022-07-13 14:21:23 +00:00
2022-07-07 15:33:53 +00:00
### Changed
2022-07-26 20:45:45 +00:00
- Added chronological sorting to list of orders
- Added logic in `/api/owner` endpoint to validate viewing key before saving
- Updated tests for `/api/owner` to account for invalid viewing keys
- Added alphabetic sorting to list of items
2022-07-13 14:21:23 +00:00
- Refactored code to use new `Config` type
2022-07-07 15:33:53 +00:00
- Enhance `decodeHexText` to support Unicode
- Enhance `encodeHexText` to support Unicode
2022-07-07 15:56:33 +00:00
- Update tests for encode/decode of memos
### Fixed
2022-07-25 17:29:02 +00:00
- Fixed the PIN generation
- Fixed calculation of order total to ensure 8 decimal places
2022-07-07 15:56:33 +00:00
- Fixed test for looking for an order with incorrect ID
2022-07-13 14:21:23 +00:00
- Fixed payment scan to focus only on new transactions
2022-07-07 15:33:53 +00:00
## [0.1.0.2] - 2022-05-25
2022-05-24 18:10:01 +00:00
### Added
- Changelog
- `paid` field in ZGoOrder type
- Test for `api/order/:id` endpoint with an invalid ID
2022-07-07 15:33:53 +00:00
### Fixed
2022-05-24 18:10:01 +00:00
- Bug #1: crash when invalid ID was provided to `api/order/:id`
## [0.1.0.1] - 2022-05-20
### Added
- Parametrized fullnode credentials
## [0.1.0.0] - 2022-05-19
### Added
- BOSL license
- API end points
- Country
- Block
- Node address
- User
- Owner
- Order
- Item
- Processing
- Zcash transactions to ZGo items
- Convert login memos to Users
- Mark Owners as paid when payment is found on chain
- Mark Owners as expired when expiration date is reached