Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌿 ✨ [Scheduled] Upgrade Fern Python SDK Generator: (local) #78

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

fern-api[bot]
Copy link
Contributor

@fern-api fern-api bot commented Oct 21, 2024

Upgrading from 2.5.2 to 2.16.0 - Changelog

    2.16.0
  • feat: The generated SDK now allows for specifying whether or not to generate streaming functions as overloaded functions or separate functions.

  • 2.15.6

  • fix: The generated python SDK now requires an environment be specified if a default is not provided.

  • 2.15.5

  • fix: The generated python SDK Oauth client now no longer checks for an expiry when getting the access token if an expiry field is not configured.

  • 2.15.4

  • fix: The generated python SDK now serializes bytes within JSON as a utf-8 encoded string.

  • 2.15.3

  • fix: The generated python SDK no longer runs into a recursion error during snippet generation.

  • 40 additional updates, see more

    2.15.2

  • fix: The generated python SDK no longer treats set as a reserved word for method names.

  • 2.15.1

  • fix: The unchecked base model no longer coerces None to a type.

  • 2.15.0

  • feat: The generated python SDK now respects configured defaults from the API spec.

  • 2.14.1

  • fix: typing within the Sync and AsyncPagers is now correctly passed through to the BasePager.

  • 2.14.0

  • fix: The offset page now allows for the usage of 0 as a page start.

  • 2.14.0-rc3

  • feat: Generated readmes now include an "advanced" section.

  • 2.14.0-rc2

  • chore: Async snippets now run the async function leveraging asyncio.run to be more copy-pastable.

  • 2.14.0-rc1

  • fix: The fix from 2.5.2 is now case-insentitive

  • 2.14.0-rc0

  • feat: The Python SDK now generates an accompanying SDK reference (reference.md) for users to review the SDK methods at a glance within the SDK's GitHub repository.

  • 2.13.1-rc0

  • fix: The Python SDK now does not send additional properties via JSON or data if the request is leveraging the other field.

  • 2.13.0-rc0

  • internal: The Python SDK generator is now upgraded to IR V49.

  • 2.12.0-rc0

  • feat: README generation now supports a section dedicated to streaming usage, as well as one for paginated endpoints.

  • 2.11.0-rc0

  • chore: Snippet templates now support auth variables within the root client.

  • 2.10.2

  • fix: The SDK now handles stream termination sequences like [DONE].

  • 2.10.1

  • fix: Improve the SDK to not leak JSONDecodeError to SDK users. Instead, an ApiError will be thrown with the text content of the response.

  • 2.10.0

  • feat: Add support for higher quality README.md generation.

  • 2.9.10

  • fix: The generator now only specifies the readme location within pyproject.toml if one was successfully created.

  • 2.9.9

  • internal: The generator now consumes IRv46.

  • 2.9.8

  • chore: The python generator only adds a publish step in github actions if credentials are specified.

  • 2.9.7

  • fix: The unchecked base model stops special casing defaults and pydantic v2.

  • 2.9.6

  • fix: Offset based pagination is now 1-based, as opposed to 0 based

  • 2.9.5

  • fix: Unions with elements that specify no properties are generated correctly.

  • 2.9.4

  • fix: The unchecked base model now handles pulling the discriminant from a dict, not just a model/object.

  • 2.9.3

  • fix: Snippet templates for discrminated unions now specify the template_input property which is required to actually see snippets of instantiating discrminated unions.

  • 2.9.2

  • fix: downgrades mypy so we can run it over all our files without concern for their pydantic bug

  • 2.9.1

  • fix: The SDK removes unset query parameters from requests (regression from the client migration in 2.8.0)

  • 2.9.0

  • fix: Snippets preserve trailing slashes

  • 2.9.0-rc1

  • fix: The new http client abstraction ensures a slash is postfixed to the baseurl

  • 2.9.0-rc0

  • chore: The Python generator now runs custom unit tests in CI if configured.

  • 2.8.2

  • fix: The none-filtering function now supports mypy's invariance check.

  • 2.8.1

  • fix: The parameter comment/documentation for timeouts on the root client now reflects the custom timeout passed through within configuration.

  • 2.8.0

  • chore: Endpoint function request logic has been abstracted into the request function of the wrapped httpx client.

  • 2.7.0

  • internal: Improvement: The generator now outputs an exampleId alongside each generated snippet so that we can correlate snippets with the relevant examples. This is useful for retrieving examples from Fern's API and making sure that you can show multiple snippets in the generated docs.

  • 2.6.1

  • internal: this adds a back door token getter function to OAuth clients to better test the functionality.

  • 2.6.0

  • chore: Support adding optional dependencies and extras to your generated pyproject.toml.

  • 2.5.7

  • fix: tests now carry a type annotation for expected_types variable.

  • 2.5.6

  • chore: Literal values are now all defaulted such that users are not required to plug in a redundant value.

  • 2.5.5

  • fix: Auto-Pagination now respects optional return values

  • 2.5.4

  • internal: Add typing library for dateutils in testing lib to satisfy mypy errors.

  • 2.5.3

  • chore: Stops specifying custom licenses manually, lets poetry handle adding them.

Copy link

@ucarion ucarion merged commit 061f73e into main Oct 21, 2024
2 checks passed
@ucarion ucarion deleted the fern/update/fern-python-sdk@local branch October 21, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant