github matze/wastebin 2.0.0

latest releases: 2.5.0, 2.4.3, 2.4.2...
2 years ago

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

Don't miss a new wastebin release

NewReleases is sending notifications on new releases.