Skip to content

Latest commit

 

History

History
162 lines (115 loc) · 5.06 KB

CHANGELOG.md

File metadata and controls

162 lines (115 loc) · 5.06 KB

v0.8.0 :: 20241102

Breaking Changes

  • url is now a positional argument (no longer requires -u)
  • Browser type must be passed as a variant of the BrowserType enum; string is no longer supported
  • Now requires python >= 3.9

CLI Enhancements

  • Assume https:// if the scheme is not specified
  • Add --version flag (thanks @samiam)
  • Add -c flag to specify custom path to cookie file (thanks @samiam)
  • Convert the browser argument into a BrowserType at parse time

Fixes / Other

  • Fix new path to Firefox profile on MacOS (thanks @MattMuffin)
  • Support Chrome's new v24 cookies (thanks @chrisgavin)
  • Add new top-level get_cookies function that can be used for all supported browsers
    • No longer need to use separate chrome_cookies or firefox_cookies functions, but will leave these around for backwards compatibility
  • Use ruff instead of hodgepodge of flake8 / pycodestyle / black and others

v0.7.0 :: 20240105

  • Now requires python >= 3.8
    • 3.7 is now EoL: https://devguide.python.org/versions/
    • pycookiecheat seems to build and run on 3.7, but several test dependencies require versions that are either incompatible with 3.12 or 3.7
  • Add BrowserType enum
    • Instead of passing a string (e.g. "chrome"), please import and use a BrowserType (e.g. BrowserType.CHROME)
    • Add deprecation warning for passing strings
  • Added a nix flake to facilitate testing multiple python versions
  • Add basic logging
  • Add CLI tool
  • Add as_cookies parameter to allow returning list[Cookie] instead of dict (without breaking backward compatibility)
  • Loosen dependency constrains, which should make usage as a library easier

v0.6.0 :: 20230324

  • Add firefox support, thanks to @grandchild
    • Also would like to welcome @grandchild as a new member of the pycookiecheat team!

v0.5.0 :: 20230324

  • Add support for Brave thanks to @chrisgavin!
  • Add support for Slack thanks to @hraftery!
  • Migrate config to pyproject.toml alone
  • Minor cleanup to codebase and tests

v0.4.7 :: 20210826

  • No noteworthy API changes, hence the bugfix version bump, but some major infrastructure and testing updates:
    • Now uses GitHub Actions instead of Travis
    • Now uses Playwright for testing, to actually open a Chromium instance and use a real Cookies database
    • PEP517
    • black
  • Now requires python >= 3.7
    • This is largely due to requiremets of Playwright: https://pypi.org/project/playwright/, which is only a test dependency
    • Because I can't test with <=3.6, I'm not listing it as compatible, though it probably will still work
  • Migrate to pyproject.toml

v0.4.6 :: 2019111

  • Try to open Chrome database in read-only mode to avoid db locked errors (#29)

v0.4.5 :: 20191007

v0.4.4 :: 20180706

  • Optionally outputs cookies to a file compatible with cURL (thanks to Muntashir Al-Islam!)

v0.4.3 :: 20170627

  • Consistently use Chrome as default across platforms, allow user to specify Chromium as desired (thanks @jtbraun)

v0.4.0 :: 20170504

  • Remove compatibility for Python <3.5
  • Add type hints
  • Refactor for smaller functions
  • Expand docstrings
  • Revert from cryptography back to PyCrypto and hashlib for easier installation.

v0.3.4 :: 20170414

  • Add support for new Ubuntu keyring / libsecret
    • See #12 for details
    • Many thanks to @stat1c1c3au and @trideceth12 for contributions

0.3.0

0.2.0

  • Fix domain and subdomain matching
  • Make SQL query more secure by avoiding string formatting
  • Many thanks to Brandon Rhodes for 24c4234 !

0.1.10

  • Read version to separate file so it can be imported in setup.py
  • Bugfix for python2 on linux

0.1.9

  • Bugfix for python2 on linux

0.1.8

0.1.7

  • Configurable cookies file (thanks ankostis)

0.1.6

  • OSError instead of Exception for wrong OS.
  • Moved testing requirements to tox and travis-ci files.

0.1.5

  • Updated to work better with PyPI's lack of markdown support
  • Working on tox and travis-ci integration
  • Added a few basic tests that should pass if one has Chrome installed and has visited my site (n8henrie.com)
  • Added sys.exit(0) if cookie_file not found so tests pass on travis-ci.

0.1.0 (2015-02-25)

  • First release on PyPI.

Prior changelog from Gist

  • 20150221 v2.0.1: Now should find cookies for base domain and all subs.
  • 20140518 v2.0: Now works with Chrome's new encrypted cookies.