Repository navigation
Releases: knnedy/daraja-local
Releases · knnedy/daraja-local
Release list
Daraja Local 0.1.0
Changelog
Features
- cfa19f2 feat(api): add api.oauth.generate for GET /oauth/v1/generate
- 33347c6 feat(api): add api.projects.stk.listPending and resolve
- 9c40193 feat(api): add api.projects.update for PATCH /api/projects/{slug}
- 61738be feat(api): add lib/api.ts client for projects and settings
- 2f9e1b7 feat(api): add mock project store with slug generation and credential mocking
- aa2f579 feat(auth): add Bearer-token middleware, injects resolved project into request context
- a4644a6 feat(build): add .air.toml for Go hot-reload during dev
- eaf8a4d feat(build): add .gitignore for Go build output, frontend artifacts, env files
- 11dda5c feat(build): add Makefile with web-build/go-build/run/dev/clean targets
- 878f083 feat(c2b): add AcceptResponse envelope
- 93c8107 feat(c2b): add C2BHandler for RegisterURL and Simulate
- b979294 feat(c2b): add C2BService orchestrating register and simulate
- b61ea81 feat(c2b): add C2BService.ListRequestLog
- e1cc484 feat(c2b): add Deliver wrapper over shared daraja.DeliverJSON
- 4294dd6 feat(c2b): add ID/transaction-reference generators
- aa7da59 feat(c2b): add ListRequestLog handler for GET /request-log
- bb1ba23 feat(c2b): add RegisterURLRequest and SimulateRequest
- 2424b0a feat(c2b): add c2b page with simulation and callback configs
- d0a022f feat(c2b): add c2b requestLog query key
- 1695152 feat(c2b): add listRequestLog to api.projects.c2b
- b3aa59f feat(c2b): add outbound validation/confirmation payload builder
- aeb401e feat(c2b): add projectService to C2BHandler, matching STKHandler
- 983636e feat(c2b): add single-attempt ValidationURL caller
- 996baa5 feat(c2b): add sync validation for RegisterURL and Simulate
- 2015da4 feat(c2b): add useC2BRequestLog hook
- 819a835 feat(c2b): alias ValidationError to shared daraja package
- 63b0476 feat(c2b): derive registration and payment sessions from request log
- 3ba7176 feat(c2b): reactive PaymentFlow replaces mocked FlowSimulator
- a7a905e feat(c2b): real payload console replaces mocked CallbackLog
- 479ce04 feat(c2b): replace CallbackConfigCard with live RegistrationCard
- 40d5756 feat(cmd): add embed.go for the exported Next.js static frontend
- 1e69741 feat(cmd): add lipgloss startup banner with DARAJA wordmark
- 1e53de5 feat(cmd): add main.go, it wires config, repository, services, router, banner and a graceful shutdown
- 51e128c feat(cmd): wire token store and TokenService into main.go
- 4df4495 feat(config): add IsDev flag, driven by DARAJA_LOCAL_ENV
- d5d400a feat(config): add config.Load for DB path and port resolution
- 9e63072 feat(credentials): add token snippet card and how-it-works accordion
- 20ef81e feat(credentials): build Credentials page with rotation and token demo
- d6054f3 feat(credentials): wire CredentialsCard to real data via useProject/useRegenerateCredentials
- ef346fb feat(credentials): wire TokenGeneratorCard to real /oauth/v1/generate
- 769cdf5 feat(daraja): extract shared ValidationError and delivery-retry logic
- 8856b47 feat(dashboard): ad project details, env, endpoint and recent activity card to the overview page
- a54b561 feat(dashboard): add dashboard topbar with connection status
- 5866273 feat(dashboard): add getApiPort to derive the real server port
- e8b2062 feat(dashboard): add mpesa env vars card in overview page
- 3095c0c feat(dashboard): add overview page placeholder
- 2eab7b8 feat(dashboard): add project layout with sidebar and topbar
- 812e57d feat(dashboard): add project sidebar with nav items and active state
- 827fd69 feat(dashboard): add stk page with the virtual phone
- 1402044 feat(dashboard): add theme toggle to topbar with animated sun/moon icon
- 9d56271 feat(dashboard): add useApiPort hook
- 1ff0d76 feat(dashboard): redesign the stats component
- 2df8547 feat(db): add 001_create_projects migration
- e637d8f feat(db): add 002_create_project_settings migration
- 43b2833 feat(db): add 003_create_request_log migration
- b399a83 feat(db): add attempts column to request_log for callback retry summary
- 543b7b2 feat(db): add correlation_id/outcome to CreateRequestLogEntry insert
- 31dbbcd feat(db): add default_phone_number column to project_settings
- b216012 feat(db): add keyset-paginated ListRequestLogEntriesPage query
- 2bea9a5 feat(db): add request_log table
- 01d02c2 feat(db): add validation_url to UpdateSettings query
- cf5358f feat(db): recreate project_settings with validation_url column
- 949dd2d feat(handler): add OAuthHandler.Generate for GET /oauth/v1/generate
- 5f17526 feat(handler): add ProjectHandler.Update for PATCH /api/projects/{slug}
- e5df726 feat(handler): add ProjectService and SettingsService interfaces
- ef5690e feat(handler): add STKHandler.ProcessRequest for POST /mpesa/stkpush/v1/processrequest
- dfbf2b0 feat(handler): add project HTTP handlers (create, list, get, touch, regenerate credentials, delete)
- 3a72145 feat(handler): add settings HTTP handlers get and update
- 3898dd0 feat(handler): add settings HTTP handlers, converting bool and int64 at the API boundary
- 00fa0fa feat(handler): validate and pass through defaultPhoneNumber on settings update
- 9aa7932 feat(home): wire real project list via useProjects, add grid view for populated state
- dede969 feat(hooks): add useCreateProject mutation
- d2ee3a5 feat(hooks): add useDeleteProject mutation
- ad32ce6 feat(hooks): add useGenerateToken mutation for real OAuth token generation
- 07b5170 feat(hooks): add usePendingSessions 2 second poll and useResolveSession
- 5e4c629 feat(hooks): add useProject query hook, guarded against empty slug
- 4156e82 feat(hooks): add useProjectSettings query hook
- 70bc691 feat(hooks): add useProjects query hook
- b4fc97e feat(hooks): add useRegenerateCredentials mutation, writes response directly into cache
- 1b5c525 feat(hooks): add useSetActiveProject mutation (wraps POST /touch)
- b260712 feat(hooks): add useUpdateProjectName mutation
- 3ccbe7b feat(hooks): add useUpdateSettings mutation
- cb71fa6 feat(lib): add queryKeys factory for projects and settings
- aefe01b feat(logs): add grouped log table with expandable raw trace
- 0dc728c feat(logs): add kind toggle and search filter bar
- 6a3bfca feat(logs): add link to view all log entries in payload console
- ce31c05 feat(logs): add relativeTime helper
- 2777b89 feat(logs): add shared status derivation for log groups
- b7027a5 feat(logs): add stats bar, status filter, loading skeleton, / shortcut
- 09d4399 feat(logs): add stats summary component strip
- 57ed55f feat(logs): add status filter, forward ref for keyboard shortcut
- a3d6a50 feat(logs): relative time, copy buttons, refined kind badge
- 9ff059f feat(main): add stkStore to router method argument
- 103ebeb feat(main): wire C2BService into router
- b962518 feat(migrations): add embedded FS for goose migrations
- 69cf73f feat(network): add...