Skip to content

Commit 4a9b656

Browse files
authored
v3.3.0 (#458)
* v3.3.0
1 parent 0bbce21 commit 4a9b656

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,29 @@ A breaking change will get clearly marked in this log.
44

55
## Unreleased
66

7+
## [v3.3.0](https://github.com/stellar/js-stellar-sdk/compare/v3.2.0...v3.3.0)
8+
9+
### Deprecated ⚠️
10+
11+
- Horizon 0.25.0 will change the data type for multiple attributes from `Int64` to
12+
`string`. When the JSON payload includes an `Int64`, there are
13+
scenarios where large number data can be incorrectly parsed, since JavaScript doesn't support
14+
`Int64` values. You can read more about it in [#1363](https://github.com/stellar/go/issues/1363).
15+
16+
This release extends the data types for the following attributes to be of type `string` or `number`:
17+
18+
- `EffectRecord#offer_id`
19+
- `EffectRecord#new_seq`
20+
- `OfferRecord#id`
21+
- `TradeAggregationRecord#timestamp`
22+
- `TradeAggregationRecord#trade_count`
23+
- `ManageOfferOperationResponse#offer_id`
24+
- `PassiveOfferOperationResponse#offer_id`
25+
26+
We recommend you update your code to handle both `string` or `number` in
27+
the fields listed above, so that once Horizon 0.25.0 is released, your application
28+
will be able to handle the new type without breaking.
29+
730
## [v3.2.0](https://github.com/stellar/js-stellar-sdk/compare/v3.1.2...v3.2.0)
831

932
### Add ➕

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stellar-sdk",
3-
"version": "3.2.0",
3+
"version": "3.3.0",
44
"description": "stellar-sdk is a library for working with the Stellar Horizon server.",
55
"main": "./lib/index.js",
66
"types": "./lib/index.d.ts",

0 commit comments

Comments
 (0)