Releases: kolappannathan/dotnet-web-api-boilerplate
Releases · kolappannathan/dotnet-web-api-boilerplate
v8.0.0
Added
- 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
Changed
- 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
- Removed the random number generating function. The built-in function with RandomNumberGenerator to be used instead.
v7.1.0
Added
- Added interfaces for library classes, helper functions.
- New AuthLib class for checking login and generating token.
Changed
- 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.
Removed
- Base class for operations is removed
- Removed unused constants
- Removed JWT Helper function from API project
v7.0.0
Added
- CORS settings
Changed
- 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
v6.1.0
Added
- Added dependency Injection
- Added Serilog
Changed
- 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
- Removed config static class
- Removed StartupLib and Tasks Controller
- Removed csv logger
v6.0.0
Added
- Added Swagger UI
Changed
- 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
v5.1.0
v5.0.0
Changed
- Updated .Net to version 5
- Updated packages
- Moved CI from Azure DevOps to GitHub Actions
- Moved postman collection into the src folder
v4.1.0
Changed
- 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...
v4.0.0
Added
- 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
Changed
- 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
v3.4.0
Changed
- Updated to .Net core 2.2