Bug fixes
-
Fixed joining a path when the existing path was empty -- by :user:
bdraco
.A regression in :meth:
URL.join() <yarl.URL.join>
was introduced in #1082.Related issues and pull requests on GitHub:
#1118.
Features
-
Added :meth:
URL.without_query_params() <yarl.URL.without_query_params>
method, to drop some parameters from query string -- by :user:hongquan
.Related issues and pull requests on GitHub:
#774, #898, #1010. -
The previously protected types
_SimpleQuery
,_QueryVariable
, and_Query
are now available for use externally asSimpleQuery
,QueryVariable
, andQuery
-- by :user:bdraco
.
Contributor-facing changes
-
Replaced all :class:
~typing.Optional
with :class:~typing.Union
-- by :user:bdraco
.Related issues and pull requests on GitHub:
#1095.
Miscellaneous internal changes
-
Significantly improved performance of parsing the network location -- by :user:
bdraco
.Related issues and pull requests on GitHub:
#1112. -
Added internal types to the cache to prevent future refactoring errors -- by :user:
bdraco
.Related issues and pull requests on GitHub:
#1117.