MechanicalSoup v0.11.0 Release Notes
Release Date: 2018-09-11 // over 5 years ago-
๐ This release focuses on fixing bugs related to uncommon HTTP/HTML scenarios and on improving the documentation.
๐ Bug fixes
๐ Constructing a
Form
instance from abs4.element.Tag
whose tag name is notform
will now emit a warning, and may be deprecated in the future. [#228]๐ฅ Breaking Change:
LinkNotFoundError
now derives fromException
instead ofBaseException
. While this will bring the behavior in line with most people's expectations, it may affect the behavior of your code if you were heavily relying on this implementation detail in your exception handling. [#203]๐ Improve handling of
button
submit elements. Will now correctly ignore buttons of typebutton
andreset
during form submission, since they are not considered to be submit elements. [#199]๐ท Do a better job of inferring the content type of a response if the
Content-Type
header is not provided. [#195]๐ Improve consistency of query string construction between MechanicalSoup and web browsers in edge cases where form elements have duplicate name attributes. This prevents errors in valid use cases, and also makes MechanicalSoup more tolerant of invalid HTML. [#158]