- Log warning for rejected PAC content-type. (#79) Thanks @jmkerloch.
- Remove Python 2.7, 3.7 from CIB test matrix.
- Release using Trusted Publishing.
isInNet()
: Return False immediately for invalid host arg. (#71)
- 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.
- Disable
tldextract
caching. (#64) Thanks @mpkuth.
- Change
tld
dependency totldextract
. (#61)
- 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)
- Add ability to supply
PACFile
topac_context_for_url()
. (#52) Thanks @alexrohvarger.
- Make it possible to configure the request for the PAC file. (#44) Thanks @SeyfSV.
- urlencode proxy username and password. (#46) Thanks @aslafy-z.
- Fix possible error when
dnsResolve()
fails. (#34) Thanks @maximinus.
- Require dukpy 0.2.2, to fix memory leak. (#32) Thanks @maximinus.
- Change Mac environment marker. (#30)
- Support Python 3.7.
- Require tld 0.9.x. (#29)
- Switch JavaScript interpreter to dukpy. (#24)
- Fix
pac_context_for_url()
erroring withDIRECT
PAC setting. (#27) - Fix warning about invalid escape sequence (#26). Thanks @BoboTiG.
- 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.
- Defer Js2Py import until it's needed. It uses a lot of memory. See #20 for details.
- Add support for
file://
PAC URLs on Windows.
- Drop support for Python 3.3.
- Add doc explaining how to use
pac_context_for_url()
. - Internal changes to dev and test processes.
- Add
pac_context_for_url()
, a context manager that adds basic PAC functionality through proxy environment variables.
- Accept PAC files served with no
Content-Type
header.
- Add
recursion_limit
keyword argument toPACSession
andPACFile
. The default is an arbitrarily high value (10000), which should cover most applications. - Exclude port numbers from
host
passed toFindProxyForURL(url, host)
.
- Update GitHub username.
- Windows: Get system auto-proxy config setting using
winreg
module. - Windows: Accept local filesystem paths from system proxy auto-config setting.
- Raise
PacComplexityError
when recursion limit is hit while parsing PAC file. - Support setting
PACSession.proxy_auth
andProxyResolver.proxy_auth
after constructing an instance. - Narrative docs.
- Require Js2Py >= 0.43 for Python 3.6 support, and to avoid needing to monkeypatch out
pyimport
.
- First release.