#JavaScript SDK Release (v3.0.0)

3 messages · Page 1 of 1 (latest)

outer marlinBOT
#

v3.0.0

<@&1153674949404393546> (to be notified of future releases visit #🎭│assign-roles)

https://github.com/algorand/js-algorand-sdk/releases/tag/v3.0.0

What's Changed

⚠️ WARNING: This release is a new major version with breaking changes from the v2.X.X series. For help migrating from v2 releases, see the file v2_TO_v3_MIGRATION_GUIDE.md.

v2 End of Life

With the release of v3 of this SDK, v2 is now in maintenance mode. No new features will be added to v2, and only security fixes or critical errors will be addressed. At the end of March 2025, no further updates will be made to the v2 package.

Breaking Changes

GitHub

What's Changed

⚠️ WARNING: This release is a new major version with breaking changes from the v2.X.X series. For help migrating from v2 releases, see the file v2_TO_v3_MIGRATION_GUIDE.md.

v2 ...

GitHub

Resolves #771 for the algod client.
I'm attempting to merge this to the 3.0.0 branch of the SDK which we will not be releasing until we've gained a critical mass of breaking changes...

GitHub

This PR contains breaking changes in transaction fields that align more closely to the transaction reference spec.
Changes:

from -> sender
to -> receiver
firstRound -> firstVa...

clear monolith
#

Happy to see this out of beta. Nice work all!

granite spruce
#

Has anyone else successfully updated to the latest js-algorand-sdk 3.0.0 client? We are getting errors when interacting with Pera and Defly, because of the removal of get_obj_for_encoding, which both wallets appear to depend on.

In v2 of the SDK, the Transaction, LogicSig, BaseModel and other classes had get_obj_for_encoding methods and from_obj_for_encoding static methods. These were used during the process of encoding or decoding objects from msgpack or JSON. These ad-hoc methods have been removed in v3, and in their place a new Encodable interface has been introduced, along with functions encodeMsgpack, decodeMsgpack, encodeJSON, and decodeJSON.

These changes were made to streamline, standardize, and greatly increase the capabilities of the encoding and decoding process. In v2, where get_obj_for_encoding and from_obj_for_encoding were used, these new functions may be used instead.```