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.
- 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
clone
method in API requests, enhancing performance and stability. (#212) - Query Parameter Handling: add support for
explode: false
in 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
bigint
alongside large numerical values. -
Response types for the
getChartRates
operation. -
Mechanism for free requests to
tonapi
through the client, providing this capability to dApps. -
x-tonapi-client
header 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/client
with basic API interaction functions.
- Description of future changes.