Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

chore(deps): update all minor dependencies #490

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 22, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update Pending
@types/jest (source) 29.4.0 -> 29.5.1 age adoption passing confidence devDependencies minor
@typescript-eslint/eslint-plugin 5.54.1 -> 5.59.0 age adoption passing confidence devDependencies minor 5.59.1
@typescript-eslint/parser 5.54.1 -> 5.59.0 age adoption passing confidence devDependencies minor 5.59.1
aws-sdk 2.1359.0 -> 2.1363.0 age adoption passing confidence dependencies minor 2.1368.0 (+4)
eslint (source) 8.35.0 -> 8.39.0 age adoption passing confidence devDependencies minor
eslint-config-prettier 8.7.0 -> 8.8.0 age adoption passing confidence devDependencies minor
eslint-plugin-n 15.6.1 -> 15.7.0 age adoption passing confidence devDependencies minor
fastapi ==0.92.0 -> ==0.95.1 age adoption passing confidence minor
github.com/aws/aws-lambda-go v1.38.0 -> v1.40.0 age adoption passing confidence require minor
github.com/aws/aws-sdk-go-v2/service/s3 v1.30.5 -> v1.32.0 age adoption passing confidence require minor v1.33.0
golang.org/x/oauth2 v0.6.0 -> v0.7.0 age adoption passing confidence require minor
httpx (changelog) ==0.23.3 -> ==0.24.0 age adoption passing confidence minor
playwright (changelog) ==1.31.1 -> ==1.32.1 age adoption passing confidence minor
pytest (source, changelog) ==7.2.2 -> ==7.3.1 age adoption passing confidence minor
ts-jest (source) 29.0.5 -> 29.1.0 age adoption passing confidence devDependencies minor
uvicorn (changelog) ==0.20.0 -> ==0.21.1 age adoption passing confidence minor 0.22.0

Review

  • Updates have been tested and work
  • If updates are AWS related, versions match the infrastructure (e.g. Lambda runtime, database, etc.)

