Releases: matze/wastebin
Releases · matze/wastebin
3.6.1
Fixed
- Broken Markdown navigation on QR views.
- Illegal double
<span>s. - Match paste view padding and line spacing to the main view's.
Added
- Confirmation page before revealing a burn-after-reading paste.
Changed
- Design of interstitial pages like burn-after-reading confirmation, password entry and error page.
- Bold selected line numbers.
- Reduced size of generated HTML.
Full Changelog
3.6.0
Added
- Sanitized Markdown rendering toggleable with
mor using a new button. - Docker image build script to demonstrate how multi-arch images are produced.
Changed
- Use Lucide icons for everything.
Fixed
- QR view not showing the remaining actions.
Full Changelog
3.5.0
Changed
- Revamped the user interface for a little less minimalist but slightly sleeker
and cleaner look.
Added
- Line and range highlight for anchored paste views.
Full Changelog
3.4.1
Changed
- Use
POSTrequest for deletion. - Use safe referer extractor to avoid open redirect via
prefquery parameter. - Set cookie attributes also on theme preference cookie.
- Encode content disposition filename with RFC 5987 to avoid encoding problems.
Full Changelog
3.4.0
Added
wastebin-theme-showcasebinary to generate a static HTML page with theme examples for both light and dark variants. See here for example output.- w key to toggle line wrapping.
Changed
- Re-wrote the
Dockerfileto compile for both x86_64-unknown-linux and aarch64-unknown-linux from an x86_64-unknown-linux host. - Unconditionally set the
Secureattribute on cookies and do not try to derive applicability from the origin header. - Customize scrollbar color for the language list.
- Many small memory-related optimizations, thanks to @cgzones for a bunch of these.
Fixed
- Check if Ctrl/Meta/Cmd key is pressed together with C to avoid unexpected behaviour on platforms where Ctrl+C might be registered as just C.
Full Changelog
3.3.0
Added
- Possibility to switch back to system settings for the dark/light mode selection.
deletecommand towastebin-ctlto delete specific entries.- Filters to the
wastebin-ctl'slistcommand.
Changed
- Do not require JavaScript to hide respective dark/light/system mode buttons. Note that this might cause a confusing initial state because we do not know the system setting without querying it with browser APIs but in the worst case it means two to three clicks to change it.
Fixed
- Store
wastebin-ctlcorrectly in the ARM image.
Full Changelog
3.2.0
Added
- Support for binding to a Unix domain socket instead of a TCP address/port via the
WASTEBIN_UNIX_SOCKET_PATHenvironment variable. - Support for expiration durations specified explicitly as seconds, minutes, hours, days, months and years.
- Display set expiration in the title.
- Display set expiration in
wastebin-ctl list. catpuccintheme key selecting Catppuccin Latte for light and Catppuccin Mocha for dark mode.- New debsources, GDScript, Idris, Odin and Typst syntaxes.
Changed
- Use main accent color for selected options.
- Root element's
color-schemeis now set according to the selected theme, which makes browser use appropriate color scheme for its UI. - Make "never" the default expiration like it was with wastebin before 3.0.
- Reject duplicate expiration values.
Fixed
- Missing separators between expiration parts.
- Better number of days for expiration months (30 days instead of 28) and years (365 days instead of 336).
Full Changelog
3.1.0
Added
wastebin-ctlcommand line tool to list all existing entries and purge expired ones./robots.txtdisallowing any crawling.- Subtle button animations.
- Toast message when a burned paste is read.
x86_64-apple-darwin,aarch64-apple-darwin,aarch64-unknown-linux-musl,riscv64gc-unknown-linux-gnu,x86_64-pc-windows-msvc,aarch64-pc-windows-msvcrelease binaries in addition to the existingx86_64-unknown-linux-muslones.
Changed
- Enclose Markdown links in anchor tags to make them clickable. Thanks for preliminary work done in #85 by @FliegendeWurst.
- Improve performance by avoiding unnecessary memory allocations.
- Improve throughput by avoiding locks on the database. Thanks for preliminary work done in #156 by @mokurin000.
- Improve mobile layout.
Fixed
- Content disposition header value was wrongly constructed.
- Download appended
txtextension even if paste was uploaded without an extension.
Full Changelog
3.0.0
Added
WASTEBIN_THEMEconfiguration key to change the default theme fromayutobase16ocean,coldark,gruvbox,monokai,onehalforsolarized.- 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_URLis 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
/:ideven iftext/htmlis not in the Accept header. Use the/raw/:idendpoint to retrieve raw text. - Breaking: Replace
WASTEBIN_MAX_PASTE_EXPIRATIONwith a customizable set of expirations via theWASTEBIN_PASTE_EXPIRATIONSvariable. - 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
immutableattribute. - 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
2.7.1
Changed
- Select extension based on the filename.
- Serve Javascript under hashed URL to avoid caching issues.
- Use same six month maximum age cache control for all assets.
- Show nicer error pages for some middleware layer issues instead of plain text responses.
Fixed
- Actually respect
WASTEBIN_MAX_BODY_SIZE. - Allow selection of title.
- QR code overflowing content.