Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 2.25 KB

CHANGELOG.md

File metadata and controls

52 lines (31 loc) · 2.25 KB

Changelog

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.

[v0.28.1]

Features

  • enable program ids to be passed in dynamically (#62)

[v0.28.0]

  • Version bump

[v0.25.0]

Features

  • 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)

Fixes

  • Export types as types to satisfy ts isolatedModules setting (#30)
  • Fixed issues with the generated code not satisfying noImplicitAny tsconfig rule (#45)

Breaking

  • 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)

[v0.24.0]

Features

  • Add fetchMultiple method to generated account classes (#4)
  • Anchor errors are now also generated and parsed (#25)

Fixes

  • 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)

Breaking

  • Location of custom error classes has been changed from errors to errors/custom (#25)