From 7960bf836885a9e6c5d4ffcad10f64189cae307b Mon Sep 17 00:00:00 2001 From: Deep Singhvi Date: Fri, 16 Aug 2024 02:28:06 -0400 Subject: [PATCH] fix(python): upgrade ir sdk to handle null unknown types (#4322) --- generators/python/fastapi/CHANGELOG.md | 4 ++++ generators/python/fastapi/VERSION | 2 +- generators/python/poetry.lock | 10 +++++----- generators/python/pydantic/CHANGELOG.md | 4 ++++ generators/python/pydantic/VERSION | 2 +- generators/python/pyproject.toml | 2 +- generators/python/sdk/CHANGELOG.md | 4 ++++ generators/python/sdk/VERSION | 2 +- 8 files changed, 21 insertions(+), 9 deletions(-) diff --git a/generators/python/fastapi/CHANGELOG.md b/generators/python/fastapi/CHANGELOG.md index a2dab5694f8..1327de135e9 100644 --- a/generators/python/fastapi/CHANGELOG.md +++ b/generators/python/fastapi/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.4.6] - 2024-08-16 + +- Fix: Upgrade intermediate representation dependency to safely parse null unknown types. + ## [1.4.5] - 2024-08-14 - Improvement: `.dict` performance is increased, consolidating to a single call to Pydantic's `.dict` instead of 2 in attempts to remove unset optional values. diff --git a/generators/python/fastapi/VERSION b/generators/python/fastapi/VERSION index e516bb9d963..c514bd85c2e 100644 --- a/generators/python/fastapi/VERSION +++ b/generators/python/fastapi/VERSION @@ -1 +1 @@ -1.4.5 +1.4.6 diff --git a/generators/python/poetry.lock b/generators/python/poetry.lock index 863b97cfed1..4a577eda35a 100644 --- a/generators/python/poetry.lock +++ b/generators/python/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "annotated-types" @@ -248,13 +248,13 @@ reference = "fern-prod" [[package]] name = "fern-fern-ir-v53" -version = "53.2.5" +version = "53.7.2" description = "" optional = false python-versions = ">=3.8,<4.0" files = [ - {file = "fern_fern_ir_v53-53.2.5-py3-none-any.whl", hash = "sha256:c3a94f6f6d04e9a1b6b9bb75b709e1c95fc9422ddc41c703339d81cf038847b3"}, - {file = "fern_fern_ir_v53-53.2.5.tar.gz", hash = "sha256:60dde4460f1e0c84e9c793337abef7e67897d0931606bbdcdfe5a31e4bc56b8d"}, + {file = "fern_fern_ir_v53-53.7.2-py3-none-any.whl", hash = "sha256:9ee15e8fe9e8e3dc82f278fa43dfe28e484b9f364444098de2899c3cd6eb0128"}, + {file = "fern_fern_ir_v53-53.7.2.tar.gz", hash = "sha256:8cebf8a3dad9008b9a224d0c9270ee77fee9fffab9501a94923b910f78573efc"}, ] [package.dependencies] @@ -1053,4 +1053,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "481db7c435ac15886c0e4b5afbf7ea276b7ebd24f30cbb48090fc2a33542852b" +content-hash = "2d7643c9e932ae5891b83ddb7061eac9a3c61ea2fa5b1e97d76dd430f90d5be4" diff --git a/generators/python/pydantic/CHANGELOG.md b/generators/python/pydantic/CHANGELOG.md index 0a349a947d8..5cae8c31fdc 100644 --- a/generators/python/pydantic/CHANGELOG.md +++ b/generators/python/pydantic/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.4.3] - 2024-08-16 + +- Fix: Upgrade intermediate representation dependency to safely parse null unknown types. + ## [1.4.2] - 2024-08-14 - Improvement: `.dict` performance is increased, consolidating to a single call to Pydantic's `.dict` instead of 2 in attempts to remove unset optional values. diff --git a/generators/python/pydantic/VERSION b/generators/python/pydantic/VERSION index 9df886c42a1..428b770e3e2 100644 --- a/generators/python/pydantic/VERSION +++ b/generators/python/pydantic/VERSION @@ -1 +1 @@ -1.4.2 +1.4.3 diff --git a/generators/python/pyproject.toml b/generators/python/pyproject.toml index 76bcad6ad33..d5b4405fd19 100644 --- a/generators/python/pyproject.toml +++ b/generators/python/pyproject.toml @@ -13,7 +13,7 @@ ordered-set = "^4.1.0" pydantic-core = "^2.18.2" fern-fern-fdr-sdk = {version = "0.98.20", source = "fern-prod"} fern-fern-generator-cli-sdk = {version = "0.0.59", source = "fern-prod"} -fern_fern_ir_v53 = "53.2.5" +fern_fern_ir_v53 = "53.7.2" [tool.poetry.dev-dependencies] pytest = "^7.4.2" diff --git a/generators/python/sdk/CHANGELOG.md b/generators/python/sdk/CHANGELOG.md index e4e6d608a61..5b2193f0f9a 100644 --- a/generators/python/sdk/CHANGELOG.md +++ b/generators/python/sdk/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.10.5] - 2024-08-16 + +- Fix: Upgrade intermediate representation dependency to safely parse null unknown types. + ## [3.10.4] - 2024-08-14 - Improvement: `.dict` performance is increased, consolidating to a single call to Pydantic's `.dict` instead of 2 in attempts to remove unset optional values. diff --git a/generators/python/sdk/VERSION b/generators/python/sdk/VERSION index 8d7f852b57f..c84ccce96a7 100644 --- a/generators/python/sdk/VERSION +++ b/generators/python/sdk/VERSION @@ -1 +1 @@ -3.10.4 +3.10.5