Skip to content

Furl v2.0.0

Compare
Choose a tag to compare
@gruns gruns released this 16 Oct 21:28
· 95 commits to master since this release
  • Added: All URL components (scheme, host, path, etc) to furl()'s constructor as
    keyword arguments. E.g. f = furl(scheme='http', host='host', path='/lolsup').

  • Changed: furl.truediv() and Path.truediv() now mirror Pathlib.truediv()'s
    behavior and return a new instance. The original instance is no longer modified.
    Old behavior: f = furl('1'); f / '2' -> str(f) == '1'. New behavior:
    f = furl('1'); f /= '2' -> str(f) == '1/2'.

  • Fixed: Path.load() now accepts Path instances, e.g. f.path.load(Path('hi')).

  • Removed: Support for Python 2.6, which reached EOL on 2013-10-29.