As this project is pre 1.0, breaking changes may happen for minor version bumps. A breaking change will get clearly notified in this log.
- Add
ReadTimeout
to HTTP server configuration to fix potential DoS vector. - Dropped support for Go 1.10, 1.11.
- Compliance server now uses the new Go SDK.
- Unit tests added.
- MySQL is no longer supported. To migrate your data to postgresql use any of the tools provided here.
id
parameter is now required when sending payments using Compliance Protocol.
nonce
value does not change when repeating Auth Request after receivingpending
status.- Support for sending XLM using Compliance Protocol.
- Fix for #109
Please migrate your compliance
DB before running a new version using: compliance --migrate-db
.
- Support for "Forward federation" destinations.
- Improved transaction submission code:
- High rate transaction submission using
/payment
endpoint should work better. - Added
id
parameter to/payment
request: payments withid
set, when resubmitted, are using previously created transaction envelope stored in a DB instead of recreating a transaction with a new sequence number. This can prevent accidental double-spends.
- High rate transaction submission using
- Fix for a bug in
/builder
endpoint: sequence number is now incremented when loaded from Horizon server (stellar-deprecated/bridge-server#86). - Payment listener is now also sending
account_merge
operations and, for each operation, a new parameter:transaction_id
. - Updated
github.com/BurntSushi/toml
dependency.
Read README
file for more information about new features.
Please migrate your bridge
DB before running a new version using: bridge --migrate-db
- Added error messages to Compliance protocol (SEP-0003)
- Admin Panel (
/admin
endpoint inbridge
server). /tx_status
endpoint More info.- Sequence number in automatically loaded if it's not set in
/builder
. - Fixed log levels in
PaymentListener
(#73). - Fixed
AllowedFI
table name under Windows (#72). - New
-v
parameter to print app version.
- Fix log level in
PaymentListener
.
- XLM (lumen) payments can be now used in
PaymentListener
. - Fixed a loop in
PaymentListener
occurring when multiple payments fail.
- Better responses.
- Use
http.Client
withTimeout
.
- Fix a bug in
protocols.Asset.String
. Add more_info field toinvalid_parameter
errors.
- Ability to reprocess received payments.
- Add asset issuer to receive callback
- Update
github.com/stellar/go
dependency.
- Fix account ID destinations in /payment
- Fixed
-config
param in bridge.
- Added
-config
param to use custom config file - Removed unused
EncryptionKey
config param - Added use_compliance parameter in
/payment
to force using compliance protocol.
- New version of compliance protocol.
- Change stellar.toml location to new standard.
- Bug fixes for postgres
- Add
mac_key
configuration
- Fix
inject
in compliance server.
/create-keypair
endpoint,- Sending routing information in receive callback.
- Send only relevant data to compliance callbacks (#17).
hooks
are now calledcallbacks
inbridge
server.
- Transaction builder (#14)
- Compliance protocol support.
- Saving and reading memo preimage.
- This repo will now contain two apps:
bridge
(for building, submitting and monitoring transactions) andcompliance
(for Compliance protocol). Both are built in a single build process. Each app has it's own README file. - Dependency injection is now done using facebookgo/inject.
- Handling and validation of requests and responses is now done in
protocols
package. This package contains methods for transformingurl.Values
from/to request structs and for marshalling responses. It also contains common errors (missing/invalid fields, internal server error, etc.) and all protocol-specific error responses. It also includes stellar.toml and federation resolving. - New
net
andserver
packages that contain some helper network connected functions and structs. - Improvements to
db
package.
- Add path payments,
- Change
config.toml
file structure, - Partial implementation of Compliance Protocol.
- When there are no
ReceivePayment
s in database, payment listener will start with cursornow
. - Fix a bug in
db.Repository.GetLastCursorValue()
.
- Add
MEMO_HASH
support.
- Fixed bugs connected with running server using
postgres
DB (full refactoring ofdb
package), - Fixed starting a minimum server with a single endpoint:
/payment
.
- Send
create_account
operation in/payment
if account does not exist. - Fixed major bug in
PaymentListener
. - Sending to Stellar address with memo in
/send
. - Standardized responses.
- Updated README file.
- Added
/payment
endpoint. - Now it's possible to start a server with parameter that are not required. Minimum version starts a server with a single endpoint:
/payment
. - Added config parameters validation.
- Added
network_passphrase
config parameter. postgres
migration files.- Fixed sending to Stellar address.
- Fixed
horizon.AccountResponse.SequenceNumber
bug. - Fixed minor bugs.
- Code refactoring.
- Added example config file to the release package
- Updated README file.
- Initial release.