Skip to content

Latest commit

 

History

History
96 lines (62 loc) · 3.04 KB

CHANGELOG.md

File metadata and controls

96 lines (62 loc) · 3.04 KB

Changelog

[0.6.0] - 2021-12-21

Added

Added AnchorPy CLI (#42).

Changed

Bumped apischema dependency to latest version (#42).

[0.5.0] - 2021-12-18

Changed

  • AnchorPy now targets Anchor 0.19.0 (#39)

[0.4.6] - 2021-12-13

Fixed

  • Fixed event parser (#38)

[0.4.5] - 2021-12-06

  • Support solana-py 0.19.0.

[0.4.4] - 2021-12-02

Fixed

  • Update sumtypes dep so it works on Python 3.10
  • Fix handling of enums with C-like struct variants.

[0.4.3] - 2021-11-22

Added

  • Program.fetch_raw_idl method to fetch an IDL json without parsing it into an Idl instance.

[0.4.2] - 2021-11-20

Fixed

  • Upgrade solana-py dep so .send returns the tx signature and not the signature status.
  • Dedupe transaction signers

[0.4.1] - 2021-11-20

Fixed

  • Missing pytest-xprocess dep (it was marked as a dev dependency only)

[0.4.0] - 2021-11-20

Changed

  • BREAKING: Some program namespace entries are now snake-case (kevinheavey#13). This affects program.rpc, program.instruction, fields inside program.type entries, and the accounts argument to Context.
  • BREAKING: instructions is replaced with pre_instructions and post_instructions. (kevinheavey#18)
  • BREAKING: User-defined types must now be constructed using the new program.type namespace. kevinheavey#7 This also affects the return type of .fetch - the returned object is now a dataclass and requires . access instead of [].
  • BREAKING: provider.client is renamed to provider.connection.
  • Refactor .send to use more solana-py functionality. kevinheavey#11

Added

[0.3.0] - 2021-11-02

Added

  • Add at and fetch_idl classmethods to Program.
  • Better error message when an incorrect number of arguments is passed to an RPC function.
  • Allow for state when parsing the IDL.
  • Add support for filtering .all() with a buffer, like in the TS client.
  • Add missing .accounts utility method to InstructionFn.
  • Add py.typed file for mypy support.
  • Add utils.rpc.invoke function.

Fixed

  • Fix missing async/await keywords in simulate.py.
  • Catch unhandled TypeError when looking for custom error code in RPC response.

[0.2.0] - 2021-10-18

Added

  • associated_address function in utils/token.py

Fixed

  • Fixed errors with non-string IDL types.

[0.1.1] - 2021-10-16

Add optional path and url parameters to create_workspace. This is so we can overhaul the tests.

[0.1.0] - 2021-10-16

First release 🚀