Skip to content

Choose a tag to compare

@DarrenOfficial DarrenOfficial released this 25 Nov 06:01
· 1 commit to master since this release
6107bc3

Abuse filter

  • Reject snippets linking to other pastebins, .onion hidden services,
    file sharing providers or a blocked domain, in the form and the API.
  • Re-check snippets on every view and delete them when detected, also
    when a visitor arrives with a Referer from one of those sources.
  • Add a database domain blocklist with the blocklist management
    command, and purge_abuse, which cleanup_snippets runs as well.
  • Add an abuse contact, shown on the About page and next to snippets.

Issues

  • #208: work with every Pygments version from 2.12 on, drop the pin.
  • #266: build snippet links from BASE_URL, the Sites framework or the
    request host instead of a placeholder domain.
  • #245: link previews no longer count as a view or destroy One-Time
    snippets.
  • #155: display the view count of a snippet.
  • #129: optional snippet title, used in the page <title>.
  • #229: misaka is gone, mistune is the only Markdown dependency.

Upgrades

  • Python 3.10+, Django 5.2+, django-csp 4, docutils 0.22+.
  • Move packaging to pyproject.toml, drop the unused ratelimiter.
  • Node 24, sass 1.105.1, terser instead of the deprecated uglify-es.
  • Python 3.14 image, current GitHub Actions, add a test workflow.