Skip to content

v8.0.0

Compare
Choose a tag to compare
@wKovacs64 wKovacs64 released this 20 Jul 01:27

8.0.0 (2019-07-20)

Bug Fixes

Features

  • api-v3: add apiKey command and pass API key to protected services (31ff873)
  • api-v3: invert includeUnverified option default value (210f301)
  • api-v3: invert truncate option default value (6a9826e)

BREAKING CHANGES

  • api-v3: The includeUnverified option of the ba command now defaults to true, per
    Troy's recommendation. Although there are not many unverified breaches in the system, it's
    possible you will get more breaches back than you did previously. You may explicitly disable this
    by negating the value for this option.
  • api-v3: The truncate option of the ba and search commands now defaults to true,
    per Troy's recommendation. If you do not negate it explicitly, each Breach result will only
    contain the breach name (no metadata).
  • api-v3: Several of the haveibeenpwned.com services now require an API key from
    https://haveibeenpwned.com/API/Key. See Troy's blog post for rationale and a full explanation. Once you have obtained your API key, you must run "pwned apiKey <your-key>" to configure pwned so that it may use it in future requests made to protected endpoints. Some commands, like pw, do not require an API key and will continue to function without one. Thus, you may continue to use pwned without an API key, as long as you only care about the commands that do not require one. Each command indicates if it requires an API key in the help for the specific command.