Release Notes

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v5.59.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] allow nullish coalescing for naked type parameter (#​6910) (3e5f858)
Features
  • eslint-plugin: [ban-types] add NonNullable suggestion and allow custom suggestions (#​6876) (ff65235)

v5.58.0

Compare Source

Bug Fixes
  • eslint-plugin: [unified-signatures] allow overloads with different named and different number of parameters (#​6877) (939d665)
Features

5.57.1 (2023-04-03)

Bug Fixes
  • eslint-plugin: [strict-boolean-expressions] support mixed enums in allowNullableEnum option (#​6740) (49be8a8)

v5.57.1

Compare Source

Bug Fixes
  • eslint-plugin: [strict-boolean-expressions] support mixed enums in allowNullableEnum option (#​6740) (49be8a8)

v5.57.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-boolean-literal-compare] simplify fixer and add support for double negation (#​6620) (81c8519)
  • eslint-plugin: correct crashes with getTypeArguments for ts < 3.7 (#​6767) (59eab58)
Features
  • eslint-plugin: [consistent-type-assertions] add suggestions for objectLiteralTypeAssertions (#​6642) (720e811)
  • eslint-plugin: [consistent-type-assertions] autofix angle bracket assertions to as (#​6641) (ad8ea64)
  • eslint-plugin: add no-duplicate-type-constituents rule (#​5728) (bc31078)

v5.56.0

Compare Source

Bug Fixes
  • eslint-plugin: [member-ordering] check order when optionalityOrder is present with no optional members (#​6619) (6aff431)
  • eslint-plugin: [no-misused-promises] avoid unnecessary calls to getContextualType (#​6193) (745cfe4)
  • eslint-plugin: [no-misused-promises] fix incorrect detection of void functions in JSX attributes (#​6638) (9e41cee)
  • eslint-plugin: [strict-boolean-expression] support falsy and truthy literals simultaneously (#​6672) (62ef487)
  • eslint-plugin: [strict-boolean-expressions] handle truthy enums (#​6618) (0d0639f)
  • eslint-plugin: add TSPropertySignature with TSFunctionType annotation to typeMethod selector (#​6645) (3fc5c63)
Features
  • eslint-plugin: add allowNever support to restrict-template-expressions (#​6554) (423f164)

v5.55.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-confusing-void-expression] check sequence expressions for void is in last position (#​6597) (d73d7d3)
  • eslint-plugin: [no-unnecessary-boolean-literal-compare] fixer should handle parentheses (#​6569) (2d8c196)
Features

5.54.1 (2023-03-06)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v5.59.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.58.0

Compare Source

Bug Fixes
  • update getLib for new TypeScript targets ES2021, ES2022 (#​6782) (1c04664)

5.57.1 (2023-04-03)

Note: Version bump only for package @​typescript-eslint/parser

v5.57.1

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.57.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.56.0

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

v5.55.0

Compare Source

Features

5.54.1 (2023-03-06)

Note: Version bump only for package @​typescript-eslint/parser

aws/aws-sdk-js

v2.1363.0

Compare Source

  • feature: Connect: This release adds a new API CreateParticipant. For Amazon Connect Chat, you can use this new API to customize chat flow experiences.
  • feature: FMS: AWS Firewall Manager adds support for multiple administrators. You can now delegate more than one administrator per organization.

v2.1362.0

Compare Source

  • feature: Chime: Adds support for Hindi and Thai languages and additional Amazon Transcribe parameters to the StartMeetingTranscription API.
  • feature: ChimeSDKMediaPipelines: This release adds support for specifying the recording file format in an S3 recording sink configuration.
  • feature: ChimeSDKMeetings: Adds support for Hindi and Thai languages and additional Amazon Transcribe parameters to the StartMeetingTranscription API.
  • feature: GameLift: Amazon GameLift supports creating Builds for Windows 2016 operating system.
  • feature: GuardDuty: This release adds support for the new Lambda Protection feature.
  • feature: Iot: Support additional OTA states in GetOTAUpdate API
  • feature: SageMaker: Amazon SageMaker Canvas adds ModelRegisterSettings support for CanvasAppSettings.
  • feature: Snowball: Adds support for Amazon S3 compatible storage. AWS Snow Family customers can now use Amazon S3 compatible storage on Snowball Edge devices. Also adds support for V3_5S. This is a refreshed AWS Snowball Edge Storage Optimized device type with 210TB SSD (customer usable).
  • feature: WAFV2: You can now create encrypted API keys to use in a client application integration of the JavaScript CAPTCHA API . You can also retrieve a list of your API keys and the JavaScript application integration URL.

v2.1361.0

Compare Source

  • feature: Comprehend: This release supports native document models for custom classification, in addition to plain-text models. You train native document models using documents (PDF, Word, images) in their native format.
  • feature: ECS: This release supports the Account Setting "TagResourceAuthorization" that allows for enhanced Tagging security controls.
  • feature: RAM: This release adds support for customer managed permissions. Customer managed permissions enable customers to author and manage tailored permissions for resources shared using RAM.
  • feature: S3: Provides support for "Snow" Storage class.
  • feature: S3Control: Provides support for overriding endpoint when region is "snow". This will enable bucket APIs for Amazon S3 Compatible storage on Snow Family devices.

v2.1360.0

Compare Source

  • feature: Appflow: This release adds a Client Token parameter to the following AppFlow APIs: Create/Update Connector Profile, Create/Update Flow, Start Flow, Register Connector, Update Connector Registration. The Client Token parameter allows idempotent operations for these APIs.
  • feature: Drs: Changed existing APIs and added new APIs to support using an account-level launch configuration template with AWS Elastic Disaster Recovery.
  • feature: EMRServerless: The GetJobRun API has been updated to include the job's billed resource utilization. This utilization shows the aggregate vCPU, memory and storage that AWS has billed for the job run. The billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per worker.
  • feature: InternetMonitor: This release includes a new configurable value, TrafficPercentageToMonitor, which allows users to adjust the amount of traffic monitored by percentage
  • feature: IoTWireless: Supports the new feature of LoRaWAN roaming, allows to configure MaxEirp for LoRaWAN gateway, and allows to configure PingSlotPeriod for LoRaWAN multicast group
  • feature: Lambda: Add Python 3.10 (python3.10) support to AWS Lambda
eslint/eslint

v8.39.0

Compare Source

Features

  • 3f7af9f feat: Implement SourceCode#markVariableAsUsed() (#​17086) (Nicholas C. Zakas)

Documentation

  • 6987dc5 docs: Fix formatting in Custom Rules docs (#​17097) (Milos Djermanovic)
  • 4ee92e5 docs: Update README (GitHub Actions Bot)
  • d8e9887 docs: Custom Rules cleanup/expansion (#​16906) (Ben Perlmutter)
  • 1fea279 docs: Clarify how to add to tsc agenda (#​17084) (Nicholas C. Zakas)
  • 970ef1c docs: Update triage board location (Nicholas C. Zakas)
  • 6d8bffd docs: Update README (GitHub Actions Bot)

Chores

v8.38.0

Compare Source

Features

  • a1d561d feat: Move getDeclaredVariables and getAncestors to SourceCode (#​17059) (Nicholas C. Zakas)

Bug Fixes

  • 1c1ece2 fix: do not report on RegExp(...args) in require-unicode-regexp (#​17037) (Francesco Trotta)

Documentation

  • 7162d34 docs: Mention new config system is complete (#​17068) (Nicholas C. Zakas)
  • 0fd6bb2 docs: Update README (GitHub Actions Bot)
  • c83531c docs: Update/remove external links, eg. point to eslint-community (#​17061) (Pelle Wessman)
  • a3aa6f5 docs: Clarify no-div-regex rule docs (#​17051) (Francesco Trotta)
  • b0f11cf docs: Update README (GitHub Actions Bot)
  • da8d52a docs: Update the second object instance for the "no-new" rule (#​17020) (Ahmadou Waly NDIAYE)
  • 518130a docs: switch language based on current path (#​16687) (Percy Ma)
  • 24206c4 docs: Update README (GitHub Actions Bot)

Chores

v8.37.0

Compare Source

Features

Bug Fixes

  • 619f3fd fix: correctly handle null default config in RuleTester (#​17023) (Brad Zacher)
  • 1fbf118 fix: getFirstToken/getLastToken on comment-only node (#​16889) (Francesco Trotta)
  • 129e252 fix: Fix typo in logical-assignment-operators rule description (#​17000) (Francesco Trotta)

Documentation

Chores

v8.36.0

Compare Source

Features
Bug Fixes
  • 92c1943 fix: correctly iterate files matched by glob patterns (#​16831) (Nitin Kumar)
Documentation
  • b98fdd4 docs: Update README (GitHub Actions Bot)
  • caf08ce docs: fix estree link in custom formatters docs (#​16967) (Milos Djermanovic)
  • 3398431 docs: Custom Parsers cleanup/expansion (#​16887) (Ben Perlmutter)
  • 19d3531 docs: Update README (GitHub Actions Bot)
  • b09a512 docs: detect and fix broken links (#​16837) (Nitin Kumar)
Chores
prettier/eslint-config-prettier

v8.8.0

Compare Source

eslint-community/eslint-plugin-n

v15.7.0

Compare Source

tiangolo/fastapi

v0.95.1

Compare Source

Fixes
Docs
  • 🌐 🔠 📄 🐢 Translate docs to Emoji 🥳 🎉 💥 🤯 🤯. PR #​5385 by @​LeeeeT.
  • 📝 Add notification message warning about old versions of FastAPI not supporting Annotated. PR #​9298 by @​grdworkin.
  • 📝 Fix typo in docs/en/docs/advanced/behind-a-proxy.md. PR #​5681 by @​Leommjr.
  • ✏ Fix wrong import from typing module in Persian translations for docs/fa/docs/index.md. PR #​6083 by @​Kimiaattaei.
  • ✏️ Fix format, remove unnecessary asterisks in docs/en/docs/help-fastapi.md. PR #​9249 by @​armgabrielyan.
  • ✏ Fix typo in docs/en/docs/tutorial/query-params-str-validations.md. PR #​9272 by @​nicornk.
  • ✏ Fix typo/bug in inline code example in docs/en/docs/tutorial/query-params-str-validations.md. PR #​9273 by @​tim-habitat.
  • ✏ Fix typo in docs/en/docs/tutorial/path-params-numeric-validations.md. PR #​9282 by @​aadarsh977.
  • ✏ Fix typo: 'wll' to 'will' in docs/en/docs/tutorial/query-params-str-validations.md. PR #​9380 by @​dasstyxx.
Translations
  • 🌐 Add French translation for docs/fr/docs/advanced/index.md. PR #​5673 by @​axel584.
  • 🌐 Add Portuguese translation for docs/pt/docs/tutorial/body-nested-models.md. PR #​4053 by @​luccasmmg.
  • 🌐 Add Russian translation for docs/ru/docs/alternatives.md. PR #​5994 by @​Xewus.
  • 🌐 Add Portuguese translation for docs/pt/docs/tutorial/extra-models.md. PR #​5912 by @​LorhanSohaky.
  • 🌐 Add Portuguese translation for docs/pt/docs/tutorial/path-operation-configuration.md. PR #​5936 by @​LorhanSohaky.
  • 🌐 Add Russian translation for docs/ru/docs/contributing.md. PR #​6002 by @​stigsanek.
  • 🌐 Add Korean translation for docs/tutorial/dependencies/classes-as-dependencies.md. PR #​9176 by @​sehwan505.
  • 🌐 Add Russian translation for docs/ru/docs/project-generation.md. PR #​9243 by @​Xewus.
  • 🌐 Add French translation for docs/fr/docs/index.md. PR #​9265 by @​frabc.
  • 🌐 Add Russian translation for docs/ru/docs/tutorial/query-params-str-validations.md. PR #​9267 by @​dedkot01.
  • 🌐 Add Russian translation for docs/ru/docs/benchmarks.md. PR #​9271 by @​Xewus.
Internal

v0.95.0

Compare Source

Highlights

This release adds support for dependencies and parameters using Annotated and recommends its usage. ✨

This has several benefits, one of the main ones is that now the parameters of your functions with Annotated would not be affected at all.

If you call those functions in other places in your code, the actual default values will be kept, your editor will help you notice missing required arguments, Python will require you to pass required arguments at runtime, you will be able to use the same functions for different things and with different libraries (e.g. Typer will soon support Annotated too, then you could use the same function for an API and a CLI), etc.

Because Annotated is standard Python, you still get all the benefits from editors and tools, like autocompletion, inline errors, etc.

One of the biggest benefits is that now you can create Annotated dependencies that are then shared by multiple path operation functions, this will allow you to reduce a lot of code duplication in your codebase, while keeping all the support from editors and tools.

For example, you could have code like this:

def get_current_user(token: str):

### authenticate user
    return User()

@&#8203;app.get("/items/")
def read_items(user: User = Depends(get_current_user)):
    ...

@&#8203;app.post("/items/")
def create_item(*, user: User = Depends(get_current_user), item: Item):
    ...

@&#8203;app.get("/items/{item_id}")
def read_item(*, user: User = Depends(get_current_user), item_id: int):
    ...

@&#8203;app.delete("/items/{item_id}")
def delete_item(*, user: User = Depends(get_current_user), item_id: int):
    ...

There's a bit of code duplication for the dependency:

user: User = Depends(get_current_user)

...the bigger the codebase, the more noticeable it is.

Now you can create an annotated dependency once, like this:

CurrentUser = Annotated[User, Depends(get_current_user)]

And then you can reuse this Annotated dependency:

CurrentUser = Annotated[User, Depends(get_current_user)]

@&#8203;app.get("/items/")
def read_items(user: CurrentUser):
    ...

@&#8203;app.post("/items/")
def create_item(user: CurrentUser, item: Item):
    ...

@&#8203;app.get("/items/{item_id}")
def read_item(user: CurrentUser, item_id: int):
    ...

@&#8203;app.delete("/items/{item_id}")
def delete_item(user: CurrentUser, item_id: int):
    ...

...and CurrentUser has all the typing information as User, so your editor will work as expected (autocompletion and everything), and FastAPI will be able to understand the dependency defined in Annotated. 😎

Roughly all the docs have been rewritten to use Annotated as the main way to declare parameters and dependencies. All the examples in the docs now include a version with Annotated and a version without it, for each of the specific Python versions (when there are small differences/improvements in more recent versions). There were around 23K new lines added between docs, examples, and tests. 🚀

The key updated docs are:

Special thanks to @​nzig for the core implementation and to @​adriangb for the inspiration and idea with Xpresso! 🚀

Features
  • ✨Add support for PEP-593 Annotated for specifying dependencies and parameters. PR #​4871 by @​nzig.
Docs
  • 📝 Tweak tip recommending Annotated in docs. PR #​9270 by @​tiangolo.
  • 📝 Update order of examples, latest Python version first, and simplify version tab names. PR #​9269 by @​tiangolo.
  • 📝 Update all docs to use Annotated as the main recommendation, with new examples and tests. PR #​9268 by @​tiangolo.

v0.94.1

[Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.94.


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.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot force-pushed the renovate/all-minor branch 7 times, most recently from faa0529 to f957ba6 Compare April 28, 2023 21:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants