Skip to content

Commit b725b16

Browse files
committed
chore(release): add 0.8.0 section, example folder, and README tweaks 🔖
- Bump version to 0.8.0 in deno.json - Add Example Implementation link to README - Add example/README.md with Showcase (Restful-API) and Where to Start links - CHANGELOG: add 0.8.0 section and update compare links - README: use Title Case for Features and Quick Start (Docs)
1 parent a3c8317 commit b725b16

4 files changed

Lines changed: 38 additions & 17 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,26 @@ Format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
88

99
## [Unreleased]
1010

11+
(Nothing yet.)
12+
13+
---
14+
15+
## [0.8.0] - 2026-03-07
16+
1117
### 2026-03-07
1218

13-
**Committed**
19+
- `a3c8317` feat(deserve): request timeout, session HMAC signing, and docs alignment
20+
- `f492ef5` docs(docs): update VitePress config and en/id content
21+
- `8e0f338` fix(handler): extend middleware to nested paths and tidy formatting
22+
- `ce1c8c0` docs(core): add JSDoc for private members and tidy formatting
23+
- `2e198e5` style(src): apply Deno format to Context and middleware index
24+
- `2e15097` refactor(deserve): extract response/static/error, pluggable handler, middleware classes
25+
26+
### 2025-12-31
1427

1528
- `4d4dcdb` style(handler): enforce braces for control statements
1629
- `1c80c4e` feat(deserve): optimize framework for streaming and error handling
1730

18-
**Uncommitted (working tree)**
19-
20-
- **Config:** .gitignore, deno.json
21-
- **Core / refactor:** Constant, Context, Handler, Router, Types, index — cleanup and consolidation
22-
- **New modules:** Error (error response builder, escapeHtml), Redirect, Response (Send helpers), Scanner (file-based routing), Static (static file serving)
23-
- **Middleware:** BasicAuth, BodyLimit, CORS, WebSocket, index — refactor; SecurityHeaders removed → SecHeaders (new); Loaders, Session, Utils (wrapMiddleware) added
24-
- **Docs / meta:** CHANGELOG.md (full commit history)
25-
- **Tests:** context, handler, middleware, router test files
26-
2731
---
2832

2933
## [0.7.0] - 2025-10-30
@@ -97,4 +101,5 @@ Format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
97101

98102
---
99103

100-
[Unreleased]: https://github.com/neabytelab/deserve/compare/v0.7.0...HEAD
104+
[Unreleased]: https://github.com/neabytelab/deserve/compare/v0.8.0...HEAD
105+
[0.8.0]: https://github.com/neabytelab/deserve/compare/v0.7.0...v0.8.0

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ Build HTTP server effortlessly with zero configuration for productivity.
1010

1111
## Features
1212

13-
- **Zero config** — No build step for the server. Point to a routes directory and serve.
13+
- **Zero Config** — No build step for the server. Point to a routes directory and serve.
1414
- **File-Based Routing** — Drop files in `routes/`; export `GET`, `POST`, etc. File structure is your API.
1515
- **Context** — Request wrapper: body (JSON/form/text), query, params, cookies, headers, `ctx.send`.
1616
- **Middleware** — Global, path-specific. CORS, SecHeaders, Body Limit, Basic Auth, Session, WebSocket.
17-
- **Static files**`router.static(urlPath, options)` with optional etag and cache-control.
18-
- **Error handling** — Pluggable error response builder and error middleware; default HTML/JSON by `Accept`.
19-
- **Frontend optional** — Use any stack (Vite, React, etc.); Deserve stays the server.
17+
- **Static Files**`router.static(urlPath, options)` with optional etag and cache-control.
18+
- **Error Handling** — Pluggable error response builder and error middleware; default HTML/JSON by `Accept`.
19+
- **Frontend Optional** — Use any stack (Vite, React, etc.); Deserve stays the server.
2020

2121
## Installation
2222

@@ -55,8 +55,9 @@ export function GET(ctx: Context) {
5555
}
5656
```
5757

58-
- [Quick Start (docs)](https://docs-deserve.neabyte.com/en/getting-started/quick-start)
58+
- [Quick Start (Docs)](https://docs-deserve.neabyte.com/en/getting-started/quick-start)
5959
- [File-Based Routing](https://docs-deserve.neabyte.com/en/core-concepts/file-based-routing)
60+
- [Example Implementation](example/README.md)
6061

6162
## Build & Test
6263

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@neabyte/deserve",
33
"description": "HTTP server with file-based routing library for Deno",
4-
"version": "0.7.0",
4+
"version": "0.8.0",
55
"type": "module",
66
"license": "MIT",
77
"exports": "./src/index.ts",

example/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Example Implementation
2+
3+
This folder is reserved for **implementation examples** using [Deserve](https://github.com/neabytelab/deserve).
4+
5+
## Showcase
6+
7+
- **[Restful-API](https://github.com/NeaByteLab/Restful-API)** — RESTful API built with Deno, Deserve, and [Jsonary](https://jsr.io/@neabyte/jsonary) (file-based JSON DB). Full CRUD (users resource), quick setup under 5 minutes. Clone, `deno task start`, then hit `GET/POST/PUT/DELETE /users` and `/users/:id`.
8+
9+
## Where to Start
10+
11+
- **[Quick Start](../docs/en/getting-started/quick-start.md)** — Run your first server and route.
12+
- **[Examples (Docs)](../docs/en/examples.md)** — Example use cases and pointers.
13+
- **Project Root** — Use `import { Router, Mware } from '@neabyte/deserve'` and see the main [README](../README.md) for setup.
14+
15+
More example code and sample apps will be added as the project grows.

0 commit comments

Comments
 (0)