Releases: alexandengstrom/birchrest
Releases · alexandengstrom/birchrest
1.1.0
What's Changed
- Updated BirchRestTestCase class with more assert methods. by @alexandengstrom in #3
- Implemend more Validation constraints. by @alexandengstrom in #4
- Automatic conversions to dataclass for queries, params and body by @alexandengstrom in #6
- Implemented support for generating OpenAPI specs. by @alexandengstrom in #7
Full Changelog: 1.0.0...1.1.0
BirchRest 1.0.0
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
- Migrated project to be async. by @alexandengstrom in #1
- Implement route inheritage by @alexandengstrom in #2
New Contributors
- @alexandengstrom made their first contribution in #1
Full Changelog: https://github.com/alexandengstrom/birchrest/commits/1.0.0