Skip to content

Latest commit

 

History

History
180 lines (122 loc) · 6.18 KB

CHANGELOG.md

File metadata and controls

180 lines (122 loc) · 6.18 KB

Changelog

Notable changes to the project will be documented in this changelog.

This project uses Semantic Versioning and generally follows the conventions of Keep A Changelog.

[v0.4.6] - 2024-11-01

Added

  • Added use of Flake8 as linter to improve code consistency (59d306a)
  • Added use of the Black code formatting tool to improve code consistency (59d306a)
  • Cleaned up code lint and formatting (ffb8219)
  • Added issue templates to help new contributors get their issues addressed quicker (3b655d6)
  • Added ability to use environment variables to provide BearerTokens. Thanks to @offbyone (8c5761e)

[v0.4.5] - 2023-12-30

Added

  • Added override_private_comment option for annotation of automated blocks (4d12bac)
  • Added blocklist audit file option to debug and track blocklist operations (9200fc3)

[v0.4.4] - 2023-07-09

Added

  • Added citation for creators of #Fediblock (a64875b)
  • Added parser for Mastodon 4.1 blocklist CSV format (9f95f14)
  • Added container support (76d5b61)

Fixed

  • Use future.annotations so type hints work with Python < 2.9 (8265639)
  • test util no longer tries to load default config file if conf tomldata is empty. (2da57b2)

[v0.4.3] - 2023-02-13

Added

  • Added Mastodon public API parser type because #33 (9fe9342)
  • Added ability to set scheme when talking to instances (9fe9342)
  • Added tests of comment merging. (fb3a7ec)
  • Added blocklist thresholds. (bb1d89e)
  • Added logging to help debug threshold-based merging. (b67ff0c)
  • Added extra documentation on configuring thresholds. (6c72af8)
  • Updated documentation to reflect Mastodon v4.1.0 changes to the application scopes screen. (b92dd21)

Changed

  • Dropped minimum Python version to 3.6 (df3c16f)
  • Don't merge comments if new comment is empty. (b8aa11e)
  • Tweaked comment merging to pass tests. (fb3a7ec)

v0.4.2 - 2023-01-19

Fixed

  • Blockdata var already converted to _asdict() (8d3b9da)

v0.4.1 - 2023-01-15

Allowlist support.

Added

  • Allowlists just remove blocks from merged list before push. (a25773f)
  • Added helper submodule for testing utils (bf48a96)
  • Added basic tests of allowlist config args. (a3d3571)
  • Added test cases for cmdline parsing. (11accf3)
  • Added test cases for configfile parsing. (11accf3)
  • Added documentation on allowlists. (26f5464)
  • Fixed bug in how DomainBlock defaults handle reject_media, reject_reports. (6d4e18b)
  • Added support for allowlists. Updated docstring for merge_blocklists() (7a31c33)
  • Added DomainBlock type hint to update_known_block(). (69c28f1)
  • Use ._asdict() to get info to pass to add block API call. (69c28f1)

Changed

  • Updated README to explain allowlist mechanism. (dc4bbd7)
  • Edited sample config to better explain URL source (9bd7914)
  • Restructured argparsing for easier testing. (11accf3)
  • str2bool() now converts '' to False. Added some extra debug logging of blocklist parsing. (894b133)
  • Updated documentation to explain need for admin:read access to fetch followers stats. (2cec9e1)
  • Aligned API call rate limit with server default. (55dad3f)

Removed

  • Remove implied setting of reject_media/reports if severity is set to 'suspend'. (3aa2e37)

Fixed

  • Fixed bug: mergeplan in config file was ignored. Reported in #22 (11accf3)
  • Fixed bug in _asdict() of severity level. (9817c99)
  • Fix DomainBlock.id usage during iter() (a718af5)

v0.4.0 - 2023-01-13

Substantial changes to better support multiple blocklist formats

Added

  • Added support for RapidBlock blocklists, both CSV and JSON formats. (327a44d)
  • Added support for per-instance-source import_fields. (327a44d)
  • Updated sample config to include new formats. (327a44d)
  • A BlockSeverity of 'suspend' implies reject_media and reject_reports. (327a44d)
  • Added ability to limit max severity per-URL source. (10011a5)
  • Added boolean fields like 'reject_reports' to mergeplan handling. (66f0373)
  • Added tests for boolean merge situations. (66f0373)
  • Various other test cases added.

Changed

  • Refactored to add a DomainBlock object. (10011a5)
  • Refactored to use a BlockParser structure. (10011a5)
  • Improved method for checking if changes are needed. (10011a5)
  • Refactored fetch from URLs and instances. (327a44d)
  • Improved check_followed_severity() behaviour. (327a44d)
  • Changed API delay to be in calls per hour. (327a44d)
  • Improved comment merging. (0a6eec4)
  • Clarified logic in apply_mergeplan() for boolean fields. (66f0373)
  • Updated README documentation. (ee9625d)
  • Aligned API call rate limit with server default. (55dad3f)

Removed

  • Removed redundant global vars. (327a44d)

Fixed

  • Fixed bug in severity change detection. (e0d40b5)
  • Fix DomainBlock.id usage during iter() (a718af5)

v0.3.0 - 2023-01-11

Added

  • Added args to show version information. (1d0649a)
  • Added timeout to requests calls. (23b8833)
  • Added CHANGELOG.md (ca9d958)

Changed

  • Changed min Python version to v3.10. (f37ab70)

v0.2.1 - 2023-01-10

Added

  • User-Agent is set to FediBlockHole to identify ourselves to remote servers. (04d9eea)
  • Adding packaging to prepare for submission to PyPI. (4ab369f)
  • Added ability to set max severity level if an instance has followers of accounts on a to-be-blocked domain. (5518421)
  • Added ability to read domain_blocks from instances that make the list public. (4ef84b5)
  • Skip obfuscated domains when building the merged blocklist. (4ef84b5)

Changed

  • Updated documentation in README and the sample config. (68a2c93)

Fixed

  • Fixed a bug in config enablement of intermediate blocklists saving. (5518421)

Before 2023-01-10

  • Initial rough versions that were not packaged.