Skip to content

Releases: kolappannathan/dotnet-web-api-boilerplate

v8.0.0

02 Dec 09:21
16e17af
Compare
Choose a tag to compare

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

01 Mar 18:32
Compare
Choose a tag to compare

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

27 Feb 04:20
83e38e2
Compare
Choose a tag to compare

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

14 Aug 18:57
Compare
Choose a tag to compare

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

16 Jul 11:39
Compare
Choose a tag to compare

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

19 Sep 16:03
Compare
Choose a tag to compare

Added

  • Added unit testing for Helper functions. Removed the APIs used for manually testing them.
  • Added editor config

Changes

  • Removed server headers for security
  • Connection string in appSettings.json is no longer encrypted. Ref #74 for details

v5.0.0

22 May 18:51
Compare
Choose a tag to compare

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

08 May 15:50
Compare
Choose a tag to compare

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

20 Sep 14:08
Compare
Choose a tag to compare

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

20 May 06:12
Compare
Choose a tag to compare

Changed

  • Updated to .Net core 2.2