Skip to content

Latest commit

 

History

History
158 lines (116 loc) · 5.68 KB

File metadata and controls

158 lines (116 loc) · 5.68 KB

Sequence Ruby SDK changelog

2.2 (20180808)

  • No changes from release candidates

2.2.rc.2 (20180731)

2.2.rc.1 (20180713)

  • Added update_tags to Action.
  • Added support for dynamically addressing different API hosts for individual ledgers. Internal APIs only, works automatically.

2.1 (20180516)

2 (20180418)

  • Updated User-Agent header to be sequence-sdk-ruby/#{VERSION}.
  • Updated copyright year in LICENSE to be 2018.
  • Removed development dependency Bundler Audit.

2.rc.2 (20180416)

  • Removed deprecated .[list|sum].all code.

1.5.2 (20180416)

  • Paginating objects using .[list|sum].all has been deprecated; the new interface is Ruby's Enumerable on the result of .[list|sum} e.g. .[list|sum].to_a and .[list|sum].each. This gives the calling code control to break out of the loop if needed, without blocking until all pages are requested from the API.

2-rc.1 (20180411)

1.5.1 (20180411)

  • The asset_count attribute on Stats has been deprecated; the new field is flavor_count.
  • The contracts attribute on Transaction has been deprecated. Use Token::ClientModule#list instead.

1.5 (20180316)

For full details on the 1.5 release and how to migrate your code, visit the Sequence changelog.

  • Added Feeds. More info
  • The keys field on Account and Flavor has been deprecated; the new field is key_ids, containing key ID strings.
  • Optimize Ruby garbarge collection with # frozen_string_literal: true "magic comments".
  • Transaction#reference_data has been deprecated; Use Action#tags instead.
  • action.snapshot.*_tags can now be accessed with dot syntax.

1.4 (20180308)

For full details on the 1.4 release and how to migrate your code, visit the Sequence changelog.

  • Added tags to Action.
  • Added action_tags on Transaction builder's actions.
  • Added timestamp inequalities in filters.
  • reference_data on Transaction builder's actions has been deprecated. You can now use action_tags instead.

1.3 (20180301)

For full details on the 1.3 release and how to migrate your code, visit the Sequence changelog.

  • Added Tokens. More info.
  • Added token_tags on Transaction builder's issue/transfer actions.
  • Added filter on Transaction builder's transfer/retire actions.
  • Updated pagination interfaces: .[list|sum].page(size: size) to retrieve one page. .[list|sum].page(cursor: cursor) to retrieve another page. .[list|sum].all to iterate over all items. page_size has been deprecated; you can now use .page(size: size).
  • Querying balances has been deprecated; you can now use tokens.sum to query balances in an account.
  • Querying contracts has been deprecated; you can now use tokens.list to list tokens in an account.

1.2.0 (20180216)

For full details on the 1.2 release and how to migrate your code, visit the Sequence changelog.

  • Asset has been renamed to Flavor; all references to assets have been deprecated.
  • The code field on API errors has been deprecated; the new field is seq_code, containing SEQXXX error codes.
  • The source_account_tags, destination_account_tags, and asset_tags on action objects have been deprecated; All tags on actions are now available within a new Action#snapshot object.

1.1.0 (20180206)

For full details on the 1.1 release and how to migrate your code, visit the Sequence changelog.

  • Added support for setting a user-provided id on key and account objects.
  • The alias field on key and account objects has been deprecated.
  • The ledger field when creating an API client has been deprecated; the new field is named ledger_name.
  • Added full support for listing and summing actions.

1.0.4 (20180119)

  • Ruby >= 2.2 is required. We recommend upgrading to Ruby >= 2.3.
  • New interface ledger.actions.list and ledger.actions.sum available. More info.
  • Invalid parameters raise ArgumentErrors when creating or querying objects.
  • Improved retry logic for network errors.
  • Sequence::Client instances now use persistent TLS connections.
  • Set lower HTTP timeouts. This can be configured. See below.
  • Private interfaces more comprehensively annotated as YARD @private.
  • Rubocop linting applied to source code.
Sequence::Client.new(
  ledger: 'development',
  credential: '...'
  open_timeout: 1,
  read_timeout: 1,
  ssl_timeout: 1,
)

1.0.3 (20171020)

1.0.2 (20170922)

  • Updated YARD doc strings

1.0.1 (20170921)

  • Removed the ttl and base_transaction attributes from Sequence::Transaction::Builder.