Skip to content

Releases: matze/wastebin

2.3.0

01 Feb 22:20
Compare
Choose a tag to compare

Changed

  • Breaking: replace deletion timer with a cookie based solution that identifies creator of a paste on subsequent visits. That cookie is a monotonically increasing number and only used to implement the delete functionality. Because that implies it is a strictly necessary cookie according to GDPR, we will not show a cookie banner. If you are uncomfortable with that either strip the Set-Cookie header from responses via a proxy server or stop using this software.
  • Breaking: stop supporting down migrations.
  • Compress data with zstd for a reduction of about 75%. On migration all rows will be compressed. However file size will not change but unused pages be used for new rows. If you want to reduce the file size, you have to use the VACUUM statement.
  • The database is not purged periodically anymore, instead expired entries are removed on access.

Full Changelog

2.2.1...2.3.0

2.2.1

10 Jan 21:40
Compare
Choose a tag to compare

Changed

  • Upgraded to tokio 1.24.1 to mitigate RUSTSEC-2023-0001.

2.2.0

26 Dec 10:26
Compare
Choose a tag to compare

Changed

  • Move to axum 0.6.

Fixed

  • d downloads again.

2.1.0

07 Nov 19:53
Compare
Choose a tag to compare

Added

  • Paste text content by dragging and dropping files onto the text area.

Full Changelog

2.0.1...2.1.0

2.0.1

14 Oct 19:11
Compare
Choose a tag to compare

Fixed

  • Broken insertion via JSON API.

Full Changelog

2.0.0...2.0.1

2.0.0

31 Jul 20:41
Compare
Choose a tag to compare

Changed

  • Breaking: remove possibility to GET /api/entries/:id, just use /:id.
  • Breaking: remove possibility to POST to /api/entries and DELETE
    /api/entries/:id, this can be done on / and /:id respectively. Note that
    DELETEing /:id will now return a 303 status code instead of 200.
  • Return appropriate content type for /:id based on accept header (i.e.
    text/html returns the HTML page) and the fmt query parameter (i.e. set to
    raw returns raw text).
  • Use dl query parameter to determine the extension to download a paste.
  • Use fmt=raw query parameter to fetch plain text paste.
  • Set cache control timeout for the favicon.

Full Changelog

1.6.0...2.0.0

1.6.0

19 Jul 18:07
Compare
Choose a tag to compare

Changed

  • Normal font color for the light theme to increase contrast.
  • Strange content padding.

Full Changelog

1.5.0...1.6.0

1.5.0

04 Jul 21:34
Compare
Choose a tag to compare

Added

  • Link that is valid for one minute to delete a paste.
  • generator meta tag containing the version number.

Full Changelog

1.4.0...1.5.0

1.4.0

27 Jun 21:09
Compare
Choose a tag to compare

Fixed

  • Evict cached items for expired pastes.

Changed

  • Do not swallow fatal errors from serving and database purging.

Added

  • Link to error page to go back to the index.
  • Link to download a paste (@yannickfunk).
  • Bind d to download a paste.

Full Changelog

1.3.0...1.4.0

1.3.0

12 Jun 10:40
Compare
Choose a tag to compare

Added

  • y keybind to copy the paste URL to the clipboard
  • WASTEBIN_TITLE environment variable to override the HTML page title.

Changed

  • Reduced font size of pre and text area to 13pt.

Full Changelog

1.2.1...1.3.0