Skip to content

Releases: alexandengstrom/birchrest

1.1.0

16 Oct 19:54
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.0.0...1.1.0

BirchRest 1.0.0

13 Oct 13:09
a0b4293
Compare
Choose a tag to compare

BirchRest v1.0.0 - Initial Release

This is the first official release of BirchRest, a simple framework for building RESTful APIs with minimal setup. Version 1.0.0 includes the following core features:

  • Controller-based API structure: Use controllers and decorators to define routes.
  • Data validation: Support for validating request body, queries, and URL parameters using Python dataclasses.
  • Middleware support: Easily add middleware for tasks like logging, CORS, and rate-limiting.
  • Authentication: Protect routes using custom authentication handlers.
  • Error handling: Built-in HTTP exceptions like NotFound, BadRequest, Unauthorized and others are automatically converted to appropriate responses.
  • Command-line interface (CLI):
    • birch init to initialize a new project.
    • birch serve to start the server.
    • Additional commands for running tests (test), type checking (typecheck), and linting (lint).
  • Unit testing support: Tools for easily testing controllers, middleware, and other components.

What's Changed

New Contributors

Full Changelog: https://github.com/alexandengstrom/birchrest/commits/1.0.0