Skip to content

V3.2.0

Compare
Choose a tag to compare
@IAmTomahawkx IAmTomahawkx released this 04 Oct 03:00

This release consists of requested features + fixes to the site, with a few api changes to support upcoming features and changes in this version

API changes

  • We now respect DNT headers from browsers
  • We've added the /rich-paste endpoint
    • This is a multipart endpoint
    • It has a data component which takes a regular payload from PUT /paste, but has a optional attachment field in the file body
    • The attachment key specifies the name of the uploaded image to attach to that file. It is your responsibility to ensure these names are unique
    • The size limit for this endpoint is 8mb (for the entire request, not per image)
    • Note that images will be entirely ignored if there is no bunnycdn setup configured when selfhosting
  • The /documents endpoint now has proper checks on size limits
  • moved the /users/me endpoint to /users/@me to keep consistent with other @me endpoints
  • /pastes/@me now has userid and views fields for each paste returned

Frontend changes

  • Added file attachments. Each file (tab) can have up to one image attached to it. Press the + icon on the tab itself to add an image.
    • These will not work on selfhosted instances where bunnycdn is not configured
  • Added drag-n-drop support. You may now drag and drop text-based files into the website.
  • We believe we've fixed the initial load bug on firefox (fingers crossed)

If you have any issues with this version, please ask us on our discord, which is linked in the README and on the site.