Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Releases: s-thom/paste

v1.2.0

03 Jan 07:04
Compare
Choose a tag to compare
  • Add content length limit for creating new pastes.
    • 64MB should be enough for most purposes.
    • The script for Shrek is 52kB of plain text, so you could fit over 1000 Shrek scripts in a single file and save it to a paste instance.
    • Why would you ever want to do that?
  • Fix authorization header format being invalid.
    • The authorization header content is Bearer <token>, as per the spec.
  • Add cache-control header.
    • Pastes can be cached for 1 day from last request.
    • Traffic is likely to be bursty, rather than consistent, so I think this is a good compromise between not hammering the server and keeping fresh content in case I ever add a way to edit pastes.

v1.1.1

03 Jan 04:48
Compare
Choose a tag to compare

Changes the alphabet being used by the ID generation.

This probably should have gone in with the v1.1.0 release, but I had already hit commit when I had thought of it.

v1.1.0

03 Jan 04:35
Compare
Choose a tag to compare

Changed the ID generation from ULIDs to nanoid.

I didn't need the sorting, and shorter IDs are nicer to look at.

v1.0.1

03 Jan 04:20
Compare
Choose a tag to compare

Fixes lint warnings, no new functionality.

v1.0.0

03 Jan 04:09
Compare
Choose a tag to compare

Adds bearer authentication to the create API.

This project is now feature complete for the initial version. The only other new feature I'm willing to add at this point is Markdown rendering, but that's a later project, not a now project.

v0.2.2

03 Jan 03:35
Compare
Choose a tag to compare
Add custom error types

v0.2.1

03 Jan 02:30
Compare
Choose a tag to compare

Fixes pastes not being able to be retrieved

v0.2.0

03 Jan 01:40
Compare
Choose a tag to compare

Known issues:

  • Retrieving pastes is broken, and has been for an unspecified time. I have no idea how this happened.

v0.1.2

30 Dec 19:53
Compare
Choose a tag to compare

Add graceful shutdown

v0.1.1

30 Dec 03:52
Compare
Choose a tag to compare
v0.1.1 Pre-release
Pre-release

First ever release, I expect things to go wrong.

It can serve text files from a directory. Real fancy stuff, if you ask me.