The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
Revision history for Plack-Middleware-Greylist

v0.6.0    2023-12-05 11:12:59+00:00 Europe/London
  [Enhancements]
  - Added support for IPv6 addresses. (GH#6)

  - Added `cache_config` attribute for finer-control of Cache::FastMmap.

  - The `retry_after` attribute default comes from the `cache_config` `expire_time` setting.

  [Bug Fixes]
  - Use shared cache when running on a forking server that does not initialise the cache before forking (GH#7).

  [Documentation]
  - Documented when `retry_after` was added.

  [Tests]
  - Removed .proverc and moved settings directly into GitHub Actions.

  - Added test for subnet override behaviour.

  [Toolchain]
  - Removed use of Dist::Zilla::Plugin::Generate::ManifestSkip.

v0.5.6    2023-12-05 09:30:16+00:00 Europe/London (TRIAL RELEASE)
  [Bug Fixes]
  - Only check the `file` attribute if no `cache` is defined. (This was introduced in v0.5.5.)

  [Documentation]
  - Fixed typos and improved documentation of `cache_config`.

  [Tests]
  - Removed .proverc and moved settings directly into GitHub Actions.

v0.5.5    2023-12-04 22:03:49+00:00 Europe/London (TRIAL RELEASE)
  [Incompatible Changes]
  - The `init_file` option was replaced with `cache_config` which is a configuration hash for
    Cache::FastMmap.

v0.5.4    2023-12-04 15:05:41+00:00 Europe/London (TRIAL RELEASE)
  [Enhancements]
  - Added `init_file` option to configure whether the cache is re-initialised on starting.
    It now defaults to false (GH#7).

  - The cache file will also be deleted on exit when `init_file` is false.

  [Documentation]
  - Documented when `retry_after` was added.

v0.5.3    2023-12-04 14:21:01+00:00 Europe/London (TRIAL RELEASE)
  [Enhancements]
  - Change the IP address matching module to Net::IP::LPM, which supports IPv6 (GH#6).

  [Tests]
  - Added test for subnet override behaviour.

  [Toolchain]
  - Removed use of Dist::Zilla::Plugin::Generate::ManifestSkip.

v0.5.2    2023-11-29 17:42:29+00:00 Europe/London
  [Documentation]
  - Fixed a minor typo.

  [Tests]
  - Configured tests to play better with GitHub Actions.

  - GitHub Actions will not run tests from before Perl v5.16, even
    though earlier versions may be supported.

  - Added more author tests.

  - Switched package used for the release manifest.

  - Cleaned up unused prerequisites.

v0.5.1    2023-10-28 09:04:21+01:00 Europe/London
  [Tests]
  - Migrated to Test2.

  - Remove the use of Test::Most.

v0.5.0    2023-08-02 11:40:11+01:00 Europe/London
  [Enhancements]
  - Added "allowed" and "rejected" as synonyms for "whitelist" and "blacklist".

  - Added "norobots" rate which rejects all requests except for "/robots.txt".

  [Tests]
  - Renamed test scripts.

v0.4.4    2023-07-03 23:44:56+01:00 Europe/London
  [Documentation]
  - Added explicit support policy for older Perl versions.

v0.4.3    2023-07-03 22:34:26+01:00 Europe/London
  [Documentation]
  - Noted a KNOWN ISSUE when using Config::General to configure this.

v0.4.2    2023-02-22 09:07:28+00:00 Europe/London
  [Bug Fixes]
  - Count hits from blocked addresses and log them.

v0.4.1    2023-02-06 15:22:33+00:00 Europe/London
  [Documentation]
  - Fixed typo in Changes.

v0.4.0    2023-02-04 15:18:15+00:00 Europe/London (TRIAL RELEASE)
  [Incompatible Changes]
  - Bumped minimum Perl version to v5.12.

v0.3.5    2023-01-10 14:47:47+00:00 Europe/London
  [Documentation]
  - Bumped copyright year.

  [Other]
  - Added GitHub Actions to run tests, GH#3, thanks @szabgab

v0.3.4    2022-12-08 13:33:03+00:00 Europe/London
  [Other]
  - Fixed typo in git repository URL, GH#2, thanks @szabgab.

v0.3.3    2022-12-07 17:01:40+00:00 Europe/London
  [Enhancements]
  - Remove use of blessed pairs, which allows List::Util to be downgraded.

  [Documentation]
  - Documented known issue with inconsistent rates in named groups.

v0.3.2    2022-12-06 16:10:07+00:00 Europe/London
  [Bux Fixes]
  - Fix the minimum version of List::Util.

v0.3.1    2022-12-04 09:22:27+00:00 Europe/London
  [Bux Fixes]
  - Specify minimum version of List::Util.

  [Documentation]
  - Documented requirements for customising the cache attribute.

v0.3.0    2022-11-30 09:34:51+00:00 Europe/London
  [Enhancements]
  - Append the netblock from the configuration to the log message when a request is blocked.

    Note that this might be an incompatible change if you are parsing the logs for fail2ban rules.

  [Documentation]
  - Document the log message.

v0.2.2    2022-11-16 21:35:26+00:00 Europe/London
  [Tests]
  - Added missing prerequisite.

v0.2.1    2022-11-16 20:43:06+00:00 Europe/London
  [Bug Fixes]
  - Removed postderef syntax which required a newer Perl version than declared.

v0.2.0    2022-11-16 14:33:56+00:00 Europe/London
  [Incompatible Changes]
  - The cache `file` has no default, and should be set by the user unless the `cache` is overridden.

  [Enhancements]
  - Added a `retry_after` attribute to change the default Retry-After header.

  [Documentation]
  - Added note to KNOWN ISSUES about how some search engines handle HTTP 429 responses.

v0.1.2    2022-11-15 14:52:21+00:00 Europe/London
  [Tests]
  - Fixed minimum Perl version.

v0.1.1    2022-11-15 12:36:00+00:00 Europe/London
  [Tests]
  - Adding missing prerequisite, GH#1 (Thanks Slaven Rezić)

  - Remove unused testing prereq.

v0.1.0    2022-11-14 13:20:32+00:00 Europe/London
  - First public release.