Skip to content

New APIs, Docs & CI#20

Merged
Jcardif merged 5 commits into
mainfrom
daraja-3
Mar 6, 2026
Merged

New APIs, Docs & CI#20
Jcardif merged 5 commits into
mainfrom
daraja-3

Conversation

@Jcardif

@Jcardif Jcardif commented Mar 6, 2026

Copy link
Copy Markdown
Owner

This pull request introduces several foundational improvements to the project, including standardized configuration, CI/CD automation, and restructuring of the solution and sample code. It also removes legacy files and interfaces, paving the way for a cleaner and more maintainable codebase.

Project configuration and structure:

  • Added a .editorconfig file to enforce consistent code style and formatting across the project, including indentation settings for different file types.
  • Reorganized the solution structure by renaming MpesaDaraja.sln to Mpesa.Daraja.sln, updating project references, and adding new test and sample projects (Mpesa.Daraja.Sample, Mpesa.Daraja.Tests). [1] [2]
  • Added .vscode/settings.json to configure spell checking for domain-specific terms.
  • Introduced Directory.Build.props to centralize .NET build settings, including target framework, language version, and nullable reference types.

CI/CD automation:

  • Added GitHub Actions workflows for CI (ci.yml), release (release.yml), and documentation deployment (docs.yml), automating build, test, NuGet publishing, and docs deployment to GitHub Pages. [1] [2] [3]

Cleanup and removal of legacy code:

  • Removed legacy application sample (Daraja.App/Program.cs) and old interface and model files from MpesaDaraja, including IDarajaClient.cs, IDarajaGateway.cs, DarajaError.cs, PushQueryResponse.cs, and PushResponse.cs. [1] [2] [3] [4] [5] [6]
  • Deleted legacy settings file MpesaDaraja.sln.DotSettings.

@Jcardif
Jcardif merged commit ae2fea8 into main Mar 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant