Skip to content

Latest commit

 

History

History
110 lines (88 loc) · 4.29 KB

CHANGELOG.md

File metadata and controls

110 lines (88 loc) · 4.29 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

[2.0.1] - 2023-06-16

Security

  • Bump requests to 2.31.0.

[2.0.0] - 2022-08-11

Added

  • Added multiple webhook support.
  • User-configurable messages are allowed for webhooks now.
  • Added additional APIs for retrieving IP addresses. (Resolves #2.)
  • Added initial support for IPv6 addresses. However, two API sources do not have a way to force IPv4/IPv6, so it depends on their detection. (Resolves #3.)

Changed

  • The configuration is subtly changed -- for Cloudflare, subdomains are instead placed in a list in the configuration. Check README.md for more information.
  • Cloudflare support is now mandatory.

Removed

  • Removed pyyaml and all YAML files. JSON is in the standard library and the configuration file isn't complex enough to warrant staying with YAML. For information on migrating old configuration to the new JSON-based configuration, check README.md.
  • Removed hard-coded IFTTT support. Instead, general webhooks are supported.

[1.2.5] - 2021-08-29

Security

  • Updated requests and its dependencies.

[1.2.4] - 2021-06-01

Security

  • Updated urllib3.

[1.2.3] - 2021-04-30

Security

  • Updated urllib3.

[1.2.2] - 2021-03-26

Changed

  • The project has been linted with Flake8 and mypy.

Security

  • Updated pyyaml for dependabot alerts.

[1.2.1] - 2020-04-26

Changed

  • Branch cloudflare is merged with master. This is to simplify the code base, as the resulting features were not as divergent as previously thought.
  • Because IFTTT is now mandatory to match branch master, the logger level for errors loading ifttt.py is now error, not warn.
  • Likewise, the error levels associated with Cloudflare are now warn, not error, in config.py. In main.py, Cloudflare functionality is enabled only if config.CF_ENABLED is True.
  • Versioning since 1.2.0 now omits the -cf to reflect the merged branches.

[1.2.0] - 2020-04-26

Changed

  • Project name is now "I've moved", as "public_ipaddr_check" is wordy and not fully accurate to its purpose (at a minimum, checks and alerts).
  • config.InvalidConfigError now subclasses RuntimeError instead of an extraneous custom exception.
  • process.py was renamed main.py.
  • The code that existed under if __name__ == 'main': now exists in its own function.
  • ipaddr.APIResponseError now subclasses ValueError, in the same vein as config.InvalidConfigError.
  • Assigned some hard-coded strings as variables instead, in case they ever need changing.
  • Updated license years.
  • In config.yaml, subdomains are now nested directly under 'subdomains' instead of elements of a list/array.
  • You can now retrieve IDs of new subdomains in Cloudflare by calling python cloudflare.py and either supplying a list of subdomains separated by spaces or one time interactively. The resulting ID will be saved into config.yaml.

[1.1.3-cf] - 2019-12-25

Changed

  • Use RotatingFileHandler for logs
  • Very minor changes to readme and syntactic changes to code

[1.1.2-cf] - 2019-11-08

Fixed

  • Fixed issue when ipify returns an application error. Added an error to raise.

[1.1.1-cf] - 2019-11-07

Fixed

  • Fixed missing argument in cloudflare.py update_subdomain
  • Fixed config['domain'] -> config.DOMAIN
  • Added missing requests import to ifttt.py
  • On changing Cloudflare DNS records, changed the data= parameter to json=. Would not work with data=.

[1.1.0-cf] - 2019-10-22

Added

  • Cloudflare update via API

Changed

  • StreamHandler is set to INFO, to output messages to stdout/stderr

Fixed

  • Blank/invalid IP addresses should no longer be ignored

[1.0.1] - 2019-10-19

Added

Changed

  • Broke up main process.py into:
  • Instead of sys.exit(1), config.InvalidConfigError is raised

[1.0.0] - 2019-10-06

Added

  • Initial version