Skip to content

python-0.4.1.dev

Compare
Choose a tag to compare
@moonbox3 moonbox3 released this 05 Dec 18:47
· 1989 commits to main since this release
a204be8

Breaking Changes

Python Kernel Upgrade to Pydantic v2.5.2

We are happy to announce an upgrade to Pydantic v2.5.2 in our Python kernel. This update not only brings cutting-edge features and syntax enhancements from the Pydantic team but also aligns our platform with major packages like OpenAI and PromptFlow. Key improvements include:

  1. Streamlined Classes: The new version has simplified numerous classes, enhancing their readability and precision.
  2. Unified sk_pydantic Classes: Previously distinct classes, such as skbasemodel, skgeneric, and pydantic field, have been consolidated into skbasemodel. Please note that aliases from earlier versions will be deprecated in the future v1 release.
  3. Changes to Dict Functionality: The dict function in Pydantic has evolved. It is now represented as model_dump and model_dump_json, which may impact your development process.
  4. Alignment with Leading Technologies: The Pydantic upgrade brings SK in line with other significant technologies like OpenAI and PromptFlow, ensuring seamless integration and consistency across platforms.

For a detailed guide on migrating to Pydantic V2 and understanding these changes better, please visit Pydantic's Migration Guide.

What's Changed

  • Python: Bump pyarrow from 13.0.0 to 14.0.1 in /python by @dependabot in #3443
  • Python: Bump qdrant-client from 1.5.4 to 1.6.4 in /python by @dependabot in #3410
  • Python: Bump openapi-core from 0.18.1 to 0.18.2 in /python by @dependabot in #3409
  • Python: fix deployment name parameter when using base_url by @eavanvalkenburg in #3880
  • Python: readded user agent telemetry to openai classes by @eavanvalkenburg in #3881
  • Python: Bug fix in Python sample notebook 10 by @rom212 in #3595
  • Python: added grounding sample as code instead of notebook by @eavanvalkenburg in #3966
  • Python: Bump transformers from 4.34.0 to 4.35.2 in /python by @dependabot in #3936
  • Python: extra tests and a fix for the base_url by @eavanvalkenburg in #3967
  • Python: Bump black from 23.10.1 to 23.11.0 in /python by @dependabot in #3934
  • Python: allow default_headers configuration and users to pass in custom AzureOpenAI/OpenAI clients. by @moonbox3 in #3903
  • Python: Bump Python version to 0.4.1. Make TextMemorySkill attributes ClassVar. by @moonbox3 in #4001

Full Changelog: python-0.4.0.dev...python-0.4.1.dev