2022-05-24 13:10:01 -05: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).
|
|
|
|
|
2023-01-27 11:19:35 -06:00
|
|
|
## [1.2.3] - 2023-01-27
|
2023-01-27 11:01:05 -06:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Implement `BLAKE3` for PIN hashing.
|
|
|
|
|
2023-01-25 11:20:19 -06:00
|
|
|
## [1.2.2] - 2023-01-25
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Corrected selection criteria for expiring owners query
|
|
|
|
|
2023-01-24 14:11:34 -06:00
|
|
|
## [1.2.1] - 2023-01-24
|
2023-01-24 10:21:17 -06:00
|
|
|
|
2023-01-24 13:27:32 -06:00
|
|
|
### Added
|
|
|
|
|
|
|
|
- New configuration fields for SMTP
|
|
|
|
|
2023-01-24 10:21:17 -06:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Owner expiration query
|
|
|
|
- Xero token expiration query
|
|
|
|
|
2023-01-09 10:01:44 -06:00
|
|
|
## [1.2.0] - 2023-01-09
|
2022-05-24 13:10:01 -05:00
|
|
|
|
2022-10-26 15:34:29 -05:00
|
|
|
### Added
|
|
|
|
|
|
|
|
- New utility to refresh Xero tokens periodically.
|
2022-11-14 15:56:30 -06:00
|
|
|
- New module for WooCommerce interaction.
|
2022-12-01 14:36:06 -06:00
|
|
|
- New `/auth` endpoint to authenticate with the WooCommerce plugin and corresponding tests
|
|
|
|
- New `/woopayment` endpoint to generate a new order from the WooCommerce plugin and corresponding tests
|
2023-01-09 10:01:44 -06:00
|
|
|
- New `/wootoken` endpoint to generate a new token and query the token from the database.
|
2022-10-26 15:34:29 -05:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Refactored code for requesting Xero tokens to make it reusable.
|
2022-12-06 11:04:05 -06:00
|
|
|
- Changed API authentication to allow for endpoints that don't require an `Authorization` header to support the WooCommerce integration
|
|
|
|
- Enhanced the on-chain order confirmation functionality to support WooCommerce integration and future integrations.
|
2022-10-26 15:34:29 -05:00
|
|
|
|
2022-10-08 08:39:13 -05:00
|
|
|
## [1.1.1] - 2022-10-08
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Refactored the `api/owner` POST endpoint.
|
|
|
|
- Added logic to remove extra whitespace from viewing key strings
|
|
|
|
|
2022-10-01 09:25:53 -05:00
|
|
|
## [1.1.0] - 2022-10-01
|
|
|
|
|
2022-08-03 13:48:51 -05:00
|
|
|
### Added
|
|
|
|
|
2022-09-09 11:17:59 -05:00
|
|
|
- Feature to record a payment when detected on-chain
|
|
|
|
- Function to record a payment in Xero
|
2022-09-06 14:01:14 -05:00
|
|
|
- Tests for Xero account code
|
|
|
|
- Fields in `XeroToken` for Xero payment account code
|
|
|
|
- Support for the YWallet memo format
|
2022-08-20 08:18:40 -05:00
|
|
|
- API endpoint to request a Xero invoice
|
|
|
|
- API endpoint to generate ZGo order from external invoice
|
|
|
|
- Type `XeroInvResponse`
|
|
|
|
- Type `XeroInvoice`
|
2022-08-11 17:30:24 -05:00
|
|
|
- Type `XeroToken`
|
2022-08-10 10:19:18 -05:00
|
|
|
- Type `Xero`
|
|
|
|
- API endpoint to query Xero configuration
|
2022-08-03 13:48:51 -05:00
|
|
|
- Field `crmToken` for `Owner`
|
2022-08-03 14:13:33 -05:00
|
|
|
- Field `externalInvoice` and `shortCode` for `Order`
|
2022-08-03 13:48:51 -05:00
|
|
|
|
2022-09-22 15:20:10 -05:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Improved error handling for API server
|
|
|
|
- CoinGecko price feed to include New Zealand dollar (NZD)
|
2022-09-06 14:01:14 -05:00
|
|
|
|
2022-07-27 08:18:12 -05:00
|
|
|
## [1.0.0] - 2022-07-27
|
|
|
|
|
2022-07-13 09:21:23 -05:00
|
|
|
### Added
|
|
|
|
|
2022-07-22 11:04:15 -05: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 09:21:23 -05:00
|
|
|
- New `Config` type to house the configuration parameters
|
2022-07-18 15:22:44 -05:00
|
|
|
- New field in `Owner` type to store toggle for payment confirmation
|
|
|
|
- New field in `Owner` type to store viewing key
|
2022-07-13 09:21:23 -05:00
|
|
|
|
2022-07-07 10:33:53 -05:00
|
|
|
### Changed
|
|
|
|
|
2022-07-26 15:45:45 -05:00
|
|
|
- Added chronological sorting to list of orders
|
2022-07-21 12:14:27 -05:00
|
|
|
- Added logic in `/api/owner` endpoint to validate viewing key before saving
|
|
|
|
- Updated tests for `/api/owner` to account for invalid viewing keys
|
2022-07-18 15:22:44 -05:00
|
|
|
- Added alphabetic sorting to list of items
|
2022-07-13 09:21:23 -05:00
|
|
|
- Refactored code to use new `Config` type
|
2022-07-07 10:33:53 -05:00
|
|
|
- Enhance `decodeHexText` to support Unicode
|
|
|
|
- Enhance `encodeHexText` to support Unicode
|
2022-07-07 10:56:33 -05:00
|
|
|
- Update tests for encode/decode of memos
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
2022-07-25 12:29:02 -05:00
|
|
|
- Fixed the PIN generation
|
2022-07-22 13:41:19 -05:00
|
|
|
- Fixed calculation of order total to ensure 8 decimal places
|
2022-07-07 10:56:33 -05:00
|
|
|
- Fixed test for looking for an order with incorrect ID
|
2022-07-13 09:21:23 -05:00
|
|
|
- Fixed payment scan to focus only on new transactions
|
2022-07-07 10:33:53 -05:00
|
|
|
|
|
|
|
## [0.1.0.2] - 2022-05-25
|
|
|
|
|
2022-05-24 13:10:01 -05:00
|
|
|
### Added
|
|
|
|
|
|
|
|
- Changelog
|
|
|
|
- `paid` field in ZGoOrder type
|
|
|
|
- Test for `api/order/:id` endpoint with an invalid ID
|
|
|
|
|
2022-07-07 10:33:53 -05:00
|
|
|
### Fixed
|
2022-05-24 13:10:01 -05: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
|