All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- enable program ids to be passed in dynamically (#62)
- Version bump
- Errors now include error log lines (#34)
- Comments are now generated based on doc fields in the idl (#36)
- Static fields have been added to enum and error classes for the discriminator, kind, and code fields (#38)
- IDL can now be read from stdin (#43)
- Export types as types to satisfy ts isolatedModules setting (#30)
- Fixed issues with the generated code not satisfying noImplicitAny tsconfig rule (#45)
- Don't generate a msg field in custom errors when there's no message (#32)
- Bytes fields are now Uint8Array instead of number[] to improve performance (#40)
- Add fetchMultiple method to generated account classes (#4)
- Anchor errors are now also generated and parsed (#25)
- Don't generate instruction, account, and type index files when they don't exist b5c3009
- Fixed field value generation for some nested types 1c3a355
- Fixed parsing of errors coming from CPI calls (#25)
- Location of custom error classes has been changed from
errors
toerrors/custom
(#25)