2.1.0
(feat):
Pass in custom pager context to the custom pager factory. The context contains the send request method, initial HTTP request, client options, and request options.
SDK authors can improve their custom pagination implementation with this context available to them.
2.0.3
(fix):
Mockserver tests were generated based on the endpoint name being tested.
When multiple endpoints have the same name, they would override each other, resulting in only one of them being tested.
Mockserver tests are now namespaced and written to the filesystem following the same structure as the generated endpoints are.
(fix):
Update the type referencing logic to take into account the current namespace, other namespaces, and more scenarios where it could conflicts.
2.0.2
(fix):
Improve auto-pagination logic to consider empty strings in response as null cursors and stop paging.
2.0.1
(fix):
Fix a bug where strings with special characters would not be properly escaped when converted to C# strings.
2.0.0
(chore):
The following configuration names have changed, but the old names will continue to work.
experimental-enable-forward-compatible-enums
is nowenable-forward-compatible-enums
experimental-additional-properties
is nowadditional-properties
(feat):
This release changes the defaults for the following custom configuration in generators.yml.
To avoid breaking changes, explicitly set the options above with the Before
values in the config
of your generator
in generators.yml.
1.18.1
(fix):
Add [Serializable]
attribute to generated schema, request, and error classes.
This will make it easier for instances of these classes to be stored in places like Exception.Data
.
1.18.0
(feat):
Add support for HTTP HEAD method
1.17.6
(fix):
Fix generated pagination endpoints that include path parameters.
1.17.5
(internal):
Update the IR to v58.
1.17.4
(fix):
Mock the OAuth endpoint for the wire tests.
1.17.3
(fix):
Add support for the custom introduction setting in the generated README.md.
1.17.1
(chore):
Self hosted github user defaults to fern-api[bot]
.
1.17.0
(feat):
Added support for pushing to GitHub.