v0.5.0 — first public beta release
First public beta release.
Added
- Class-based CRUD views for async and sync SQLAlchemy sessions with generated list, get, create, update, and delete routes.
- React Admin compatible
AsyncReactAdminViewandReactAdminViewvariants for thera-data-simple-restwire contract. - Generated schema support for read, create, and update payloads, including
ReadOnly,WriteOnly,IDSchema,IDRef, and timestamp schema helpers. - Standard list query support for filtering, sorting, pagination, relation aliases, and pagination metadata.
- Public
RestlyErrorandRestlyConfigurationErrorexception hierarchy. - Testing utilities through
RestlyTestClient, savepoint-only mode helpers, and thefastapi_restly.pytest_fixturespytest plugin.
Changed
- Consolidated framework setup on
fr.configure(...), including async/sync engine configuration and response-session commit policy. - Renamed built-in route methods to resource-oriented names:
list,get,create,update, anddelete. - Renamed business-logic hooks to
perform_list,perform_get,perform_create,perform_update, andperform_delete. - Standardized schema component names on
ModelRead,ModelCreate, andModelUpdate. - Made
sortthe canonical list ordering parameter. - Split
__containsand__icontainsso case-sensitive and case-insensitive matching have distinct public operators. - Exposed savepoint-only testing helpers through
fastapi_restly.testinginstead of the top-level package namespace. - Renamed
build_listing_querytobuild_queryand broadened its role:perform_getnow also routes through this hook, so a single override filters listing, the pagination total, and single-row fetches. perform_getnow issues aSELECT ... WHERE pk = ?instead ofsession.get(...). Behaviour is unchanged for single-column primary keys; subclasses with composite primary keys must overrideperform_getthemselves.- Advanced schema-to-object helpers now live in
fastapi_restly.objects:build_from_schema,apply_schema,save_object, anddelete_object, with async equivalents.
Removed
- Removed the pre-stable
query=argument fromperform_listing. Overridebuild_query()for SQL-level base query changes. - Removed pre-release route and hook names such as
index,get,post,patch,delete,handle_list, andhandle_getfrom the public view API. - Removed unsupported
get_one_or_createhelpers before the first stable release. - Removed internal model helpers such as
TableNameMixin,underscore, andutc_nowfrom the public API surface. - Removed duplicate pytest fixture exports from
fastapi_restly.testing; the pytest plugin path isfastapi_restly.pytest_fixtures.