Skip to content

chore: prepare release 0.16.0 #871

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

Merged
merged 1 commit into from
Dec 7, 2023
Merged

chore: prepare release 0.16.0 #871

merged 1 commit into from
Dec 7, 2023

Conversation

dbanty
Copy link
Collaborator

@dbanty dbanty commented Oct 14, 2023

This PR was created by Knope. Merging it will create a new release

Breaking Changes

Switch from Black to Ruff for formatting

black is no longer a runtime dependency, so if you have them set in custom post_hooks in a config file, you'll need to make sure they're being installed manually. ruff is now installed and used by default instead.

Use Ruff instead of isort + autoflake at runtime

isort and autoflake are no longer runtime dependencies, so if you have them set in custom post_hooks in a config file, you'll need to make sure they're being installed manually. ruff is now installed and used by default instead.

Features

Support all text/* content types in responses

Within an API response, any content type which starts with text/ will now be treated the same as text/html already was—they will return the response.text attribute from the httpx Response.

Thanks to @fdintino for the initial implementation, and thanks for the discussions from @kairntech, @rubenfiszel, and @antoneladestito.

Closes #797 and #821.

Support application/octet-stream request bodies

Endpoints that accept application/octet-stream request bodies are now supported using the same File type as octet-stream responses.

Thanks to @kgutwin for the implementation and @rtaycher for the discussion!

PR #899 closes #588

Fixes

Remove useless pass statements from generated code

@codecov
Copy link

codecov bot commented Oct 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3e0f835) 100.00% compared to head (afecc96) 100.00%.

❗ Current head afecc96 differs from pull request most recent head 274842c. Consider uploading reports for the commit 274842c to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #871   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           49        49           
  Lines         1940      1932    -8     
=========================================
- Hits          1940      1932    -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dbanty dbanty force-pushed the release branch 5 times, most recently from 6b33cdf to c85bf68 Compare October 18, 2023 16:48
@dbanty dbanty force-pushed the release branch 2 times, most recently from e95f485 to 8a875c2 Compare October 23, 2023 00:31
@dbanty dbanty force-pushed the release branch 6 times, most recently from 4446aac to 917df5b Compare November 6, 2023 01:13
@dbanty dbanty force-pushed the release branch 2 times, most recently from a59a8fc to f6c0a0a Compare November 11, 2023 04:17
@dbanty dbanty force-pushed the release branch 2 times, most recently from b6a2f2c to 10c2103 Compare November 27, 2023 01:16
@dbanty dbanty force-pushed the release branch 3 times, most recently from 2621e6e to afecc96 Compare December 6, 2023 22:19
@dbanty dbanty merged commit 77ea9ff into main Dec 7, 2023
@dbanty dbanty deleted the release branch December 7, 2023 00:58
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