Skip to content

Bump idna from 3.4 to 3.7#3

Closed
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/pip/idna-3.7
Closed

Bump idna from 3.4 to 3.7#3
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/pip/idna-3.7

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 12, 2024

Bumps idna from 3.4 to 3.7.

Release notes

Sourced from idna's releases.

v3.7

What's Changed

  • Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time to process. [CVE-2024-3651]

Thanks to Guido Vranken for reporting the issue.

Full Changelog: kjd/idna@v3.6...v3.7

Changelog

Sourced from idna's changelog.

3.7 (2024-04-11) ++++++++++++++++

  • Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time to process. [CVE-2024-3651]

Thanks to Guido Vranken for reporting the issue.

3.6 (2023-11-25) ++++++++++++++++

  • Fix regression to include tests in source distribution.

3.5 (2023-11-24) ++++++++++++++++

  • Update to Unicode 15.1.0
  • String codec name is now "idna2008" as overriding the system codec "idna" was not working.
  • Fix typing error for codec encoding
  • "setup.cfg" has been added for this release due to some downstream lack of adherence to PEP 517. Should be removed in a future release so please prepare accordingly.
  • Removed reliance on a symlink for the "idna-data" tool to comport with PEP 517 and the Python Packaging User Guide for sdist archives.
  • Added security reporting protocol for project

Thanks Jon Ribbens, Diogo Teles Sant'Anna, Wu Tingfeng for contributions to this release.

Commits
  • 1d365e1 Release v3.7
  • c1b3154 Merge pull request #172 from kjd/optimize-contextj
  • 0394ec7 Merge branch 'master' into optimize-contextj
  • cd58a23 Merge pull request #152 from elliotwutingfeng/dev
  • 5beb28b More efficient resolution of joiner contexts
  • 1b12148 Update ossf/scorecard-action to v2.3.1
  • d516b87 Update Github actions/checkout to v4
  • c095c75 Merge branch 'master' into dev
  • 60a0a4c Fix typo in GitHub Actions workflow key
  • 5918a0e Merge branch 'master' into dev
  • 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 <dependency name> 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

gregnazario and others added 3 commits November 6, 2023 20:28
Bumps [idna](https://github.com/kjd/idna) from 3.4 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](kjd/idna@v3.4...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Apr 12, 2024
@davidiw davidiw closed this Apr 13, 2024
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 13, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/pip/idna-3.7 branch April 13, 2024 00:48
cursor Bot pushed a commit that referenced this pull request May 15, 2026
Per Copilot review: GeneralApi.view_bcs previously wrapped each entry of
ty_args in StructTag.from_str(...), so primitive type arguments such as
'u64', 'bool', 'address', or 'vector<u8>' would crash with
InvalidTypeTagError even though they are valid Move generics accepted by
the on-chain view-function ABI.

Add a top-level TypeTag.from_str parser that dispatches on the leading
token and returns:
  * primitive tags (BoolTag, U8/16/32/64/128/256Tag, AccountAddressTag,
    SignerTag) for 'bool', 'u8'..'u256', 'address', 'signer'
  * VectorTag for 'vector<...>'
  * StructTag for 'addr::module::name<...>'

Also reject:
  * primitive followed by type args (e.g. 'u64<u8>')
  * vector with arity != 1
  * struct tags with empty address/module/name segments
  * inputs that produce more than one tag at the top level

Update view_bcs to use TypeTag.from_str. Mirrored into aptos_sdk/v2/.
Adds 8 new unit tests; v2 test count is now 408.

Co-authored-by: Greg Nazario <greg@gnazar.io>
gregnazario added a commit that referenced this pull request May 20, 2026
Per Copilot review: GeneralApi.view_bcs previously wrapped each entry of
ty_args in StructTag.from_str(...), so primitive type arguments such as
'u64', 'bool', 'address', or 'vector<u8>' would crash with
InvalidTypeTagError even though they are valid Move generics accepted by
the on-chain view-function ABI.

Add a top-level TypeTag.from_str parser that dispatches on the leading
token and returns:
  * primitive tags (BoolTag, U8/16/32/64/128/256Tag, AccountAddressTag,
    SignerTag) for 'bool', 'u8'..'u256', 'address', 'signer'
  * VectorTag for 'vector<...>'
  * StructTag for 'addr::module::name<...>'

Also reject:
  * primitive followed by type args (e.g. 'u64<u8>')
  * vector with arity != 1
  * struct tags with empty address/module/name segments
  * inputs that produce more than one tag at the top level

Update view_bcs to use TypeTag.from_str. Mirrored into aptos_sdk/v2/.
Adds 8 new unit tests; v2 test count is now 408.

Co-authored-by: Greg Nazario <greg@gnazar.io>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants