All notable changes to this project will be documented in this file.
⚠️ Warning: Pre-1.0.0 ReleaseThis project is in early development. Breaking changes may occur in any minor or patch release until version 1.0.0. Follow changelogs closely and pin versions if needed.
0.6.0 (2025-08-18)
This release introduces new extension features.
-
Ignore operation extension to skip specific API operations during code generation.
Example:
paths: /companies/{company_id}/employees: get: x-apier: ignore: true
-
Option to specify a custom client name for the generated API client in the
python-treetemplate.Example:
info: x-apier: templates: python-tree: client-name: MyAPIClient
0.5.0 (2025-08-15)
The pagination extension now supports setting the API operation to fetch the
next page of results, using the operationId parameter as defined in the
OpenAPI specification.
-
Removed
urlparameter from pagination configuration. Now, the previous request URL is automatically reused for the next page request. If the URL needs to be changed, it can be done adding a modifier on the$urlfield.Before:
pagination: next: url: "https://api.example.com/next-page"
After:
pagination: next: modifiers: - param: "$url" value: "https://api.example.com/next-page"
APIOperationclass forpython-treetemplate with one method for each OpenAPI operation. This serves for pagination operations and is not meant for direct use.- Support for literal curly braces in dynamic expressions (e.g.,
{"foo": 123}will be evaluated as a literal string). - Pagination strategy to retrieve the next page of results using an existing API operation.
- Improved error details when extensions parsing fails.
0.4.0 (2025-08-04)
This release adds $eval support for dynamic expressions, allowing complex
evaluations and manipulations of request and response data, and unlocking
advanced pagination strategies.
- Renamed
reuse-previous-requesttoreuse_previous_requestin pagination configuration for naming consistency. - Enforced
#prefix for dot-separated paths in dynamic expressions (e.g.,#users.0.nameinstead ofusers.0.name).
- Simple expression evaluation with
astmodule. - Support for nullish coalescing operator (
??) in dynamic expressions.
- Evaluation of
resultsparameter in pagination configuration.
0.3.0 (2025-07-31)
This release adds support for request payloads with
application/x-www-form-urlencoded content type, and improves handling of
structured content types such as application/json-patch+json.
- Handle request content types with structured syntax suffixes.
- Support for
application/x-www-form-urlencodedrequest payloads.
0.2.0 (2025-07-24)
This release adds support for multipart requests, binary responses, improved request handling, and includes various fixes and minor enhancements.
- Enforce body compatibility with request content types.
- Response stream extension.
- Support for binary responses.
- Support for streaming multipart requests.
FilePayloadmodel for file uploads.- Format generated code with black.
- Support for
multipart/form-datain file uploads. - XML request and enhanced Content-Type handling.
- Enhanced Content-Type validation and request preparation.
0.1.0 (2025-07-18)
- 🚀 Initial release.