All notable changes to this project will be documented in this file. The format is based on Keep a Changelog.
- Salt added as separate param for Bcrypt in Security lib. Previously it was indented to be already added and sent with the plain text password.
- New test cases in postman
- Updated .NET version to 8
- Moved Configurators into a separate folder to simplify Program.cs
- Updated Random String Generator to use
System.Security.Cryptography.RandomNumberGenerator
. - Using updated checks for Argument exceptions
- Updated dependencies
- Removed the random number generating function. The built-in function with RandomNumberGenerator to be used instead.
- Added interfaces for library classes, helper functions.
- New AuthLib class for checking login and generating token.
- Helper functions now use dependency injection.
- Made all non-derived classes sealed for security and performance.
- Optimizations to JWT helpers, moved JWT token builder in core project.
- Private variables now start with underscore.
- JWT config now has Hours valid instead of days.
- Base class for operations is removed
- Removed unused constants
- Removed JWT Helper function from API project
- CORS settings
- Updated .NET version to 7
- Using Serilog.AspNetCore for logging instead of serilog extensions as recommended by Serilog
- Log files are now separated by date
- Using new syntax for Argument null checks
- Updated dependencies
- Added dependency Injection
- Added Serilog
- Updated the default port
- Updated API Helper
- Encryption key is no longer part of code
- Consolidated Business & Models into API project
- Random Number generation now uses RandomNumberGenerator instead of RNGCryptoServiceProvider
- Removed config static class
- Removed StartupLib and Tasks Controller
- Removed csv logger
- Added Swagger UI
- Updated .NET to version 6
- Unified Program.cs & startup.cs
- Removing code intent for namespaces
- Bad Request now return isError as true in addition to the HTTP status code
- Postman now updated bearer token automatically after a successful login API call
- Updated dependencies to latest versions
- Added unit testing for Helper functions. Removed the APIs used for manually testing them.
- Added editor config
- Removed server headers for security
- Connection string in appsettings.json is no longer encrypted. Ref #74 for details
- Updated .Net to version 5
- Updated packages
- Moved CI from Azure DevOps to GitHub Actions
- Moved postman collection into the src folder
- Updating API to .Net core 3.1
- Updating Libraries to .Net standard 2.1
- Updating dependencies
- Fixing some local and package references
- JWT key is now stored as variable in postman collection
- Minor code optimizations such as making some variables read only, using range operator, etc...
- Additional logger config in app settings
- New helper function to remove line endings
- New helper function that combines date and time from two different Date objects
- New Date attributes for PastOnly and PastAndPresent
- StartupLib now refers to helpers functions in core lib instead of business lib.
- Updating dependencies
- Moved logger config assignment directly to logger
- Renaming and relocating new Date attributes
- Updated to .Net core 2.2
- New appconfig for development and production
- Reorganised postman request in the order they appear in code.
- Updated NuGet packages
- Documentation for encryption helper
- Renamed CSV Logger
- Optimised code in helpersLib
- Added sub classes to helper
- Moved Enums to constants
- Minor code optimizations
- New function for encrypting and decrypting strings
- New APIs to test Helper library functions
- Role claim in JWT changed to fix a bug
- Optimized code in JWT token builder
- Database connection string in appconfig is now encrypted
- New custom claims
- Code optimisations in JWT token builder
- Few bug fixes in JWT token
- New startup lib for operations performed during startup
- New API that reassigns config on the fly
- New class for info texts
- JWT token validity is now taken from config
- Moved Base class in business lib into Core namespace
- Converted Logger functions into expressions
- Added documentation for many functions and classes
- New claims for JWT token
- Updated NuGet package
- Replace individual claim adding code using a common function
- Added JWT authorization.
- Added new library function for Value controller.
- Added model validation.
- All responses now use APIResponse model.
- Updated Postman file with value controller and description.
- Moved all config to appsettings.json
- Completed JWT token generation.
- Created business library.
- Added postman collection file.
- Removed Tuple declarations.
- Constants are now added in startup.cs.
- Other minor code optimizations.
- Added changelog.
- Added core library.
- Added API Helper functions.
- Format of model validation errors.