cds-snc / url-shortener

An API written in Python that shortens URLs
MIT License
4 stars 1 forks source link

chore(deps): update all minor dependencies #428

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
boto3 ==1.27.0 -> ==1.28.1 age adoption passing confidence
fastapi ==0.99.1 -> ==0.100.0 age adoption passing confidence

Review


Release Notes

boto/boto3 (boto3) ### [`v1.28.1`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#1281) [Compare Source](https://togithub.com/boto/boto3/compare/1.28.0...1.28.1) \====== - api-change:`dms`: \[`botocore`] Releasing DMS Serverless. Adding support for PostgreSQL 15.x as source and target endpoint. Adding support for DocDB Elastic Clusters with sharded collections, PostgreSQL datatype mapping customization and disabling hostname validation of the certificate authority in Kafka endpoint settings - api-change:`glue`: \[`botocore`] This release enables customers to create new Apache Iceberg tables and associated metadata in Amazon S3 by using native AWS Glue CreateTable operation. - api-change:`logs`: \[`botocore`] Add CMK encryption support for CloudWatch Logs Insights query result data - api-change:`medialive`: \[`botocore`] This release enables the use of Thumbnails in AWS Elemental MediaLive. - api-change:`mediatailor`: \[`botocore`] The AWS Elemental MediaTailor SDK for Channel Assembly has added support for EXT-X-CUE-OUT and EXT-X-CUE-IN tags to specify ad breaks in HLS outputs, including support for EXT-OATCLS, EXT-X-ASSET, and EXT-X-CUE-OUT-CONT accessory tags. ### [`v1.28.0`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#1280) [Compare Source](https://togithub.com/boto/boto3/compare/1.27.1...1.28.0) \====== - enhancement:configprovider: \[`botocore`] Always use shallow copy of session config value store for clients - feature:configuration: \[`botocore`] Configure the endpoint URL in the shared configuration file or via an environment variable for a specific AWS service or all AWS services. - bugfix:configprovider: \[`botocore`] Fix bug when deep copying config value store where overrides were not preserved - api-change:`ec2`: \[`botocore`] Add Nitro Enclaves support on DescribeInstanceTypes - api-change:`location`: \[`botocore`] This release adds support for authenticating with Amazon Location Service's Places & Routes APIs with an API Key. Also, with this release developers can publish tracked device position updates to Amazon EventBridge. - api-change:`outposts`: \[`botocore`] Added paginator support to several APIs. Added the ISOLATED enum value to AssetState. - api-change:`quicksight`: \[`botocore`] This release includes below three changes: small multiples axes improvement, field based coloring, removed required trait from Aggregation function for TopBottomFilter. - api-change:`rds`: \[`botocore`] Updates Amazon RDS documentation for creating DB instances and creating Aurora global clusters. ### [`v1.27.1`](https://togithub.com/boto/boto3/blob/HEAD/CHANGELOG.rst#1271) [Compare Source](https://togithub.com/boto/boto3/compare/1.27.0...1.27.1) \====== - api-change:`comprehendmedical`: \[`botocore`] Update to Amazon Comprehend Medical documentation. - api-change:`connect`: \[`botocore`] GetMetricDataV2 API: Channels filters do not count towards overall limitation of 100 filter values. - api-change:`kms`: \[`botocore`] Added Dry Run Feature to cryptographic and cross-account mutating KMS APIs (14 in all). This feature allows users to test their permissions and parameters before making the actual API call. - api-change:`mgn`: \[`botocore`] This release introduces the Global view feature and new Replication state APIs. - api-change:`securityhub`: \[`botocore`] Documentation updates for AWS Security Hub
tiangolo/fastapi (fastapi) ### [`v0.100.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.100.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.99.1...0.100.0) ✨ Support for **Pydantic v2** ✨ Pydantic version 2 has the **core** re-written in **Rust** and includes a lot of improvements and features, for example: - Improved **correctness** in corner cases. - **Safer** types. - Better **performance** and **less energy** consumption. - Better **extensibility**. - etc. ...all this while keeping the **same Python API**. In most of the cases, for simple models, you can simply upgrade the Pydantic version and get all the benefits. 🚀 In some cases, for pure data validation and processing, you can get performance improvements of **20x** or more. This means 2,000% or more. 🤯 When you use **FastAPI**, there's a lot more going on, processing the request and response, handling dependencies, executing **your own code**, and particularly, **waiting for the network**. But you will probably still get some nice performance improvements just from the upgrade. The focus of this release is **compatibility** with Pydantic v1 and v2, to make sure your current apps keep working. Later there will be more focus on refactors, correctness, code improvements, and then **performance** improvements. Some third-party early beta testers that ran benchmarks on the beta releases of FastAPI reported improvements of **2x - 3x**. Which is not bad for just doing `pip install --upgrade fastapi pydantic`. This was not an official benchmark and I didn't check it myself, but it's a good sign. ##### Migration Check out the [Pydantic migration guide](https://docs.pydantic.dev/2.0/migration/). For the things that need changes in your Pydantic models, the Pydantic team built [`bump-pydantic`](https://togithub.com/pydantic/bump-pydantic). A command line tool that will **process your code** and update most of the things **automatically** for you. Make sure you have your code in git first, and review each of the changes to make sure everything is correct before committing the changes. ##### Pydantic v1 **This version of FastAPI still supports Pydantic v1**. And although Pydantic v1 will be deprecated at some point, ti will still be supported for a while. This means that you can install the new Pydantic v2, and if something fails, you can install Pydantic v1 while you fix any problems you might have, but having the latest FastAPI. There are **tests for both Pydantic v1 and v2**, and test **coverage** is kept at **100%**. ##### Changes - There are **new parameter** fields supported by Pydantic `Field()` for: - `Path()` - `Query()` - `Header()` - `Cookie()` - `Body()` - `Form()` - `File()` - The new parameter fields are: - `default_factory` - `alias_priority` - `validation_alias` - `serialization_alias` - `discriminator` - `strict` - `multiple_of` - `allow_inf_nan` - `max_digits` - `decimal_places` - `json_schema_extra` ...you can read about them in the Pydantic docs. - The parameter `regex` has been deprecated and replaced by `pattern`. - You can read more about it in the docs for [Query Parameters and String Validations: Add regular expressions](https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#add-regular-expressions). - New Pydantic models use an improved and simplified attribute `model_config` that takes a simple dict instead of an internal class `Config` for their configuration. - You can read more about it in the docs for [Declare Request Example Data](https://fastapi.tiangolo.com/tutorial/schema-extra-example/). - The attribute `schema_extra` for the internal class `Config` has been replaced by the key `json_schema_extra` in the new `model_config` dict. - You can read more about it in the docs for [Declare Request Example Data](https://fastapi.tiangolo.com/tutorial/schema-extra-example/). - When you install `"fastapi[all]"` it now also includes: - pydantic-settings - for settings management. - pydantic-extra-types - for extra types to be used with Pydantic. - Now Pydantic Settings is an additional optional package (included in `"fastapi[all]"`). To use settings you should now import `from pydantic_settings import BaseSettings` instead of importing from `pydantic` directly. - You can read more about it in the docs for [Settings and Environment Variables](https://fastapi.tiangolo.com/advanced/settings/). - PR [#​9816](https://togithub.com/tiangolo/fastapi/pull/9816) by [@​tiangolo](https://togithub.com/tiangolo), included all the work done (in multiple PRs) on the beta branch (`main-pv2`).

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone America/Montreal, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.

patheard commented 1 year ago