Changelog¶
0.18.3 (2026-05-14)¶
Windows: Fix regression in 0.18 where only
Software\Policies\...registry keys were checked instead ofSoftware\.... (#87) Thanks @agraboso.Update tests to pass under Requests >= 2.34.0 after psf/requests#7427 and psf/requests#7429. (#88)
0.18.2 (2026-04-25)¶
Fix incorrect version constants.
0.18.1 (2026-04-25)¶
Windows: When
ProxySettingsPerUseris 0, then only checkAutoConfigURLin HKLM. (#85) Thanks @pbourguignon-enertrag.
0.17.2 (2025-10-11)¶
Fix URL encoding mismatch in proxy authentication. (#84) Thanks @l4u23n7p.
Add Python 3.14 to CIB test matrix.
0.17.1 (2025-08-27)¶
Make
socks_schemearguments case-insensitive. (#82)Avoid DeprecationWarning when using GMT times on Python 3.12+.
0.17.0 (2025-05-31)¶
Add support for Microsoft IPv6 extension functions in PAC files.
Fix DeprecationWarning under tldextract >= 5.3.0.
0.16.5 (2024-12-24)¶
Log warning for rejected PAC content-type. (#79) Thanks @jmkerloch.
Remove Python 2.7, 3.7 from CIB test matrix.
0.16.4 (2023-04-24)¶
Release using Trusted Publishing.
0.16.3 (2023-03-31)¶
isInNet(): Return False immediately for invalid host arg. (#71)
0.16.2 (2023-03-26)¶
Handle boolean args to
isInNet(). (#69)Remove Python 3.5, 3.6 from CIB test matrix.
Windows Python 2.7 CIB: Pin to dukpy 0.2.3.
0.16.1 (2022-11-08)¶
Disable
tldextractcaching. (#64) Thanks @mpkuth.
0.16.0 (2022-01-01)¶
Change
tlddependency totldextract. (#61)
0.15.0 (2021-02-27)¶
Drop support for Python 3.4. (#48)
Support more proxy keywords: HTTP, HTTPS, SOCKS4, SOCKS5. (#41)
Absorb any exception from
tld.get_tld(), not just TldDomainNotFound. (#30) Thanks @santiavenda2.Reimplement
dnsDomainIs(host, domain)as case-insensitive ‘host ends with domain’. (#42, #57)
0.14.0 (2020-12-05)¶
Add ability to supply
PACFiletopac_context_for_url(). (#52) Thanks @alexrohvarger.
0.13.0 (2019-09-16)¶
Make it possible to configure the request for the PAC file. (#44) Thanks @SeyfSV.
urlencode proxy username and password. (#46) Thanks @aslafy-z.
0.12.0 (2018-09-11)¶
Fix possible error when
dnsResolve()fails. (#34) Thanks @maximinus.
0.11.0 (2018-09-08)¶
Require dukpy 0.2.2, to fix memory leak. (#32) Thanks @maximinus.
Change Mac environment marker. (#30)
Support Python 3.7.
0.10.1 (2018-08-26)¶
Require tld 0.9.x. (#29)
0.10.0 (2018-08-26)¶
Switch JavaScript interpreter to dukpy. (#24)
Fix
pac_context_for_url()erroring withDIRECTPAC setting. (#27)Fix warning about invalid escape sequence (#26). Thanks @BoboTiG.
0.9.0 (2018-06-02)¶
Add macOS support for PAC in System Preferences (#23). Thanks @LKleinNux.
The from_registry argument on pypac.get_pac() and pypac.collect_pac_urls() is now deprecated and will be removed in 1.0.0. Use from_os_settings instead.
0.8.1 (2018-03-01)¶
Defer Js2Py import until it’s needed. It uses a lot of memory. See #20 for details.
0.8.0 (2018-02-28)¶
Add support for
file://PAC URLs on Windows.
0.7.0 (2018-02-21)¶
Drop support for Python 3.3.
Add doc explaining how to use
pac_context_for_url().Internal changes to dev and test processes.
0.6.0 (2018-01-28)¶
Add
pac_context_for_url(), a context manager that adds basic PAC functionality through proxy environment variables.
0.5.0 (2018-01-18)¶
Accept PAC files served with no
Content-Typeheader.
0.4.0 (2017-11-07)¶
Add
recursion_limitkeyword argument toPACSessionandPACFile. The default is an arbitrarily high value (10000), which should cover most applications.Exclude port numbers from
hostpassed toFindProxyForURL(url, host).
0.3.1 (2017-06-23)¶
Update GitHub username.
0.3.0 (2017-04-12)¶
Windows: Get system auto-proxy config setting using
winregmodule.Windows: Accept local filesystem paths from system proxy auto-config setting.
Raise
PacComplexityErrorwhen recursion limit is hit while parsing PAC file.Support setting
PACSession.proxy_authandProxyResolver.proxy_authafter constructing an instance.Narrative docs.
0.2.1 (2017-01-19)¶
Require Js2Py >= 0.43 for Python 3.6 support, and to avoid needing to monkeypatch out
pyimport.
0.1.0 (2016-06-12)¶
First release.