Skip to content

Feature/enterprise hardening#2

Merged
Nadhila-dot merged 2 commits intoHttp-native:dev/unofrom
layer78:feature/enterprise-hardening
Mar 27, 2026
Merged

Feature/enterprise hardening#2
Nadhila-dot merged 2 commits intoHttp-native:dev/unofrom
layer78:feature/enterprise-hardening

Conversation

@layer78
Copy link
Copy Markdown
Collaborator

@layer78 layer78 commented Mar 27, 2026

No description provided.

Rishi Yadav added 2 commits March 27, 2026 20:51
CORE & PERFORMANCE:
- Implement zero-allocation request body parsing in Rust core
- Upgrade router from O(N) linear scan to O(M) Radix Tree
- Optimize binary bridge to support high-throughput body transfers
- Implement buffer pooling for body reads to minimize GC pressure
FEATURES & MIDDLEWARE:
- Add centralized error handling middleware support (app.onError)
- Implement built-in CORS middleware with preflight handling
- Add schema-agnostic validation middleware (Zod/TypeBox compatible)
- Add native support for req.json(), req.text(), and req.body
DEVELOPER EXPERIENCE:
- Provide full TypeScript definitions (index.d.ts)
- Implement self-referencing package exports in package.json
- Add comprehensive examples (REST API, CORS, Validation, Middleware)
SECURITY:
- Add CRLF injection prevention in static response headers
- Implement strict max body size limits (1MB) to prevent DoS
- Fix Rust borrow checker conflicts for safe concurrent body handling
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 27, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5061ac29-527c-41c1-b224-c26c2d2809c5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Nadhila-dot Nadhila-dot merged commit b8786aa into Http-native:dev/uno Mar 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants