v0.31.3
Added
- Paginated
GET /api/v1/projects/endpoint withpageandpage_sizequery params (page_size=0returns all, preserving backward compatibility) MentionEntityTypeenum for mention search endpoint — replaces open-ended string parameterPermissionKeyenum enforced at API, model, and database levels — adds CHECK constraint toinitiative_role_permissions.permission_keycolumn- Alembic migration to add CHECK constraint for valid
permission_keyvalues
Changed
- Centralized remaining inline queries —
GuildDashboardPage,MyProjectsPage,MyDocumentsPagenow use domain hooks (useProjects,useInitiatives,useTasks,useRecentComments,useGlobalProjects,useGlobalDocuments) - Eliminated direct
useQueryClientusage from pages/components — addedusePrefetchTasks,usePrefetchGlobalProjects,usePrefetchGlobalDocuments,usePrefetchDocumentsList,useSetDocumentCache,useCommentsCache, anduseUpdateRoleLabelshooks - Added ESLint rule (
no-restricted-imports) to prevent directuseQuery/useQueryClientimports outsidesrc/api/andsrc/hooks/ - Migrated
useGlobalProjectsfrom rawapiClientto Orval-generatedlistGlobalProjectsApiV1ProjectsGlobalGetwith generated query keys - Removed custom
ProjectListResponse,MentionEntityType, andPermissionKeytypes fromfrontend/src/types/api.ts— now generated from backend OpenAPI spec - Moved
TaskWeekPositiontolib/recurrence.tsandCommentWithRepliestoCommentSection.tsx—types/api.tsis now a pure re-export of generated schemas
Fixed
- Template document dropdown in CreateDocumentDialog not showing templates accessible via role-based permissions (only showed templates with explicit user permissions)
- Document/attachment uploads returning 422 error due to hardcoded
Content-Type: application/jsonheader overriding FormData auto-detection - Subtask checklist items failed to load ("Unable to load checklist items right now") due to double-unwrapping of API responses in
useSubtaskshook andTaskChecklistmutations
Downloads
Android App
Download the APK from the assets below and install on your Android device.
Docker Image
docker pull morelitea/initiative:0.31.3Or use latest tag. View on Docker Hub.