Skip to content

v0.31.3

Choose a tag to compare

@github-actions github-actions released this 20 Feb 18:21
· 1713 commits to main since this release
9fbb500

Added

  • Paginated GET /api/v1/projects/ endpoint with page and page_size query params (page_size=0 returns all, preserving backward compatibility)
  • MentionEntityType enum for mention search endpoint — replaces open-ended string parameter
  • PermissionKey enum enforced at API, model, and database levels — adds CHECK constraint to initiative_role_permissions.permission_key column
  • Alembic migration to add CHECK constraint for valid permission_key values

Changed

  • Centralized remaining inline queries — GuildDashboardPage, MyProjectsPage, MyDocumentsPage now use domain hooks (useProjects, useInitiatives, useTasks, useRecentComments, useGlobalProjects, useGlobalDocuments)
  • Eliminated direct useQueryClient usage from pages/components — added usePrefetchTasks, usePrefetchGlobalProjects, usePrefetchGlobalDocuments, usePrefetchDocumentsList, useSetDocumentCache, useCommentsCache, and useUpdateRoleLabels hooks
  • Added ESLint rule (no-restricted-imports) to prevent direct useQuery/useQueryClient imports outside src/api/ and src/hooks/
  • Migrated useGlobalProjects from raw apiClient to Orval-generated listGlobalProjectsApiV1ProjectsGlobalGet with generated query keys
  • Removed custom ProjectListResponse, MentionEntityType, and PermissionKey types from frontend/src/types/api.ts — now generated from backend OpenAPI spec
  • Moved TaskWeekPosition to lib/recurrence.ts and CommentWithReplies to CommentSection.tsxtypes/api.ts is 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/json header 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 useSubtasks hook and TaskChecklist mutations

Downloads

Android App

Download the APK from the assets below and install on your Android device.

Docker Image

docker pull morelitea/initiative:0.31.3

Or use latest tag. View on Docker Hub.