collerek / ormar

python async orm with fastapi in mind and pydantic validation
https://collerek.github.io/ormar/
MIT License
1.66k stars 86 forks source link

build(deps-dev): bump email-validator from 2.1.1 to 2.1.2 #1359

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps email-validator from 2.1.1 to 2.1.2.

Release notes

Sourced from email-validator's releases.

v2.1.2

2.1.2 (June 16, 2024)

  • The domain name length limit is corrected from 255 to 253 IDNA ASCII characters. I misread the RFCs.
  • When a domain name has no MX record but does have an A or AAAA record, if none of the IP addresses in the response are globally reachable (i.e. not Private-Use, Loopback, etc.), the response is treated as if there was no A/AAAA response and the email address will fail the deliverability check.
  • When a domain name has no MX record but does have an A or AAAA record, the mx field in the object returned by validate_email incorrectly held the IP addresses rather than the domain itself.
  • Fixes in tests.
Changelog

Sourced from email-validator's changelog.

2.1.2 (June 16, 2024)

  • The domain name length limit is corrected from 255 to 253 IDNA ASCII characters. I misread the RFCs.
  • When a domain name has no MX record but does have an A or AAAA record, if none of the IP addresses in the response are globally reachable (i.e. not Private-Use, Loopback, etc.), the response is treated as if there was no A/AAAA response and the email address will fail the deliverability check.
  • When a domain name has no MX record but does have an A or AAAA record, the mx field in the object returned by validate_email incorrectly held the IP addresses rather than the domain itself.
  • Fixes in tests.
Commits
  • 077f568 Version 2.1.2
  • fd33532 Bump test_requirements.txt
  • 8d2610a Fix the domain name length limit
  • 3b1b45c Check that fallback A/AAAA records are globally reachable IP addresses, fixes...
  • 8ec4239 Parameterize test_deliverability_fails
  • da48fd1 Fix the returned implicit MX record when there is a fallback
  • d6d3d15 Add a deliverability test for a MX-fallback A record
  • 7011e69 Fix escaping of $ in Makefile to adjust PATH
  • 1f2690c Update test_requirements to bump idna, fixes #135
  • ea52546 Add missing pyproject.toml file which may explain why tests requiring interne...
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
codspeed-hq[bot] commented 3 months ago

CodSpeed Performance Report

Merging #1359 will degrade performances by 21.87%

Comparing dependabot/pip/email-validator-2.1.2 (9daed01) with master (9701e69)

Summary

⚡ 4 improvements ❌ 1 regressions ✅ 79 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark master dependabot/pip/email-validator-2.1.2 Change
test_avg[1000] 4.3 ms 3.7 ms +16.18%
test_min[1000] 4.4 ms 3.7 ms +16.83%
test_sum[1000] 4.3 ms 3.7 ms +16.83%
test_making_and_inserting_models_in_bulk[10] 3.8 ms 4.9 ms -21.87%
test_values_list[250] 8 ms 7.3 ms +10.07%