Skip to content

v0.14.0 - VCS URL Parsing framework, type annotations

Choose a tag to compare

@tony tony released this 31 Jul 21:02
· 1381 commits to master since this release

What's new

Breaking changes

  • #391 Removed flat keyword argument for libvcs.projects.git.GitProject. This was unused and the equivalent can be retrieved via .to_dict() on GitRemote

  • #379 Support for git+git URLs removed. Pip removed these in 21.0 due to them being insecure [1]

  • #372 Typings moved from libvcs.types -> libvcs._internal.types

  • #377 Remove deprecated functions and exceptions

    • Removed libvcs.shortcuts

    • Removed libvcs.exc.InvalidPipURL

Fixes

Typings

  • Rename VcsLiteral -> VCSLiteral

    Backport from 0.13.4

  • create_project(): Add overloads that return the typed project (e.g. GitProject)

    Backport from 0.13.3

Cleanup

  • #378 #380 Remove duplicate uses_netloc scheme for git+ssh (this was in cpython since 2.7 / 3.1 [2][3])

Autogenerated

  • refactor(types): Move to _internals by @tony in #372
  • Remove 0.14.x deprecations by @tony in #377
  • chore(git): Remove uses_netloc for git+ssh, already in cpython by @tony in #378
  • chore!(git): Remove insecure git+git support by @tony in #379
  • chore(git): Remove another already supported netloc scheme ('git') by @tony in #380
  • Parsing / detection and location by @tony in #376
  • Parsing tests by @tony in #381
  • Parser: Improvements, tests by @tony in #384
  • Parser: Support explicit matchers, critical bug fixes by @tony in #386
  • refactor!(projects[git]): Remove flat=True keyword from .remotes() by @tony in #391
  • Strict mypy by @tony in #390
  • ci(poetry): Poetry 1.1.12 -> 1.1.14 by @tony in #393

Full Changelog: v0.13.6...v0.14.0