Skip to content

Releases: FirmaChain/firma-js

v0.3.8 - deprecate 'time' field to prevent time upgrade

03 Nov 02:46
d1b654a

Choose a tag to compare

What's Changed

  • fix: improve the reward request logic using a filtered delegation list. by @thismars in #21
  • fix: remove deprecated 'time' field from MsgSoftwareUpgrade encoding by @haryunio in #22

Full Changelog: v0.3.7...v0.3.8

v0.3.7 - fix gov query issue and add new function

05 Aug 04:34
532c706

Choose a tag to compare

What's Changed

  • fix: update gov query
    • Add optional parameters to getProposalList
    • Add new getAllProposalList function
  • Feat/support v1 gov by @thismars in #18
  • fix: update gov query by @thismars in #19
  • chore: bump version 0.3.7 by @thismars in #20

New Features

  • feat: add new function
    • getAllProposalList: Fetch complete list of proposals with pagination handling

Bug Fixes

  • Fix pagination parameter structure in gov query
  • Fix validator edit command parameters

Breaking Changes

None. All changes are backwards compatible.

Integration Testing

  • Fully tested against Firma Station Web and Firma Station Mobile
    • ✅ Get proposal list using reverse with other parameters (offset, limit)
    • ✅ getAllProposalList

Full Changelog: v0.3.6...v0.3.7

v0.3.6 - ADR-036 Protobuf Signing Support

24 Jul 02:37

Choose a tag to compare

Key Additions

  • ADR-036 Arbitrary Signing Support

    • Implemented MsgSignData-based signing aligned with ADR-036
    • Added experimentalAdr36Sign and experimentalAdr36Verify methods
    • Supports verification of ADR-036 signatures for arbitrary data
    • Uses standard signing context: accountNumber=0, sequence=0, chainId=""
  • New Protobuf-Based Signing Client

    • Introduced SigningProtobufStargateClient for Protobuf-native transaction signing
    • Directly utilizes types from cosmjs-types
    • Improves integration with modern Cosmos SDK chains and signature tooling

Signing Architecture Refactor

  • Refactored existing SigningStargateClient to use Protobuf-based logic
  • Updated FirmaUtil signing utilities to support new Protobuf workflows
  • Introduced new interfaces in TxCommon.ts for structured Protobuf signing
  • Enhanced type safety across signing methods with clearer TypeScript contracts
  • Improved error handling and input validation throughout the signing process

Integration Testing

  • Fully tested against Firma Station Web and Firma Station Mobile
    • ✅ Arbitrary data signing and verification (ADR-036)
    • ✅ Transaction signing and broadcasting
    • ✅ QR Code-based signing
    • ✅ Signature verification workflows
  • All features confirmed to work across supported platforms

What's Changed

  • feat: Implement ADR-036 Protobuf signing and improve signing architecture by @thismars in #16
  • Update package-lock.json & tsconfig.json by @thismars in #17

Full Changelog: v0.3.5...v0.3.6

v0.3.5 - rework from v0.2.64 and use cosmjs v0.34

21 Jul 07:22
e7324fe

Choose a tag to compare

Key Changes

Upgraded typescript version for improve maintainability and build process stability.
: From 4.3.5 → 4.9.5

Upgraded CosmJS Version
: From 0.26.x → 0.34.0 (latest release)

Removed Amino, Adopted Stargate
: Replaced all amino-based transaction/signature logic with stargate-based implementations

Migrated tendermint to CometBFT
: Updated to reflect the core change in consensus layer

SubmitProposal Transaction Logic Updated
: Adapted to the new MsgSubmitProposal v1 structure introduced in Cosmos SDK v0.50

Added CancelProposal Support
: Introduced support for the MsgCancelProposal message

Chain Version Update
: From v0.4.0 (v0.45.9) → v0.5.0 (v0.50.12)

Parameter Format Handling from LCD
: LCD responses use snake_case, but internal logic requires camelCase; introduced asParams() to convert formats accordingly

GovStakingParams Type Handling
: minCommissionRate is received from LCD as a decimal string but must be sent as a BigInt string on-chain — conversion logic is added

What's Changed

  • Rollback to v0.2.64 and Re-implement for Chain v0.5.0 Compatibility by @thismars in #15

Full Changelog: v0.3.4...v0.3.5

v0.3.4 - fix ledger signing issue and minor util patch

15 Jul 05:33
648854d

Choose a tag to compare

What's Changed

  • fix: edit regex to not filter negative number, but filter .00 numbers by @haryunio in #13
  • fix: change ledger sign param auth to acc by @thismars in #14

Full Changelog: v0.3.3...v0.3.4

v0.3.3 - add bignumber.js to handle deep precision numbers properly

14 Jul 05:17
6ce402d

Choose a tag to compare

What's Changed

  • Bump version v0.3.3 and modify processCommissionRate function by @thismars in #12

Full Changelog: v0.3.2...v0.3.3

v0.3.2 - Support Firmachain v0.5.0 with fix paramsUpdateProposal

08 Jul 07:34
ed60351

Choose a tag to compare

What's Changed

  • feat: validation using fromPartial and add getParamAs***Params to provide appropriate typed object by @haryunio in #10
  • fix validation logic and add test cases to cover firmautil/gov param by @haryunio in #11
  • Support staking/gov params update proposal with validation and full test coverage by @thismars in #9

New Contributors

Full Changelog: v0.3.1...v0.3.2

v0.3.1 - Support Firmachain v0.5.0 with governance changes

02 Jul 08:25
a791c9c

Choose a tag to compare

What's Changed

  • chore: bump version to 0.3.0-beta1 for pre-release by @thismars in #5
  • Update gov proposal for cosmos-sdk v0.50.x by @thismars in #7
  • chore: bump version to 0.3.1 for release by @thismars in #8

Full Changelog: v0.3.0...v0.3.1

v0.3.0-beta1 - Support Firmachain v0.5.0

27 Jun 07:18
8f25037

Choose a tag to compare

What's Changed

  • chore: fix code line counting badge by @koofree in #3
  • Support MsgCancelProposal and improve v0.5.0 compatibility by @thismars in #2
  • docs: update README with governance module support notice for v0.3.1 by @thismars in #4
  • chore: bump version to 0.3.0-beta1 for pre-release by @thismars in #5

New Contributors

Full Changelog: v0.2.64...v0.3.0-beta1

v0.2.64 - CW721 mint support

23 Jun 06:53

Choose a tag to compare

What's Changed

fix: add CW721 mint function with extension by @YilongCui
fix: rollback version for auto version update by @YilongCui

New Contributors

@YilongCui made their first contribution