Skip to content

Latest commit

 

History

History
219 lines (164 loc) · 6.73 KB

CHANGELOG.md

File metadata and controls

219 lines (164 loc) · 6.73 KB

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[4.2.1] - 2020-03-12

Fixed

  • Loosen sidekiq constraint
  • Ensure Trailblazer is < 2.1 (this has breaking changes)

[4.2.0] - 2019-08-20

Added

  • Gem user can customize eta response from GET /deposit

[4.1.0] - 2019-08-13

Fixed

  • /deposit returns extra_info as a json object

Added

  • Gem user can customize extra_info for a DepositRequest

[4.0.0] - 2019-08-08

Changed

  • Rename fee_fixed_from to fee_fixed_quote_from to reflect that this is used in the /fee endpoint for quoting
  • Remove fee_network: this is not a Stellar standard. Any apps that use this gem should determine and/or store the network fee in its own records.

Added

  • Developer sets fee_fixed_from in withdrawable asset config to customize how fees on withdrawals are set

[3.1.0] - 2019-08-07

Added

[3.0.1] - 2019-03-07

Fixed

  • Do not blow up when subscribing to accounts whose operations Horizon does not know about

[3.0.0] - 2019-02-15

Changed

  • Raise StellarBase::NotFoundError if transaction is not found instead of letting Faraday::NotFoundError to bubble all the way up

[2.0.0] - 2018-12-19

Fixed

  • Remove SidekiqUniqueJobs that sometimes caused the jobs to never run

[2.0.0-alpha.1] - 2018-12-17

Changed

  • StellarBase.on_withdraw is triggered with different models and not a bridge callback. See on_withdraw documentation.

[1.1.2] - 2018-12-15

Fixed

  • Save cursor right after fetching when an account subscription has none
  • Assign operation to raw and let Virtus assign the rest lazily

[1.1.1] - 2018-12-15

Fixed

  • AccountSubscriptions properly use cursor

[1.1.0] - 2018-12-14

Added

  • Added StellarOperation and StellarTransaction models

Changed

  • Changed StellarBase.configuration.on_account_event to pass StellarOperation and StellarTransaction objects instead of hash objects

[1.0.1] - 2018-12-11

Fixed

  • Ensure that the same deposit's token is not sent multiple times given the same transaction #42

Changed

  • Only one deposit record can exist for per tx_id & deposit_request_id combination #42

[1.0.0] - 2018-11-30

Changed

  • Upgrade stellar-base to >= 0.18.0

Added

[0.10.0] - 2018-11-23

Added

  • Add balances module. Which mounts a /balance/:asset_code endpoint that returns the max_amount of a withdrawable asset

[0.9.6] - 2018-11-07

Fixed

  • DepositRequests::Trigger skipping of sending assets when SendAsset fails

[0.9.5] - 2018-10-19

Fixed

  • Missing local variable address when StellarBase::AccountSubscriptions::GetOperations rescues Faraday::ClientError exception
  • Add error message in /withdraw if a failed policy occurred.

[0.9.4] - 2018-10-08

Fixed

  • Skip remaining SubscribeAccount actions when operations cannot be found for an address

[0.9.3] - 2018-10-08

Fixed

  • Do not blow up when fetching cursors of non-existent accounts
  • Do not blow up when saving cursor of an empty operation set

[0.9.2] - 2018-10-08

Fixed

  • SubscriptionWorker retry is 0 so death handlers are executed

[0.9.1] - 2018-10-04

Changed

  • Pass in GET /deposit params in how_from class

[0.9.0] - 2018-10-04

Changed

  • Remove dependency sidekiq-cron

Fixed

  • #subscribe_to_accounts config defaults to an empty array

[0.8.1]

Changed

  • Change error lifting for StellarBase.on_deposit_trigger. Raising exception is too expensive

[0.8.0]

Added

  • Add StellarBase.on_account_event and .subscribe_to_accounts

[0.7.1]

Added

  • Add all attributes for a complete stellar_toml file

Fixed

  • Fix LocalJumpError issues for Rails apps that already have the toml mime type registered

[0.7.0]

Added

  • Add StellarBase.on_deposit_trigger
  • Add StellarBase.configuration.stellar_network

[0.6.1]

Changed

  • Use 0 if max_amount_from in DepositRequests::Operations::Create

[0.6.0]

Added

  • Add depositable_assets configuration
  • Add DepositRequest model, operations, contracts and services
  • Add /deposit API endpoint

[0.5.6]

Added

  • Add max_amount_from configuration for c.withdrawable_assets to properly populate WithdrawalRequest#max_amount

[0.5.5]

Added

  • Add errors in /withdraw to include errors for invalid asset codes instead of silently failing

[0.5.4]

Fixed

  • Loosen version restriction of stellar-base gem

[0.5.3]

Changed

  • Change tomlrb to toml-rb
  • Fix bug in implicitly referred TRANSFER_SERVER route in StellarToml

[0.5.2]

Changed

  • Added tomlrb in gemspec to fix errors in /.well-known/stellar

[0.5.1] - 2018-08-31

Fixed

  • BridgeCallbacks operation should check if bridge_callbacks is included.

[0.5.0]

Added

  • Add capability for mounting /.well-known using a route helper: mount_stellar_base_well_known

[0.4.1]

Added

  • Show errors when unable to create withdraw request

[0.4.0]

Changed

  • BridgeCallback model uses operation_id instead of id

Added

  • BridgeCallbacks (migration required) are saved in the database and uniqueness on the operation id is handled automatically.
  • on_bridge_callback can be a proc or class itself (as long as it responds to call)
  • Add factory bot definitions to stellar_base/factories

[0.3.0]

Added

  • Added c.check_bridge_callbacks_mac_payload configuration option to flag if /bridge_callbacks will check for the X_PAYLOAD_MAC header that comes from the bridge server
  • Added c.bridge_callbacks_mac_key configuration
  • Added StellarBase::BridgeCallbacks::VerifyMacPayload service object to check if the callback is authentic

[0.2.1]

Added

  • Added BridgeCallbacks::Compare step to check callback contents against operation/transaction details from Horizon

[0.2.0]

Added

  • Added c.check_bridge_callbacks_authenticity configuration option to flag security controls
  • Added c.horizon_url configuration
  • Added StellarBase::BridgeCallbacks::Check service to check callback authenticity against horizon

[0.1.2]

Changed

  • Moved verify_authenticity_token to bridge_callbacks controller

[0.1.1]

Added

  • Update Rails dependency to ~> 5.1 from ~> 5.1.6

[0.1.0]

Added

  • Initial commit