• 3.0.0 14a30bb540

    3.0.0 Stable

    kerem released this 2025-03-06 00:37:38 +03:00 | 228 commits to master since this release

    📅 Originally published on GitHub: Wed, 05 Mar 2025 21:41:29 GMT
    🏷️ Git tag created: Wed, 05 Mar 2025 21:37:38 GMT

    Added

    • WASTEBIN_THEME configuration key to change the default theme from ayu to base16ocean, coldark, gruvbox, monokai, onehalf or solarized.
    • UI button to switch between light and dark mode and cookie to store the preference. By default the system setting is used.
    • UI button and c to copy content to clipboard. Thanks @limitcool.

    Changed

    • Breaking: From now on, WASTEBIN_BASE_URL is only used for the QR code link but not for internal routing. Use a dedicated proxy server to do that if necessary.
    • Breaking: Always return HTML on /:id even if text/html is not in the Accept header. Use the /raw/:id endpoint to retrieve raw text.
    • Breaking: Replace WASTEBIN_MAX_PASTE_EXPIRATION with a customizable set of expirations via the WASTEBIN_PASTE_EXPIRATIONS variable.
    • Use the two-face crate for an extended syntax list.
    • Use 64-bit integers that render as 11-character identifier from now on. Existing 32-bit/6-character identifiers continue to work. Based on a PR #71 by @cgzones.
    • Use title as downloaded filename instead of identifier if one is available.
    • Serve all CSS assets under hashed URL to avoid caching issues and set cache-control header to one month and the immutable attribute.
    • Do not offer any interactions for burn-after-reading pastes that will end up with a 404 anyway.

    Fixed

    • Sort syntax list in case insensitive manner.
    • Wrong background color for inline code in Markdown.

    New Contributors

    Full Changelog

    https://github.com/matze/wastebin/compare/2.7.1...3.0.0

    Downloads