Skip to content

⬆ Bump aiosmtplib from 1.1.6 to 2.0.0 - #285

Merged
yezz123 merged 1 commit into
mainfrom
dependabot/pip/aiosmtplib-2.0.0
Nov 9, 2022
Merged

yezz123 merged 1 commit into
mainfrom
dependabot/pip/aiosmtplib-2.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2022

Copy link
Copy Markdown
Contributor

Bumps aiosmtplib from 1.1.6 to 2.0.0.

Release notes

Sourced from aiosmtplib's releases.

v2.0.0

  • BREAKING: Drop Python 3.5 and 3.6 support.

  • BREAKING: On connect, if the server supports STARTTLS, automatically try to upgrade the connection. STARTTLS after connect can be turned on or off explicitly by passing start_tls=True or start_tls=False respectively.

  • BREAKING: Remove deprecated loop keyword argument for the SMTP class.

  • Change: The source_address argument now takes a (addr, port) tuple that is passed as the local_addr param to asyncio.create_connection, allowing for binding to a specific IP. The new local_hostname argument that takes the value to be sent to the server with the EHLO/HELO message. This behaviour more closely matches smtplib.

    In order to not break existing usage, passing a string instead of a tuple to source_address will give a DeprecationWarning, and use the value as it if had been passed for local_hostname.

    Thanks @​rafaelrds and @​davidmcnabnz for raising and contributing work on this issue.

  • Bugfix: the mail_options and rcpt_options arguments to the send coroutine no longer cause errors

  • Cleanup: Refactored SMTP parent classes to remove complex inheritance structure.

  • Cleanup: Switched to asyncio.run for sync client methods.

  • Cleanup: Don't use private email.message.Message policy attribute (instead, set an appropriate policy based on message class)

v2.0.0b1

  • BREAKING: Drop Python 3.5 and 3.6 support.

  • BREAKING: On connect, if the server supports STARTTLS, automatically try to upgrade the connection. STARTTLS after connect can be turned on or off explicitly by passing start_tls=True or start_tls=False respectively.

  • BREAKING: Remove deprecated loop keyword argument for the SMTP class.

  • Change: The source_address argument now takes a (addr, port) tuple that is passed as the local_addr param to asyncio.create_connection, allowing for binding to a specific IP. The new local_hostname argument that takes the value to be sent to the server with the EHLO/HELO message. This behaviour more closely matches smtplib.

    In order to not break existing usage, passing a string instead of a tuple to source_address will give a DeprecationWarning, and use the value as it if had been passed for local_hostname.

    Thanks @​rafaelrds and @​davidmcnabnz for raising and contributing work on this issue.

  • Bugfix: the mail_options and rcpt_options arguments to the send coroutine no longer cause errors

  • Cleanup: Refactored SMTP parent classes to remove complex inheritance

... (truncated)

Changelog

Sourced from aiosmtplib's changelog.

2.0.0

  • BREAKING: Drop Python 3.5 and 3.6 support.

  • BREAKING: On connect, if the server supports STARTTLS, automatically try to upgrade the connection. STARTTLS after connect can be turned on or off explicitly by passing start_tls=True or start_tls=False respectively.

  • BREAKING: Remove deprecated loop keyword argument for the SMTP class.

  • Change: The source_address argument now takes a (addr, port) tuple that is passed as the local_addr param to asyncio.create_connection, allowing for binding to a specific IP. The new local_hostname argument that takes the value to be sent to the server with the EHLO/HELO message. This behaviour more closely matches smtplib.

    In order to not break existing usage, passing a string instead of a tuple to source_address will give a DeprecationWarning, and use the value as it if had been passed for local_hostname.

    Thanks @​rafaelrds and @​davidmcnabnz for raising and contributing work on this issue.

  • Bugfix: the mail_options and rcpt_options arguments to the send coroutine no longer cause errors

  • Cleanup: Refactored SMTP parent classes to remove complex inheritance structure.

  • Cleanup: Switched to asyncio.run for sync client methods.

  • Cleanup: Don't use private email.message.Message policy attribute (instead, set an appropriate policy based on message class)

1.1.7

Commits

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 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)

Bumps [aiosmtplib](https://github.com/cole/aiosmtplib) from 1.1.6 to 2.0.0.
- [Release notes](https://github.com/cole/aiosmtplib/releases)
- [Changelog](https://github.com/cole/aiosmtplib/blob/main/CHANGELOG.rst)
- [Commits](cole/aiosmtplib@v1.1.6...v2.0.0)

---
updated-dependencies:
- dependency-name: aiosmtplib
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from yezz123 as a code owner November 9, 2022 04:07
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 9, 2022
@codecov

codecov Bot commented Nov 9, 2022

Copy link
Copy Markdown

Codecov Report

Base: 91.91% // Head: 91.91% // No change to project coverage 👍

Coverage data is based on head (50cc7ee) compared to base (121841a).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #285   +/-   ##
=======================================
  Coverage   91.91%   91.91%           
=======================================
  Files          58       58           
  Lines        2015     2015           
=======================================
  Hits         1852     1852           
  Misses        163      163           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@yezz123
yezz123 merged commit bd68775 into main Nov 9, 2022
@yezz123
yezz123 deleted the dependabot/pip/aiosmtplib-2.0.0 branch November 9, 2022 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant