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.
- Fixed package.json configuration in
@ton-api/ton-adapterwhere prepublishOnly script was incorrectly placed in peerDependencies section
- Migrated all tests from Jest to Vitest and moved them to a separate directory for better organization
- Configured Turbopack for improved build performance
- Key Formatting (like Addresses): address keys and other additional fields retain their original formatting without converting to camelCase, maintaining data consistency and preventing key mismatches (#222)
- Memory Leak: Fixed a memory leak caused by the
clonemethod in API requests, enhancing performance and stability. (#212) - Query Parameter Handling: add support for
explode: falsein query parameters, ensuring accurate API request generation. (#221)
- Error Handling: Changed priority of error handling to ensure that the error message is returned, if available, instead of the error code. This change provides more context to the user and helps in debugging.
- Support for prefixItems from openapi 3.1.0 in schema
- Example for using Emulation in the client
- Corrected type mismatch for operations with inline response schemas (not defined via $ref in components) in OpenAPI. Key transformations from snake_case to camelCase are now properly reflected in the types, making them usable.
- Resolved an internal issue that caused generation failures when the response format was not application/json.
- Fixed issue where errors without a json method or with invalid JSON responses caused unhandled exceptions #37
- Properly apply custom fetch from ApiConfig #201
-
Conversion of relevant strings to
bigintalongside large numerical values. -
Response types for the
getChartRatesoperation. -
Mechanism for free requests to
tonapithrough the client, providing this capability to dApps. -
x-tonapi-clientheader for requests specifying the client version. -
Simplified client initialization process using a single initializer.
-
Parsing of API errors to eliminate the need for boilerplate code.
- Initial release of the
@ton-api/clientwith basic API interaction functions.
- Migrated all tests from Jest to Vitest for better performance and modern testing experience
- Description of future changes.