D4N155
D4N155 copied to clipboard
⬆️ Bump mechanicalsoup from 0.12.0 to 1.3.0
Bumps mechanicalsoup from 0.12.0 to 1.3.0.
Release notes
Sourced from mechanicalsoup's releases.
Version 1.3.0
Breaking changes
To prevent malicious web servers from reading arbitrary files from the client, files must now be opened explicitly by the user in order to upload their contents in form submission. For example, instead of:
browser["upload"] = "/path/to/file"you would now use:
browser["upload"] = open("/path/to/file", "rb")This remediates CVE-2023-34457. Our thanks to
@e-c-dfor reporting and helping to fix the vulnerability!Main changes
Added support for Python 3.11.
Allow submitting a form with no submit element. This can be achieved by passing
submit=FalsetoStatefulBrowser.submit_selected. Thanks@alexreg! [#480]Version 1.2.0
Main changes
Added support for Python 3.10.
Added support for HTML form-associated elements (i.e. input elements that are associated with a form by a
formattribute, but are not a child element of the form). #380Bug fixes
- When uploading a file, only the filename is now submitted to the server. Previously, the full file path was being submitted, which exposed more local information than users may have been expecting. #375
Version 1.1.0
Main changes
Dropped support for EOL Python versions: 2.7 and 3.5.
Increased minimum version requirement for requests from 2.0 to 2.22.0 and beautifulsoup4 from 4.4 to 4.7.
Use encoding from the HTTP request when no HTML encoding is specified. #355
Added the
putmethod to theBrowserclass. This is a light wrapper aroundrequests.Session.put. #359
... (truncated)
Changelog
Sourced from mechanicalsoup's changelog.
============= Release Notes
Version 1.4 (in development)
Version 1.3
Breaking changes
To prevent malicious web servers from reading arbitrary files from the client, files must now be opened explicitly by the user in order to upload their contents in form submission. For example, instead of:
browser["upload"] = "/path/to/file"
you would now use:
browser["upload"] = open("/path/to/file", "rb")
This remediates
CVE-2023-34457 <https://github.com/MechanicalSoup/MechanicalSoup/security/advisories/GHSA-x456-3ccm-m6j4>__. Our thanks to@e-c-dfor reporting and helping to fix the vulnerability!Main changes
Added support for Python 3.11.
Allow submitting a form with no submit element. This can be achieved by passing
submit=FalsetoStatefulBrowser.submit_selected. Thanks@alexreg! [[#480](https://github.com/MechanicalSoup/MechanicalSoup/issues/480) <https://github.com/MechanicalSoup/MechanicalSoup/pull/411__]Version 1.2
Main changes
Added support for Python 3.10.
Add support for HTML form-associated elements (i.e. input elements that are associated with a form by a
formattribute, but are not a child element of the form.) [[#380](https://github.com/MechanicalSoup/MechanicalSoup/issues/380) <https://github.com/MechanicalSoup/MechanicalSoup/issues/380>__]
... (truncated)
Commits
16238f4Release 1.3.0d57c4a2Merge pull request from GHSA-x456-3ccm-m6j4b9c8a0cSwitch Actions from ubuntu-latest to ubuntu-20.04 (#413)3f0ffc9Add support for Python 3.11 (#412)1fdd0f6Merge pull request #411 from alexreg/update_statee095bbeUpdate docs forStatefulBrowser.submit_selectedd5bdc3dAdd support for no button toStatefulBrowser.submit_selected7b1609cUpdate docs forForm.choose_submitbeb2eaaStandardize file descriptor variable name5ca417cFix CodeQL warnings (#409)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.