As this project is pre 1.0, breaking changes may happen for minor version bumps. A breaking change will get clearly marked in this log.
- Upgrade stellar-base to v1.0.2 to fix a bug with the browser bundle.
- Upgrade stellar-base to v1.0.1, which makes available again the deprecated
operation functions
Operation.manageOffer
andOperation.createPassiveOffer
(with a warning). - Fix the documentation around timebounds.
- Upgrade stellar-base to v1.0.0, which introduces two breaking changes.
- Switch stellar-sdk's versioning to true semver! 🎉
- Add types for LedgerCallBuilder.ledger.
- Add types for Server.operationFeeStats.
- Add types for the HorizonAxiosClient export.
- Move @types/* from devDependencies to dependencies.
- Pass and use a stream response type to CallBuilders if it's different from the normal call response.
- Upgrade stellar-base to a version that includes types, and remove @types/stellar-base as a result.
- In .travis.yml, try to switch from the encrypted API key to an environment var.
- Fix Server.transactions and Server.payments definitions to properly return collections
- Renew the npm publish key
- Add Typescript type definitions (imported from DefinitelyTyped).
- Make these changes to those definitions:
- Add definitions for Server.fetchBaseFee and Server.fetchTimebounds
- CallBuilder: No long always returns CollectionPaged results. Interfaces that extend CallBuilder should specify whether their response is a collection or not
- CallBuilder: Add inflation_destination and last_modified_ledger property
- OfferRecord: Fix the returned properties
- TradeRecord: Fix the returned properties
- TradesCallBuilder: Add forAccount method
- TransactionCallBuilder: Add includeFailed method
- Horizon.BalanceLineNative/Asset: Add buying_liabilities / selling_liabilities properties
- Fix documentation links.
- Breaking change:
stellar-sdk
no longer ships with anEventSource
polyfill. If you plan to support IE11 / Edge, please useevent-source-polyfill
to setwindow.EventSource
. - Upgrade
stellar-base
to a version that doesn't use thecrypto
library, fixing a bug with Angular 6 - Add
Server.prototype.fetchTimebounds
, a helper function that helps you set thetimebounds
property when inittingTransactionBuilder
. It bases the timebounds on server time rather than local time.
- Updated some out-of-date dependencies
- Update documentation to explicitly set fees
- Add
Server.prototype.fetchBaseFee
, which devs can use to fetch the current base fee; we plan to add more functions to help suggest fees in future releases - Add
includeFailed
toOperationCallBuilder
for including failed transactions in calls - Add
operationFeeStats
toServer
for the new fee stats endpoint - After submitting a transaction with a
manageOffer
operation, return a new propertyofferResults
, which explains what happened to the offer. SeeServer.prototype.submitTransaction
for documentation.
- Update
stellar-base
to0.11.0
- Added ESLint and Prettier to enforce code style
- Upgraded dependencies, including Babel to 6
- Bump local node version to 6.14.0
- Update
stellar-base
to0.10.0
:- Breaking change Added
TransactionBuilder.setTimeout
method that setstimebounds.max_time
on a transaction. Because of the distributed nature of the Stellar network it is possible that the status of your transaction will be determined after a long time if the network is highly congested. If you want to be sure to receive the status of the transaction within a given period you should set the TimeBounds withmaxTime
on the transaction (this is whatsetTimeout
does internally; if there'sminTime
set but nomaxTime
it will be added). Call toTransactionBuilder.setTimeout
is required if Transaction does not havemax_time
set. If you don't want to set timeout, useTimeoutInfinite
. In general you should setTimeoutInfinite
only in smart contracts. Please checkTransactionBuilder.setTimeout
docs for more information. - Fixed decoding empty
homeDomain
.
- Breaking change Added
- Add
offset
parameter to TradeAggregationCallBuilder to reflect new changes to the endpoint in horizon-0.15.0
- Update
js-xdr
(by updatingstellar-base
) to support unmarshaling non-utf8 strings. - String fields returned by
Operation.fromXDRObject()
are of typeBuffer
now (exceptSetOptions.home_domain
andManageData.name
- both required to be ASCII by stellar-core).
- Update
stellar-base
and xdr files.
- Update
stellar-base
(andjs-xdr
).
- Update
stellar-base
to0.8.1
.
- Update
stellar-base
to0.8.0
withbump_sequence
support.
- Removed
.babelrc
file from the NPM package.
-
stellar-sdk
is now using nativePromise
instead ofbluebird
. Thecatch
function is different. Instead of:.catch(StellarSdk.NotFoundError, function (err) { /* ... */ })
please use the following snippet:
.catch(function (err) { if (err instanceof StellarSdk.NotFoundError) { /* ... */ } })
-
We no longer support IE 11, Firefox < 42, Chrome < 49.
- Fixed
_ is undefined
bug. - Browser build is around 130 KB smaller!
- Added
timeout
option toStellarTomlResolver
andFederationServer
calls (#158). - Fixed adding random value to URLs multiple times (#169).
- Fixed jsdoc for classes that extend
CallBuilder
. - Updated dependencies.
- Added
yarn.lock
file to repository.
- Add an allowed trade aggregation resolution of one minute
- Various bug fixes
- Improved documentation
- Modify
/trades
endpoint to reflect changes in horizon. - Add
/trade_aggregations
support. - Add
/assets
support.
- Upgrade
stellar-base
.
- Allow hex string in setOptions signers.
- Upgrade
stellar-base
.
- Support for new signer types:
sha256Hash
,preAuthTx
. StrKey
helper class withstrkey
encoding related methods.- Removed deprecated methods:
Keypair.isValidPublicKey
(useStrKey
),Keypair.isValidSecretKey
(useStrKey
),Keypair.fromSeed
,Keypair.seed
,Keypair.rawSeed
. - Breaking changes:
Network
must be explicitly selected. Previously testnet was a default network.Operation.setOptions()
methodsigner
param changed.Keypair.fromAccountId()
renamed toKeypair.fromPublicKey()
.Keypair.accountId()
renamed toKeypair.publicKey()
.- Dropping support for
End-of-Life
node versions.
- Updated
stellar.toml
location
forUpdate
methods of call builders now accept strings and numbers.- Create a copy of attribute in a response if there is a link with the same name
(ex.
transaction.ledger
,transaction._links.ledger
).
- Breaking change
CallBuilder.stream
now reconnects when no data was received for a long time. This is to prevent permanent disconnects (more in: #76). Also, this method now returnsclose
callback instead ofEventSource
object. - Breaking change
Server.loadAccount
now returns theAccountResponse
object. - Breaking change Upgraded
stellar-base
to0.6.0
.ed25519
package is now an optional dependency. CheckStellarSdk.FastSigning
variable to check ifed25519
package is available. More in README file. - New
StellarTomlResolver
class that allows gettingstellar.toml
file for a domain. - New
Config
class to set global config values.
- Fixed XDR decoding issue when using firefox
- Breaking change
Server
andFederationServer
constructors no longer accept object inserverUrl
parameter. - Breaking change Removed
AccountCallBuilder.address
method. UseAccountCallBuilder.accountId
instead. - Breaking change It's no longer possible to connect to insecure server in
Server
orFederationServer
unlessallowHttp
flag inopts
is set. - Updated dependencies.
- Updated dependency (
stellar-base
).
- Updated dependencies.
- Added tests.
- Added
CHANGELOG.md
file.
stellar-base
bump. (c90c68f)
- Breaking change Bumped
stellar-base
to 0.5.0. (b810aef)