Skip to content

Latest commit

 

History

History
173 lines (98 loc) · 4.53 KB

CHANGELOG.md

File metadata and controls

173 lines (98 loc) · 4.53 KB

Changelog

[0.8.2] - 2022-04-15

Added

[0.8.1] - 2022-03-16

Changed

Upgraded zstandard dependency (#60)

[0.8.0] - 2022-03-09

Added

  • Provider.readonly constructor for using AnchorPy only to fetch data (#58)
  • commitment parameter in .fetch and .fetch_multiple methods (#58)

Fixed

  • Cache some generated Python types to avoid issues with checking equality (#57)

[0.7.0] - 2022-02-07

Changed

  • Add experimental support for tuple enum variants

Fixed

  • Don't crash when loading a Program that uses unsupported types

[0.6.5] - 2022-01-28

Changed

Update pytest and pytest-asyncio dependencies.

[0.6.4] - 2022-01-22

Changed

Update ipython dependency to pick up ACE vulnerability patch. More here.

[0.6.3] - 2022-01-21

Fixed

Some more deps needed upating.

[0.6.2] - 2022-01-21

Fixed

Release again because last release was made before merging.

[0.6.1] - 2022-01-21

Changed

  • Use pyheck instead of inflection for case conversion
  • Update solana and apischema dependencies.

[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 🚀