bloom_rest 0.2.0
bloom_rest: ^0.2.0 copied to clipboard
DRF-style (Django REST Framework) REST layer on top of BloomApiRouter and bloom_db, providing serializers, ViewSets, pagination, filters, permissions, and throttling.
Changelog #
0.2.0 - 2026-08-23 #
Breaking #
- Now depends on
bloom_serverinstead ofbloom_framework. Imports change frompackage:bloom_framework/bloom_server.darttopackage:bloom_server/bloom_server.dart. - No longer requires Flutter. The package now resolves against the Flutter-free
bloom_servercore, so it can be used from a plaindart run/dart compilebackend.
0.1.0 #
- Initial release of
bloom_rest— DRF-style (Django REST Framework) REST layer on top ofBloomApiRouter+bloom_db. BloomSerializer,BloomModelSerializer,BloomNestedSerializer, andBloomFieldSetfor field-level read/write exposure control and validation.BloomPaginationinterface withPageNumberPagination,LimitOffsetPagination, and keysetCursorPagination(opaque base64 cursor encoding).- Composable
BloomPermissionhierarchy (AllowAny,IsAuthenticated,IsStaff,IsSuperuser,IsReadOnly) with.and(),.or(),.negate(). BloomThrottlerate limiting with DRF rate strings (e.g."100/hour","10/minute") backed bybloom_cache'sBloomCache.- Composable
BloomFilterBackendstack:BloomFieldFilter,BloomSearchFilter,BloomOrderingFilter. BloomViewSetfor complete CRUD route mounting ontoBloomApiRouterin a single call with secure-by-default authentication posture.