Releases: benjamint08/probun
Releases · benjamint08/probun
0.1.24
0.1.24 is here! What's new?
- I fixed the new
json
function not decoding keys and values correctly.
That's all for now. Enjoy!
0.1.23
0.1.23 is here! What's new?
- We added a
json
function exported fromprobun
. Usage like this:
import { SendJSON, json, Failure } from "probun";
export async function POST(req: Request): Promise<Response> {
try {
const body = await json(req);
return SendJSON({
body
}, 200);
} catch (error) {
return Failure("Invalid JSON.")
}
}
That's all for now. Enjoy!
0.1.22
0.1.22 is here! What's new?
- Added OPTIONS request that just adds headers and pre-middleware headers on all routes.
0.1.21
0.1.21 is here! What's new?
It's been a while - I've been working on my exams. However here is a new ProBun version.
- MongoDB and PostgreSQL now tell you when they're connecting. Why? Because if your connection is wrong it wouldn't print anything.
This issue made me believe that ProBun just stopped working - however it was actually that Mongo was not even running!
0.1.20
0.1.19
0.1.18
0.1.18 is here! What's new?
- Following the previous release, param routes did not work. This has now been fixed.
That's all for now. Enjoy!
0.1.17
0.1.17 is here! What's new?
- Fixed SendFile not working on Windows. (We hate Windows.)
That's all for now. Enjoy!
0.1.16
0.1.16 is here! What's new?
- Fixed routing being completely unusable, introduced local tests to ensure this doesn't happen again.
That's all for now. Sorry for the huge inconvenience, enjoy!