You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20-3
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
-
## 0.8.0 - Unreleased
8
+
## 0.8.0 - 2021-02-19
9
+
10
+
### Breaking Changes
11
+
12
+
- Generated clients will no longer pass through `None` to query parameters. Previously, any query params set to `None` would surface as empty strings (per the default behavior of `httpx`). This is contrary to the defaults indicated by the OpenAPI 3.0.3 spec. Ommitting these parameters makes us more compliant. If you require a style of `null` to be passed to your query parameters, please request support for the OpenAPI "style" attribute. Thank you to @forest-benchling and @bowenwr for a ton of input on this.
9
13
10
14
### Additions
11
15
@@ -15,13 +19,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
15
19
project info.
16
20
-`none` will not create a project folder at all, only the inner package folder (which won't be inner anymore)
17
21
- Attempt to detect and alert users if they are using an unsupported version of OpenAPI (#281).
18
-
- Fixes `Enum` deserialization when the value is `UNSET`.
19
-
- Basic support for `allOf` in models (#98)
22
+
- The media type application/vnd.api+json will now be handled just like application/json (#307). Thanks @jrversteegh!
23
+
- Support passing models into query parameters (#316). Thanks @forest-benchling!
24
+
- Add support for cookie parameters (#326).
25
+
- New `--file-encoding` command line option (#330). Sets the encoding used when writing generated files (defaults to utf-8). Thanks @dongfangtianyu!
20
26
21
27
### Changes
22
28
23
29
- Lowered the minimum version of `python-dateutil` to 2.8.0 for improved compatibility (#298 & #299). Thanks @bowenwr!
24
30
- The `from_dict` method on generated models is now a `@classmethod` instead of `@staticmethod` (#215 & #292). Thanks @forest-benchling!
31
+
- Renamed all templates to end in `.jinja`, and all python-templates to end in `.py.jinja` to fix confusion with the latest version of mypy. Note **this will break existing custom templates until you update your template file names**.
32
+
33
+
### Fixes
34
+
35
+
- Endpoint tags are now sanitized during parsing to fix an issue where `My Tag` and `MyTag` are seen as two different tags but are then later unified, causing errors when creating directories. Thanks @p1-ra! (#328)
36
+
- Parser will softly ignore value error during schema responses' status code convertion from string to integer (not a number). Errors will be reported to the end user and parsing will continue to proceed (#327).
37
+
- The generated `from_dict` and `to_dict` methods of models will now properly handle `nullable` and `not required` properties that are themselves generated models (#315). Thanks @forest-benchling!
38
+
- Fixed a typo in the async example in generated README.md files (#337). Thanks @synchronizing!
39
+
- Fix deserialization of `None` and `Unset` properties for all types by unifying the checks (#334). Thanks @forest-benchling!
40
+
- If duplicate model names are detected during generation, you'll now get an error message instead of broken code (#336). Thanks @forest-benchling!
41
+
- Fixes `Enum` deserialization when the value is `UNSET` (#306). Thanks @bowenwr!
0 commit comments