Introducing Sequence v2
Version 2 has been released!
You have until July 1, 2018 to migrate your code from SDK v1.x to v2.
Until this date, all versions of the SDK (with both the new and deprecated interfaces) will continue to work.
After this date, we will drop support for v1.x SDKs (with the deprecated interfaces) and only v2 (with the new interfaces) will work going forward.
For migration instructions, see the changelog.
Released Feb 7, 2018 - view changelog
- Introduce user-provided
idon accounts and keys (replaces
alias). If not provided,
idwill be system-generated.
aliason accounts and keys.
- Introduce actions query interfaces.
Released Feb 16, 2018 - view changelog
- Introduce flavors -
assetas the term used to describe the type of value tracked in a ledger. This paves the way for the following release where we will introduce tokens.
SEQXXXerror codes in the
seq_codefield of the error object.
CHXXXerror codes in the
codefield of the error object.
Released Mar 1, 2018 - view changelog
- Introduce tokens - tokens are the new name for all value in the ledger. Each token has a flavor to distinguish it from others. For example, you can create a
USDflavor, and then issue tokens of that flavor.
- Introduce token tags (replaces contract reference data) - if you need to earmark specific tokens in an account, you can tag them with
token_tagsin the action when creating a transaction.
- Introduce filter on transaction builder - when adding an action, in addition to an
source_account_id, you can provide a
filterto target tokens with specific tags.
- Deprecate the list contracts interface - with the new filter feature on the transaction builder, you will no longer need to interact with the underlying contracts to transact with specific tokens.
- Introduce the list interface on tokens (the new name for query).
- Introduce the sum interface on tokens (replaces the balance query interface).
- Deprecate the balance query interface - to calculate a balance, you will now use the sum tokens interface.
- Introduce the list interface for keys, accounts, and transactions.
- Deprecate the query method on keys, accounts, and transactions.
- Update pagination interfaces on all query interfaces.
Released Mar 8, 2018 - view changelog
- Introduce tags on actions.
- Deprecate reference data on actions.
- Add support for timestamp inequalities (<, >, <=, >=) in filters (when querying and building transactions).
Released Mar 16, 2018 - view changelog
- Add support for SDK-specific fieldname cases in filters (e.g.
accountId=$1in Node and Java,
- Deprecate support for non-SDK-specific fieldnames (e.g.
account_id=$1in Node and Java)
- Deprecate reference data on transactions.
- Introduce key ids array on accounts and flavors.
- Deprecate keys array on accounts and flavors.
- Update query iterator interface in Node SDK.
- Update query iterator interface in Ruby SDK.
- Introduce feeds.
- Deprecate contracts array on transactions.
Released Apr 18, 2018 - view changelog
- Remove deprecated interfaces
If you have any questions, don't hesitate to email us at firstname.lastname@example.org.